JPH0823911B2 - Device with multiple electronic cash registers - Google Patents

Device with multiple electronic cash registers

Info

Publication number
JPH0823911B2
JPH0823911B2 JP1170574A JP17057489A JPH0823911B2 JP H0823911 B2 JPH0823911 B2 JP H0823911B2 JP 1170574 A JP1170574 A JP 1170574A JP 17057489 A JP17057489 A JP 17057489A JP H0823911 B2 JPH0823911 B2 JP H0823911B2
Authority
JP
Japan
Prior art keywords
transaction data
processing circuit
memory
master
input means
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.)
Expired - Lifetime
Application number
JP1170574A
Other languages
Japanese (ja)
Other versions
JPH0335397A (en
Inventor
誠次 伊藤
正幸 住本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP1170574A priority Critical patent/JPH0823911B2/en
Priority to EP19900112485 priority patent/EP0405594B1/en
Priority to DE1990616512 priority patent/DE69016512T2/en
Publication of JPH0335397A publication Critical patent/JPH0335397A/en
Publication of JPH0823911B2 publication Critical patent/JPH0823911B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems including one or more distant stations co-operating with a central processing unit

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、複数の電子式金銭登録機を備え、いわばシ
ステム化された装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a so-called systemized device having a plurality of electronic cash registers.

従来の技術 典型的な先行技術は、第12図に示されている。親機と
しての電子式金銭登録機1と子機としての電子式金銭登
録機2とは、ライン3を介してそれぞれ接続されてお
り、相互に通信可能となっており、このような構成は、
いわゆるインラインシステムとして呼ばれることもあ
る。親機1は、メモリであるマスタファイル4を持って
いる。
PRIOR ART A typical prior art is shown in FIG. The electronic cash register 1 as a master unit and the electronic cash register 2 as a slave unit are connected to each other via a line 3 and can communicate with each other.
It is also called an in-line system. The base unit 1 has a master file 4 which is a memory.

第13図は、第12図に示される先行技術の動作を説明す
るための図である。
FIG. 13 is a diagram for explaining the operation of the prior art shown in FIG.

(a)子機2で取引データの登録操作、すなわちルック
アップ(Look up)操作を行うと、子機2から親機1に
対して取引データの要求メッセージがライン3を介して
送信される。
(A) When a transaction data registration operation, that is, a Look up operation, is performed by the handset device 2, a transaction data request message is transmitted from the handset device 2 to the base device 1 via the line 3.

(b)上述のステップaにおける要求メッセージを受け
た親機1は、マスタファイル4から、該当する取引デー
タを取出して、ライン3を介して子機2に転送する。
(B) Upon receiving the request message in the above step a, the parent device 1 extracts the corresponding transaction data from the master file 4 and transfers it to the child device 2 via the line 3.

(c)子機2では、親機1から受けた取引データに対し
て、追加登録を行って演算をした後、仮締め処理を行
う。
(C) In the slave 2, the transaction data received from the master 1 is additionally registered and calculated, and then the temporary tightening process is performed.

(d)仮締め処理時、子機2において更新された取引デ
ータを、親機1に対して転送する。
(D) At the time of temporary tightening processing, the transaction data updated in the child device 2 is transferred to the parent device 1.

(e)子機2からの取引データを受けた親機1は、その
マスタファイル4に対して、該当取引データの更新を行
う。
(E) The master device 1 that has received the transaction data from the slave device 2 updates the corresponding transaction data in the master file 4.

(f)以後、ステップa〜eを繰り返す。(F) After that, steps a to e are repeated.

発明が解決すべき課題 このような先行技術では、取引データをストアするマ
スタファイル4は、親機1にのみ存在するので、何らか
の理由で親機1の機能が停止して動作不能となったとき
には、このインラインシステム全体の装置の動作が停止
してしまう。このとき、親機1が動作不能である期間中
は、子機2を単体として使用しなければならず、そのよ
うな子機2が複数台設けられているときには、全体の取
引データを知ることができない。
Problems to be Solved by the Invention In such a prior art, since the master file 4 for storing transaction data exists only in the base unit 1, when the function of the base unit 1 stops for some reason and becomes inoperable. , The operation of the device of this whole inline system stops. At this time, during the period in which the master unit 1 is inoperable, the slave unit 2 must be used as a single unit, and when a plurality of such slave units 2 are provided, to know the entire transaction data. I can't.

本発明の目的は、親機としての電子式金銭登録機の動
作が不能となっても、残余の電子式金銭登録機が協働し
て動作を継続することができるようにした複数の電子式
金銭登録機を備える装置を提供することである。
An object of the present invention is to provide a plurality of electronic monetary register machines that allow the remaining electronic monetary cash register machines to continue to operate in cooperation with each other even if the operation of the electronic monetary cash register machine as a parent machine is disabled. An object of the present invention is to provide a device provided with a cash register.

課題を解決するための手段 本発明は、(a)取付データを入力する第1入力手段
と、取引データをストアする第1メモリと、第1入力手
段と第1メモリとに接続される第1処理回路とを有する
電子式金銭登録機である親機と、 (b)取引データを入力するとともに親機代役宣言の操
作をする第2入力手段と、取引データをストアする第2
メモリと、第2入力手段と第2メモリとに接続される第
2処理回路とを有する電子式金銭登録機である準親機
と、 (c)取引データを入力する第3入力手段と、第3入力
手段に接続される第3処理回路とを有する電子式金銭登
録機である子機と、 (d)第1〜第3処理回路を相互に接続するラインとを
含み、 (e)第3処理回路は、 親機が正常動作であるか動作不能となったかに応じ、 親機が正常動作であり、親機の第1処理回路からの親
機復旧宣言データを受信した場合、第3入力手段からの
取引データの入力によって、親機の第1処理回路に取引
データの要求メッセージを送出し、第3入力手段からの
取引データを、前記要求メッセージによる第1処理回路
からの取引データに追加登録して取引データを更新し、
この更新された取引データを第1処理回路に転送し、 親機が動作不能となり、準親機の第2処理回路からの
親機代役宣言データに応答し、第3入力手段からの取引
データの入力によって、第2処理回路に取引データの要
求メッセージを送出し、第3入力手段からの取引データ
を、前記要求メッセージによる第2処理回路からの取引
データに追加登録して取引データを更新し、この更新さ
れた取引データを第2処理回路に転送し、 (f)第1処理回路は、 第1入力手段から入力された取引データを第1メモリの
取引データに追加登録して取引データを更新してストア
するとともに、 第2および第3処理回路から要求メッセージに応答し
て、第1メモリにストアしてある取引データを、要求メ
ッセージが送信されてきた第2および第3処理回路に送
信し、 第2および第3処理回路からの更新された取引データ
を受信したとき、その更新された取引データを、第1メ
モリの取引データに追加登録して登録データを更新して
ストアし、 第1メモリの更新した取引データを、第2処理回路に
送信し、 親機の動作不能の後には、正常動作に復旧したかを判
断し、その正常動作に復旧したことを判断したとき、親
機復旧宣言データを第1および第3処理回路に送信し、
第2メモリからの取引データを受信して収集して第1メ
モリにストアし、 (g)第2処理回路は、 第2入力手段からの取引データの入力によって、第1処
理回路に取引データの要求メッセージを送出し、第2入
力手段からの取引データを、要求メッセージによる第1
処理回路からの取引データに追加登録して取引データを
更新し、この更新された取引データを第1処理回路に転
送し、 第1処理回路からの第1メモリの更新した取引データ
を、第2メモリにストアし、 第3処理回路からの更新された取引データを、第2メ
モリにストアし、 第2入力手段から親機代役宣言がなされたとき、親機
代役宣言データを第3処理回路に送信し、 第1処理回路からの親機復旧宣言データに応答して、
第2メモリにストアされている取引データを第1処理回
路に送信し、 第3処理回路からの送信要求メッセージに応答して第
2メモリにストアしてある取引データを第3処理回路に
送信することを特徴とする複数の電子式金銭登録機を備
える装置である。
Means for Solving the Problems The present invention includes (a) first input means for inputting attachment data, a first memory for storing transaction data, and a first input means and a first memory connected to the first memory. A master unit, which is an electronic cash register having a processing circuit, (b) second input means for inputting transaction data and operating as a proxy declaration of the master unit, and a second store unit for storing transaction data
A quasi-master unit which is an electronic cash register having a memory, a second input means and a second processing circuit connected to the second memory; (c) a third input means for inputting transaction data; An electronic money registration machine having a third processing circuit connected to the three input means; and (d) a line interconnecting the first to third processing circuits, and (e) a third processing circuit. The processing circuit receives the third input signal when the parent device is operating normally and the parent device restoration declaration data is received from the first processing circuit of the parent device, depending on whether the parent device is operating normally or cannot operate. By inputting transaction data from the means, a transaction data request message is sent to the first processing circuit of the parent machine, and the transaction data from the third input means is added to the transaction data from the first processing circuit by the request message. Register and update transaction data,
This updated transaction data is transferred to the first processing circuit, the master unit becomes inoperable, and in response to the master unit proxy declaration data from the second processing circuit of the quasi-master unit, the transaction data from the third input means is transferred. Upon input, a transaction data request message is sent to the second processing circuit, the transaction data from the third input means is additionally registered to the transaction data from the second processing circuit according to the request message, and the transaction data is updated. The updated transaction data is transferred to the second processing circuit, and (f) the first processing circuit updates the transaction data by additionally registering the transaction data input from the first input means to the transaction data in the first memory. And store the transaction data stored in the first memory in response to the request message from the second and third processing circuits, and the second and third processing circuits to which the request message has been transmitted. When the updated transaction data is received from the second and third processing circuits, the updated transaction data is additionally registered in the transaction data in the first memory to update and store the registered data. , The updated transaction data in the first memory is transmitted to the second processing circuit, and after the master unit is inoperable, it is determined whether the normal operation is restored, and when it is determined that the normal operation is restored, Send the master device restoration declaration data to the first and third processing circuits,
The transaction data from the second memory is received, collected, and stored in the first memory. (G) The second processing circuit inputs transaction data from the second input means to store the transaction data in the first processing circuit. The request message is transmitted, and the transaction data from the second input means is transferred to the first by the request message.
The transaction data is additionally registered to the transaction data from the processing circuit, the transaction data is updated, the updated transaction data is transferred to the first processing circuit, and the updated transaction data in the first memory from the first processing circuit is transferred to the second processing circuit. Stored in the memory, the updated transaction data from the third processing circuit is stored in the second memory, and when the master device acting declaration is made from the second input means, the master device acting declaration data is stored in the third processing circuit. Sent, and in response to the master device restoration declaration data from the first processing circuit,
The transaction data stored in the second memory is transmitted to the first processing circuit, and the transaction data stored in the second memory is transmitted to the third processing circuit in response to the transmission request message from the third processing circuit. It is an apparatus provided with a plurality of electronic cash register machines characterized by the above.

作 用 本発明に従えば、親機としての電子式金銭登録機には
第1メモリが備えられ、準親機としての電子式金銭登録
機にもまた第2メモリを有し、これらの親機と準親機と
が正常動作をするときには、第1メモリと第2メモリと
には、常時、同一の内容がストアされている。
Operation According to the present invention, the electronic cash register as the master unit is provided with the first memory, and the electronic cash register as the quasi-master unit also has the second memory. When the quasi-base unit normally operates, the same contents are always stored in the first memory and the second memory.

親機が動作不能となったときには、準親機および子機
から入力される取引データは第2メモリにストアし、こ
れによって動作の継続を行うことができる。親機が再び
正常動作に復旧した後には、この第2メモリのストア内
容を第1メモリに転送してストアし、正常動作を継続す
ることができる。
When the parent machine becomes inoperable, the transaction data input from the quasi-parent machine and the child machine is stored in the second memory, so that the operation can be continued. After the parent device returns to the normal operation again, the stored contents of the second memory can be transferred to the first memory and stored, and the normal operation can be continued.

親機および準親機は、子機としての動作もまた併せて
行うことができる。
The master unit and the quasi-master unit can also operate as slave units together.

また本発明に従えば、親機の正常動作時には、子機の
取引データの入力によって、親機に取引データの要求メ
ッセージを送出し、これによって親機は第1メモリにス
トアしてある取引データを子機に送信し、子機はこの親
機からの取引データに対して追加登録を行って取引デー
タを更新し(この取引データの更新がさらに行われ得る
とき、仮締め処理と言うことがある)、この更新された
取引データを親機に転送し、この更新された取引データ
が第1メモリにストアされて更新され、この子機の動作
は、準親機に関しても同様である。しかもこのとき第1
メモリに更新された取引データは親機から準親機へ送信
されて準親機における第2メモリにストアされる。した
がって親機の第1メモリと準親機の第2メモリとにスト
アされている取引データは同一の内容となっている。
Further, according to the present invention, when the master machine normally operates, the transaction data request message is sent to the master machine by inputting the transaction data of the slave machine, whereby the master machine stores the transaction data stored in the first memory. To the child machine, and the child machine additionally registers the transaction data from this parent machine to update the transaction data (when this transaction data can be further updated, it is called temporary tightening processing. Then, the updated transaction data is transferred to the parent machine, the updated transaction data is stored in the first memory and updated, and the operation of the child machine is the same for the quasi-parent machine. And at this time the first
The transaction data updated in the memory is transmitted from the base unit to the quasi-base unit and stored in the second memory in the quasi-base unit. Therefore, the transaction data stored in the first memory of the master unit and the second memory of the quasi-master unit have the same content.

親機が動作不能となったとき、準親機は子機に親機代
役宣言データを送信し、これによって子機は親機との前
記通信に代えて準親機との通信を行い、すなわち子機の
取引データの入力によって子機から準親機に要求メッセ
ージが送出され、準親機では第2メモリの取引データを
子機に送信し、これによって子機が準親機からの取引デ
ータに対して追加登録を行って取引データを更新し、こ
の更新された取引データを子機から準親機に転送し、準
親機では子機からの更新された取引データを第2メモリ
にストアする。
When the base unit becomes inoperable, the quasi-base unit sends the base unit proxy declaration data to the handset, whereby the handset communicates with the quasi-base unit instead of the communication with the base unit, that is, A request message is sent from the slave unit to the quasi-master unit by inputting the transaction data of the slave unit, and the quasi-master unit transmits the transaction data in the second memory to the slave unit, which causes the slave unit to transmit the transaction data from the quasi-master unit. The transaction data is updated by performing additional registration to, and the updated transaction data is transferred from the child device to the quasi-master device, and the quasi-parent device stores the updated transaction data from the child device in the second memory. To do.

親機が正常動作に復旧したときには、親機から親機復
旧宣言データを子機と準親機とに送信し、準親機の第2
メモリの取引データが親機に送信され、親機は、その第
2メモリからの取引データを収集して第1メモリにスト
アするとともに、親機は子機に親機復旧宣言データを送
信し、これによって子機は準親機との前記通信に代え
て、親機との通信を行う。
When the master unit is restored to normal operation, the master unit transmits the master unit restoration declaration data to the slave unit and the quasi-master unit, and the second master unit
The transaction data in the memory is transmitted to the parent machine, the parent machine collects the transaction data from the second memory and stores it in the first memory, and the parent machine sends the parent machine restoration declaration data to the child machine, As a result, the slave unit communicates with the master unit instead of the communication with the quasi-master unit.

実施例 第1図は、本発明の一実施例の全体のブロック図であ
る。親機としての電子式金銭登録機11と、準親機として
の電子式金銭登録機12と、子機としての電子式金銭登録
機13とは、ケーブルなどのライン14を介して相互に接続
されて、いわゆるインラインシステムを構成する。親機
11と準親機12とは、メモリであるマスタファイル15,16
をそれぞれ有する。
Embodiment FIG. 1 is an overall block diagram of an embodiment of the present invention. The electronic cash register 11 as a master, the electronic cash register 12 as a quasi-master, and the electronic cash register 13 as a slave are connected to each other via a line 14 such as a cable. To construct a so-called in-line system. Base unit
11 and the quasi-base unit 12 are master files 15 and 16 which are memories.
Have respectively.

このような第1図に示される実施例における親機11の
正常時における動作を簡略化して第2図を参照しなが
ら、説明する。
The operation of the parent device 11 in the embodiment shown in FIG. 1 in a normal state will be simplified and described with reference to FIG.

(A)子機13で取引データの登録を行っていわゆるルッ
クアップの操作を行う。これによって子機13からライン
14を介して親機11に対し、取引データの要求メッセージ
17が送出される。
(A) Transaction data is registered in the handset 13 and a so-called lookup operation is performed. This makes the line from the handset 13
Transaction data request message to base unit 11 via 14
17 is sent out.

(B)上述のステップAの取引データ要求メッセージ17
を受けた親機11は、そのマスタファイル15から該当する
取引データ取出し、参照符18で示すようにして、子機13
に転送する。これと同時に、親機11は準親機12に対し、
取引データ有無チェックメッセージ19を送出する。これ
は、常に親機11と準親機12とのマスタファイル15,16の
ストア内容が同じであることを確認するためのものであ
る。準親機12からは、該当取引データの有無の返答20が
送出されて親機11に与えられる。もしも準親機12から、
そのような該当する取引データが存在せず、したがって
準親機12が故障して動作不能である返答があったとき
は、親機11においてその旨を表示手段21において目視表
示し、あるいはまた記録紙に印字表示する。
(B) Transaction data request message 17 in step A above
Upon receipt of the transaction data, the master 11 retrieves the corresponding transaction data from the master file 15 and, as indicated by reference numeral 18, the slave 13
Transfer to. At the same time, the base unit 11 is
The transaction data existence check message 19 is transmitted. This is for always confirming that the master files 15 and 16 of the master device 11 and the semi-master device 12 have the same stored contents. From the quasi-master device 12, a response 20 indicating the presence / absence of the corresponding transaction data is sent and given to the master device 11. From the quasi-base unit 12,
When such a corresponding transaction data does not exist, and therefore there is a response that the quasi-master unit 12 is out of order and is inoperable, the fact that the master unit 11 is operating is visually displayed on the display means 21, or recorded. Print and display on paper.

(C)子機13において親機11から受けた取引データに対
し、追加登録を行った後、仮締め処理を行う。
(C) The transaction data received from the parent machine 11 in the child machine 13 is additionally registered and then temporarily tightened.

(D)仮締め処理時、子機13において更新された取引デ
ータは、親機11に転送される。
(D) During the temporary fastening process, the transaction data updated in the slave 13 is transferred to the master 11.

(E)子機13からの取引データを受けた親機11は、親機
11のマスタファイル15に対し、該当取引データの更新を
行う。これと同時に、準親機12に対して、該当取引デー
タを転送する。
(E) The parent machine 11 that receives the transaction data from the child machine 13 is
Update the corresponding transaction data for the master file 15 of 11. At the same time, the corresponding transaction data is transferred to the quasi-master device 12.

(F)取引データを受けた準親機12は、該当取引データ
の更新を行う。
(F) Upon receiving the transaction data, the quasi-base unit 12 updates the relevant transaction data.

(G)以後、上述のステップA〜Fを繰返す。(G) After that, the above steps A to F are repeated.

なお親機11および準親機12は、子機13としての機能を
有しており、上述の動作ステップA〜Fと同じ動作が行
われ、このときそれぞれ、自身に対する処理はライン14
を介する取引データの転送を行う必要がなく、マスタフ
ァイル15,16の取引データの転送が直接に行われる。
The master device 11 and the quasi-master device 12 have a function as the slave device 13, and the same operations as the above-described operation steps A to F are performed.
It is not necessary to transfer the transaction data via, and the transaction data of the master files 15 and 16 is directly transferred.

親機11と、準親機12と、子機13とは、取引データの登
録をしてルックアップ操作を行うための入力手段22,23,
24と、マイクロコンピュータなどによって実現され処理
回路25,26,27とを有し、親機11は前述のように表示手段
21を有し、また同様にして準親機12および子機13には表
示手段28,29が設けられる。
The master unit 11, the semi-master unit 12, and the slave unit 13 are input means 22, 23, for registering transaction data and performing a lookup operation.
24, and processing circuits 25, 26, 27 realized by a microcomputer or the like, and the master device 11 has the display means as described above.
Similarly, the quasi-master unit 12 and the slave unit 13 are provided with display means 28, 29.

第3図は、子機13における処理回路27の動作を説明す
るためのフローチャートである。ステップa1からステッ
プa2に移り取引データを要求する登録が行われ、ステッ
プa3では取引データ要求メッセージがライン14を介して
親機11に出力される。ステップa4では、親機11のマスタ
ファイル15にストアされている取引データの受信を行
い、ステップa5で入力手段24による追加登録を行い、そ
の後、ステップa6で仮締め処理を行う。その後、ステッ
プa7では、子機13において演算した結果の取引データを
ライン14を介して親機11に送信して転送する。
FIG. 3 is a flow chart for explaining the operation of the processing circuit 27 in the handset 13. The process proceeds from step a1 to step a2, where registration for requesting transaction data is performed, and in step a3, a transaction data request message is output to the base unit 11 via the line 14. At step a4, the transaction data stored in the master file 15 of the parent device 11 is received, at step a5 additional registration is performed by the input means 24, and then at step a6 temporary tightening processing is performed. After that, in step a7, the transaction data obtained as a result of calculation in the slave 13 is transmitted to the master 11 via the line 14 and transferred.

親機11が故障などの原因によって、その親機11の機能
が停止して、動作不能となったときには、処理回路27
は、第4図のステップc2において準親機12から親機代役
宣言メッセージを受信したかどうかを判断し、そのよう
な親機代役宣言メッセージを受信しているときにはステ
ップc3において、親機11との通信に代えて、準親機12と
の通信を行うように、設定を行う。第5図のステップd2
において処理回路27、は親機11の復旧したものと判断し
たときには、ステップd3において親機11との通信を行う
ように設定を行う。こうしてステップd4で一連の動作を
終了する。準親機12から親機代役宣言メッセージを前述
のステップc2において受信し、準親機12との通信をステ
ップc3において設定したときには、ステップa2〜ステッ
プa7の取引データの送受信は子機13と準親機12との間で
行われ、このときマスタファイル16が用いられる。
When the function of the base unit 11 is stopped due to a failure of the base unit 11 and the base unit 11 becomes inoperable, the processing circuit 27
Determines in step c2 of FIG. 4 whether or not it has received a master device proxy declaration message from the quasi-master device 12, and when such a master device proxy declaration message is received, in step c3 the master device 11 and The setting is made so that the communication with the quasi-base unit 12 is performed instead of the communication with. Step d2 in Fig. 5
When the processing circuit 27 determines that the master device 11 has been restored in step (4), it sets so as to communicate with the master device 11 in step d3. Thus, in step d4, a series of operations ends. When the master device proxy declaration message is received from the quasi-master device 12 in step c2 and the communication with the quasi-master device 12 is set in step c3, the transaction data transmission / reception in steps a2 to a7 is the same as that of the slave device 13. The master file 16 is used at this time with the master device 12.

第6図は、親機11に設けられた処理回路25の動作を説
明するためのフローチャートである。ステップb1からス
テップb2に移り、子機13または準親機12からの取引デー
タ要求メッセージを受信すると、ステップb3に移り、マ
スタファイル15の検索を行い、その後、ステップb4移
り、子機13にマスタファイル15で検索された該当取引デ
ータを子機13に送信して転送する。ステップb5では、準
親機12に対し、取引データ有無チェックメッセージを送
信する。ステップb6では、準親機12から該当データ有無
に関する返答があるかを判断し、その該当する取引デー
タが存在せず、したがって準親機12がエラーを生じてい
るとの返答があったときには、ステップb7において表示
手段21を用いてエラー表示を行う。
FIG. 6 is a flow chart for explaining the operation of the processing circuit 25 provided in the base unit 11. When the transaction data request message from the handset 13 or the quasi-base unit 12 is received from step b1 to step b2, the process goes to step b3, the master file 15 is searched, and then the process goes to step b4 and the handset 13 masters. The corresponding transaction data found in the file 15 is transmitted to the handset 13 and transferred. At step b5, a transaction data presence / absence check message is transmitted to the quasi-base unit 12. In step b6, it is determined whether there is a response regarding the presence or absence of the corresponding data from the quasi-master device 12, and when there is a response that the corresponding transaction data does not exist, and therefore the quasi-master device 12 has an error, In step b7, an error is displayed using the display means 21.

第7図を参照して、処理回路25では、準親機12におい
て該当の取引データが存在する旨の返答があったときに
は、ステップe2に移る。ステップe2では、子機13または
準親機12において入力されて仮締めされた取引データを
受信して、ステップe3においてマスタファイル15の該当
データの更新を行う。ステップe2では、子機13または準
親機12から仮締め処理された取引データを受信するまで
は、親機11では、本処理とは別の処理を実行することが
可能である。ステップe4では、ステップb6でエラーでな
ければ準親機12へ、該当取引データを親機11から送信
し、これによってマスタファイル16のストア内容を、マ
スタファイル15のストア内容と同一とする。
With reference to FIG. 7, in the processing circuit 25, when there is a response that the corresponding transaction data exists in the quasi-master device 12, the process proceeds to step e2. At step e2, the transaction data input and temporarily closed at the child device 13 or the quasi-parent device 12 is received, and at step e3, the corresponding data in the master file 15 is updated. In step e2, until the transaction data that has been temporarily tightened is received from the child device 13 or the quasi-parent device 12, the parent device 11 can execute a process different from this process. In step e4, if there is no error in step b6, the corresponding transaction data is transmitted from the master unit 11 to the quasi-master unit 12, and the stored contents of the master file 16 are made the same as the stored contents of the master file 15.

第8図を参照して、処理回路25では、ステップf2にお
いて親機11の故障などの原因によって一時的に動作を停
止していた後、その親機11が正常動作が可能に復旧した
ものと判断されたとき、ステップf3に移り、マスタファ
イル16の取引データを準親機12から受信して収集し、マ
スタファイル15に転送してストアし、ステップf4で親機
復旧宣言データを子機および準親機に送信し、ステップ
f5で一連の動作を終了する。
With reference to FIG. 8, in the processing circuit 25, after the operation is temporarily stopped in step f2 due to a failure of the parent device 11 or the like, it is assumed that the parent device 11 is restored to normal operation. When it is determined, the process proceeds to step f3, the transaction data of the master file 16 is received from the quasi-master unit 12, collected, transferred to the master file 15 and stored, and the master unit restoration declaration data is transferred to the master unit 15 and stored in the slave unit at step f4. Send to the quasi-base unit and step
A series of operations ends with f5.

第9図は、準親機12に設けられている処理回路26の動
作を説明するためのフローチャートである。ステップg1
からステップg2に移り、親機11からの取引データ有無チ
ェックメッセージを受信すると、ステップg3において返
答を行う。ステップg4では、正常動作を行っている親機
11からの取引データを受信し、ステップg5においてマス
タファイル16を更新する。
FIG. 9 is a flow chart for explaining the operation of the processing circuit 26 provided in the quasi-base unit 12. Step g1
To step g2, and when the transaction data presence / absence check message from the base unit 11 is received, a reply is made in step g3. In step g4, the master unit that is operating normally
Receive transaction data from 11 and update master file 16 in step g5.

第10図のステップh2では、入力手段23の操作によって
親機11が動作不能であるとき、準親機12が親機としての
代役を果たすための動作が行われたかどうかが判断され
る。親機11が動作不能であり、したがって準親機12にて
入力手段23から親機代役宣言が操作されたときには、ス
テップh3に移り、親機代役宣言データをライン14を介し
て子機13に送信する。これによって子機13は、親機11が
正常動作時に親機11と通信を行っていたのと同様な動作
を、すなわち第2図および第3図に示される動作を、準
親機12に対して行うことができる。ステップh4では、親
機11との通信を禁止する。すなわち子機13が準親機12の
処理回路26から親機代役宣言データを受信すると、入力
手段24からの取引データの入力によって、準親機12の処
理回路26に取引データの要求メッセージを送出し、入力
手段24からの取引データに、要求メッセージによる処理
回路26からの取引データを追加登録して取引データを更
新する仮締め処理を行い、この仮締め処理された取引デ
ータを処理回路26に転送する。
In step h2 of FIG. 10, when the parent device 11 is inoperable by the operation of the input means 23, it is determined whether or not the quasi-parent device 12 has performed an operation for acting as a parent device. When the parent machine 11 is inoperable and therefore the parent machine proxy declaration is operated from the input means 23 in the semi-master machine 12, the process moves to step h3, and the parent machine proxy declaration data is transferred to the slave machine 13 via the line 14. Send. As a result, the child device 13 performs the same operation as that of the parent device 11 communicating with the parent device 11 at the time of normal operation, that is, the operation shown in FIG. 2 and FIG. Can be done by At step h4, the communication with the master 11 is prohibited. That is, when the child device 13 receives the parent device proxy declaration data from the processing circuit 26 of the quasi-parent device 12, the transaction data request message is sent to the processing circuit 26 of the quasi-parent device 12 by inputting the transaction data from the input means 24. Then, the transaction data from the input means 24 is additionally registered with the transaction data from the processing circuit 26 by the request message to perform the temporary closing process for updating the transaction data, and the temporarily closed transaction data is sent to the processing circuit 26. Forward.

第11図のステップj2において、親機11の動作不能状態
が補修されて復旧されたものと判断されたときには、ス
テップj3において準親機12のマスタファイル16にストア
されている取引データを親機11に転送してマスタファイ
ル15にストアさせる。これによって、親機11の復旧後に
は、マスタファイル15のストア内容に基づいて、以後の
動作が行われる。ステップj4では、親機との通信が設定
される。
In step j2 of FIG. 11, when it is determined that the inoperable state of the master unit 11 has been repaired and restored, the transaction data stored in the master file 16 of the semi-master unit 12 in step j3 is used as the master unit. Transfer to 11 and store in master file 15. As a result, after the recovery of the master device 11, the subsequent operations are performed based on the stored contents of the master file 15. At step j4, communication with the master unit is set.

なお親機11が復旧したときには、入力手段22の操作に
よって準親機12のマスタファイル16にストアされている
最新の取引データをマスタファイル15に転送して収集す
るための操作を行い、このような動作は、前述の第8図
に示されるステップf3において行われる。第3図、第8
図および第10図の動作はメイン処理として行われ、第4
図、第5図、第6図、第7図、第9図および第11図の動
作はサブ処理として行われる。
When the parent machine 11 is restored, an operation for transferring the latest transaction data stored in the master file 16 of the semi-parent machine 12 to the master file 15 by the operation of the input means 22 and collecting the latest transaction data is performed. This operation is performed in step f3 shown in FIG. 3 and 8
The operation shown in FIG. 10 and FIG.
The operations shown in FIGS. 5, 5, 6, 7, 9, and 11 are performed as sub-processes.

このようにして、親機11が何らかの原因によって使用
不能となって動作不能となったとき、準親機12が親機11
の代役をすることができるようになる。したがって親機
11の復旧までの間、本件インラインシステム全体の動作
が停止してしまうことを防ぐことができる。また親機11
が復旧したとき、準親機12が最新の取引データをマスタ
ファイル16にストアしているので、親機11はその全取引
データをマスタファイル16からマスタファイル15に転送
して収集することができる。これによってインラインシ
ステム全体の取引データが、間違いなく、正確に復帰さ
れることが可能となる。子機13は、さらに複数個設けら
れていてもよく、あるいはまた親機11と準親機12とだけ
がライン14に接続された構成であってもよい。
In this way, when the master device 11 becomes unusable due to some reason and becomes inoperable, the quasi-master device 12 becomes
Will be able to stand in for. Therefore the base unit
Until the restoration of 11, it is possible to prevent the operation of the entire inline system in question from stopping. Also the base unit 11
When the device is restored, the quasi-master device 12 stores the latest transaction data in the master file 16, so the master device 11 can transfer and collect all the transaction data from the master file 16 to the master file 15. . This will ensure that the transaction data of the entire inline system can be restored accurately. A plurality of slaves 13 may be provided, or only the master 11 and the quasi-master 12 may be connected to the line 14.

発明の効果 以上のように本発明によれば、親機が何らかの原因に
よって使用ができずに動作不能となったとき、準親機が
親機の代役をすることができる。したがって複数の電子
式金銭登録機のうち、親機が動作不能となっても、装置
全体としての取引データは、第2メモリにストアされ
て、親機以外の他の子機を含めた電子式金銭登録機の使
用による取引データを把握することができるようにな
る。特に本発明によれば、親機の正常動作には、子機に
おける取引データの入力によって親機に取引データの要
求メッセージを送出し、親機の第1メモリにストアして
ある取引データが子機に送信されることによって、子機
では追加登録を行って仮締め処理を行い、この仮締め処
理された取引データを親機の第1メモリにストアする動
作が行われて親機との通信が行われ、親機の第1メモリ
の更新した取引データは準親機の第2メモリにストアさ
れ、こうして第1および第2メモリのストア内容は同一
に保たれており、親機の動作不能時には、子機は親機と
の前記通信に代えて準親機との同様な通信を行う。これ
によって上述のように親機の動作不能時においても、常
に取引データの把握を行うことが可能になる。
EFFECTS OF THE INVENTION As described above, according to the present invention, when the parent device cannot be used for some reason and becomes inoperable, the quasi-parent device can act as the parent device. Therefore, of the plurality of electronic cash register machines, even if the parent machine becomes inoperable, the transaction data of the entire apparatus is stored in the second memory, and the electronic machine including the child machines other than the parent machine is stored. You will be able to understand the transaction data by using the cash register. In particular, according to the present invention, for normal operation of the parent machine, a transaction data request message is sent to the parent machine upon input of transaction data in the child machine, and the transaction data stored in the first memory of the parent machine is the child data. When the slave unit performs additional registration, temporary closing processing is performed in the slave unit, and the transaction data subjected to the temporary tightening processing is stored in the first memory of the parent unit to communicate with the parent unit. Then, the updated transaction data in the first memory of the parent device is stored in the second memory of the quasi-parent device, thus the stored contents of the first and second memories are kept the same, and the parent device cannot operate. Occasionally, the slave unit performs similar communication with the quasi-master unit instead of the communication with the master unit. As a result, it becomes possible to always grasp the transaction data even when the parent machine cannot operate as described above.

しかも本発明では、上述のように子機において第1ま
たは第2メモリからの取引データに対して追加登録を行
って取引データを更新して仮締め処理を行い、この仮締
め処理された取引データを親機の正常動作時には親機の
第1メモリにストアし、また親機の動作不能時には準親
機の第2メモリにストアするようにしたので、親機が故
障するなどして動作不能状態にあっても、取引データの
追加登録を行って第1および第2メモリのストア内容の
更新を行うことが確実に可能である。もしも仮に親機の
みが追加登録を行って仮締め処理を行う機能を有してい
る構成とすれば、親機の故障などによる動作不能時に
は、そのような取引データの追加登録による更新を行う
ことができなくなってしまう。本発明ではこのような問
題を解決する。
Moreover, in the present invention, as described above, in the slave, the transaction data from the first or second memory is additionally registered to update the transaction data to perform the temporary closing process. Is stored in the first memory of the master unit when the master unit is operating normally, and is stored in the second memory of the quasi-master unit when the master unit is inoperable. Even in this case, it is certainly possible to additionally register the transaction data and update the stored contents of the first and second memories. If only the base unit has a function to perform additional registration and temporary tightening processing, if the base unit fails and is inoperable, update the transaction data by additional registration. Will not be possible. The present invention solves such a problem.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の一実施例の全体の構成を示すブロック
図、第2図は第1図に示される実施例の親機11が正常動
作するときにおける動作を簡略化して示す図、第3図、
第4図および第5図は子機13の処理回路27の動作を説明
するためのフローチャート、第6図、第7図および第8
図は親機11の処理回路25の動作を説明するためのフロー
チャート、第9図、第10図および第11図は準親機12の処
理回路26の動作を説明するためのフローチャート、第12
図は先行技術の全体の構成を簡略化して示すブロック
図、第13図は第12に示される先行技術の動作を簡略化し
て示す図である。 11……親機、12……準親機、13……子機、14……ライ
ン、15,16……マスタファイル、21,28,29……表示手
段、22,23,24……入力手段、25,26,27……処理回路
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention, and FIG. 2 is a diagram showing a simplified operation when the master unit 11 of the embodiment shown in FIG. 1 operates normally. Figure 3,
4 and 5 are flowcharts for explaining the operation of the processing circuit 27 of the child device 13, FIG. 6, FIG. 7 and FIG.
FIG. 9 is a flowchart for explaining the operation of the processing circuit 25 of the master device 11, and FIGS. 9, 10 and 11 are flowcharts for explaining the operation of the processing circuit 26 of the quasi-master device 12, and FIG.
The figure is a block diagram showing a simplified overall configuration of the prior art, and FIG. 13 is a diagram showing a simplified operation of the prior art shown in FIG. 11 …… Main unit, 12 …… Semi-main unit, 13 …… Slave unit, 14 …… Line, 15,16 …… Master file, 21,28,29 …… Display means, 22,23,24 …… Input Means, 25, 26, 27 ... Processing circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】(a)取引データを入力する第1入力手段
と、取引データをストアする第1メモリと、第1入力手
段と第1メモリとに接続される第1処理回路とを有する
電子式金銭登録機である親機と、 (b)取引データを入力するとともに親機代役宣言の操
作をする第2入力手段と、取引データをストアする第2
メモリと、第2入力手段と第2メモリとに接続される第
2処理回路とを有する電子式金銭登録機である準親機
と、 (c)取引データを入力する第3入力手段と、第3入力
手段に接続される第3処理回路とを有する電子式金銭登
録機である子機と、 (d)第1〜第3処理回路を相互に接続するラインとを
含み、 (e)第3処理回路は、 親機が正常動作であるか動作不能となったかに応じ、 親機が正常動作であり、親機の第1処理回路からの親機
復旧宣言データを受信した場合、第3入力手段からの取
引データの入力によって、親機の第1処理回路に取引デ
ータの要求メッセージを送出し、第3入力手段からの取
引データを、前記要求メッセージによる第1処理回路か
らの取引データに追加登録して取引データを更新し、こ
の更新された取引データを第1処理回路に転送し、 親機が動作不能となり、準親機の第2処理回路からの親
機代役宣言データに応答し、第3入力手段からの取引デ
ータの入力によって、第2処理回路に取引データの要求
メッセージを送出し、第3入力手段からの取引データ
を、前記要求メッセージによる第2処理回路からの取引
データに追加登録して取引データを更新し、この更新さ
れた取引データを第2処理回路に転送し、 (f)第1処理回路は、 第1入力手段から入力された取引データを第1メモリの
取引データに追加登録して取引データを更新してストア
するとともに、 第2および第3処理回路からの要求メッセージに応答し
て、第1メモリにストアしてある取引データを、要求メ
ッセージが送信されてきた第2および第3処理回路に送
信し、 第2および第3処理回路からの更新された取引データを
受信したとき、その更新された取引データを、第1メモ
リの取引データに追加登録して登録データを更新してス
トアし、 第1メモリの更新した取引データを、第2処理回路に送
信し、 親機の動作不能の後には、正常動作に復旧したかを判断
し、その正常動作に復旧したことを判断したとき、親機
復旧宣言データを第1および第3処理回路に送信し、第
2メモリからの取引データを受信して収集して第1メモ
リにストアし、 (g)第2処理回路は、 第2入力手段からの取引データの入力によって、第1処
理回路に取引データの要求メッセージを送出し、第2入
力手段からの取引データを、要求メッセージによる第1
処理回路からの取引データに追加登録して取引データを
更新し、この更新された取引データを第1処理回路に転
送し、 第1処理回路からの第1メモリの更新した取引データ
を、第2メモリにストアし、 第3処理回路からの更新された取引データを、第2メモ
リにストアし、 第2入力手段から親機代役宣言がなされたとき、親機代
役宣言データを第3処理回路に送信し、 第1処理回路からの親機復旧宣言データに応答して、第
2メモリにストアされている取引データを第1処理回路
に送信し、 第3処理回路からの送信要求メッセージに応答して第2
メモリにストアしてある取引データを第3処理回路に送
信することを特徴とする複数の電子式金銭登録機を備え
る装置。
1. An electronic device comprising: (a) first input means for inputting transaction data, a first memory for storing transaction data, and a first processing circuit connected to the first input means and the first memory. (B) second input means for inputting transaction data and operating as a parent machine proxy declaration; and second for storing transaction data
A quasi-master unit which is an electronic cash register having a memory, a second input means and a second processing circuit connected to the second memory; (c) a third input means for inputting transaction data; An electronic money registration machine having a third processing circuit connected to the three input means; and (d) a line interconnecting the first to third processing circuits, and (e) a third processing circuit. The processing circuit receives the third input signal when the parent device is operating normally and the parent device restoration declaration data is received from the first processing circuit of the parent device, depending on whether the parent device is operating normally or cannot operate. By inputting transaction data from the means, a transaction data request message is sent to the first processing circuit of the parent machine, and the transaction data from the third input means is added to the transaction data from the first processing circuit by the request message. Register and update the transaction data, this updated transaction Data is transferred to the first processing circuit, the master unit becomes inoperable, and in response to the master unit proxy declaration data from the second processing circuit of the semi-master unit, the transaction data is input from the third input means, The transaction data request message is sent to the second processing circuit, the transaction data from the third input means is additionally registered to the transaction data from the second processing circuit according to the request message, and the transaction data is updated. The transaction data is transferred to the second processing circuit, and (f) the first processing circuit additionally registers the transaction data input from the first input means in the transaction data of the first memory to update and store the transaction data. At the same time, in response to the request message from the second and third processing circuits, the transaction data stored in the first memory is transmitted to the second and third processing circuits to which the request message has been transmitted, Oh And when the updated transaction data from the third processing circuit is received, the updated transaction data is additionally registered to the transaction data in the first memory, the registered data is updated and stored, and the first memory is updated. After sending the transaction data to the second processing circuit, after the master unit is inoperable, it is judged whether the normal operation is restored. When it is judged that the normal operation is restored, the master unit restoration declaration data is sent. Transmitting to the first and third processing circuits, receiving and collecting transaction data from the second memory and storing it in the first memory; (g) the second processing circuit stores the transaction data from the second input means. A transaction data request message is sent to the first processing circuit upon input, and transaction data from the second input means is sent to the first processing circuit according to the request message.
The transaction data is additionally registered to the transaction data from the processing circuit, the transaction data is updated, the updated transaction data is transferred to the first processing circuit, and the updated transaction data in the first memory from the first processing circuit is transferred to the second processing circuit. Stored in the memory, the updated transaction data from the third processing circuit is stored in the second memory, and when the master device acting declaration is made from the second input means, the master device acting declaration data is stored in the third processing circuit. In response to the master device restoration declaration data from the first processing circuit, the transaction data stored in the second memory is transmitted to the first processing circuit, and in response to the transmission request message from the third processing circuit. Second
An apparatus comprising a plurality of electronic cash registers, the transaction data stored in a memory being transmitted to a third processing circuit.
JP1170574A 1989-06-30 1989-06-30 Device with multiple electronic cash registers Expired - Lifetime JPH0823911B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP1170574A JPH0823911B2 (en) 1989-06-30 1989-06-30 Device with multiple electronic cash registers
EP19900112485 EP0405594B1 (en) 1989-06-30 1990-06-29 Electronic cash register system
DE1990616512 DE69016512T2 (en) 1989-06-30 1990-06-29 Electronic cash register system.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1170574A JPH0823911B2 (en) 1989-06-30 1989-06-30 Device with multiple electronic cash registers

Publications (2)

Publication Number Publication Date
JPH0335397A JPH0335397A (en) 1991-02-15
JPH0823911B2 true JPH0823911B2 (en) 1996-03-06

Family

ID=15907362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1170574A Expired - Lifetime JPH0823911B2 (en) 1989-06-30 1989-06-30 Device with multiple electronic cash registers

Country Status (3)

Country Link
EP (1) EP0405594B1 (en)
JP (1) JPH0823911B2 (en)
DE (1) DE69016512T2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0962741A (en) 1995-08-25 1997-03-07 Casio Comput Co Ltd Data processing method of data communication system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2425596A1 (en) * 1974-05-27 1975-05-28 Bunker Ramo Central electronic accounting computer - controls electronic cash registers in cash register systems
US4169288A (en) * 1977-04-26 1979-09-25 International Telephone And Telegraph Corporation Redundant memory for point of sale system
DE3334773A1 (en) * 1983-09-26 1984-11-08 Siemens AG, 1000 Berlin und 8000 München METHOD FOR OPERATING A PAIR OF MEMORY BLOCKS OPERATING IN NORMAL OPERATING TIME
JPS60134964A (en) * 1983-12-23 1985-07-18 Tokyo Electric Co Ltd Pos system
JPS60136855A (en) * 1983-12-26 1985-07-20 Hitachi Ltd Data processing system
JPS61156368A (en) * 1984-12-27 1986-07-16 Fujitsu Ltd Control system of table content change
JPS62222363A (en) * 1986-03-25 1987-09-30 Omron Tateisi Electronics Co Automatic transaction processing device
JPS62226271A (en) * 1986-03-27 1987-10-05 Tokyo Electric Co Ltd Automatic switching device for pos loop
WO1989009452A1 (en) * 1988-03-25 1989-10-05 Ncr Corporation Point of sale system
DE68921129T2 (en) * 1988-03-25 1995-10-12 At & T Global Inf Solution FILE RECOVERY SYSTEM AND METHOD FOR DEALERS.

Also Published As

Publication number Publication date
DE69016512D1 (en) 1995-03-16
EP0405594B1 (en) 1995-02-01
EP0405594A2 (en) 1991-01-02
DE69016512T2 (en) 1995-09-21
EP0405594A3 (en) 1993-03-03
JPH0335397A (en) 1991-02-15

Similar Documents

Publication Publication Date Title
US5805798A (en) Fail-safe event driven transaction processing system and method
CN1332538C (en) Distributed on-line data communications system and method
JPH03288297A (en) Transaction processor
JPH0823911B2 (en) Device with multiple electronic cash registers
EP0784836B1 (en) Data communication system
JPH09147242A (en) Pos system
GB2140940A (en) Data communication control system
JP2614224B2 (en) Network configuration management method
JP3156102B2 (en) Power system information input method and device
KR0174603B1 (en) How to restore the database of the exchange
KR970002778B1 (en) Message tx/rx method btween processors in the intelligent service control/management system
JP3949792B2 (en) POS system
JPS6063674A (en) File retrieval system of local area network system
JP3267492B2 (en) Vending machine information management device
JPH07141575A (en) Inquiring/and answering method for information on commodity
JPH03280144A (en) Communication control system
JP3775275B2 (en) Redundant system, its master device, slave device
JPH0916856A (en) Pos system
JPH07325747A (en) Managing method for decentralized data base
JP2792179B2 (en) Online system for cash transactions
JPS6160042A (en) Identification system of arrangement order of node
JPH04124755A (en) Terminal control system
JPH01180658A (en) Centralized control system
JPH01309172A (en) Transaction processing system
JPS59229660A (en) Updating method of data file

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080306

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090306

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100306

Year of fee payment: 14

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100306

Year of fee payment: 14