JPH03250295A - Pos terminal group managing device - Google Patents

Pos terminal group managing device

Info

Publication number
JPH03250295A
JPH03250295A JP4881990A JP4881990A JPH03250295A JP H03250295 A JPH03250295 A JP H03250295A JP 4881990 A JP4881990 A JP 4881990A JP 4881990 A JP4881990 A JP 4881990A JP H03250295 A JPH03250295 A JP H03250295A
Authority
JP
Japan
Prior art keywords
storage device
plu
request
read
terminal
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
JP4881990A
Other languages
Japanese (ja)
Inventor
Hideki Takenaka
秀樹 竹中
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP4881990A priority Critical patent/JPH03250295A/en
Publication of JPH03250295A publication Critical patent/JPH03250295A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、POS(販売時点情報管理)システムにおい
て用いられるPOS端末群管理装置に関する。具体的に
いえば、複数台のPOS端末からPLUファイルへのア
クセス要求があった場合、POS端末の優先順位を決定
し、当該POS端末を優先順位に従って記憶装置に割当
てるためのPOS端末群管理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a POS terminal group management device used in a POS (point of sale) system. Specifically, when there is a request to access a PLU file from multiple POS terminals, a POS terminal group management device that determines the priority order of the POS terminals and allocates the POS terminals to storage devices according to the priority order. Regarding.

[背景技術とその問題点] 従来のPOSシステムにおけるPOS端末群管理装置と
しては、種々のものがある。
[Background Art and Problems Therein] There are various types of POS terminal group management devices in conventional POS systems.

〔第一の従来例〕[First conventional example]

もっとも簡単なものは、FLUファイルが2重化されて
おらず、全てのPLUファイルが1つの記憶装置に格納
されている。
In the simplest case, the FLU files are not duplicated and all PLU files are stored in one storage device.

しかし、このようなPOS端末群管理装置では、PLU
ファイルを格納している記憶装置が故障すると、POS
端末からPLUファイルの読み出しが不可能となる。
However, in such a POS terminal group management device, the PLU
If the storage device storing files fails, the POS
It becomes impossible to read the PLU file from the terminal.

〔第二の従来例〕[Second conventional example]

このため、2つの記憶装置に同一のPLUファイルを格
納して2重ファイル化し、一方を主記憶装置とし、他方
を予備記憶装置としたものがある。
For this reason, there is a system in which the same PLU file is stored in two storage devices to create a double file, with one being used as the main storage and the other as a spare storage.

このようなPO8端末群管理装置は、通常の運用状態で
は主gc!憶装置にアクセスし、主記憶装置にアクセス
して故障であった場合には、予備記憶装置にアクセスす
るようになフている。
In normal operating conditions, such a PO8 terminal group management device is the main gc! If the main storage device is accessed and there is a failure, the spare storage device is accessed.

しかしながら、PLUファイルが2重化されていても、
通常の運用状態では1台の主記憶装置が使用されるだけ
であるので、主記憶装置がPOS端末により読み出され
ている間は、他のPO8端末からアクセス要求があって
も、アクセス要求を受は付けることができず、主記憶装
置の読み出しが完了した後でなければ、アクセス要求を
受は付けることができなかった。このため、複数のPO
8端末からのアクセス要求が滞留している場合には、1
つのPO8端末による主記憶装置の読み出しが完了した
後、次のPO8端末から主記憶装置へアクセス要求を出
し、このアクセス要求が受は付けられた後、当該POS
端末により主記憶装置から読み出しを実行している。こ
の結果、PO8端末による読み出し完了と次のPO8端
末による読み出し開始との間には、r/O処理のための
待ち時間が必要となり、PO8端末への応答時間が長く
なるという欠点があった。さらに、PO8端末への応答
時間が長くなる結果、PO8端末の処理能力(端末台数
や取引可能数)が制限されていた。
However, even if the PLU file is duplicated,
In normal operating conditions, only one main storage device is used, so while the main storage device is being read by the POS terminal, even if there is an access request from another PO8 terminal, the access request will not be accepted. Access requests could not be accepted until after reading from the main memory had been completed. For this reason, multiple P.O.
If access requests from 8 terminals are pending, 1
After one PO8 terminal has completed reading the main memory, the next PO8 terminal issues an access request to the main memory, and after this access request is accepted, the POS
The terminal is performing a read from main memory. As a result, a waiting time for r/O processing is required between the completion of reading by the PO8 terminal and the start of reading by the next PO8 terminal, resulting in a disadvantage that the response time to the PO8 terminal becomes long. Furthermore, as a result of the longer response time to the PO8 terminal, the processing capacity of the PO8 terminal (the number of terminals and the number of possible transactions) is limited.

また、PLtJファイルを2重化しても、予備記憶装置
は、主記憶装置の故障時に用いられるだけで1通常の運
用状態では使用されず、システム構成の無駄が大きかっ
た。
Further, even if the PLtJ file is duplicated, the spare storage device is only used when the main storage device fails, and is not used in normal operating conditions, resulting in a large waste of system configuration.

さらに、主記憶装置は、アクセスされる毎に事前に故障
をチエツクされているが、予備記憶装置は、主記憶装置
の故障まではチエツクされなかった。
Further, the main storage device is checked for failure in advance each time it is accessed, but the spare storage device is not checked until the main storage device fails.

〔第三の従来例〕[Third conventional example]

第二の従来例のように、PLUファイルを2重化しても
、主記憶装置の故障を発見してから、予備記憶装置にア
クセス開始したのでは、読み出し障害時の応答速度が遅
くなる。このため、2台の記憶装置に同時にアクセスし
、速くアクセス要求を受は付けた記憶装置からPLUフ
ァイルを読み出すようにしたものもある。このようなP
O8端末群管理装置では、一方の記憶装置の故障時には
直ちに他方の記憶装置から読み出させるので、故障時の
応答速度が改善される。
Even if the PLU file is duplicated as in the second conventional example, if access to the spare storage device is started after a failure in the main storage device is discovered, the response speed in the event of a read failure will be slow. For this reason, some systems access two storage devices at the same time and quickly read the PLU file from the storage device that has accepted the access request. P like this
In the O8 terminal group management device, when one storage device fails, data is immediately read from the other storage device, so the response speed at the time of failure is improved.

しかしながら、このような装置にあっても、通常の運用
状態では応答速度の速い側の記憶装置のみがアクセスさ
れることに変わりなく、第二の従来例と同様、複数のア
クセス要求が滞留している場合には、I/O処理の待ち
時間のために応答時間が長くなるという欠点がある。ま
た、通常の運用状態では、一方の記憶装置しか用いられ
ない点や、応答速度の遅い記憶装置の故障を事前にチエ
ツクできない点なども、同様であった。
However, even with such a device, under normal operating conditions, only the storage device with the faster response speed is accessed, and as in the second conventional example, multiple access requests may accumulate. In this case, the disadvantage is that the response time becomes longer due to the latency of I/O processing. Also, under normal operating conditions, only one storage device is used, and failures of storage devices with slow response speeds cannot be checked in advance.

[発明が解決しようとする課題] 本発明は斜上の従来例の欠点に鑑みてなされたものであ
り、その目的とするところはPOS端末からのアクセス
要求が複数滞留している場合の応答速度を向上させると
共に、通常の運用状態でも両記憶装置のチエツクを行な
えるようにすることにある。
[Problems to be Solved by the Invention] The present invention has been made in view of the drawbacks of the above-mentioned conventional example, and its purpose is to improve the response speed when multiple access requests from POS terminals are pending. The object of the present invention is to improve the performance of both storage devices and to enable checking of both storage devices even in normal operating conditions.

[課題を解決するための手段] 本発明のPO8端末群管理装置は、商品名や商品単価等
の商品情報を記録した同一のPLUファイルを格納し、
交互にアクセスされるようになった2つの独立した記憶
装置と、PLUファイルにアクセスを要求する複数台の
PO8端末と、PO8端末からのアクセス要求に応じ、
アクセスされていない側の記憶装置に当該アクセス要求
を登録し、各記憶装置に登録されたアクセス要求を順次
処理させるI/O制御手段とからなることを特徴として
いる。
[Means for Solving the Problems] The PO8 terminal group management device of the present invention stores the same PLU file in which product information such as product name and product unit price is recorded,
In response to two independent storage devices that are now accessed alternately, multiple PO8 terminals requesting access to the PLU file, and access requests from the PO8 terminals,
It is characterized by comprising an I/O control means that registers the access request in the storage device on the side that is not being accessed and causes the access requests registered in each storage device to be sequentially processed.

[作用] 本発明のPO8端末群管理装置にあっては、同一のPL
Uファイルを格納している2つの記憶装置が、交互にア
クセスされるようにしたので、−方の記憶装置のアクセ
ス中に他のPO8端末からアクセス要求があっても、他
方の記憶装置へアクセス要求を登録させてI/O処理を
行なわせることができ、アクセス中の記憶装置からの読
み出しが完了すれば、直ちに他方の記憶装置に登録され
ているPLUファイルの読み出しを実行させることかで
きる。従って、本発明によれば、PO8端末からのアク
セス要求が複数滞留している場合でも、一方の記憶装置
からの読み出し完了を待たず、他方の記憶装置へアクセ
ス要求(特に、読み出し要求)させることができ、I/
O処理待ち時間を減少させてシステム全体としての応答
速度を向上させることがでとる。さらに、応答時間が短
縮される結果、接続可能なPO8端末台数等も増加し、
処理能力も向上する。
[Operation] In the PO8 terminal group management device of the present invention, the same PL
The two storage devices that store the U file are accessed alternately, so even if there is an access request from another PO8 terminal while the - storage device is being accessed, the other storage device will not be accessed. I/O processing can be performed by registering a request, and once reading from the storage device being accessed is completed, reading of the PLU file registered in the other storage device can be immediately executed. Therefore, according to the present invention, even if a plurality of access requests from the PO8 terminal are pending, the access request (in particular, the read request) can be made to the other storage device without waiting for the completion of reading from one storage device. can be done, I/
This can be achieved by reducing the O processing waiting time and improving the response speed of the entire system. Furthermore, as a result of the response time being shortened, the number of connectable PO8 terminals has also increased.
Processing capacity will also improve.

また、複数台の記憶装置が交互にアクセスされるので、
記憶装置の無駄が少なくなると共に、アクセス時に障害
の有無が判断されるので、通常の運用状態においても両
記憶装置の故障がチエツクされる。
Also, since multiple storage devices are accessed alternately,
The waste of storage devices is reduced, and since the presence or absence of a failure is determined at the time of access, both storage devices are checked for failures even in normal operating conditions.

[実施例] 以下、本発明の実施例を添付図に基づいて詳述する。[Example] Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

第1図及び第2図に示すように、複数台のPO8端末3
は、パスライン5を通じて通信制御部4に接続されてお
り、通信制御部4は、2台のハードディスク等の記憶装
置#1.#2に接続されている。両記憶装置#1.#2
は互いに独立した装置であって、両記憶装置#1.#2
には、複数の同一のPLUファイルA、B、Cが格納さ
れ、2重ファイル化されており、一方の記憶装置#1(
あるいは#2)に障害もしくは故障が発生した場合でも
、他方の記憶装置#2(あるいは#1)に格納されたP
LUファイルA、B、Cにアクセスできるようになって
いる。
As shown in Figures 1 and 2, multiple PO8 terminals 3
are connected to a communication control section 4 through a path line 5, and the communication control section 4 is connected to two storage devices such as hard disks #1. Connected to #2. Both storage devices #1. #2
are mutually independent devices, and both storage devices #1. #2
A plurality of identical PLU files A, B, and C are stored in the storage device #1 (
Alternatively, even if a failure or failure occurs in #2), the P stored in the other storage device #2 (or #1)
LU files A, B, and C can now be accessed.

PO8端末3は、POSシステムの端末機であって、バ
ーコードリーダーによって商品に貼付されたバーコード
からPLUコード等を読み込むことができるようになっ
ている。あるいは、キーボードからPLUコード等を入
力するようになっていてもよい。
The PO8 terminal 3 is a terminal for a POS system, and is capable of reading a PLU code and the like from a barcode affixed to a product using a barcode reader. Alternatively, the PLU code or the like may be input from the keyboard.

各PLUファイルA、B、Cには、第3図に示すように
、PLUコード8に対応して、例えば、商品名9、商品
単価/O、売上げ数量合計11などの商品管理用の情報
が記録されている。
As shown in Figure 3, each PLU file A, B, and C contains information for product management, such as product name 9, product unit price/O, and total sales quantity 11, corresponding to PLU code 8. recorded.

また、通信制御部4は、PO8端末3からアクセス要求
があると、PO8端末3を2台の記憶装置#1.#2へ
交互に接続しており、複数台のPO8端末3からアクセ
ス要求があった場合には、それらのPO8端末3の優先
順位(例えば、受信順)を決定し、優先順位に従ってP
O8端末3を両記憶装置#1.#2へ交互に接続してい
る。この通信制御部4は、第2図に示すように、プログ
ラムメモリ7に登録されたPO8端末3群管理プログラ
ムに従ってCPU6により制御されており、以下に説明
するように、第7図のフローチャートに従ってPO8端
末3と両記憶装置#1.#2を接続している。
Further, when receiving an access request from the PO8 terminal 3, the communication control unit 4 connects the PO8 terminal 3 to the two storage devices #1. #2, and if there is an access request from multiple PO8 terminals 3, the priority order (for example, the order of reception) of those PO8 terminals 3 is determined, and the P.O.
O8 terminal 3 is connected to both storage devices #1. They are connected alternately to #2. As shown in FIG. 2, this communication control unit 4 is controlled by the CPU 6 according to the PO8 terminal 3 group management program registered in the program memory 7, and as described below, the PO8 terminal Terminal 3 and both storage devices #1. #2 is connected.

〔1/O処理〕 PO8端末3は、バーコードリーダにより顧客が購入し
た商品のバーコードを読み取り、第4図に示すように、
電文ヘッダ13の次にPLUコード8を組み込んでPL
U要求電文12を編集し、PO8端末3から通信制御部
4へPLU要求電文12を送信する。
[1/O processing] The PO8 terminal 3 uses a barcode reader to read the barcode of the product purchased by the customer, and as shown in FIG.
Incorporate PLU code 8 next to message header 13 and PL
Edit the U request message 12 and transmit the PLU request message 12 from the PO8 terminal 3 to the communication control unit 4.

通信制御部4は、POS端末3からPLU処理を受信し
たか否かを監視しており(S31)、PLU要求電文1
2を受信すると、両記憶装置#1゜#2が正常かどうか
をチエツクする(S 32)。
The communication control unit 4 monitors whether or not a PLU process is received from the POS terminal 3 (S31), and receives the PLU request message 1.
2, it is checked whether both storage devices #1 and #2 are normal (S32).

両記憶装置#1.#2が正常であることを確認した場合
には、PLUファイルA、B、Cの読み出し要求(PL
O要求)かPLUファイルA、B。
Both storage devices #1. If #2 is confirmed to be normal, a read request for PLU files A, B, and C (PLU
O request) or PLU files A, B.

Cの編集要求かを判断しく533)、PLU要求処理で
あれば前回読み出しを行った記憶装置が#1か、#2か
を判断する(S34)。すなわち、ステップ34におい
ては、ステップ45あるいは46で読み出された記憶装
置(後述する。)が#1であるのか、#2であるのかを
判断する。
If it is a PLU request process, it is determined whether the storage device that was read last time is #1 or #2 (S34). That is, in step 34, it is determined whether the storage device (described later) read out in step 45 or 46 is #1 or #2.

そして、前回読み出しを行った記憶装置が#1であれば
、PLU要求処理を記憶装置#2のり一ドキュー18に
登録する(S 35)。また、前回読み出しを行った記
憶装置が#2であれば、PLU要求処理を記憶装置#1
のリードキュー17に登録する(33 e)。
If the storage device from which the previous read was performed is #1, the PLU request process is registered in the storage device #2 glue queue 18 (S35). Also, if the storage device that was read last time is #2, PLU request processing is performed on storage device #1.
It is registered in the read queue 17 of (33e).

すなわち、記憶装置#1.#2の各リードキュー17,
18は、第6図に示すように、残PLU要求データを登
録しておくF’IF○型式の登録エリア21と、次PL
U要求データ登録ポインタ19と次PLU要求データ読
出しポインタ20を有している。そして、新たなPLU
要求処理があると、次PLU要求データ登録ポインタ1
9が示しているエリア(空のエリア)22に残PL、L
7要求データとして登録され、次PLU要求データ登録
ポインタ19が更新される。一方、次PLU要求データ
読出しポインタ20は、次に読み出される残PLU要求
データ(最先の残PLU要求データ)を登録したエリア
23を示しており、次FLU要求データ読出しポインタ
20に示されたエリア23の残PLU要求データが取り
出されると、次PLU要求データ読出しポインタ20が
更新される。
That is, storage device #1. #2 each read cue 17,
18, as shown in FIG. 6, there is an F'IF○ type registration area 21 in which remaining PLU request data is registered and
It has a U request data registration pointer 19 and a next PLU request data read pointer 20. And a new PLU
When a request is processed, the next PLU request data registration pointer 1
The remaining PL and L are in the area indicated by 9 (empty area) 22.
7 request data, and the next PLU request data registration pointer 19 is updated. On the other hand, the next PLU request data read pointer 20 indicates an area 23 in which the remaining PLU request data to be read next (the earliest remaining PLU request data) is registered, and the area indicated by the next FLU request data read pointer 20 When the 23 remaining PLU request data are retrieved, the next PLU request data read pointer 20 is updated.

従って、POS端末3から複数の読み出し要求があった
場合、通信制御部4は、各読み出し要求を受信順に面記
憶装置#1.#2のリードキュー17.18へ一旦登録
しておき、リードキュー17゜18に登録された優先順
に読み出しを行なわせるのである。
Therefore, when there are multiple read requests from the POS terminal 3, the communication control unit 4 sends each read request to the storage device #1 in the order in which it was received. They are temporarily registered in read queues 17 and 18 of #2, and read out in the priority order registered in read queues 17 and 18.

上記のように、このPO8端末群管理装置では、2台の
記憶装置#1.#2から交互に読み出しを行なわせ(8
44〜46:後述する。)、記憶装置#1で読み出しが
行なわれている場合は、記憶装置#2のリードキュー1
8に登録を行ない(S35)、記憶装置#2で読み出し
が行なわれている場合は、記憶装置#1のリードキュー
17に登録を行なっている(83 B)ので、いずれの
場合も、他方の記憶装置の読み出し中にリードキューへ
の登録ないしI/O処理を行なうことができ、通常の運
用状態では、複数の読み出し要求が滞留している場合に
は、1/O処理待ち時間を短縮することができる。すな
わち、読み圧し中の記憶装置の読み圧しが完了したら、
I/O処理のための待ち時間を要することなく、直ちに
読み出しを行なうことができる。
As mentioned above, in this PO8 terminal group management device, two storage devices #1. Read out alternately from #2 (8
44-46: Will be described later. ), if reading is being performed on storage device #1, read queue 1 of storage device #2
8 (S35), and if reading is being performed on storage device #2, it is registered in the read queue 17 of storage device #1 (83 B), so in either case, the other Registration to the read queue or I/O processing can be performed while reading from the storage device, and under normal operating conditions, when multiple read requests are pending, the 1/O processing waiting time is shortened. be able to. In other words, once the reading of the storage device that is being read is completed,
Reading can be performed immediately without requiring waiting time for I/O processing.

〔読み出し処理〕[Reading process]

いずれかの記憶装置の読み出しが完了すると、読み出し
が完了した記憶装置が#1か、#2か判断する(S44
)。記憶装置#2の読み出しが完了したのであれば、記
憶装置#1のリードキュー17から次要求データ読出し
ポインタ20で示されたPLO要求データを取り出し、
PLOファイルA、B、Cにアクセスして単価/Oや商
品名9等の読み出し処理を開始する(S45)。そして
、PLUファイルA、B、Cの読み出しが完了したか否
か判断され(S42)、読み出しが完了すると、読み出
した商品名9や単価/O等を応答電文(図示せず)に編
集してPO8端末3へ返信する(S43)。こうして記
憶装置#1の読み出しが完了すると、記憶装置#2のリ
ードキュー18から次要求データ読出しポインタ20で
示されたPLU要求データを取り出し、PLU7アイル
A。
When reading from one of the storage devices is completed, it is determined whether the storage device from which reading has been completed is #1 or #2 (S44
). If reading from the storage device #2 is completed, retrieve the PLO request data indicated by the next request data read pointer 20 from the read queue 17 of the storage device #1,
The PLO files A, B, and C are accessed to start reading out the unit price/O, product name 9, etc. (S45). Then, it is determined whether reading of PLU files A, B, and C is completed (S42), and when reading is completed, the read product name 9, unit price/O, etc. are edited into a response message (not shown). A reply is sent to the PO8 terminal 3 (S43). When the reading from the storage device #1 is completed in this way, the PLU request data indicated by the next request data read pointer 20 is retrieved from the read queue 18 of the storage device #2 and stored in the PLU 7 isle A.

B、Cにアクセスして単価/Oや商品名9等の読み出し
処理を開始する(S44,4e)。そして、PLUファ
イルA、B、Cの読み出しが完了したか否か判断され(
842)、読み出しが完了すると、読み出した商品名9
や単価/O等を応答電文に編集してPO8端末3へ返信
する(843)。
B and C are accessed to start reading out the unit price/O, product name 9, etc. (S44, 4e). Then, it is determined whether reading of PLU files A, B, and C has been completed (
842), when the reading is completed, the read product name 9
, unit price/O, etc. into a response message and send it back to the PO8 terminal 3 (843).

このようにして、面記憶装置#1及び#2は、交互にP
LUファイルの読み出しを行なわれている。
In this way, surface storage devices #1 and #2 alternately store P
The LU file is being read.

また、ステップ45もしくは4θにより、記憶装置#1
もしくは#2の読み出し処理を開始した後は、PLOフ
ァイルA、B、Cの読み出しが完了するまでは、通信制
御部4は、PO8端末3からのPLU処理を受信したか
否かを繰り返し監視しており(342,31)、POS
端末3からのPLU処理を受信すれば、前記のごと<P
LU処理を受は付けて読み出し中でない記憶装置のり−
ドキューに登録させる(831〜36)。
Also, in step 45 or 4θ, storage device #1
Alternatively, after starting the readout process #2, the communication control unit 4 repeatedly monitors whether or not the PLU process has been received from the PO8 terminal 3 until the readout of PLO files A, B, and C is completed. (342,31), POS
If PLU processing is received from terminal 3, the above <P
A storage device that is receiving LU processing but is not being read.
to be registered in the queue (831-36).

したがって、ステップ44からステップ45又は46へ
移る際に、I/O処理の必要がなく、直ちにステップ4
5又は4θへ移ることかでき、処理時間が短くて済む。
Therefore, when moving from step 44 to step 45 or 46, there is no need for I/O processing, and step 4 is immediately performed.
5 or 4θ, and the processing time can be shortened.

[:PLUファイルの更新] POS端末3は、ステップ43で送信された応答電文を
受信すると、単価/O及び商品名9を取り出し、デイス
プレィに表示すると共に集計し、第5図に示すように、
電文ヘッド15の後にPLUコード8及び売り上げ数量
16を加えてPLU更新電文14を編集し、通信制御部
4へ送信する。
[: Update of PLU file] When the POS terminal 3 receives the response message sent in step 43, it takes out the unit price /O and the product name 9, displays them on the display and totals them, as shown in FIG.
The PLU update message 14 is edited by adding the PLU code 8 and the sales quantity 16 after the message head 15, and is sent to the communication control unit 4.

なお、この後、PO8端末3は、次の商品を処理するこ
とができる。
Note that after this, the PO8 terminal 3 can process the next product.

このPLU更新電文14が送信されると、通信制御部4
は当該電文14を受信しく831)、両記憶装置#l、
#2が正常であることを確認しく332)、PLO要求
処理でないと判断(S33)した後、両方の記憶装置#
1.#2の当該PLUファイルA、B、Cの売上げ数量
を同時に書き換えて更新する(S 47)。
When this PLU update message 14 is transmitted, the communication control unit 4
to receive the message 14 (831), both storage devices #l,
After confirming that #2 is normal (332) and determining that it is not a PLO request process (S33), both storage devices
1. The sales quantities of the PLU files A, B, and C of #2 are simultaneously rewritten and updated (S47).

〔故障発生時の動作〕[Operation when a failure occurs]

読み出し要求、もしくは更新の要求が受信された(83
1)後、ステップ32において、いずれかの記憶装置が
故障であると判断されると、記憶装置#1が故障か、#
2が故障か判断する(S37)。記憶装置#1が故障で
あると判断すると、PI、tJ要求処理か否か判断しく
538)、PLU要求処理であれば、記録装置#2のリ
ードキュー18に登録しく539)、更新の要求であれ
ば、記憶装置#2のPLUファイルA、B、Cの売上げ
数量を更新する(S 48)。一方、言己憶装置#2が
故障であると判断すると、PLU要求処理か否か判断し
く540)、PLU要求処理であれば、記憶装置#lの
リードキュー17に登録しく541)、更新の要求であ
れば、記憶装置#1のPLUファイルA、B、Cの売上
げ数量を更新する(849)。
A read request or update request was received (83
1) If it is determined in step 32 that one of the storage devices is faulty, it is determined whether storage device #1 is faulty or
2 is a failure (S37). If it is determined that the storage device #1 is in failure, it is determined whether the processing is a PI or tJ request (538), and if it is a PLU request processing, it is registered in the read queue 18 of the recording device #2 (539), and the update request is processed. If so, the sales quantities of PLU files A, B, and C in storage device #2 are updated (S48). On the other hand, if it is determined that the internal storage device #2 is out of order, it is determined whether or not it is a PLU request process (540), and if it is a PLU request process, it is registered in the read queue 17 of the storage device #l (541), and the update is performed. If it is a request, the sales quantities of PLU files A, B, and C in storage device #1 are updated (849).

[発明の効果] 本発明によれば、POS端末からのアクセヌ要求が複数
滞留している場合にも、一方の記憶装置からの読み出し
完了を待つことなく、他方の記憶装置へ読み出し要求を
出すことができ、システム全体として見れば、I/O処
理待ち時間が短縮され、PO8端末への応答速度を向上
させることがでとる。さらに、応答速度が向上する結果
、接続することができるPO8端末数も増加させること
ができ、POSシステムの処理能力を向上させることも
できる。また、両記憶装置が交互にアクセスされるので
、通常の運用状態においても、両記憶装置の故障をチエ
ツクすることができると共に記憶装置の無駄を減らすこ
とができる。
[Effects of the Invention] According to the present invention, even when a plurality of access requests from POS terminals are pending, a read request can be issued to one storage device without waiting for the completion of reading from one storage device. When viewed as a whole system, the I/O processing waiting time can be shortened and the response speed to the PO8 terminal can be improved. Furthermore, as a result of the improved response speed, the number of PO8 terminals that can be connected can also be increased, and the processing capacity of the POS system can also be improved. Furthermore, since both storage devices are accessed alternately, it is possible to check for failures in both storage devices even in normal operating conditions, and the waste of storage devices can be reduced.

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

第1図は本発明のPO8端末群管理装置の基本構成を示
す概略図、第2図は本発明のPos端末群管理装置の一
実施例を示す構成図、第3図はPLOファイルの一例を
示す一部省略したファイル構成図、第4図はPLU要求
電文の一部省略した構成図、第5図はPLU更新電文の
一部省略した構成図、第6図は記憶装置のリードキュー
を示すメモリ構成図、第7図は同上のPos端末群管理
装置の一実施例による処理手順を説明するフローチャー
トである。 #1.#2・・・記憶装置 3・・・PO8端末 4・・・通信制御部 A、B、C・・・PLUファイル ?P 1 + +? 2・・・記憶装置3・・・PO8
端末 4・・・通信匍f御部 A、B、C・・・PLUファイル 公、串、q 罵 面 3 5 第 図
Figure 1 is a schematic diagram showing the basic configuration of the PO8 terminal group management device of the present invention, Figure 2 is a configuration diagram showing an embodiment of the Pos terminal group management device of the present invention, and Figure 3 is an example of a PLO file. 4 is a partially omitted configuration diagram of a PLU request message, FIG. 5 is a partially omitted configuration diagram of a PLU update message, and FIG. 6 is a partially omitted configuration diagram of a storage device read queue. The memory configuration diagram and FIG. 7 are flowcharts illustrating processing procedures according to an embodiment of the Pos terminal group management device same as above. #1. #2...Storage device 3...PO8 terminal 4...Communication control unit A, B, C...PLU file? P 1 + +? 2...Storage device 3...PO8
Terminal 4...Communication unit A, B, C...PLU file public, skewer, q Abusive face 3 5 Fig.

Claims (1)

【特許請求の範囲】[Claims] (1)商品名や商品単価等の商品情報を記録した同一の
PLUファイルを格納し、交互にアクセスされるように
なった2つの独立した記憶装置と、 PLUファイルにアクセスを要求する複数 台のPOS端末と、 POS端末からのアクセス要求に応じ、ア クセスされていない側の記憶装置に当該アクセス要求を
登録し、各記憶装置に登録されたアクセス要求を順次処
理させるI/O制御手段と からなることを特徴とするPOS端末群管理装置。。
(1) Two independent storage devices that store the same PLU file that records product information such as product name and product unit price and are accessed alternately, and multiple devices that request access to the PLU file. Consisting of a POS terminal and an I/O control means that registers the access request in a storage device that is not being accessed in response to an access request from the POS terminal, and sequentially processes the access requests registered in each storage device. A POS terminal group management device characterized by the following. .
JP4881990A 1990-02-27 1990-02-27 Pos terminal group managing device Pending JPH03250295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4881990A JPH03250295A (en) 1990-02-27 1990-02-27 Pos terminal group managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4881990A JPH03250295A (en) 1990-02-27 1990-02-27 Pos terminal group managing device

Publications (1)

Publication Number Publication Date
JPH03250295A true JPH03250295A (en) 1991-11-08

Family

ID=12813832

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4881990A Pending JPH03250295A (en) 1990-02-27 1990-02-27 Pos terminal group managing device

Country Status (1)

Country Link
JP (1) JPH03250295A (en)

Similar Documents

Publication Publication Date Title
JP3697395B2 (en) Method and apparatus for storing different data structures
US6088705A (en) Method and apparatus for loading data into a database in a multiprocessor environment
US7136976B2 (en) System and method for backup which synchronously or asynchronously stores additional information depending on the target backup data
US7047355B2 (en) Updated data write method using journal log
JP2004054720A (en) Disk array system backup method
US6279134B1 (en) Storage device and storage subsystem for efficiently writing error correcting code
US5204954A (en) Remote storage management mechanism and method
US4965802A (en) Memory arrangement utilized for IC card
EP1079298A2 (en) Digital data storage subsystem including directory for efficiently providing formatting information for stored records
JPH0520413A (en) Electronic file device
US6741970B2 (en) Method and apparatus for enhanced, high speed updating and storing of E-commerce orders in a server
US5706513A (en) System and method for queuing an retrieving data objects to and from a shared storage medium
JPH03250295A (en) Pos terminal group managing device
JPH0461379B2 (en)
US6021517A (en) Storage device and storage subsystem for efficiently writing error correcting code
US6553349B1 (en) System and method of applying price changes in an electronic price label system
US6510456B1 (en) Data transfer control method and system, data transfer control program file, and file storage medium
US5706512A (en) Computer program product for queuing and retrieving data objects to and from a shared storage medium
US20030033440A1 (en) Method of logging message activity
JPH10512985A (en) Track transaction state
JPH01118956A (en) Data processor
US20060126653A1 (en) Transferring data between system and storage in a shared buffer
JP3183250B2 (en) Queue management system
JP2903605B2 (en) File area management processing method
JP2995787B2 (en) POS terminal group management device