JPH04247597A - Line control circuit for pos system - Google Patents
Line control circuit for pos systemInfo
- Publication number
- JPH04247597A JPH04247597A JP3102149A JP10214991A JPH04247597A JP H04247597 A JPH04247597 A JP H04247597A JP 3102149 A JP3102149 A JP 3102149A JP 10214991 A JP10214991 A JP 10214991A JP H04247597 A JPH04247597 A JP H04247597A
- Authority
- JP
- Japan
- Prior art keywords
- controller
- line control
- storage device
- error
- line
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Cash Registers Or Receiving Machines (AREA)
- Computer And Data Communications (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】この発明は、POS(ポイント・
オフ・セールス)システムで使用されるECR(電子金
銭登録機)等の端末機を、上位のセンタに対してコント
ローラの回線制御装置が制御する場合のようなPOSシ
ステムの回線制御方法に関する。[Industrial Application Field] This invention is applicable to POS (point and
The present invention relates to a line control method for a POS system, such as when a line control device of a controller controls a terminal such as an ECR (electronic cash register) used in an off-sales system to a higher-level center.
【0002】0002
【従来の技術】従来、POSシステムにおいて、システ
ムをダウンさせないため、および処理負荷を分散させる
ために、2台のコントローラが端末機を分散して互いの
端末機を制御し、一方のコントローラがダウンしたとき
、他方が全部の端末機を制御するコントローラの二重化
方式が知られている。Conventionally, in a POS system, in order to prevent the system from going down and to distribute the processing load, two controllers distribute the terminals and control each other's terminals, and one controller goes down. In this case, there is a known dual controller system in which the other controller controls all the terminals.
【0003】しかし、このコントローラ二重化方式の場
合は、一方のコントローラがダウンすると、他方のコン
トローラが全部の端末機を制御するため、他方のコント
ローラに負荷が集中してしまい。また、上述した2台の
コントローラと各端末機間の回線を二重化する方式も知
られているが、この回線二重化方式の場合は、端末機毎
に、コントローラと端末機間の接続形態を2つに分散し
て構成するので、処理負荷が一方のコントローラに集中
する問題を有していた。However, in the case of this dual controller system, if one controller goes down, the other controller controls all the terminals, so the load is concentrated on the other controller. Also, a method is known in which the line between the two controllers and each terminal device is redundant as described above, but in the case of this line duplication method, there are two types of connection between the controller and the terminal device for each terminal device. Since the controller is distributed over two controllers, there is a problem in that the processing load is concentrated on one controller.
【0004】0004
【発明が解決しようとする課題】そこでこの発明は、シ
ステムダウンに対処した状態を有しながらコントローラ
に対する負荷の集中を防止することができるPOSシス
テムの回線制御方法の提供を目的とする。SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a line control method for a POS system that can prevent concentration of load on the controller while being able to cope with system failure.
【0005】[0005]
【課題を解決するための手段】この発明は、複数台の端
末機を2台のコントローラにそれぞれ制御可能に接続し
て、端末機と両コントローラ間を2系統の伝送回線で接
続し、上記両コントローラを相互に伝送回線および監視
回線で制御可能に接続して、一方がダウンしたとき他方
がダウン側の端末機を制御下におき、前記端末機と両コ
ントローラ間の2系統の伝送回線を伝送制御するPOS
システムの回線制御方法であることを特徴とする。[Means for Solving the Problems] The present invention connects a plurality of terminals to two controllers in a controllable manner, and connects the terminals and both controllers with two transmission lines. The controllers are connected to each other through a transmission line and a monitoring line so that they can be controlled, and when one goes down, the other one takes control of the terminal on the down side, and the two transmission lines between the terminal and both controllers are transmitted. POS to control
It is characterized by being a system line control method.
【0006】[0006]
【作用】この発明のPOSシステムの回線制御方法によ
れば、一方のコントローラの記憶装置がダウンしても、
両コントローラ間の伝送回線が正常であれば、他方のコ
ントローラの記憶装置を使用することができるので、2
系統の伝送回線に分散して通信することができ、通信処
理負荷を分散する。また、一方のコントローラおよび一
方の伝送回線がダウンしても、他方のコントローラおよ
び伝送回線でシステムを運用することができる。[Operation] According to the POS system line control method of the present invention, even if the storage device of one controller goes down,
If the transmission line between both controllers is normal, the storage device of the other controller can be used, so 2
Communication can be distributed across the system's transmission lines, distributing the communication processing load. Furthermore, even if one controller and one transmission line go down, the system can be operated using the other controller and transmission line.
【0007】[0007]
【発明の効果】この結果、POSシステムが正常に運用
している時は、コントローラと端末機間の伝送回線は一
方と他方とに選択使用されているので、コントローラお
よび伝送回線の負荷が分散および低減される。[Effect of the invention] As a result, when the POS system is operating normally, the transmission line between the controller and the terminal is selectively used for one side and the other, so the load on the controller and transmission line is distributed and reduced.
【0008】また、一方のコントローラの記憶装置がダ
ウンしても、両コントローラ間の伝送回線が正常であれ
ば、他方のコントローラの記憶装置を使用することがで
きるので、伝送回線の通信負荷を分散でき、負荷を低減
できる。勿論、一方のコントローラまたは一方の伝送回
線がダウンすれば、他方のコントローラまたは伝送回線
で全端末機を制御することができる。Furthermore, even if the storage device of one controller goes down, if the transmission line between both controllers is normal, the storage device of the other controller can be used, so the communication load on the transmission line can be distributed. It is possible to reduce the load. Of course, if one controller or one transmission line goes down, the other controller or transmission line can control all the terminals.
【0009】[0009]
【実施例】この発明の一実施例を以下図面に基づいて詳
述する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below in detail with reference to the drawings.
【0010】図面はPOSシステムの回線制御方法を示
し、図1において、このPOSシステムはストアコント
ローラSCと、コントローラとしての2台の回線制御装
置11a,11bと、端末機としての複数台のECR1
2…によって構成している。The drawing shows a line control method for a POS system. In FIG. 1, this POS system includes a store controller SC, two line control devices 11a and 11b as controllers, and a plurality of ECRs 1 as terminals.
It is composed of 2...
【0011】上述のストアコントローラSCは、売上管
理、在庫管理、商品管理などを実行し、入力される販売
データに基づいて、上述の管理項目が更新される。[0011] The above-mentioned store controller SC executes sales management, inventory management, product management, etc., and the above-mentioned management items are updated based on input sales data.
【0012】回線制御装置11a,11bは、ECR1
2…と、ストアコントローラSCとの接続を制御し、ス
トアコントローラSCとはそれぞれ上位伝送回線13a
,13bで伝送可能に接続し、また多数設置されるEC
R12…とはメイン伝送回線14aとサブ伝送回線14
bとの2系統の伝送回線14a,14bによって伝送許
容して接続されている。[0012] The line control devices 11a and 11b are ECR1
2... and the store controller SC, and the store controller SC is connected to the upper transmission line 13a, respectively.
, 13b for transmission, and many installed ECs.
R12... means the main transmission line 14a and the sub transmission line 14.
It is connected to allow transmission through two transmission lines 14a and 14b.
【0013】このメイン伝送回線14aとサブ伝送回線
14bを接続する場合、全ECR12…のうち、約半数
のECR12…を一方の回線制御装置11aにメイン接
続し、残りの半数のECR12…を他方の回線制御装置
11bにメイン接続し、残りのサブ接続側をメイン接続
側と異なる回線接続装置側にそれぞれサブ接続している
。これにより、2台の回線制御装置11a,11bが均
等に使用されて伝送制御処理上、無駄がなく動作するよ
うに設定している。When connecting the main transmission line 14a and the sub-transmission line 14b, approximately half of the ECRs 12 out of all the ECRs 12 are main connected to one line control device 11a, and the remaining half ECRs 12 are connected to the other line control device 11a. The main connection is made to the line control device 11b, and the remaining sub-connection sides are sub-connected to line connection devices different from the main connection side. This allows the two line control devices 11a and 11b to be used equally and to operate efficiently in terms of transmission control processing.
【0014】上述の回線制御装置11a,11bにはそ
れぞれ記憶装置(PLUファイル)15a,15bを備
えており、これらの記憶装置15a,15bは各商品の
商品名、商品の部門、値段、売上額、売上個数等の各商
品の商品データを記憶し、かつ更新する。[0014] The above-mentioned line control devices 11a and 11b are respectively equipped with storage devices (PLU files) 15a and 15b, and these storage devices 15a and 15b store the product name, product category, price, and sales amount of each product. , stores and updates product data for each product, such as the number of units sold.
【0015】さらに、両記憶装置15a,15bは、相
互の回線制御装置11a,11bが制御できるように伝
送回線16a,16bで接続し、さらにまた両回線制御
装置11a,11bは一方がダウンした時、他方が全E
CR12…を制御するように監視回線17で接続して、
相互を監視している。Furthermore, both storage devices 15a and 15b are connected by transmission lines 16a and 16b so that they can be controlled by each other's line control devices 11a and 11b, and furthermore, when one of the line control devices 11a and 11b goes down, , the other is all E
Connect with the monitoring line 17 to control CR12...
They monitor each other.
【0016】前述のECR12は、販売商品のバーコー
ドを読取った時、このバーコードデータの商品名とその
値段が何であるかを照会する照会業務と、商品を販売し
た時、その売上データを登録するための登録業務とを有
し、これらの業務を実行する時は伝送回線14a,14
bを使い分けている。[0016] When the ECR 12 described above reads the barcode of a product to be sold, it performs an inquiry process that inquires about the product name and price of this barcode data, and when the product is sold, it registers the sales data. When performing these tasks, the transmission lines 14a, 14
b is used differently.
【0017】次に、ECR12の処理動作を図2のフロ
ーチャートを参照して説明する。Next, the processing operation of the ECR 12 will be explained with reference to the flowchart shown in FIG.
【0018】商品の販売に基づいてECR12が商品の
バーコードを読取ると、照会業務が発生する(ステップ
n11)。When the ECR 12 reads the barcode of the product based on the sale of the product, an inquiry process occurs (step n11).
【0019】上述の照会業務が判定されると(ステップ
n12)、照会業務用に設定した伝送回線14aでバー
コードデータ(照会データ)を回線制御装置11aに伝
送する(ステップn13)。When the above inquiry service is determined (step n12), barcode data (inquiry data) is transmitted to the line control device 11a via the transmission line 14a set for the inquiry service (step n13).
【0020】次に、この伝送回線14aが正常か否かを
各種のチェック処理に基づいて判定し(ステップn14
)、正常であれば、次の照会業務、または登録業務に移
行する。Next, it is determined whether or not this transmission line 14a is normal based on various check processes (step n14).
), if normal, move on to the next inquiry or registration task.
【0021】しかし、伝送回線14aに異常が発生した
と判定された時は、他方の登録業務用に設定した伝送回
線14bを使用して、前述の照会業務、すなわちバーコ
ードデータを回線制御装置11bに伝送する(ステップ
n15)。However, when it is determined that an abnormality has occurred in the transmission line 14a, the transmission line 14b set for the other registration service is used to carry out the above-mentioned inquiry service, that is, to transfer the barcode data to the line control device 11b. (step n15).
【0022】次に、この登録業務用の伝送回線14bが
正常か否かを各種のチェック処理に基づいて判定し(ス
テップn16)、正常であれば、次の照会業務、または
登録業務に移行する。[0022] Next, it is determined whether or not the transmission line 14b for the registration service is normal based on various check processes (step n16), and if it is normal, the process moves to the next inquiry service or registration service. .
【0023】しかし、この登録業務用の伝送回線14b
にも異常が発生したと判定された時は、両伝送回線14
a,14bが不通となるので、ECR12はその装備す
る表示器に回線エラーを表示して(ステップn17)、
処理を終了することになる。[0023] However, the transmission line 14b for this registration business
If it is determined that an abnormality has occurred in both transmission lines 14,
Since lines a and 14b are disconnected, the ECR 12 displays a line error on its equipped display (step n17).
This will end the process.
【0024】次に、前述のステップn12で、登録業務
、すなわち前回の照会業務でバーコードの商品名や値段
を示す照会データが回線制御装置11a、または11b
から伝送されると、この照会データに基づいて商品の販
売データを登録するための登録業務が実行される。Next, in step n12 described above, the inquiry data indicating the product name and price of the barcode in the registration process, that is, the previous inquiry process, is transferred to the line control device 11a or 11b.
When the information is transmitted from the inquiry data, a registration operation for registering the sales data of the product is executed based on this inquiry data.
【0025】上述の登録業務が判定されると(ステップ
n12,n18)、登録業務用に設定した伝送回線14
bを使用して、上述の販売データを回線制御装置11b
に伝送する(ステップn19)。[0025] When the above-mentioned registration service is determined (steps n12, n18), the transmission line 14 set for the registration service is
b to send the above sales data to the line control device 11b.
(step n19).
【0026】次に、この登録業務用の伝送回線14bが
正常か否かを各種のチェック処理に基づいて判定し(ス
テップn20)、正常であれば、伝送された販売データ
はこの回線制御装置11bの記憶装置15bの該当する
データを更新し、さらに同じ販売データは他方の回線制
御装置11aに伝送回線16bを介して入力して、その
記憶装置15aの該当するデータを更新し、さらにまた
ストアコントローラSCに対して上位伝送回線13bを
介して入力する。Next, it is determined whether or not this transmission line 14b for registration business is normal based on various check processes (step n20), and if it is normal, the transmitted sales data is transferred to this line control device 11b. The same sales data is inputted to the other line control device 11a via the transmission line 16b to update the corresponding data in the storage device 15a, and the store controller It is input to the SC via the upper transmission line 13b.
【0027】そして、これらの処理が終了すると、次の
照会業務、または登録業務に移行する。[0027] When these processes are completed, the process moves to the next inquiry business or registration business.
【0028】しかし、前述のステップn20で、登録業
務用の伝送回線14bに異常が発生したと判定された時
は、照会業務用に設定した伝送回線14aを使用して、
前述の登録業務、すなわち販売データを回線制御装置1
1aに伝送する(ステップn21)。However, when it is determined in step n20 that an abnormality has occurred in the transmission line 14b for the registration business, the transmission line 14a set for the inquiry business is used to
The above-mentioned registration work, that is, sales data is sent to the line control device 1.
1a (step n21).
【0029】次に、この照会業務用の伝送回線14aが
正常か否かを各種のチェック処理に基づいて判定し(ス
テップn22)、正常であれば、伝送された販売データ
はこの回線制御装置11aの記憶装置15aの該当する
データを更新し、さらに同じ販売データは他方の回線制
御装置11bに伝送回線16aを介して入力し、その記
憶装置15bの該当するデータを更新し、さらにまたス
トアコントローラSCに対して上位伝送回線13aを介
して入力する。Next, it is determined based on various check processes whether or not this transmission line 14a for inquiry business is normal (step n22), and if it is normal, the transmitted sales data is transferred to this line control device 11a. The same sales data is input to the other line control device 11b via the transmission line 16a, the corresponding data in the storage device 15b is updated, and the store controller SC is input to the host via the upper transmission line 13a.
【0030】そして、これらの処理が終了すると、次の
照会業務、または登録業務に移行する。[0030] When these processes are completed, the process moves to the next inquiry business or registration business.
【0031】しかし、前述のステップn22で、照会業
務用の伝送回線14bにも異常が発生したと判定された
時は、両伝送回線14a,14bが不通となるので、E
CR12はその装備する表示器に回線エラーを表示して
(ステップn17)、処理を終了することになる。However, if it is determined in step n22 that an abnormality has also occurred in the transmission line 14b for the inquiry service, both transmission lines 14a and 14b are disconnected, so E
The CR 12 displays a line error on its equipped display (step n17), and ends the process.
【0032】なお、前述のステップn18で登録業務で
ないと判定したときは、その処理に対応した処理を実行
する(ステップn23)。[0032] If it is determined in the above-mentioned step n18 that it is not a registered business, a process corresponding to the process is executed (step n23).
【0033】上述したように両伝送回線14a,14b
が正常であるときは、照会業務を伝送回線14aを介し
て回線制御装置11aで処理し、また登録業務を伝送回
線14bを介して回線制御装置11bで処理するので、
各回線制御装置11a,11b、および伝送回線14a
,14bの負荷を分散することができる。As mentioned above, both transmission lines 14a and 14b
When is normal, the inquiry task is processed by the line control device 11a via the transmission line 14a, and the registration task is processed by the line control device 11b via the transmission line 14b.
Each line control device 11a, 11b and transmission line 14a
, 14b can be distributed.
【0034】また、一方の伝送回線14a,14b、あ
るいは回線制御装置11a,11b、または記憶装置1
5a,15bにエラーが発生すると、他方でこれをカバ
ーすることができる。[0034] Also, one of the transmission lines 14a and 14b, or the line control devices 11a and 11b, or the storage device 1
If an error occurs in 5a or 15b, it can be covered by the other one.
【0035】次に、回線制御装置11a,11bの処理
動作を図3を参照して説明する。Next, the processing operations of the line control devices 11a and 11b will be explained with reference to FIG.
【0036】先ず、ストアコントローラSCからのメン
テナンスデータの送信の有無を判定し(ステップn31
)、該データの送信があった時は、これを受信して(ス
テップn32)、サブルーチンn33でメンテナンスの
書込み処理を実行する。First, it is determined whether maintenance data is transmitted from the store controller SC (step n31).
), when the data is transmitted, it is received (step n32) and maintenance write processing is executed in subroutine n33.
【0037】上述のステップn31で、メンテナンスデ
ータの送信がない時は、次に監視回線17で相手の回線
制御装置11a(または11b)が正常か否かを判定し
(ステップn34)、もし異常が発生している場合は、
内部処理でその異常に対処される(ステップn35)。If no maintenance data is sent in the above step n31, then the monitoring line 17 determines whether or not the other party's line control device 11a (or 11b) is normal (step n34). If it is occurring,
The abnormality is dealt with by internal processing (step n35).
【0038】次に、伝送回線14a(または14b)に
よってECR12からのアクセスの有無を判定し(ステ
スップn36)、該アクセスがないときはステップn3
1にリターンされて、上述のチェックが順次実行される
。Next, it is determined whether there is an access from the ECR 12 through the transmission line 14a (or 14b) (step n36), and if there is no access, the process proceeds to step n3.
1, and the above-mentioned checks are sequentially executed.
【0039】上述のステップn36で、アクセスがあっ
た場合、照会業務が登録業務かを判定し(ステップn3
7)、照会業務である時は、サブルーチンn38で、照
会データの読取り(または読込み)処理を実行する。す
なわち、該当する記憶装置15a(または15b)より
照会データ、例えばバーコードデータの商品名および値
段などの照会データを読出して、アクセスしたECR1
2に伝送する(ステップn39)。If there is an access in the above step n36, it is determined whether the inquiry business is a registration business (step n3).
7) When it is an inquiry job, a process of reading (or reading) the inquiry data is executed in subroutine n38. That is, the ECR 1 that has accessed the inquiry data, such as the product name and price of the barcode data, is read out from the corresponding storage device 15a (or 15b).
2 (step n39).
【0040】前述のステップn37で、登録業務である
と判定した時は、サブルーチンn40で、該当する記憶
装置15a(または15b)に販売データを記憶して、
累積売上げデータの更新など所定の処理を実行し、さら
にストアコントローラSCに販売データを伝送する(ス
テップn41)。When it is determined in step n37 that it is a registered business, in subroutine n40, the sales data is stored in the corresponding storage device 15a (or 15b), and
It executes predetermined processing such as updating cumulative sales data, and further transmits the sales data to the store controller SC (step n41).
【0041】なお、ECR12がアクセスする場合、照
会業務である時は伝送回線14aを使用し、登録業務で
ある時は伝送回線14bを使用する。When the ECR 12 accesses, the transmission line 14a is used for inquiry operations, and the transmission line 14b is used for registration operations.
【0042】前述のサブルーチンn38における回線制
御装置11a(または11b)の書込み処理動作を、図
4を参照して説明する。The write processing operation of the line control device 11a (or 11b) in the above-mentioned subroutine n38 will be explained with reference to FIG.
【0043】回線制御装置11a(または11b)に上
位伝送回線13a(または13b)からデータロードが
あると、先ず自己の記憶装置15a(または15b)が
正常か否かを判定する(ステップn51)。When data is loaded to the line control device 11a (or 11b) from the upper transmission line 13a (or 13b), it first determines whether or not its own storage device 15a (or 15b) is normal (step n51).
【0044】該記憶装置15a(または15b)がエラ
ーしてダウンした場合は、読出し可能な所定のエリアに
ダウンを示すエラーフラグをセットしており、従って上
述のステップn51の判定は、上述のエラーフラグを読
取って判定する。If the storage device 15a (or 15b) goes down due to an error, an error flag indicating that it is down is set in a predetermined readable area. Read the flag and make a decision.
【0045】記憶装置15a(または15b)が正常で
あると判定した時は、自己の記憶装置15a(または1
5b)にストアコントローラSCからのメンテナンスデ
ータを所定のエリアに書込み(ステップn52)、該書
込みにエラーがないかを判定する(ステップn53)。When the storage device 15a (or 15b) is determined to be normal, the self storage device 15a (or 15b) is determined to be normal.
5b), the maintenance data from the store controller SC is written in a predetermined area (step n52), and it is determined whether there is any error in the writing (step n53).
【0046】該書込みにエラーがあった時は、リトライ
するも、このリトライ回数が設定されていて、この設定
されている回数だけ可能となる(ステップn54)。When there is an error in the writing, a retry is performed, but the number of retries is set, and the number of retries that is set is possible (step n54).
【0047】上述の書込みエラーが所定回数を越えると
、読出し可能な所定のエリアに書込みエラーを示すエラ
ーフラグをセットし(ステップn55)、次いで書込み
エラーが発生したことをストアコントローラSCに伝送
する(ステップn56)。When the above-mentioned write error exceeds a predetermined number of times, an error flag indicating a write error is set in a predetermined readable area (step n55), and then the fact that a write error has occurred is transmitted to the store controller SC (step n55). Step n56).
【0048】上述のように自己の記憶装置15a(また
は15b)にエラーが生じたり、または既にエラーが生
じていた場合は、次のステップn57に移行する。As described above, if an error occurs in the own storage device 15a (or 15b), or if an error has already occurred, the process moves to the next step n57.
【0049】このステップn57では、他方(相手)の
記憶装置15b(または15a)が正常か否かを判定す
る。In step n57, it is determined whether the other (partner) storage device 15b (or 15a) is normal.
【0050】該記憶装置15b(または15a)がエラ
ーしてダウンした場合は、読出し可能な所定のエリアに
ダウンを示すエラーフラグがセットされているので、こ
のエラーフラグを読取って判定する。If the storage device 15b (or 15a) goes down due to an error, an error flag indicating that the storage device 15b (or 15a) is down is set in a predetermined readable area, so this error flag is read and determined.
【0051】記憶装置15b(または15a)が正常で
あると判定した時は、他方の記憶装置15b(または1
5a)にストアコントローラSCからのメンテナンスデ
ータを所定のエリアに書込み(ステップn58)、該書
込みにエラーがないかを判定する(ステップn59)。When the storage device 15b (or 15a) is determined to be normal, the other storage device 15b (or 15a) is determined to be normal.
5a), the maintenance data from the store controller SC is written in a predetermined area (step n58), and it is determined whether there is any error in the writing (step n59).
【0052】該書込みにエラーがあった時は、設定回数
リトライが許容され(ステップn60)、書込みエラー
が所定回数を越えると、読出し可能な所定のエリアに書
込みエラーを示すエラーフラグをセットし(ステップn
61)、次いで書込みエラーが発生したことをストアコ
ントローラSCに伝送する(ステップn62)。When there is an error in the write, retry is allowed a set number of times (step n60), and when the write error exceeds a predetermined number of times, an error flag indicating a write error is set in a predetermined readable area ( step n
61), and then transmits to the store controller SC that a write error has occurred (step n62).
【0053】上述のように、他方の記憶装置15b(ま
たは15a)にエラーが生じたり、または既にエラーが
生じていた場合は、次のステップn63に移行する。As described above, if an error occurs in the other storage device 15b (or 15a), or if an error has already occurred, the process moves to the next step n63.
【0054】上述のステップn63では、2台の記憶装
置15a,15bが共にエラーを発生しているかを判定
し、それぞれのエラーフラグを判定して2台ともエラー
が発生しているときは、システムをダウンするが、一方
が稼動可能である時はリターンして運用を継続する。In step n63 described above, it is determined whether an error has occurred in both the two storage devices 15a and 15b, and if the error flag of each storage device is determined and an error has occurred in both devices, the system is down, but when one is operational, it returns and continues operation.
【0055】なお、上述の回線制御装置11a(または
11b)の動作は、ストアコントローラSCに対する動
作として説明したが、図3で説明したサブルーチンn4
0において、ECR12のアクセスに対する登録業務の
書込み処理においても同様に処理するので、サブルーチ
ンn40の説明を省略する。Note that the operation of the line control device 11a (or 11b) described above has been explained as an operation for the store controller SC, but the subroutine n4 explained in FIG.
Since the same process is performed in the write process of the registration service for the access of the ECR 12 in the subroutine n40, the explanation of the subroutine n40 will be omitted.
【0056】次に、図3におけるサブルーチンn38に
おける回線制御装置11a(または11b)の照会業務
の読取り(または読込み)処理動作を、図5を参照して
説明する。Next, the reading (or reading) processing operation of the inquiry service of the line control device 11a (or 11b) in subroutine n38 in FIG. 3 will be explained with reference to FIG.
【0057】回線制御装置11a(または11b)にE
CR12から伝送回線14a(または14b)を介して
アクセスがあると、先ず自己の記憶装置15a(または
15b)が正常か否かを判定する(ステップn71)。[0057] The line control device 11a (or 11b)
When there is an access from the CR 12 via the transmission line 14a (or 14b), it is first determined whether or not its own storage device 15a (or 15b) is normal (step n71).
【0058】該記憶装置15a(または15b)がエラ
ーしてダウンした場合は、読出し可能な所定のエリアに
ダウンを示すエラーフラグがセットされているので、こ
のエラーフラグを読取って判定する。If the storage device 15a (or 15b) goes down due to an error, an error flag indicating that the storage device 15a (or 15b) is down is set in a predetermined readable area, so this error flag is read and determined.
【0059】記憶装置15a(または15b)が正常で
あると判定した時は、自己の記憶装置15a(または1
5b)にECR12からの照会業務である照会データを
読取り(ステップn72)、該読取りが正常かを判定す
る(ステップn73)。When it is determined that the storage device 15a (or 15b) is normal, the own storage device 15a (or 15b) is determined to be normal.
5b), the inquiry data that is the inquiry service from the ECR 12 is read (step n72), and it is determined whether the reading is normal (step n73).
【0060】上述の読取りが正常であれば、記憶装置1
5a(または15b)に照会データと対応して記憶され
ている商品名および値段等のデータをECR12に伝送
するが、この読取りにエラーがあった時は、読取りのリ
トライが所定回数許容される(ステップn74)。If the above reading is normal, storage device 1
Data such as product names and prices stored in 5a (or 15b) corresponding to the inquiry data is transmitted to the ECR 12, but if there is an error in this reading, retries of the reading are allowed a predetermined number of times ( Step n74).
【0061】上述の読取りエラーが所定回数を越えると
、自己の記憶装置15a(または15b)の読出し可能
な所定のエリアに読取りエラーを示すエラーフラグをセ
ットし(ステップn75)、次いで読取りエラーが発生
したことをストアコントローラSCに伝送する(ステッ
プn76)。When the above-described read error exceeds a predetermined number of times, an error flag indicating a read error is set in a predetermined readable area of the own storage device 15a (or 15b) (step n75), and then a read error occurs. This information is transmitted to the store controller SC (step n76).
【0062】上述のように、自己の記憶装置15a(ま
たは15b)にエラーが生じたり、または既にエラーが
生じていた場合は、次のステップn77に移行する。As described above, if an error occurs in the own storage device 15a (or 15b), or if an error has already occurred, the process moves to the next step n77.
【0063】このステップn77では、伝送回線16a
を介して、他方(相手)の記憶装置15b(または15
a)が正常か否かを判定する。In this step n77, the transmission line 16a
via the other (partner) storage device 15b (or 15
Determine whether a) is normal.
【0064】該記憶装置15b(または15a)がエラ
ーしてダウンした場合は、読出し可能な所定のエリアに
ダウンを示すエラーフラグがセットされているので、こ
のエラーフラグを読取って判定する。If the storage device 15b (or 15a) goes down due to an error, an error flag indicating that the storage device 15b (or 15a) is down is set in a predetermined readable area, so this error flag is read to determine.
【0065】この他方の記憶装置15b(または15a
)が正常であると判定したときは、この記憶装置15b
(または15a)にECR12からの照会業務である照
会データを読取り(ステップn78)、該読取りが正常
か否かを判定する(ステップn79)。[0065] This other storage device 15b (or 15a
) is determined to be normal, this storage device 15b
(or 15a), the inquiry data which is the inquiry service from the ECR 12 is read (step n78), and it is determined whether the reading is normal or not (step n79).
【0066】上述の読取りが正常であれば、記憶装置1
5b(または15a)に照会データと対応して記憶され
ている商品名および値段等のデータをECR12に伝送
するが、この読取りにエラーがあった時は、読取りのリ
トライが所定回数許容される(ステップn80)。If the above reading is normal, storage device 1
Data such as product names and prices stored in 5b (or 15a) corresponding to the inquiry data is transmitted to the ECR 12, but if there is an error in this reading, retries of the reading are allowed a predetermined number of times ( Step n80).
【0067】上述の読取りエラーが所定回数を越えると
、この記憶装置15b(または15a)の読出し可能な
所定のエリアに読取りエラーを示すエラーフラグをセッ
トし(ステップn81)、次いで読取りエラーが発生し
たことをストアコントローラSCに伝送する(ステップ
n82)。When the above-mentioned read error exceeds a predetermined number of times, an error flag indicating a read error is set in a predetermined readable area of this storage device 15b (or 15a) (step n81), and then a read error occurs. This information is transmitted to the store controller SC (step n82).
【0068】上述のように、他方の記憶装置15b(ま
たは15a)にエラーが生じたり、または既にエラーが
生じていた場合は、次のステップn83に移行する。As described above, if an error occurs or has already occurred in the other storage device 15b (or 15a), the process moves to the next step n83.
【0069】上述のステップn83では、2台の記憶装
置15a,15bが共にエラーを発生しているかを判定
し、それぞれのエラーフラグを判定して2台ともエラー
が発生しているときは、システムをダウンするが、一方
が稼動可能である時はリターンして運用を継続する。In step n83 described above, it is determined whether an error has occurred in both of the two storage devices 15a and 15b, and if the error flag of each storage device is determined and an error has occurred in both devices, the system is down, but when one is operational, it returns and continues operation.
【0070】次に、ストアコントローラSC側でのPO
Sシステムの処理動作を図6のフローチャートを参照し
て説明する。Next, the PO on the store controller SC side
The processing operation of the S system will be explained with reference to the flowchart of FIG.
【0071】ストアコントローラSCは、一方の回線制
御装置11aの制御機能が正常であるか否かを判定し(
ステップn91)、正常であれば、通信許容して処理動
作させ(ステップn94)、異常が認められると、他方
の回線制御装置11bの制御機能が正常であるか否かを
判定し(ステップn92)、双方共に異常が認められる
と、該システムをダウンさせるが、正常である場合には
、他方の回線制御装置11bに切換えて(ステップn9
3)、直ちに業務内容の処理動作を実行させる(ステッ
プn94)。The store controller SC determines whether the control function of one line control device 11a is normal (
Step n91), if normal, communication is allowed and processing is performed (step n94); if abnormality is found, it is determined whether the control function of the other line control device 11b is normal (step n92). If an abnormality is found in both, the system is brought down, but if it is normal, the system is switched to the other line control device 11b (step n9).
3) Immediately execute the processing operation of the business content (step n94).
【0072】以上詳述したように、この実施例によれば
、一方の回線制御装置11a(または11b)の記憶装
置15a(または15b)がダウンしても、両回線制御
装置11a,11b間の伝送回線16a,16bが正常
であれば、他方の回線制御装置11b(または11a)
の記憶装置15b(または15a)を使用することがで
きるので、伝送回線14a,14bの通信負荷を分散で
き、負荷を低減できる。As detailed above, according to this embodiment, even if the storage device 15a (or 15b) of one line control device 11a (or 11b) goes down, the connection between the two line control devices 11a, 11b is If the transmission lines 16a and 16b are normal, the other line control device 11b (or 11a)
Since the storage device 15b (or 15a) can be used, the communication load on the transmission lines 14a, 14b can be distributed and the load can be reduced.
【0073】勿論、一方の回線制御装置11a(または
11b)または一方の伝送回線14a(または14b)
がダウンすれば、他方の回線制御装置11b(または1
1a)または伝送回線14b(または14a)で全EC
R12…を制御することができ、POSシステムの有効
な運用を得る。Of course, one line control device 11a (or 11b) or one transmission line 14a (or 14b)
If the other line controller 11b (or 1
1a) or transmission line 14b (or 14a)
R12... can be controlled to obtain effective operation of the POS system.
【0074】この発明の構成と、上述の一実施例との対
応において、この発明の端末機は、実施例のECR12
…およびPOSシステムの他の端末機に対応し、以下同
様に、コントローラは、回線制御装置11a,11bに
対応するも、この発明は上述の実施例の構成のみに限定
されるものではない。[0074] In the correspondence between the configuration of the present invention and the above-mentioned embodiment, the terminal of the present invention has the ECR12 of the embodiment.
... and other terminals of the POS system, and similarly, the controller corresponds to the line control devices 11a and 11b, but the present invention is not limited to the configuration of the above-described embodiment.
【図1】この発明のPOSシステムの構成図。FIG. 1 is a configuration diagram of a POS system of the present invention.
【図2】この発明のECRの処理動作を示すフローチャ
ート。FIG. 2 is a flowchart showing the processing operation of the ECR of the present invention.
【図3】この発明の回線制御装置の処理動作を示すフロ
ーチャート。FIG. 3 is a flowchart showing processing operations of the line control device of the present invention.
【図4】この発明の書込み処理動作を示すフローチャー
ト。FIG. 4 is a flowchart showing the write processing operation of the present invention.
【図5】この発明の読取り処理動作を示すフローチャー
ト。FIG. 5 is a flowchart showing the read processing operation of the present invention.
【図6】この発明のストアコントローラの処理動作を示
すフローチャート。FIG. 6 is a flowchart showing processing operations of the store controller of the present invention.
11a,11b…回線制御装置
12…ECR
14a,14b,16a,16b…伝送回線15a,1
5b…記憶装置
17…監視回線11a, 11b...Line control device 12...ECR 14a, 14b, 16a, 16b...Transmission line 15a, 1
5b...Storage device 17...Monitoring line
Claims (1)
れぞれ制御可能に接続して、端末機と両コントローラ間
を2系統の伝送回線で接続し、上記両コントローラを相
互に伝送回線および監視回線で制御可能に接続して、一
方がダウンしたとき他方がダウン側の端末機を制御下に
おき、前記端末機と両コントローラ間の2系統の伝送回
線を伝送制御するPOSシステムの回線制御方法。Claim 1: A plurality of terminals are connected to two controllers so that they can each be controlled, the terminals and both controllers are connected by two transmission lines, and the two controllers are connected to each other through transmission lines and monitoring. A line control method for a POS system in which the terminals are connected in a controllable manner via lines, and when one terminal goes down, the other terminal takes control of the terminal on the down side, and transmission control is performed on two transmission lines between the terminal and both controllers. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3102149A JPH04247597A (en) | 1991-02-02 | 1991-02-02 | Line control circuit for pos system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3102149A JPH04247597A (en) | 1991-02-02 | 1991-02-02 | Line control circuit for pos system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04247597A true JPH04247597A (en) | 1992-09-03 |
Family
ID=14319686
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3102149A Pending JPH04247597A (en) | 1991-02-02 | 1991-02-02 | Line control circuit for pos system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04247597A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025088866A1 (en) | 2023-10-26 | 2025-05-01 | 東芝テック株式会社 | Information processing device and information processing program |
-
1991
- 1991-02-02 JP JP3102149A patent/JPH04247597A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025088866A1 (en) | 2023-10-26 | 2025-05-01 | 東芝テック株式会社 | Information processing device and information processing program |
| KR20260009340A (en) | 2023-10-26 | 2026-01-19 | 도시바 테크 가부시키가이샤 | Information processing device and information processing method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5060185A (en) | File backup system | |
| US5189607A (en) | Method for sending selected data from electronic cash registers to a host unit | |
| US5450589A (en) | Firmware modification system wherein older version can be retrieved | |
| US5313664A (en) | Point of sale system having backup file device | |
| JPS61156368A (en) | Control system of table content change | |
| US3546680A (en) | Parallel storage control system | |
| EP0315111A2 (en) | Data processing device | |
| JP6833359B2 (en) | Checkout system | |
| JPH04181346A (en) | Line control method for pos system | |
| US5170483A (en) | System having constant number of total input and output shift registers stages for each processor to access different memory modules | |
| JP7862286B2 (en) | Transaction processing system, settlement device, and settlement program | |
| EP0315088A2 (en) | Data transmission device | |
| JP3018984B2 (en) | Credit line system | |
| JP6926259B2 (en) | Checkout system and payment device | |
| JP3235292B2 (en) | Transaction processing system and network controller | |
| JPH01234973A (en) | Pos system | |
| JP2550605B2 (en) | Vector instruction processing system | |
| JPH0349075A (en) | Information terminal equipment | |
| JPS5813927B2 (en) | Terminal device setting data change method | |
| JP3739860B2 (en) | Data communication method in merchandise processing system | |
| JPH02311994A (en) | data output system | |
| JP2023108421A (en) | Relay device, processing device and transaction processing system | |
| JPH04284588A (en) | Programmable remote id controller | |
| JPS63293699A (en) | POS system | |
| JPH03229360A (en) | Backup method for transaction processor |