JPH05242110A - File processor - Google Patents

File processor

Info

Publication number
JPH05242110A
JPH05242110A JP8046492A JP8046492A JPH05242110A JP H05242110 A JPH05242110 A JP H05242110A JP 8046492 A JP8046492 A JP 8046492A JP 8046492 A JP8046492 A JP 8046492A JP H05242110 A JPH05242110 A JP H05242110A
Authority
JP
Japan
Prior art keywords
master device
file
backup
registered
registration
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
Application number
JP8046492A
Other languages
Japanese (ja)
Inventor
Hiroyuki Asano
裕之 浅野
Hideo Shimizu
英生 清水
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP8046492A priority Critical patent/JPH05242110A/en
Publication of JPH05242110A publication Critical patent/JPH05242110A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

PURPOSE:To permit a device other than a master device to perform the same registering operation as usual even if registration to the master device is disabled. CONSTITUTION:Sales data by articles which are inputted from a slave device 13 are registered in PLU files 15 on the sides of the master device 11 and backup master device 12 respectively. When the registration to the master device 11 is disabled, data inputted from the other device are registered in the PLU file 15 on the side of the backup master device 12. When the master device 11 recovers to the normal state, the data registered in the PLU file 15 on the side of the backup master device 12 when its registration is disabled are registered in the PLU file 15 on the side of the master device 11 to match the contents of both the files with each other.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明はPOS(ポイントオブ
セールス)システム等において、マスタ装置、バックア
ップマスタ装置、スレーブ装置を備え、スレーブ装置等
から分類別に入力されたデータをマスタ装置側のファイ
ルとバックアップマスタ装置側のファイルに分類別に登
録するファイル処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention includes a master device, a backup master device, and a slave device in a POS (point of sale) system, etc., and backs up data input by classification from the slave device and the like to a file on the master device side. The present invention relates to a file processing device that registers in a file on the master device side according to classification.

【0002】[0002]

【従来の技術】従来、この種のPOSシステムにおいて
はマスタ装置、バックアップマスタ装置、スレーブ装置
とがインラインを介して接続されており、マスタ装置お
よびバックアップマスタ装置にはそれぞれPLU(プラ
イスルックアップ)ファイルが備えられている。ここ
で、スレーブ装置から商品別売上データを入力すると、
入力された商品別売上データはマスタ装置およびバック
アップマスタ装置にそれぞれ伝送されて両方のPLUフ
ァイルに登録される。ところで、マスタ装置がPLUフ
ァイルの精算処理を行う時、この精算処理が終るまで各
装置では登録操作を行うことはできず、またマスタ装置
のダウン時にもそれが回復するまで各装置では登録操作
を行うことができなかった。
2. Description of the Related Art Conventionally, in this type of POS system, a master device, a backup master device, and a slave device are connected via an in-line, and the master device and the backup master device each have a PLU (price lookup) file. Is provided. Here, if you enter sales data by product from the slave device,
The input sales data for each product is transmitted to the master device and the backup master device and registered in both PLU files. By the way, when the master device performs the PLU file settlement process, each device cannot perform the registration operation until the settlement process is completed, and when the master device goes down, each device does not perform the registration operation until it is recovered. Could not be done.

【0003】[0003]

【発明が解決しようとする課題】このようにマスタ装置
の精算時やダウン時、つまり、マスタ装置への登録不能
時には他の装置では登録操作を行うことができない為、
例えば24時間営業の店舗においては、その間、顧客を
待たせるという欠点があった。この発明の課題は、マス
タ装置への登録不能時でも他の装置に通常と同様の登録
操作を許可できるようにすることである。
As described above, when the master device is settled or down, that is, when the master device cannot be registered, another device cannot perform the registration operation.
For example, in a store that is open 24 hours, there is a drawback that the customer is kept waiting during that time. An object of the present invention is to allow another device to perform the same registration operation as usual even when the registration to the master device is impossible.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。マスタ装置、バックアップマスタ装置、スレ
ーブ装置とを備え、各装置から分類別に入力されたデー
タをマスタ装置側のファイルおよびバックアップマスタ
装置側のファイルにそれぞれ登録するファイル処理装置
において、登録制御手段1(図1の機能ブロック図を参
照、以下同じ)は、マスタ装置への登録不能時に他の装
置から入力されたデータをバックアップマスタ装置側の
ファイルに登録する。ここで、マスタ装置への登録不能
時とは精算時やダウン時等である。ファイル整合手段2
はマスタ装置が通常の登録可能状態に復帰した場合、マ
スタ装置の登録不能時に少なくともバックアップマスタ
装置側のファイルに登録されたデータをマスタ装置側の
ファイルに登録することにより両ファイルの内容を整合
させる。ここで、整合処理はマスタ装置の登録不能状態
において異なる。
The means of the present invention are as follows. In a file processing device that includes a master device, a backup master device, and a slave device, and registers the data input by classification from each device into a file on the master device side and a file on the backup master device side, respectively, a registration control unit 1 (see FIG. 1) (refer to the functional block diagram of No. 1, hereinafter the same) registers data input from another device in a file on the backup master device side when it cannot be registered in the master device. Here, the time when the registration in the master device is impossible means the time of settlement or the time of down. File matching means 2
When the master device returns to the normal registerable state, the contents of both files are made consistent by registering at least the data registered in the file on the backup master device side to the file on the master device side when the master device cannot be registered .. Here, the matching process is different when the master device cannot be registered.

【0005】[0005]

【作用】この発明の手段の作用は次の通りである。い
ま、マスタ装置が精算処理中であったり、ダウン中であ
る場合、登録制御手段1は他の装置から入力されたデー
タをバックアップマスタ装置側のファイルに登録する。
即ち、マスタ装置が登録不能状態にあっても登録制御手
段1は他の装置から入力されたデータをバックアップマ
スタ装置側のファイルのみに登録しておく。その後、マ
スタ装置が通常の登録可能状態に復帰すると、ファイル
整合手段2は少なくともマスタ装置の登録不能時にバッ
クアップマスタ装置側のファイルに登録されたデータを
マスタ装置側のファイルに登録することにより両ファイ
ルの内容を整合させる。したがって、マスタ装置への登
録不能時でも他の装置に通常と同様の登録操作を許可す
ることができる。
The operation of the means of the present invention is as follows. When the master device is in the process of settlement or down, the registration control means 1 registers the data input from the other device in the file on the backup master device side.
That is, even if the master device is in the unregisterable state, the registration control means 1 registers the data input from another device only in the file on the backup master device side. After that, when the master device returns to the normal registerable state, the file matching means 2 registers the data registered in the file on the backup master device side into the file on the master device side at least when the master device cannot register the two files. Align the contents of. Therefore, even when registration with the master device is impossible, other devices can be permitted to perform the same registration operation as usual.

【0006】[0006]

【実施例】以下、図2〜図10を参照して一実施例を説
明する。図2はPOSシステムの構成図で、このPOS
システムはマスタ装置11、バックアップマスタ装置1
2の他に、複数台のスレーブ装置13を有し、各装置は
インライン14を介して接続されている。そして、マス
タ装置11、バックアップマスタ装置12には同様のP
LUファイル15が備えられている。ここで、PLUフ
ァイル15は各商品毎にPLUコード、キャラクタ(商
品名)、売上金額、売上個数、設定単価等を記憶するも
ので、スレーブ装置13から商品単価の問い合せがある
と、マスタ装置11は自己のPLUファイル15を検索
し、要求元のスレーブ装置13に設定単価を送信する。
この場合、スレーブ装置13はこのデータを基に登録演
算を行い、その結果をファイル更新データとしてマスタ
装置11、バックアップマスタ装置12に送信し、各P
LUファイル15の内容を更新させる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. Figure 2 is a block diagram of the POS system.
The system is a master device 11, a backup master device 1
2 has a plurality of slave devices 13, and each device is connected via an inline 14. The same P is set for the master device 11 and the backup master device 12.
The LU file 15 is provided. Here, the PLU file 15 stores the PLU code, character (product name), sales amount, sales quantity, set unit price, etc. for each product. When the slave device 13 makes an inquiry about the product unit price, the master device 11 Searches for its own PLU file 15 and sends the set unit price to the slave device 13 which is the request source.
In this case, the slave device 13 performs a registration operation based on this data, and sends the result to the master device 11 and the backup master device 12 as file update data, and
The contents of the LU file 15 are updated.

【0007】図3はマスタ装置11、バックアップマス
タ装置12、スレーブ装置13の基本構成を示したブロ
ック図である。マスタ装置11、バックアップマスタ装
置12、スレーブ装置13は電子式キャッシュレジスタ
(ECR)で、CPU21はROM22内の各種プログ
ラムにしたがってこのECRの全体動作を制御する。こ
のCPU21にはROM22、入力部23、スキャナ2
4、印字部25、表示部26、ドロア27、伝送部2
8、RAM29が接続されており、それらの入出力動作
やデータの読み出し/書き込み動作等を制御する。
FIG. 3 is a block diagram showing the basic configuration of the master device 11, the backup master device 12, and the slave device 13. The master device 11, the backup master device 12, and the slave device 13 are electronic cash registers (ECR), and the CPU 21 controls the entire operation of this ECR according to various programs in the ROM 22. The CPU 21, the ROM 22, the input unit 23, the scanner 2
4, printing unit 25, display unit 26, drawer 27, transmission unit 2
8. A RAM 29 is connected to control the input / output operation, the data read / write operation, and the like.

【0008】次に、本実施例の動作を説明する。図4は
通常の登録処理時の動作を示したタイムチャートであ
る。(A−1)、スレーブ装置13において、先ず、商
品別登録操作を行うと、スレーブ装置13はマスタ装置
11に対してその商品の単価情報を問い合せる。(A−
2)、すると、マスタ装置11は自己のPLUファイル
15を検索し、該当商品の単価を読み出して要求元のス
レーブ装置13に返答する。(A−3)、これによって
要求元のスレーブ装置13はこの単価情報に基づいて売
上金額等を算出し、売上個数、売上金額等をファイル更
新データとしてマスタ装置11に送る。(A−4)、マ
スタ装置11はこの更新データに基づいて自己のPLU
ファイル15の内容を更新すると共に送信元のスレーブ
装置13に更新応答を行う。(A−5)、次にスレーブ
装置13は同様のファイル更新データをバックアップマ
スタ装置12に送る。(A−6)、これによってマスタ
装置11と同様にバックアップマスタ装置12はこの更
新データに基づいて自己のPLUファイル15の内容を
更新すると共に送信元のスレーブ装置13に更新応答を
行う。このような一連の動作はスレーブ装置13から商
品別登録操作が行われる毎に実行される為、マスタ装置
11側のPLUファイル15とバックアップマスタ装置
12側のPLUファイル15とは同一内容となる。
Next, the operation of this embodiment will be described. FIG. 4 is a time chart showing the operation during normal registration processing. (A-1) In the slave device 13, first, when a product-specific registration operation is performed, the slave device 13 inquires of the master device 11 about unit price information of the product. (A-
2) Then, the master device 11 searches its own PLU file 15, reads out the unit price of the corresponding product, and returns it to the slave device 13 which is the request source. (A-3), whereby the requesting slave device 13 calculates the amount of sales based on this unit price information and sends the number of units sold, the amount of sales, etc. to the master device 11 as file update data. (A-4), the master device 11 determines its own PLU based on this update data.
The contents of the file 15 are updated and an update response is sent to the slave device 13 which is the transmission source. (A-5) Next, the slave device 13 sends similar file update data to the backup master device 12. (A-6) As a result, like the master device 11, the backup master device 12 updates the contents of its own PLU file 15 based on this update data, and sends an update response to the slave device 13 that is the transmission source. Since such a series of operations is executed every time the slave device 13 performs a product-specific registration operation, the PLU file 15 on the master device 11 side and the PLU file 15 on the backup master device 12 side have the same contents.

【0009】図5はマスタ装置11がPLUファイル1
5の内容を精算する精算処理中であったり、何等かの障
害が発生してマスタダウン状態にあるときの動作を示し
たタイムチャートである。図6はマスタ装置11が精算
処理に移行するとき、マスタ装置11をPOSシステム
から切り離した状態を示した図である。この場合、マス
タ装置11はホストコンピュータ(図示せず)に図2の
PLUファイル15の内容を転送する。このようにマス
タ装置11が精算処理中であったり、マスタダウン時に
あるとき、POSシステムは次の如く動作する。(B−
1)、先ず、スレーブ装置13から単価問い合わせがあ
ると、マスタ装置11はそのスレーブ装置13に対して
応答できなくなり、タイムアウトを生じる。(B−
2)、この場合、スレーブ装置13はマスタ装置11へ
の単価問い合わせがタイムアウトとなった為、マスタ装
置11が登録不能状態にあることを認識する。(B−
3)、すると、当該スレーブ装置13はバックアップマ
スタ装置12に対して単価問い合わせを行う。(B−
4)、バックアップマスタ装置12はこの問い合わせに
応じて自己のPLUファイル15を検索し、該当商品の
単価を読み出して要求元のスレーブ装置13に応答す
る。(B−5)、すると、スレーブ装置13はバックア
ップマスタ装置12からの単価情報を基に売上演算を行
い、その結果等をファイル更新データとしてマスタ装置
11に送信するが、(B−6)、この場合においてもマ
スタ装置11が精算処置中であったり、ダウン状態にあ
れば、再びタイムアウトを生じる為、スレーブ装置13
はそれを認識する。(B−7)これによって当該スレー
ブ装置13はファイル更新データをバックアップマスタ
装置12に送信するが、その際、このファイル更新デー
タにマスタ登録不能状態を示す情報を付加する。(B−
8)、すると、バックアップマスタ装置12は送信元の
スレーブ装置13に対してファイル更新応答を行うと共
に各スレーブ装置13にはマスタ装置11が登録不能状
態にあることを通知する。
In FIG. 5, the master device 11 has a PLU file 1
5 is a time chart showing an operation during a settlement process for settlement of the contents of 5 or in a master down state due to some failure. FIG. 6 is a diagram showing a state in which the master device 11 is separated from the POS system when the master device 11 shifts to the settlement process. In this case, the master device 11 transfers the contents of the PLU file 15 of FIG. 2 to the host computer (not shown). In this way, when the master device 11 is in the process of payment or when the master is down, the POS system operates as follows. (B-
1) First, when there is a unit price inquiry from the slave device 13, the master device 11 cannot respond to the slave device 13 and a time-out occurs. (B-
2) In this case, the slave device 13 recognizes that the master device 11 is in the unregisterable state because the unit price inquiry to the master device 11 has timed out. (B-
3) Then, the slave device 13 makes a unit price inquiry to the backup master device 12. (B-
4) In response to this inquiry, the backup master device 12 searches its own PLU file 15, reads out the unit price of the corresponding product, and responds to the slave device 13 which is the request source. (B-5) Then, the slave device 13 performs sales calculation based on the unit price information from the backup master device 12, and transmits the result or the like to the master device 11 as file update data, but (B-6), Even in this case, if the master device 11 is in the process of settlement or is in the down state, the slave device 13 will time out again.
Recognizes it. (B-7) As a result, the slave device 13 transmits the file update data to the backup master device 12, but at this time, the information indicating the master unregisterable state is added to the file update data. (B-
8) Then, the backup master device 12 sends a file update response to the source slave device 13 and notifies each slave device 13 that the master device 11 is in the unregisterable state.

【0010】これによって以降は、図6に示す様にこの
POSシステムでは単価の問い合わせ、ファイル更新共
にバックアップマスタ装置12に対して行われ、マスタ
装置11が通常状態に復帰するまではこの状態は続く。
As a result, thereafter, as shown in FIG. 6, in this POS system, unit price inquiry and file update are performed to the backup master unit 12, and this state continues until the master unit 11 returns to the normal state. ..

【0011】図7はマスタ装置11が上述の様な登録不
能状態から復帰した際の動作を示したタイムチャートで
ある。ここで、上述した如くマスタ装置11が登録不能
状態にあるときにも他の装置では登録操作が行われる
が、この場合、バックアップマスタ装置12側のPLU
ファイル15のみが更新される。この為、マスタ装置1
1が登録不能状態から通常状態に復帰したときにはマス
タ装置11側のPLUファイル15とバックアップマス
タ装置12側のPLUファイル15とを整合させる必要
がある。図8はこの場合の動作状態を示した図で、マス
タ装置11が登録不能状態から回復すると、両方のPL
Uファイル15の内容を整合させる整合処理がマスタ装
置11とバックアップマスタ装置12との間で行われる
が、その際、マスタ装置11が精算処理から登録可能状
態に復帰した場合には後述の差分処理が行われ、マスタ
ダウン状態から登録可能状態に復帰した場合には後述の
コピー処理が行われる。なお、図示の如くこのような整
合処理中であってもこのPOSシステムにおいては登録
操作を行うことができる。
FIG. 7 is a time chart showing the operation when the master device 11 returns from the unregisterable state as described above. Here, even when the master device 11 is in the unregisterable state as described above, the registration operation is performed in the other devices. In this case, the PLU on the backup master device 12 side
Only file 15 is updated. Therefore, the master device 1
When 1 returns from the unregisterable state to the normal state, it is necessary to match the PLU file 15 on the master device 11 side with the PLU file 15 on the backup master device 12 side. FIG. 8 is a diagram showing the operating state in this case. When the master device 11 recovers from the unregisterable state, both PL
A matching process for matching the contents of the U file 15 is performed between the master device 11 and the backup master device 12. At that time, when the master device 11 returns from the settlement process to the registerable state, a difference process described later. When the master down state is restored to the registerable state, the copy processing described later is performed. Incidentally, as shown in the figure, the registration operation can be performed in this POS system even during such matching processing.

【0012】先ず、マスタ装置11は通常の登録可能状
態に回復すると、整合処理を開始する為に、(C−
1)、先ずその準備を行ったのち、(C−2)、バック
アップマスタ装置12および各スレーブ装置13に対し
て整合開始を指示する。この場合、各スレーブ装置13
に対して単価問い合せはバックアップマスタ装置12に
対して行い、PLUファイルの更新についてはマスタ装
置11とバックアップマスタ装置12の両方に行うべき
旨の指示を出す。すると、マスタ装置11とバックアッ
プマスタ装置12のとの間では、両方のPLUファイル
15の第1番目のレコードから順番にレコードずつその
内容を整合させる整合処理を行う。ここで、図中(C−
3)はマスタ装置11がバックアップマスタ装置12に
対して第1番目のレコードを要求した場合、(C−4)
はその要求に応答してバックアップマスタ装置12が第
1番目のレコードを送信した場合、(C−5)は第2番
目のレコードを要求した場合である。
First, when the master device 11 recovers to the normal registerable state, (C-
1) First, after making the preparation, (C-2), the backup master device 12 and each slave device 13 are instructed to start matching. In this case, each slave device 13
On the other hand, the unit price is inquired to the backup master device 12, and the master device 11 and the backup master device 12 are instructed to update the PLU file. Then, between the master device 11 and the backup master device 12, a matching process is performed to match the contents of the records in order from the first record of both PLU files 15. Here, in the figure (C-
3), when the master device 11 requests the first record from the backup master device 12, (C-4)
Is the case where the backup master device 12 transmits the first record in response to the request, and (C-5) is the case where the second record is requested.

【0013】このようにしてマスタ装置11はバックア
ップマスタ装置12側のPLUファイル15から1レコ
ードずつデータを読み出して整合処理を行うが、点検処
理から通常の登録状態に回復した場合には差分処理、マ
スタダウン処理から回復した場合にはコピー処理を行
う。図9は差分処理を示した図で、マスタ装置11側の
PLUファイル15とバックアップマスタ装置12側の
PLUファイル15との間において、対応するレコード
内容(同一商品の売上金額等)の差を求め、この差を両
方のPLUファイル15の同一レコードNo位置に書き
込む。いま、同一商品についてマスタ装置11側の売上
金額が「1000円」でバックアップマスタ装置12側
の売上金額が「1100円」であれば、マスタ装置11
が点検処理中にその差額「100円」分の登録が行われ
たのであるから、その差額を両方のPLUファイル15
に書き込むと、その値は点検後の売上金額となる。この
ような差分処理は先頭レコードから最終レコードまで順
次行われる。
In this way, the master device 11 reads data one record at a time from the PLU file 15 on the backup master device 12 side and performs the matching process, but when the normal registration state is restored from the inspection process, the difference process, When the master down processing is recovered, copy processing is performed. FIG. 9 is a diagram showing a difference process, in which a difference in corresponding record contents (sales amount of the same product, etc.) between the PLU file 15 on the master device 11 side and the PLU file 15 on the backup master device 12 side is obtained. , This difference is written to the same record No. position in both PLU files 15. If the sales amount on the master device 11 side for the same product is “1000 yen” and the sales amount on the backup master device 12 side is “1100 yen”, the master device 11
Since the difference of "100 yen" was registered during the inspection process, the difference is recorded in both PLU files 15
If you write in, the value will be the sales amount after inspection. Such difference processing is sequentially performed from the first record to the last record.

【0014】図10はコピー処理を示した図で、マスタ
装置11は自己のPLUファイル15の内容を初期化し
たのち、バックアップマスタ装置12側のPLUファイ
ル15から1レコードずつレコード内容(売上個数、売
上金額等)を受け取り、対応するレコードNo位置に書
き込むコピー処理を先頭レコードから最終レコードまで
順次行う。
FIG. 10 is a diagram showing a copy process. After the master device 11 initializes the contents of its own PLU file 15, the record contents (sales quantity, Copying processing is performed in order from the first record to the last record by receiving the sales amount) and writing it in the corresponding record No position.

【0015】このような整合処理中において、スレーブ
装置13で登録操作が行われると、(C−7)、スレー
ブ装置13はバックアップマスタ装置12に対して単価
の問い合せを行う。(C−8)、バックアップマスタ装
置12から単価応答を受け取ると、(C−9)、スレー
ブ装置13はファイル更新データをマスタ装置11に伝
送する。このように整合処理中にスレーブ装置13から
ファイル更新を受信すると、マスタ装置11は更新デー
タのレコードNoと現在整合処理中のレコードNoとを
比較する。この結果、「更新レコードNo<整合処理中
のレコードNo」の場合には更新すべきレコード内容は
既に整合済であるので、マスタ装置11側のPLUファ
イル15とバックアップマスタ装置12側のPLUファ
イル15の両方についてファイル更新処理を行う。他
方、「更新レコードNo≧整合処理中のレコードNo」
の場合には更新すべきレコード内容はまだ整合前の状態
にあるので、バックアップマスタ装置12側のPLUフ
ァイル15のみについてファイル更新を行う。(C−1
0)、マスタ装置11はどちらの場合でも更新データ送
信元のスレーブ装置13について正常応答を行う。この
時、マスタ装置11側で更新されなかったPLUファイ
ル15内のレコード内容はその後の整合処理でバックア
ップマスタ装置12側のPLUファイル15内に基づい
て更新されるので、問題は生じない。
When a registration operation is performed in the slave device 13 during such matching processing (C-7), the slave device 13 inquires of the backup master device 12 about the unit price. (C-8) When the unit price response is received from the backup master device 12, (C-9), the slave device 13 transmits the file update data to the master device 11. In this way, when the file update is received from the slave device 13 during the matching process, the master device 11 compares the record No. of the update data with the record No. currently undergoing the matching process. As a result, in the case of “update record No. <record No. in matching process”, the record content to be updated has already been matched, so the PLU file 15 on the master device 11 side and the PLU file 15 on the backup master device 12 side. File update processing is performed for both. On the other hand, "updated record No ≥ record No. in matching process"
In this case, since the record contents to be updated are still in the state before the matching, only the PLU file 15 on the backup master device 12 side is updated. (C-1
0), the master device 11 responds normally to the slave device 13 that is the source of the update data in either case. At this time, since the record content in the PLU file 15 which has not been updated on the master device 11 side is updated on the basis of the PLU file 15 on the backup master device 12 side in the subsequent matching process, no problem occurs.

【0016】(C−11)、次に、スレーブ装置13は
バックアップマスタ装置12に対してファイル更新デー
タを送信する。(C−12)、バックアップマスタ装置
12はこれに基づいてファイル更新を行い、スレーブ装
置13に更新応答を行う。この間でもマスタ装置11と
バックアップマスタ装置12との間では整合処理が行わ
れ、(C−13)、マスタ装置11が最終レコードを要
求し、(C−14)、バックアップマスタ装置12から
その応答を受けると、(C−15)、マスタ装置11は
整合処理を修了させ、バックアップマスタ装置12およ
び各スレーブ装置13に対して通常動作可能の指示を出
し、これを受けてバックアップマスタ装置12および各
スレーブ装置13はシステムが正常に戻ったことを認識
して通常動作を再開する。
(C-11) Next, the slave device 13 transmits the file update data to the backup master device 12. (C-12), the backup master device 12 updates the file based on this, and sends an update response to the slave device 13. Even during this period, the matching process is performed between the master device 11 and the backup master device 12, (C-13), the master device 11 requests the final record, and (C-14) returns the response from the backup master device 12. Upon receiving (C-15), the master device 11 completes the matching process, issues an instruction of normal operation to the backup master device 12 and each slave device 13, and in response to this, the backup master device 12 and each slave device 13 receive the instruction. The device 13 recognizes that the system has returned to normal and resumes normal operation.

【0017】なお、上記実施例はマスタ装置11の整合
処理中、マスタダウン中を登録不能状態としたが、登録
不能状態はこれに限らず、マスタ装置11が固有の処理
を行っているときであってもよい。また、点検処理に限
らず、精算によってクリアされない期間集計データ等を
記憶している場合、精算処理にも適用できる。
In the above embodiment, the master device 11 is in the unregisterable state during the matching process and the master down state. However, the unregisterable state is not limited to this, and the master device 11 may perform a unique process. It may be. In addition to the inspection processing, the present invention can be applied to the settlement processing when the period total data and the like that are not cleared by the settlement are stored.

【0018】[0018]

【発明の効果】この発明によれば、マスタ装置への登録
不能時でも他の装置に通常と同様の登録操作を許可する
ことができるので、マスタ装置の状態に拘らず、システ
ム全体の運用が中断されることなく、連続的な登録が可
能となる。この為、24時間営業店のPOSシステムに
採用すれば、販売促進上、極めて有効なものとなる。
According to the present invention, even when registration to the master device is impossible, other devices can be permitted to perform the same registration operation as usual, so that the operation of the entire system can be performed regardless of the state of the master device. Continuous registration is possible without interruption. Therefore, if it is adopted in the POS system of a 24-hour sales office, it will be extremely effective for sales promotion.

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

【図1】この発明の機能ブロック図。FIG. 1 is a functional block diagram of the present invention.

【図2】実施例に係るPOSシステムを示したシステム
構成図。
FIG. 2 is a system configuration diagram showing a POS system according to an embodiment.

【図3】POSシステムを構築する各装置の基本構成を
示したブロック構成図。
FIG. 3 is a block configuration diagram showing a basic configuration of each device that constitutes the POS system.

【図4】通常の登録処理時の動作を示したタイムチャー
ト。
FIG. 4 is a time chart showing an operation during normal registration processing.

【図5】マスタ装置11が登録不能状態にあるときの動
作を示したフローチャート。
FIG. 5 is a flowchart showing an operation when the master device 11 is in a registration impossible state.

【図6】マスタ装置11が精算処理に移行するときマス
タ装置11をPOSシステムから切り離した状態を示し
た図。
FIG. 6 is a diagram showing a state in which the master device 11 is separated from the POS system when the master device 11 shifts to a settlement process.

【図7】マスタ装置11が登録不能状態から復帰した際
の動作を示したタイムチャート。
FIG. 7 is a time chart showing an operation when the master device 11 returns from the unregisterable state.

【図8】マスタ装置11が登録不能状態から通常の登録
可能状態に復帰したときの動作状態を示した図。
FIG. 8 is a diagram showing an operation state when the master device 11 returns from a registration impossible state to a normal registration possible state.

【図9】差分処理を説明する為の図。FIG. 9 is a diagram for explaining difference processing.

【図10】コピー処理を説明する為の図。FIG. 10 is a diagram for explaining copy processing.

【符号の説明】[Explanation of symbols]

11 マスタ装置 12 バックアップマスタ装置 13 スレーブ装置 14 インライン 15 PLUファイル 21 CPU 22 ROM 28 伝送部 11 Master Device 12 Backup Master Device 13 Slave Device 14 Inline 15 PLU File 21 CPU 22 ROM 28 Transmission Unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】マスタ装置、バックアップマスタ装置、ス
レーブ装置とを備え、各装置から分類別に入力されたデ
ータをマスタ装置側のファイルおよびバックアップマス
タ装置側のファイルにそれぞれ登録するファイル処理装
置において、 マスタ装置への登録不能時に他の装置から入力されたデ
ータをバックアップマスタ装置側のファイルに登録する
登録制御手段と、 マスタ装置が通常の登録可能状態に復帰した場合、マス
タ装置の登録不能時に少なくともバックアップマスタ装
置側のファイルに登録されたデータをマスタ装置側のフ
ァイルに登録することにより両ファイルの内容を整合さ
せるファイル整合手段と、 を具備したことを特徴とするファイル処理装置。
1. A file processing device comprising a master device, a backup master device, and a slave device, wherein data input according to classification from each device is registered in a file on the master device side and a file on the backup master device side, respectively. A registration control unit that registers data input from other devices in a file on the master device side when it cannot be registered in the device, and at least a backup when the master device cannot be registered when the master device returns to the normal registerable state. A file processing device comprising: a file matching means for matching the contents of both files by registering the data registered in the file on the master device side with the file on the master device side.
JP8046492A 1992-03-02 1992-03-02 File processor Pending JPH05242110A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8046492A JPH05242110A (en) 1992-03-02 1992-03-02 File processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8046492A JPH05242110A (en) 1992-03-02 1992-03-02 File processor

Publications (1)

Publication Number Publication Date
JPH05242110A true JPH05242110A (en) 1993-09-21

Family

ID=13718985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8046492A Pending JPH05242110A (en) 1992-03-02 1992-03-02 File processor

Country Status (1)

Country Link
JP (1) JPH05242110A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006235869A (en) * 2005-02-23 2006-09-07 Sii Data Service Kk Management system for ordered data
JP2008040992A (en) * 2006-08-09 2008-02-21 Toshiba Tec Corp Order processor, order processing system and restoring method of order processing system
JP2012038253A (en) * 2010-08-11 2012-02-23 Sii Data Service Kk Order data management apparatus and order data management method
JP2017004198A (en) * 2015-06-09 2017-01-05 セイコーエプソン株式会社 Network system, network system control method, and control device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006235869A (en) * 2005-02-23 2006-09-07 Sii Data Service Kk Management system for ordered data
JP2008040992A (en) * 2006-08-09 2008-02-21 Toshiba Tec Corp Order processor, order processing system and restoring method of order processing system
JP2012038253A (en) * 2010-08-11 2012-02-23 Sii Data Service Kk Order data management apparatus and order data management method
JP2017004198A (en) * 2015-06-09 2017-01-05 セイコーエプソン株式会社 Network system, network system control method, and control device

Similar Documents

Publication Publication Date Title
US20030121966A1 (en) System and method for electronic check conversion at a point-of-sale terminal
JPH0766474B2 (en) Sales data management system
JPH05242110A (en) File processor
US20020063161A1 (en) Bar code processing method for a network kiosk
EP0973110B1 (en) System and method of applying price changes in an electronic price label system
JP4158297B2 (en) Method for matching attribute data in distributed system and distributed system
JP3235292B2 (en) Transaction processing system and network controller
JPS6037642Y2 (en) data terminal
JPH08241463A (en) Pos system
JP2526486B2 (en) Customer base database system for sales promotion messages
JPH06203049A (en) Method for detecting omission/overlap of consecutive number data
JPH07141575A (en) Inquiring/and answering method for information on commodity
JP3401369B2 (en) Non-stop operation method of computer system and non-stop computer system
JP3387162B2 (en) Transaction processing system
JPS6020281A (en) Ballot serial number control system
JPH04340698A (en) Sales summing-up system
JP2002163138A5 (en) Host computer for online system
JPH05289992A (en) Sales data processing system
JPH10133928A (en) System and method for data management and its program recording medium
JP3254814B2 (en) Data transfer method
JPH07152971A (en) Commodity sales data processor
JPH07253948A (en) Transaction service mode switching system
JPH02137090A (en) Electronic cash register device
JPH01134696A (en) Item setting system for pos system
JPH10187514A (en) Method and device for reflecting data wear house with data