JPH0447347B2 - - Google Patents

Info

Publication number
JPH0447347B2
JPH0447347B2 JP27530284A JP27530284A JPH0447347B2 JP H0447347 B2 JPH0447347 B2 JP H0447347B2 JP 27530284 A JP27530284 A JP 27530284A JP 27530284 A JP27530284 A JP 27530284A JP H0447347 B2 JPH0447347 B2 JP H0447347B2
Authority
JP
Japan
Prior art keywords
controller
processing
update
price
terminal device
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
JP27530284A
Other languages
Japanese (ja)
Other versions
JPS61156469A (en
Inventor
Junichi Takahara
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59275302A priority Critical patent/JPS61156469A/en
Publication of JPS61156469A publication Critical patent/JPS61156469A/en
Publication of JPH0447347B2 publication Critical patent/JPH0447347B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

【発明の詳細な説明】 (A) 産業上の利用分野 本発明は、フアイル更新処理方式、特に売場点
などの端末装置を統括するデータ処理システムに
おいて、上位側のいわばセンタ・コントローラ上
に置いたプライス・ルツク・アツプ・テーブルに
対する照会要求処理と更新要求処理とを実質上並
行して実行するようにしたフアイル更新処理方式
に関するものである。
[Detailed Description of the Invention] (A) Field of Industrial Application The present invention is directed to a file update processing method, particularly in a data processing system that controls terminal equipment such as a sales point. The present invention relates to a file update processing method in which inquiry request processing and update request processing for a price lookup table are executed substantially in parallel.

(B) 開示の概要 プライス・ルツク・アツプ・テーブルをセンタ
のコントローラ上にもうけて各端末装置が当該コ
ントローラと交信して当該テーブルの内容を受け
取るように、POSターミナル・システムの如き
システムを構成したデータ処理システムにおい
て、上記コントローラ内における処理にモードと
して少なくともテーブル照会要求処理(テーブル
内容索引処理)とテーブル更新要求処理(テーブ
ル内容の更新処理)をもつよう構成せしめると共
に前者処理優先順位を与えることによつて、テー
ブル内容を索引して端末装置側へ通知する処理に
とどこおりを与えないようにすることが開示され
ている。
(B) Summary of Disclosure A system such as a POS terminal system is configured such that a price lookup table is provided on a central controller and each terminal device communicates with the controller to receive the contents of the table. In a data processing system, the processing within the controller is configured to have at least table inquiry request processing (table content index processing) and table update request processing (table content update processing) as modes, and the former processing is given priority. Therefore, it has been disclosed that the process of indexing table contents and notifying the terminal device side is not affected.

(C) 従来の技術と発明が解決しようとする問題点 従来から例えばいわゆるPOSターミナルを有
するデータ処理システムが知られているが、当該
システムにおいて商品コードと商品名と価格との
対応表であるプライス・ルツク・アツプ・テーブ
ル(以下PLUテーブルと略す)は、当該テーブ
ルに対する索引頻度がきわめて高いことから、
夫々の端末装置内にもうけられていた。しかし、
例えば毎朝所定の時刻に上位側のコントローラか
ら当該日において取引を行う価格(即ちPLUテ
ーブルの一部)を夫々端末装置に転送する処理が
煩雑であり、また1日の業務の途中で価格を変更
する必要が生じた場合などにおける処理が面倒で
ある。
(C) Problems to be solved by the conventional technology and the invention For example, data processing systems having so-called POS terminals have been known for a long time.・Luck-up tables (hereinafter referred to as PLU tables) are indexed very frequently, so
It was stored in each terminal device. but,
For example, at a predetermined time every morning, the process of transmitting the price (i.e., a part of the PLU table) to be traded on that day from the host controller to each terminal device is complicated, and the price is changed midway through the day's work. The process is troublesome when it becomes necessary to do so.

このためもあつて、第1図に示す如くセンタ側
にPLUコントローラと呼ぶコントローラをもう
けて上記PLUテーブルを一括管理することが考
慮されている。なお第1図図示の場合には、予備
用PLUコントローラを含めて、上位側に2台の
PLUコントローラをもつようにしている。
For this reason, consideration has been given to providing a controller called a PLU controller on the center side, as shown in FIG. 1, to collectively manage the PLU table. In the case shown in Figure 1, there are two units on the upper side, including a spare PLU controller.
It has a PLU controller.

第1図において、1は端末装置、100はプラ
イス・ルツク・アツプ・コントローラ
(PLUCONTL)、101は各端末毎の集計フアイ
ル、102はPLUテーブルであつてコードと商
品名と価格と当該商品についての売上げ集計とを
もつもの、103は復旧処理部であつて障害の発
生したPLUコントローラに対する復旧処理を行
うもの、104はポーリング監視部であつて他側
PLUコントローラが発するポーリング信号を監
視し他側PLUコントローラが健全状態か障害状
態かをチエツクするものを表している。なお、図
示を省略しているが、図示PLUコントローラ1
00−0内にも復旧処理部103やポーリング監
視部104の機能がそなえられており、また
PLUコントローラ100−1内にもPLUテーブ
ル102がそなえられていることは言うまでもな
い。
In FIG. 1, 1 is a terminal device, 100 is a price lookup controller (PLUCONTL), 101 is an aggregation file for each terminal, and 102 is a PLU table that contains codes, product names, prices, and information about the product. 103 is a recovery processing unit that performs recovery processing for the failed PLU controller; 104 is a polling monitoring unit that is connected to the other side;
It monitors the polling signal issued by the PLU controller and checks whether the other PLU controller is in a healthy state or in a faulty state. Although not shown in the figure, the PLU controller 1 shown in the figure
The functions of the recovery processing unit 103 and polling monitoring unit 104 are also provided in 00-0.
It goes without saying that the PLU table 102 is also provided within the PLU controller 100-1.

第1図図示の場合には、各端末装置1−0,…
1−nにおいては、商取引に当たつて必要とする
価格については、上位側のPLUコントローラ1
00と交信し当該コントローラからその都度所望
の商品についての価格を受信するようにされる。
このようにすることによつて、上記PLUテーブ
ルの管理を一元化できる。
In the case shown in FIG. 1, each terminal device 1-0,...
1-n, the price required for commercial transactions is determined by the PLU controller 1 on the upper side.
00 and receive the price of the desired product from the controller each time.
By doing so, the management of the PLU table can be unified.

しかし、このような一元化した管理を行うよう
にすることによつて、一方では、()PLUコン
トローラ100に障害が生じたときの対策や
()各端末装置1が夫々その都度PLUコントロ
ーラ100と交信するための処理量の増大に対す
る対策を考慮することが必要となる。
However, by performing such centralized management, on the one hand, () countermeasures should be taken when a failure occurs in the PLU controller 100; and () each terminal device 1 can communicate with the PLU controller 100 each time. Therefore, it is necessary to consider measures to deal with the increase in processing amount.

また、()単価を変更するような場合に端末
装置のいずれかから上記PLUテーブルを更新す
るデータを入力して当該テーブルの内容を更新す
ることがあるが、このような更新処理が行われて
いる間にも、上記PLUテーブルの照会処理がと
どこおることは出来る限りさける必要がある。即
ち、PLUテーブルを更新するに当つて、例えば
更新がすべての品目にわたつて完了するまでの間
では当該PLUテーブルの照会を禁止しないもの
とすると、一般には例えばあるPOS端末からの
上記PLUテーブルの照会時に際しては旧料金が
通知され、略同時に照会を行つた例えば隣の
POS端末には新料金が通知されることとなり、
商取引に当つて店の信用にかかわる混乱をまねく
ことが生じかねない。しかし上述の如くテーブル
の照会処理がとどこおることはさけるべきであ
る。
In addition, () when changing the unit price, data to update the above PLU table may be entered from one of the terminal devices to update the contents of the table, but such update processing is not performed. It is necessary to avoid, as much as possible, the above-mentioned PLU table inquiry processing from being delayed even during this period. In other words, when updating a PLU table, for example, if we do not prohibit queries on the PLU table until the update is completed for all items, generally, for example, if the above PLU table is accessed from a certain POS terminal, When you make an inquiry, you will be notified of the old rate, and if you make an inquiry at about the same time, for example,
The new charges will be notified to the POS terminal.
This may lead to confusion regarding the store's credibility during commercial transactions. However, as mentioned above, table inquiry processing should be avoided.

(D) 問題点を解決するための手段 本発明は上記の問題点を解決するようにしてお
り、特に、PLUテーブルには取扱商品全品につ
いての価格が記載されているが、これら商品は商
品の種類や特質によつて分類管理されており、あ
る部門(甲)から照会される商品と他の部門
(乙)から照会される商品とが異なる分類に属し
ていることを考慮して、更新処理と照会処理とに
優先順位をつけて対処し、更新中における全面照
会禁止をなくするようにしている。本発明のフア
イル更新処理方式は、商品と価格との対応表であ
るプライス・ルツク・アツプ・テーブルを索引し
た結果を利用する複数の端末装置を有し、 前記複数の端末装置に接続されるコントローラ
内に上記プライス・ルツク・アツプ・テーブルを
もつよう構成され、 かつ、上記各端末装置は商品取引に当たつて上
記コントローラと交信して上記商品に対応する価
格情報を受け取ると共に、プライス・ルツク・ア
ツプ・テーブルに対して商品情報を更新する場合
には、更新要求を行うとともに更新する対象とな
る対応するコードを上記コントローラに送信し、
且つ、コントローラより送信されてきた少なくと
も価格情報に対して更新処理を行い再びコントロ
ーラに返送するよう構成され、 上記コントローラは、上記端末装置からの価格
情報を要求するプライス・ルツク・アツプ・テー
ブル照会要求処理モードと、当該プライス・ルツ
ク・アツプ・テーブルに対して更新要求があつた
場合に、その更新要求のあつた商品に対応する少
なくとも価格情報を更新要求のあつた端末装置に
送信し、端末装置から返送される更新情報に基づ
いてプライス・ルツク・アツプ・テーブルを更新
する更新要求処理モードとを少なくとも持つよう
構成されたデータ処理システムのフアイル更新処
理方式において、 上記更新要求処理モードにおける処理を実行中
において、少なくとも更新要求のあつた端末装置
に対し、要求のあつた商品に対応する価格情報を
送信し、上記端末装置からの更新情報の待ち時間
であることを検出し、この待ち時間中には照会要
求処理モードにおいて処理を実行して上記更新要
求処理モートにおける継続処理を実行するように
したことを特徴としている。以下図面を参照しつ
つ説明する。
(D) Means for solving the problem The present invention is designed to solve the above problem.In particular, the PLU table lists the prices of all the products handled, but these products are Update processing takes into account that the products are classified and managed according to type and characteristics, and the products inquired by one department (Part 1) and the products inquired by another department (Part 2) belong to different classifications. The system prioritizes and handles inquiries and queries, and eliminates the complete prohibition of inquiries during updates. The file update processing method of the present invention includes a plurality of terminal devices that utilize the results of indexing a price lookup table that is a correspondence table between products and prices, and a controller connected to the plurality of terminal devices. The terminal device is configured to have the price look-up table in the controller, and each of the terminal devices communicates with the controller to receive price information corresponding to the product during product transactions, and also receives price information corresponding to the product. When updating product information on the up table, send an update request and the corresponding code to be updated to the above controller,
In addition, the controller is configured to update at least the price information sent from the controller and send it back to the controller, and the controller receives a price lookup table inquiry request requesting price information from the terminal device. When an update request is made to the processing mode and the price lookup table, at least the price information corresponding to the product for which the update request was made is sent to the terminal device that made the update request, and the terminal device In a file update processing method of a data processing system configured to have at least an update request processing mode for updating a price lookup table based on update information returned from In the process, price information corresponding to the requested product is transmitted to at least the terminal device that has made the update request, detects that it is a waiting time for update information from the terminal device, and during this waiting time, The present invention is characterized in that the processing is executed in the inquiry request processing mode, and the continuation processing in the update request processing mode is executed. This will be explained below with reference to the drawings.

(E) 実施例 第1図は本発明が適用されるデータ処理システ
ムの一実施例構成、第2図はコントローラにおけ
る一実施例処理を表したフローチヤート、第3図
はコントローラと端末装置との間で交信される情
報のうち更新要求に対応するメンテナンス電文の
一実施例フオーマツト、第4図は端末装置の一実
施例構成、第5図cないしbはPLUコントロー
ラの具体的構成を示すブロツク図を示す。
(E) Embodiment Fig. 1 is a configuration of an embodiment of a data processing system to which the present invention is applied, Fig. 2 is a flowchart showing an embodiment of processing in a controller, and Fig. 3 is a diagram showing a configuration of an embodiment of a data processing system to which the present invention is applied. FIG. 4 is an example of the format of a maintenance message that corresponds to an update request among the information exchanged between the devices, FIG. shows.

第1図に関しては、上述したので説明の重複を
さけるが、上述の如くPLUテーブル102をコ
ントローラ100側にもうけるようにしたことに
よつて端末装置1における処理量などが増大す
る。このため、第1図図示の端末装置において
は、第4図に示す如く、例えばPOSターミナル
本来の処理を行うメイン・プログラムを実行する
第1のマイクロ・コンピユータ部と上記コントロ
ーラとの交信を含む入出力制御サブプログラムを
実行する第2のマイクロ・コンピユータ部とをも
つようにして、いわばマイクロ・コンピユータを
マルチにして用いるようにしている。
As for FIG. 1, since it has been described above, a duplicate explanation will be avoided, but by providing the PLU table 102 on the controller 100 side as described above, the amount of processing in the terminal device 1 increases. Therefore, in the terminal device shown in FIG. 1, as shown in FIG. It has a second microcomputer section that executes an output control subprogram, so that multiple microcomputers can be used.

第4図において、1は端末装置全体を示し、2
0は第1のマイクロ・コンピユータ部、30は第
2のマイクロ・コンピユータ部、21はマイク
ロ・プロセツサ、22はC−MOS RAM、23
はROM、24はダイレクト・メモリ・アクセス
制御装置、31はマイクロ・プロセツサ、32は
C−MOS RAM、33はROM、34はダイレク
ト・メモリ・アクセス制御装置、35は回線アダ
プタであつて第1図図示のPLUコントローラ1
00との連繋を行うもの、36はキーボード、3
7はデイスプレイ、38はプリンタ、39はスキ
ヤナ、40はインタフエース回路を表している。
In FIG. 4, 1 indicates the entire terminal device, 2
0 is a first microcomputer section, 30 is a second microcomputer section, 21 is a microprocessor, 22 is C-MOS RAM, 23
1 is a ROM, 24 is a direct memory access control device, 31 is a microprocessor, 32 is a C-MOS RAM, 33 is a ROM, 34 is a direct memory access control device, and 35 is a line adapter. PLU controller 1 shown
00, 36 is the keyboard, 3
7 represents a display, 38 a printer, 39 a scanner, and 40 an interface circuit.

第4図図示の場合、第1のマイクロ・コンピユ
ータ部20と第2のマイクロ・コンピユータ部3
0とがインタフエース回路40を介して結合され
ており、夫々のマイクロ・コンピユータ部のダイ
レクト・メモリ・アクセス制御装置(以下
DMACと略す)24と34は相手方マイクロ・
コンピユータ部の少なくともRAM22と32と
をアクセスすることができるように構成されてい
る。
In the case shown in FIG. 4, the first microcomputer section 20 and the second microcomputer section 3
0 via an interface circuit 40, and a direct memory access control device (hereinafter referred to as
(abbreviated as DMAC) 24 and 34 are the other party's micro
It is configured to be able to access at least RAMs 22 and 32 of the computer section.

第1のマイクロ・コンピユータ部20のRAM
22上にはPOSターミナリの本来の処理に相当
するメイン・プログラムが格納されており、他方
第2のマイクロ・コンピユータ部30のROM3
3上には入出力装置制御サブプログラムが格納さ
れている。言うまでもなく、当該サブプログラム
には、上述の上位側のコントローラ100と交信
し、PLUテーブル102の内容を受け取る処理
や、プリンタ38によるプリント処理などの機能
をもつている。
RAM of first microcomputer section 20
A main program corresponding to the original processing of the POS terminal is stored on the ROM 3 of the second microcomputer section 30.
3 stores an input/output device control subprogram. Needless to say, this subprogram has functions such as processing for communicating with the above-mentioned higher-level controller 100 and receiving the contents of the PLU table 102, and printing processing by the printer 38.

例えば商品の売上げに対応して、メイン・プロ
グラムからサブプログラムに対して、DMAによ
つて、キーボード36又はスキヤナ39からデー
タを入力するよう通知する。これにより、サブプ
ログラムは、キーボード36やスキヤナ39から
例えばJANコードが入力されると、この旨をメ
イン・プログラム1に通知を行い、PLUテーブ
ル照会電文をPLUコントローラ100−0に送
信する。第1のマイクロ・コンピユータ部におい
てはPLU応答がくるまで他の処理を実行する。
そして、PLUコントローラ100−0からの
PLU応答があれば、このことがメイン・プログ
ラムに通知される。
For example, in response to product sales, the main program notifies the subprogram by DMA to input data from the keyboard 36 or scanner 39. As a result, when a JAN code, for example, is input from the keyboard 36 or scanner 39, the subprogram notifies the main program 1 of this fact and sends a PLU table inquiry message to the PLU controller 100-0. The first microcomputer section executes other processing until a PLU response is received.
Then, from the PLU controller 100-0
A PLU response notifies the main program of this.

第4図図示の場合、端末装置1は上述の如く動
作する。このために、上記第2のマイクロ・コン
ピユータ部30がいわば入出力制御に関する処理
を専ら実行することができ、コントローラとの間
の交信処理がきわめて容易となる。
In the case shown in FIG. 4, the terminal device 1 operates as described above. For this reason, the second microcomputer section 30 can exclusively execute processing related to input/output control, so that communication processing with the controller becomes extremely easy.

しかし、上記システム構成の場合には、例えば
商品単価を変更する如き際に、端末装置から当該
変更データを入力し、コントローラ100内の
PLUテーブル102を更新することが望まれ、
このことが可能となるようにされる。
However, in the case of the above system configuration, when changing the unit price of a product, for example, the change data is input from the terminal device, and the change data is input into the controller 100.
It is desired to update the PLU table 102,
This is made possible.

第3図はコントローラと端末装置との間で交信
される情報のうち更新要求に対応するメンテナン
ス電文の一実施例フオーマツトを示している。当
該電文内には、 アイテム長 アイテム識別 電文識別データ () メンテナンス要求(端末→コントロー
ラ) () 旧データ電文(コントローラ→端末) () 新データ電文(端末→コントローラ) () 未登録電文(コントローラ→端末)端末
から指定されたPLUコードがフアイル中に
存在しない場合に送出するもの () 重複登録電文(コントローラ→端末)創
成のために指定されたPLUコードが既にフ
アイル中に存在している場合に送出するもの () ビジー電文(コントローラ→端末) () 処理完了(OK)電文(コントローラ→
端末) () 処理NG電文(コントローラ→端末) 指定 PLUデータの創成や変更や消去や組み込みな
どを指定する(端末から指定入力) 単品コード 部門コード 両者は端末から入力するものであつて、上記
、、の電文のとき用いる。
FIG. 3 shows an embodiment of the format of a maintenance message corresponding to an update request among the information exchanged between the controller and the terminal device. The message includes: Item length Item identification Message identification data () Maintenance request (terminal → controller) () Old data message (controller → terminal) () New data message (terminal → controller) () Unregistered message (controller → (Terminal) What is sent when the PLU code specified from the terminal does not exist in the file () When the PLU code specified for creating a duplicate registration message (controller → terminal) already exists in the file What to send () Busy message (controller → terminal) () Processing completion (OK) message (controller →
(Terminal) () Processing NG message (controller → terminal) Specification Specify the creation, modification, deletion, or incorporation of PLU data (specified input from the terminal) Single item code Department code Both are input from the terminal, and the above , used when sending a message.

単価 品名 両者は上記またはの電文に含まれる。 unit price Product name Both are included in the above telegram.

属性 区分 の各情報が必要に応じて与えられる。 attribute classification Each information is given as necessary.

上記第3図に示す如きフオーマツトをもつメン
テナンス電文にもとづいて、PLUテーブルの内
容を変更する際の情報送受が行われるが、第1図
図示のコントローラ100は、キユー1(テーブ
ル照会要求処理)とキユー2(テーブル更新処理)
とキユー3(集計(点検)要求処理)との3個の
キユーよりなる処理モードをもつていて、キユー
1、キユー2、キユー3の順に前者ほど高い優先
順位が与えられる。
Based on the maintenance message having the format shown in FIG. 3 above, information is sent and received when changing the contents of the PLU table, but the controller 100 shown in FIG. Queue 2 (table update processing)
It has three processing modes: queue 1, queue 2, and queue 3 (totalization (inspection) request processing), and the former is given a higher priority in the order of queue 1, queue 2, and queue 3.

そして、コントローラ100は、キユー1に属
するテーブル照会要求処理を最優先に処理し、キ
ユー2に属するテーブル更新要求処理を行つてい
ても空き時間が生じるとキユー1に属する処理が
あればそれを処理した上でキユー2の当該処理を
継続する。またキユー3に属する処理を実行して
いる場合でも、空き時間が生じると、キユー1に
属する処理やキユー2に属する処理があればそれ
を実行し、次いで当該キユー3の処理を継続す
る。即ち、1つの処理が終わればキユー1の処理
があるか否かをチエツクし、なければキユー2の
処理を実行し、それもなければキユー3の処理を
実行するようにされる。これによつて、コントロ
ーラ100における各端末装置1−iからの
PLUテーブルの内容照会所がとどこおることが
ないようにされる。
Then, the controller 100 processes the table inquiry request processing belonging to queue 1 with the highest priority, and if there is idle time even when performing the table update request processing belonging to queue 2, the controller 100 processes the processing belonging to queue 1, if any. After processing, the corresponding processing of queue 2 is continued. Even when a process belonging to queue 3 is being executed, if a free time occurs, the process belonging to queue 1 or queue 2, if any, is executed, and then the process of queue 3 is continued. That is, when one process is completed, it is checked whether or not there is a process for queue 1. If not, the process for queue 2 is executed, and if there is no process, the process for queue 3 is executed. As a result, the controller 100 receives information from each terminal device 1-i.
The content inquiry point of the PLU table is prevented from ending.

第2図はコントローラにおける一実施例処理を
表したフローチヤートを示し、図示の場合には上
記キユー3の処理については省略され、上記キユ
ー2の処理が「メンテナンス要求」として図示さ
れ、上記キユー1の処理が「PLU要求」として
図示されていると考えてよい。
FIG. 2 shows a flowchart representing one embodiment of processing in the controller. In the illustrated case, the processing of the queue 3 is omitted, and the processing of the queue 2 is illustrated as a "maintenance request", and the processing of the queue 1 is illustrated as a "maintenance request". It may be considered that the processing of is illustrated as a "PLU request".

図において、 (1) 端末装置#1からの「メンテナンス要求」を
受信したとすると(処理A)、 (2) コントローラは当該商品に関する旧データ
(更新対象データ−更新前のデータ)を端末装
置#1に返送する(処理B)、 (3) 当該旧データを送信した後に新データ(更新
しようとするデータ−更新前のデータ)を受信
するまでの間に空き時間があることから、この
とき他の端末装置から「PLU要求」があるか
否かをチエツクし(処理C)、 (4) あれば当該他の端末装置からの「PLU要求」
を処理し(処理D)、 (5) その上で、上記端末装置#1からの新データ
を受信する状態に入り(処理E)、それを持ち、 (6) 新データを受信すると、当該新データをフア
イルに書き込み(処理F)、 (7) このときコントローラにエラーがあるか否か
をチエツクし(処理G)、 (8) エラーがなければ処理OKを端末装置#1に
送信し(処理I)、 (9) エラーがあれば処理NGを端末装置#1に送
信する。
In the figure, (1) Suppose that a "maintenance request" is received from terminal device #1 (processing A), (2) the controller transfers old data (update target data - data before update) regarding the product to terminal device #1. 1 (processing B). (3) Since there is free time between sending the old data and receiving the new data (data to be updated - data before update), (4) Check whether there is a "PLU request" from the terminal device (processing C), and (4) if there is a "PLU request" from the other terminal device.
(Processing D), (5) Then, it enters the state of receiving new data from the terminal device #1 (Processing E) and has it, (6) When the new data is received, the new data is received. Write the data to the file (processing F), (7) check whether there is an error in the controller at this time (processing G), (8) if there is no error, send processing OK to terminal device #1 (processing I), (9) If there is an error, send processing NG to terminal device #1.

即ち、空き時間が生じると、キユー1の処理の
有無を調べ、あればその処理を実行するようにす
る。このようにして、コントローラ100に対し
て発せられる所の各端末装置からのPLUテーブ
ル内容の照会要求処理がとどこおることがなく、
当該処理を実行しつつ、PLUテーブルの内容を
更新することが可能となる。
That is, when a free time occurs, it is checked whether or not there is a process for queue 1, and if there is a process, that process is executed. In this way, the processing of inquiry requests for the PLU table contents issued from each terminal device to the controller 100 never ends.
It becomes possible to update the contents of the PLU table while executing the processing.

第5図a〜cは、上述したメイン及び予備側の
各PLUコントローラ100−0、100−1の
具体的構成を示す機能ブロツク図であり、各図に
おいて共通する部分には、同一の符号を付してい
る。即ち、第5図a〜cに示す各構成(機能)を
両コントローラ100−0,100−1が備えて
いるものである。
FIGS. 5 a to 5 c are functional block diagrams showing the specific configurations of the main and standby side PLU controllers 100-0 and 100-1 described above, and common parts in each figure are denoted by the same reference numerals. It is attached. That is, both controllers 100-0 and 100-1 are equipped with each configuration (function) shown in FIGS. 5a to 5c.

同図に示す如く、PLUコントローラ100は、
メインCPU110に対して、3つのサブCPU1
50,160,170を備えている。即ち、
POS端末1−0,…,1−nに対する下位回線
に関する制御を受け持つサブCPU150、上位
装置201との回線(上位回線)の制御を司るサ
ブCPU160、及びPLUコントローラの持つ処
理に必要な演算処理を受け持つサブCPU170
をそれぞれ有する。
As shown in the figure, the PLU controller 100 is
3 sub CPUs 1 for main CPU 110
50, 160, and 170. That is,
A sub CPU 150 that controls the lower line for the POS terminals 1-0, . Sub CPU170 in charge
have each.

一方、メインCPU110は、下位回線及び上
位回線に対する各制御タスク111,112、下
位および上位回線からの受信電文分析タスク11
3,114、モジユール分岐タスク115、及び
フロツピイ処理タスク116を備える。そして、
これら各タスクは、図示しないモニタ部により、
予め定められた優先順位(本実施例では各部に付
した番号111〜116の順)にしたがつて、実行権が
与えられる。また各タスク間の処理データ(送受
信電文も含む)の受け渡しは、それぞれの間に設
けられるキユー118〜120、127〜129を介して行わ
れる。
On the other hand, the main CPU 110 performs control tasks 111 and 112 for the lower line and upper line, and a task 11 for analyzing received messages from the lower and upper lines.
3, 114, a module branching task 115, and a floppy processing task 116. and,
Each of these tasks is performed by a monitor unit (not shown).
Execution rights are granted according to a predetermined priority order (in this embodiment, the order of numbers 111 to 116 assigned to each part). Processing data (including transmitted and received messages) is exchanged between each task via queues 118-120 and 127-129 provided between the tasks.

以下、動作を説明する。 The operation will be explained below.

POS端末1−0,…,1−nからの「PLU要
求」及び「メンテナンス要求」の各電文は、回線
199を介して、サブCPU150の電文制御部
155にて受信される。
The "PLU request" and "maintenance request" messages from the POS terminals 1-0, . . . , 1-n are received by the message control unit 155 of the sub CPU 150 via the line 199.

電文制御部155は受信した電文をDMA制御
部151,121を介して、メインCPU110
側の下位回線制御タスク111に送出する。この
タスク111では、キユー119を介して、受信電
文を電文分析タスク113へ送る。電文分析タス
ク113は、電文中における電文識別データ(第
3図参照)を読み、電文によつて要求される処理
を判別する。判別結果に基づいて、モジユール分
岐キユー118のうちの所定のキユーに入れること
になる。
The message control unit 155 sends the received message to the main CPU 110 via the DMA control units 151 and 121.
It is sent to the lower line control task 111 on the side. This task 111 sends the received message to the message analysis task 113 via the queue 119. The message analysis task 113 reads the message identification data (see FIG. 3) in the message and determines the processing required by the message. Based on the determination result, it is placed in a predetermined queue among the module branch queues 118.

このキユー118が、上述した優先順位が付され
た3個のキユー(キユー1、2、3)である。そ
してモジユール分岐タスク115は、各キユーに
つながれる電文データ(要求データ)の有無を調
べ、キユー1に属するPLU要求を優先して取り
出すことになる。
This queue 118 is the three queues (queues 1, 2, and 3) assigned the above-mentioned priority order. The module branch task 115 then checks whether there is telegram data (request data) connected to each queue, and takes out the PLU request belonging to queue 1 with priority.

この分岐タスク115の配下には、各々の処理
(PLU処理、メンテナンス処理、集計処理等)に
対応する複数種の処理モジユール(0〜n)11
7が設けられる。
Under this branch task 115, there are multiple types of processing modules (0 to n) 11 corresponding to each process (PLU process, maintenance process, aggregation process, etc.).
7 is provided.

また、これらの各モジユール117の各々に対
応した演算処理タスク(0〜n)175が、演算
用のサブCPU170に設けられる。そして、モ
ジユール117の実行により、演算部分の処理依
頼が、キユー128及び送出部130を介して、演
算CPU170に送出され、受付部179、分析
部174を通つて、対応するタスク175の1つ
がサブCPU170によつて実行されることにな
る。
Further, calculation processing tasks (0 to n) 175 corresponding to each of these modules 117 are provided in the sub-CPU 170 for calculation. Then, by executing the module 117, a processing request for the calculation part is sent to the calculation CPU 170 via the queue 128 and the sending unit 130, and one of the corresponding tasks 175 is sent to the sub It will be executed by the CPU 170.

これら各タスク175から処理動作情報(ステ
ータス)を送出する送出部171、メインCPU
100との直接的なデータ(被演算データ、演算
結果等)のやりとりを行うDMA制御部172,
173も設けられる。各タスクからのステータ
ス、演算結果等のデータは、キユー127、118
を介して再び分岐タスク115に戻ることにな
る。そして、タスクからの応答により、対応する
モジユール117が実行され、応答電文の組立
て、回線制御タスク111への送出が行われ、一
連の処理を終了する。
A sending unit 171 that sends processing operation information (status) from each of these tasks 175, and a main CPU
DMA control unit 172 that directly exchanges data (operated data, calculation results, etc.) with 100;
173 is also provided. Data such as status and calculation results from each task is available on queues 127 and 118.
The process returns to branch task 115 via . Then, in response to the response from the task, the corresponding module 117 is executed, a response message is assembled and sent to the line control task 111, and the series of processing ends.

この応答電文を受けたタスク111は、DMA
制御部122,152を介して、サブCPU15
0の電文制御部155に電文を渡す。この結果、
回線199を介して要求を上げたPOS端末に対
応して応答電文が返送されることになる。
Task 111 that received this response message uses the DMA
The sub CPU 15 via the control units 122 and 152
The message is passed to the message control unit 155 of 0. As a result,
A response message will be sent back via line 199 in response to the POS terminal that made the request.

(F) 発明の効果 以上説明した如く、本発明によれば、PLUテ
ーブルをコントローラ側において一括管理するよ
うにした上で、各端末装置から当該PLUテーブ
ルの内容を更新することもできる。このために日
中の業務の途中で、PLUテーブルの内容を変更
するなどの処理をきわめて容易に行うことが可能
となる。
(F) Effects of the Invention As described above, according to the present invention, the PLU table can be collectively managed on the controller side, and the contents of the PLU table can also be updated from each terminal device. This makes it extremely easy to perform processes such as changing the contents of the PLU table during daytime work.

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

第1図は本発明が適用されるデータ処理システ
ムの一実施例構成、第2図はコントローラにおけ
る一実施例処理を表したフローチヤート、第3図
はコントローラと端末装置との間で交信される情
報のうち更新要求に対応するメンテナンス電文の
一実施例フオーマツト、第4図は端末装置の一実
施例構成、第5図aないしcはPLUコントロー
ラの具体的構成を示すブロツク図を示す。 図中、1は端末装置、100はPLUコントロ
ーラ、102はPLUテーブルを表す。
Fig. 1 shows the configuration of an embodiment of a data processing system to which the present invention is applied, Fig. 2 is a flowchart showing an embodiment of processing in a controller, and Fig. 3 shows communication between the controller and a terminal device. FIG. 4 shows a format of an embodiment of a maintenance message corresponding to an update request among information, FIG. 4 shows an embodiment of the configuration of a terminal device, and FIGS. 5a to 5c show a block diagram showing a specific configuration of a PLU controller. In the figure, 1 represents a terminal device, 100 represents a PLU controller, and 102 represents a PLU table.

Claims (1)

【特許請求の範囲】 1 商品と価格との対応表であるプライス・ルツ
ク・アツプ・テーブルを索引した結果を利用する
複数の端末装置を有し、 前記複数の端末装置に接続されるコントローラ
内に上記プライス・ルツク・アツプ・テーブルを
もつよう構成され、 かつ、上記各端末装置は商品取引に当たつて上
記コントローラと交信して上記商品に対応する価
格情報を受け取ると共に、プライス・ルツク・ア
ツプ・テーブルに対して商品情報を更新する場合
には、更新要求を行うとともに更新する対象とな
る対応するコードを上記コントローラに送信し、
且つ、コントローラより送信されてきた少なくと
も価格情報に対して更新処理を行い再びコントロ
ーラに返送するよう構成され、 上記コントローラは、上記端末装置からの価格
情報を要求するプライス・ルツク・アツプ・テー
ブル照会要求処理モードと、当該プライス・ルツ
ク・アツプ・テーブルに対して更新要求があつた
場合に、その更新要求のあつた商品に対応する少
なくとも価格情報を更新要求のあつた端末装置に
送信し、端末装置から返送される更新情報に基づ
いてプライス・ルツク・アツプ・テーブルを更新
する更新要求処理モードとを少なくとも持つよう
構成されたデータ処理システムのフアイル更新処
理方式において、 上記更新要求処理モードにおける処理を実行中
において、少なくとも更新要求のあつた端末装置
に対し、要求のあつた商品に対応する価格情報を
送信し、上記端末装置からの更新情報の待ち時間
であることを検出し、この待ち時間中には照会要
求処理モードにおいて処理を実行して上記更新要
求処理モードにおける継続処理を実行するように
したこをと特徴とするフアイル更新処理方式。
[Claims] 1. A device comprising a plurality of terminal devices that utilize the results of indexing a price lookup table that is a correspondence table between products and prices, and a controller connected to the plurality of terminal devices. Each of the terminal devices is configured to have the price look-up table, and each of the terminal devices communicates with the controller during product transactions to receive price information corresponding to the product, and also has the price look-up table. When updating product information for a table, make an update request and send the corresponding code to be updated to the above controller,
In addition, the controller is configured to update at least the price information sent from the controller and send it back to the controller, and the controller receives a price lookup table inquiry request requesting price information from the terminal device. When an update request is made to the processing mode and the price lookup table, at least the price information corresponding to the product for which the update request was made is sent to the terminal device that made the update request, and the terminal device In a file update processing method of a data processing system configured to have at least an update request processing mode for updating a price lookup table based on update information returned from In the process, price information corresponding to the requested product is transmitted to at least the terminal device that has made the update request, detects that it is a waiting time for update information from the terminal device, and during this waiting time, A file update processing method characterized in that processing is executed in an inquiry request processing mode and continuation processing in the update request processing mode is executed.
JP59275302A 1984-12-28 1984-12-28 File update processing system Granted JPS61156469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59275302A JPS61156469A (en) 1984-12-28 1984-12-28 File update processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59275302A JPS61156469A (en) 1984-12-28 1984-12-28 File update processing system

Publications (2)

Publication Number Publication Date
JPS61156469A JPS61156469A (en) 1986-07-16
JPH0447347B2 true JPH0447347B2 (en) 1992-08-03

Family

ID=17553539

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59275302A Granted JPS61156469A (en) 1984-12-28 1984-12-28 File update processing system

Country Status (1)

Country Link
JP (1) JPS61156469A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63118977A (en) * 1986-11-07 1988-05-23 Fujitsu Ltd Inquiry processing system

Also Published As

Publication number Publication date
JPS61156469A (en) 1986-07-16

Similar Documents

Publication Publication Date Title
JPS61156368A (en) Control system of table content change
US5481698A (en) Computer system and job executing method
US5220674A (en) Local area print server for requesting and storing required resource data and forwarding printer status message to selected destination
US7013294B1 (en) License management system
US4930069A (en) Mechanism and method for transferring data between bus units having varying master and slave DMA capabilities
US5960178A (en) Queue system and method for point-to-point message passing having a separate table for storing message state and identifier of processor assigned to process the message
US6237041B1 (en) System using integrating server for transforming message from one system-specific native format to another system specific format according to description of client computers
CN101196901B (en) Computer system and method for database query
GB2319369A (en) Job taking-over system
US6687221B1 (en) Communication management control system, communication control unit therefor and computer program product
US5408334A (en) Method and apparatus for having a processor execute a job utilizing an electronic mail system
EP0230512A2 (en) Method for resolving conflicts between interrupt sources sharing the same priority
JPH0447347B2 (en)
EP0315111B1 (en) Data processing device
JP2001195377A (en) Isolation judgment system, management method therefor and recording medium
JPH04305751A (en) File transfer system
JPH04107034A (en) Retry count learning device
JPS61156437A (en) System obstacle restoring control system
JPS61156370A (en) Data processing system having inspecting function
JP2532393B2 (en) Label issuing device
JPH02186468A (en) Computer network control system
JPS61156369A (en) Terminal equipment
JPH0537658A (en) State report system to mtp higher rank user processor at the time of increasing/decreasing mtp level 3 processor in no.7 signal system
JPS644208B2 (en)
JPH11338834A (en) Synchronous parallel processing system and synchronous parallel processing method