JPH0731698B2 - Data processing system - Google Patents
Data processing systemInfo
- Publication number
- JPH0731698B2 JPH0731698B2 JP60225655A JP22565585A JPH0731698B2 JP H0731698 B2 JPH0731698 B2 JP H0731698B2 JP 60225655 A JP60225655 A JP 60225655A JP 22565585 A JP22565585 A JP 22565585A JP H0731698 B2 JPH0731698 B2 JP H0731698B2
- Authority
- JP
- Japan
- Prior art keywords
- schedule
- data processing
- executed
- contents
- processing 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
Links
Landscapes
- Cash Registers Or Receiving Machines (AREA)
- Multi Processors (AREA)
- Computer And Data Communications (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] この発明は、複数のデータ処理装置を回線を介して接続
したデータ処理システムに関する。Description: TECHNICAL FIELD The present invention relates to a data processing system in which a plurality of data processing devices are connected via a line.
[従来の技術] 近年、大型店舗等においては各売場等に設置されたデー
タ処理装置、例えば、スレーブ側ECR(電子式キャッシ
ュレジスタ)をインラインで所定のデータ処理装置、例
えば、マスタ側のECRに接続させ、各スレーブ側から伝
送されてきた売上データをマスタ側で収集するようにし
たデータ処理システムが採用されている。そして、この
ようなデータ処理システムにあっては、マスタ側で、所
定時刻に至った際に各スレーブ側のデータを収集するよ
うなスケジュール機能を備えたものがある。即ち、例え
ば、コマンドファイルナンバ「1」にインラインからマ
スタ側へ全スレーブ側の精算データや点検データを実行
時刻「15時00分」に収集すると設定しておけば、その設
定された時刻になるとその収集が実行される。[Prior Art] In recent years, in a large store or the like, a data processing device installed in each sales floor, for example, a slave-side ECR (electronic cash register) is inline to a predetermined data processing device, for example, a master-side ECR. A data processing system is adopted in which the master side collects sales data transmitted from each slave side. In some of such data processing systems, the master side has a schedule function of collecting data of each slave side when a predetermined time is reached. That is, for example, if the command file number "1" is set to collect the adjustment data and inspection data of all slaves from the inline to the master side at the execution time "15:00", the set time will be reached. The collection is performed.
[発明が解決しようとする課題] しかしながら、このように、スケジュール機能を備えた
データ処理システムにあっては、マスタ側が登録モード
中であっても所定時刻になったらスケジュール機能が確
実に実行されて、その間は登録が禁止されるため、客が
多数登録待ちしているような場合にあっては、客の待ち
時間が更に長くなるという難点があった。[Problems to be Solved by the Invention] However, in the data processing system having the schedule function as described above, the schedule function is surely executed at the predetermined time even when the master side is in the registration mode. However, since registration is prohibited during that time, there is a problem that the waiting time of customers becomes longer when a large number of customers are waiting for registration.
また、客の登録を優先して行うようにした場合にはスケ
ジュール機能による収集が設定された所定時刻に正確に
実行されなくなってしまう。Further, if the customer registration is prioritized, the collection by the schedule function will not be accurately executed at the set predetermined time.
この発明の課題は、例えばスケジュール機能等による収
集を所定のデータ処理装置に代って他のデータ処理装置
で実行させることができるようにすることである。An object of the present invention is to allow collection by, for example, a schedule function or the like to be executed by another data processing device instead of a predetermined data processing device.
[課題を解決するための手段] この発明の手段は次の通りである。[Means for Solving the Problems] Means of the present invention are as follows.
収集機能を有するデータ処理装置が、回線を介して複数
接続されたデータ処理システムであって、 上記所定のデータ処理装置に備えられた手段としては以
下のものがある。A data processing system in which a plurality of data processing devices having a collecting function are connected via a line, and the means provided in the predetermined data processing device are as follows.
指示手段は、上記収集機能の実行を指示する。The instruction means gives an instruction to execute the collection function.
第1の判別手段は、前記指示手段により上記収集機能の
実行が指示された際に、上記収集機能による処理の実行
ができる状態にあるか否かを判別する。The first discriminating unit discriminates whether or not the processing by the collecting function can be executed when the execution of the collecting function is instructed by the instructing unit.
第1の指示手段は、前記判別手段により上記収集機能に
よる処理が実行できない状態であることが判別された際
に、上記回線を介して接続された他のデータ処理装置を
指定する。The first instructing means designates another data processing device connected via the line when the determining means determines that the processing by the collecting function cannot be executed.
また、上記他のデータ処理装置に備えられた手段として
は以下のものがある。Further, the following means are provided in the other data processing device.
第2の判別手段は、上記所定のデータ処理装置から上記
収集機能による処理の実行が指示された際に上記収集機
能による処理が実行できるか否かを判別する。The second determination means determines whether or not the processing by the collecting function can be executed when the execution of the processing by the collecting function is instructed by the predetermined data processing device.
第2の指定手段は、前記第2の判別手段により上記収集
機能による処理が実行できない状態であることが判別さ
れた際に、上記回線を介して接続された更に他のデータ
処理装置を指定する。The second designating means designates yet another data processing device connected via the line when the second discriminating means discriminates that the processing by the collecting function cannot be executed. .
そして、上記第2の指定手段で指定されたデータ処理装
置が上記収集機能による処理の実行ができない場合は、
上記データ処理装置を順次指定して上記収集機能による
処理の実行が可能なデータ処理装置で上記収集機能によ
る処理の実行をさせるようにする。When the data processing device specified by the second specifying means cannot execute the process by the collecting function,
The data processing devices are sequentially designated so that the data processing device capable of executing the processing by the collecting function can execute the processing by the collecting function.
[課題を解決するための手段の作用] この発明の手段の作用は次の通りである。[Operation of Means for Solving the Problem] The operation of the means of the present invention is as follows.
収集機能を有するデータ処理装置が、回線を介して複数
接続されたデータ処理システムであって、上記所定のデ
ータ処理装置は、スケジュール機能等の指示手段によっ
て上記収集機能の実行が指示されると、上記収集機能に
よる処理の実行ができる状態にあるか否かを第1の判別
手段によって判別し、この判別手段により上記収集機能
による処理が実行できない状態であることが判別された
際に、上記回線を介して接続された他のデータ処理装置
を第1の指定手段によって指定する。A data processing system in which a plurality of data processing devices having a collection function are connected via a line, and the predetermined data processing device is configured to instruct execution of the collection function by an instruction means such as a schedule function. The first determining means determines whether or not the processing by the collecting function can be executed, and when the determining means determines that the processing by the collecting function cannot be executed, the line Another data processing device connected via the is designated by the first designating means.
また、上記他のデータ処理装置は、上記所定のデータ処
理装置から上記収集機能による処理の実行が指示された
際に、上記収集機能による処理が実行できるか否かを第
2の判別手段によって判別し、この第2の判別手段によ
り上記収集機能による処理が実行できない状態であるこ
とが判別された際に、上記回線を介して接続された更に
他のデータ処理装置を第2の指定手段によって指定す
る。Further, the other data processing device determines whether or not the process by the collecting function can be executed by the second determining means when the predetermined data processing device instructs to execute the process by the collecting function. However, when it is determined by the second determining means that the processing by the collecting function cannot be executed, the second specifying means specifies the further data processing device connected via the line. To do.
そして、上記第2の指定手段によって指定されたデータ
処理装置が上記収集機能による処理の実行ができない場
合は、上記データ処理装置を順次指定して上記収集機能
による処理の実行が可能なデータ処理装置で上記収集機
能による処理の実行をさせるようにする。When the data processing device designated by the second designating unit cannot execute the processing by the collecting function, the data processing devices are sequentially designated and the processing by the collecting function can be executed. Then, the processing by the collection function is executed.
したがって、収集をむやみに実行せずに、しかも確実に
実行できる。Therefore, it is possible to surely execute the collection without unnecessarily executing the collection.
[実施例] 以下、一実施例を具体的に説明する。[Example] An example will be specifically described below.
実施例の構成 第2図はデータ伝送システムの概略構成図である。図中
1は通常マスターとして働くマスター側ECRで、このマ
スター側ECR1にはインライン2を介して通常スレーブと
して働く複数台のスレーブ側ECR3……が接続され、各EC
R1、3……間においてデータの送受信が実行可能となっ
ている。しかして本実施例において、マスター側ECR1お
よびスレーブ側ECR3……はマスターあるいはスレーブと
して夫々機能可能に構成されたものである。Configuration of Embodiment FIG. 2 is a schematic configuration diagram of a data transmission system. In the figure, 1 is a master side ECR that works as a normal master, and this master side ECR1 is connected to a plurality of slave side ECRs 3 ...
Data can be sent and received between R1, 3 ... In this embodiment, the ECR1 on the master side and the ECR3 on the slave side are configured to be capable of functioning as a master or a slave, respectively.
マスター側ECR1は第1図(A)に示す如く構成されてい
る。このECR1の入力部11において、そのキーボード上に
は金額等を入力する数字キーKA、各種のファンクション
キーKBの他、客が多く登録が混んでいる際に操作される
BUSYキーKC、スケジュール設定日付/時刻を設定する際
に使用される日付/時刻入力キーKD、現金/預かり金キ
ーKE、PLU(プライス・ルック・アップ)別キーKF、ク
リアキーKG、貸売キーKHが設けられている。また、入力
部11のキーボード上には回転式のモード切換スイッチMS
が設けられている。このモード切換スイッチMSはその切
換位置に応じて「設定」、「登録」、「電源OFF」、
「点検」、「精算」の各モードに切換るものである。ま
た、入力部11のキーボード上にはスケジュール機能の開
始を報知するスケジュール開始表示ランプLPが設けら
れ、更に、スライドスイッチ式のマスター/スレーブ切
換スイッチM/Sが設けられている。このマスター/スレ
ーブ切換スイッチM/Sはその切換位置「M(マスタ
ー)」、「S(スレーブ)」に応じてマスターとしてあ
るいはスレーブとして機能させるものである。しかし
て、入力部11から操作キーに対応して出力されるキー入
力信号あるいはモード切換スイッチMS、マスター/スレ
ーブ切換スイッチM/Sの切換位置に応じて出力されるモ
ード指定信号はCPU(中央演算処理回路)12に入力され
る。The master side ECR1 is constructed as shown in FIG. In the input section 11 of this ECR1, in addition to the number keys KA for inputting the amount of money and various function keys KB on the keyboard, it is operated when many customers are registered.
BUSY key KC, date / time input key KD used to set schedule setting date / time, cash / deposit key KE, PLU (price look up) key KF, clear key KG, lending key KH is provided. On the keyboard of the input section 11, a rotary mode selector switch MS
Is provided. This mode changeover switch MS has "setting", "registration", "power off",
It switches to each mode of "inspection" and "payment". Further, on the keyboard of the input unit 11, a schedule start display lamp LP for notifying the start of the schedule function is provided, and further, a slide switch type master / slave changeover switch M / S is provided. The master / slave selector switch M / S functions as a master or a slave depending on its switching position "M (master)" or "S (slave)". Therefore, the key input signal output from the input unit 11 corresponding to the operation key or the mode designation signal output according to the switching position of the mode changeover switch MS and the master / slave changeover switch M / S is the CPU (central processing unit). Processing circuit) 12.
CPU12は予め記憶されているマイクロプログラムにした
がって各種の動作を制御するもので、例えば入力処理、
登録処理、データ伝送処理、データ収集処理等を実行す
る。そして、CPU12には、置数、演算等に用いられる
A、B、C、D、E、レジスタの他、演算部、制御部を
有する構成となっている。しかして、CPU12はRAM(ラン
ダムアクセスメモリ)13との間でデータの授受を行って
RAM13内の各種のデータを累計したり、ドロア14の開放
動作を制御し、また表示部(螢光表示管等)15に売上デ
ータ等をデジタル表示させ、印字部(サーマルプリンタ
等)16を駆動してレシート用紙並びにジャーナル用紙に
売上データを印字させ、時計回路部17から現在時刻を読
み取る。The CPU 12 controls various operations according to a pre-stored microprogram, for example, input processing,
Registration processing, data transmission processing, data collection processing, etc. are executed. Further, the CPU 12 is configured to have an arithmetic unit and a control unit in addition to A, B, C, D, E and registers used for register numbers and arithmetic operations. Then, the CPU 12 exchanges data with the RAM (random access memory) 13.
Accumulates various data in RAM13, controls the opening operation of drawer 14, digitally displays sales data on display unit (fluorescent display tube, etc.) 15, and drives printing unit (thermal printer, etc.) 16. Then, the sales data is printed on the receipt paper and the journal paper, and the current time is read from the clock circuit unit 17.
RAM13はCPU12の制御下でデータの読み込み、書き込み動
作が制御されるもので、PLU別合計メモリM1、取引別合
計メモリM2、その他の合計メモリM3の他、予め設定され
るスケジュール内容記憶部M4、スケジュール時刻記憶部
M5、スケジュール内容を転送すべき他のECRのマシンナ
ンバを記憶するマシンナンバ記憶部M6が設けられてい
る。なお、スケジュール内容記憶部M4、スケジュール時
刻記憶部M5には複数のスケジュール内容、時刻が記憶可
能となっている。RAM13 is a data read and write operations are controlled under the control of the CPU12, total memory M1 by PLU, total memory M2 by transaction, other total memory M3, other preset content storage unit M4, Schedule time storage
M5, a machine number storage unit M6 for storing the machine number of another ECR to which the schedule contents should be transferred is provided. The schedule content storage unit M4 and the schedule time storage unit M5 can store a plurality of schedule contents and times.
第1図(B)はスレーブ側ECR3……の構成を示してい
る。なお、本実施例のスレーブ側ECR3……はマスターと
して機能可能に構成されている為マスター側ECR1と略同
様に構成され、特にマスター側と相違しないものについ
ては同一符号をもって示しその説明を省略する。なお、
スレーブ側ECR3には時計回路部が設けられておよず、ま
たRAM13内にはスケジュール内容記憶部およびスケジュ
ール時刻記憶部は設けられていない。FIG. 1 (B) shows the configuration of the slave side ECR3 .... Since the slave side ECR3 of this embodiment is configured to be capable of functioning as a master, the slave side ECR3 has substantially the same configuration as the master side ECR1. . In addition,
The slave side ECR 3 is not provided with a clock circuit section, and the RAM 13 is not provided with a schedule content storage section and a schedule time storage section.
実施例の動作 第3図はマスター側ECR1で一定時間毎、具体的には1秒
毎に割り込みで実行開始されるフローチャートである。
先ずこのフローに入ると、RAM13から予め設定された複
数のスケジュール内容に対応するスケジュール時刻を順
次読み出してCPU12内のBレジスタへ取り込み、そして
時計回路部11からAレジスタへ読み込んだ現在時刻と比
較し、その一致が検出される(ステップS1)。ここで、
いずれのスケジュール時刻にも一致しなければ、この割
込処理は終了するが、いずれかのスケジュール時刻と一
致したことが検出されると、ステップS2に進み、一致検
出されたスケジュール時刻と対応するスケジュール内容
がRAM13から読みだされてCPU12のDレジスタにセットさ
れる。そして、現在、登録中であるかが調べられ(ステ
ップS3)、登録中でなければ、スケジュール開始を明示
する為のスケジュール開示表示ランプLPを点灯させる
(ステップS4)。これによって、キャッシャはスケジュ
ール時刻になったことを確認することができるが、客が
多く登録が混んでいるときには、BUSYキーKCを操作す
る。この場合、BUSYキーの操作でCPU2のCレジスタには
BUSY入力コードがセットされるので、次のステップS5で
はCレジスタの内容に応じてBUSYキーの操作有無が調べ
られるが、操作されなければスケジュール時刻になって
から一定時間(例えば10秒)経過したかが調べられる
(ステップS6)。いま、一定時間経過していなければ、
ステップS4に戻る。しかして、スケジュール時刻になっ
てから一定時間経過してもBUSYキーが操作されなけれ
ば、スケジュール開始表示ランプLPを消灯(ステップS
7)させたのち、Dレジスタへ呼び出しておいたスケジ
ュール内容、例えば全スレーブ側の精算データあるいは
点検データを収集する処理が実行される(ステップS
8)。このようなスケジュール内容の実行が終ると、最
後にA、B、C、D、E、レジスタを夫々クリアするイ
ニシャライズ処理(ステップS9)が行なわれる。Operation of the Embodiment FIG. 3 is a flow chart in which the master side ECR1 starts execution by interruption every fixed time, specifically every second.
First, when this flow is entered, the schedule times corresponding to a plurality of preset schedule contents are sequentially read from the RAM 13, loaded into the B register in the CPU 12, and compared with the current time read from the clock circuit section 11 into the A register. , The match is detected (step S1). here,
If it does not match any of the schedule times, the interrupt process ends, but if it is detected that any of the schedule times matches, the process proceeds to step S2, and the schedule corresponding to the detected match schedule time. The contents are read from the RAM 13 and set in the D register of the CPU 12. Then, it is checked whether or not it is currently registered (step S3), and if it is not registered, the schedule disclosure display lamp LP for clearly indicating the start of the schedule is turned on (step S4). This allows the cashier to confirm that the scheduled time has come, but when there are many customers and registration is busy, the BUSY key KC is operated. In this case, press the BUSY key
Since the BUSY input code is set, in the next step S5 the presence or absence of the operation of the BUSY key is checked according to the contents of the C register, but if it is not operated, a fixed time (for example, 10 seconds) has passed since the scheduled time. Is checked (step S6). If a certain time has not passed,
Return to step S4. If the BUSY key is not operated within a certain time after the scheduled time, the schedule start display lamp LP is turned off (step S
7) After that, a process of collecting the schedule contents called to the D register, for example, adjustment data or inspection data of all slaves is executed (step S
8). When the execution of the schedule contents is finished, finally, an initialization process (step S9) for clearing each of A, B, C, D, E and the register is performed.
一方スケジュール時刻になったとしてもステップS3で登
録中であることが検出されたり、ステップS5でスケジュ
ール時刻になってから、一定時間以内にBUSYキーが操作
されたことが、検出された場合には、(ステップS10)
に進み、RAM13の転送マシンナンバ記憶部M6からその内
容を読み出してそのマシンナンバに対応するスレーブ側
ECR3を択一的に指定してそのECRへDレジスタ内のスケ
ジュール内容を転送する。ここで、転送マシンナンバは
予め決められているもので、複数台のスレーブ側ECR3…
…のうちその1台を指定する。しかして、このようなス
ケジュール内容の転送が行なわれると、Dレジスタを除
きA、B、C、Eレジスタの内容が夫々クリアされる
(ステップS11)。したがって、この場合はマスター側
ではスケジュール内容は実行されずいずれかのスレーブ
側ECRを指定してそのスケジュール内容を伝送し、そのE
CRにスケジュール権を譲ることになる。On the other hand, if it is detected that the registration is being performed in step S3 even if the schedule time has come, or that the BUSY key has been operated within a certain time after the schedule time has come in step S5, , (Step S10)
To the slave side corresponding to the machine number by reading the contents from the transfer machine number storage section M6 of RAM13.
Select ECR3 alternatively to transfer the schedule contents in the D register to that ECR. Here, the transfer machine number is determined in advance, and a plurality of slave side ECR3 ...
Specify one of them. When the schedule contents are transferred as described above, the contents of the A, B, C, and E registers except the D register are cleared (step S11). Therefore, in this case, the master side does not execute the schedule contents, one of the slave side ECRs is specified and the schedule contents are transmitted, and the E
Schedule right will be transferred to CR.
第4図はスレーブ側ECR3において、他のECR(スレーブ
側ECRも含む)からスケジュール内容の伝送に伴い、割
り込みによって実行されるフローチャートである。先
ず、このフローに入ると、現在、登録中であるかが調べ
られる(ステップS21)。ここで、登録中でなければ、
スケジュール開始表示ランプLPを点灯させたのち一定時
間内にBUSYキーが操作されたかが調べられる(ステップ
S22、S23、S24)。その結果、一定時刻内にBUSYキーが
操作されなければ、スケジュール開始表示ランプLPを消
灯させる(ステップS25)。そして、転送されて来たス
ケジュール内容が記憶されているAレジスタの内容に基
づいてそのスケジュール内容を実行し(ステップS2
6)、その後、スケジュール内容と、このスレーブECRの
マシンナンバとスケジュールの実行終了コードをマスタ
ー側へ夫々転送する(ステップS27)。そして、A、
B、Cレジスタの内容が夫々クリアされる(ステップS2
8)。FIG. 4 is a flowchart executed by the ECR 3 on the slave side by an interrupt when the schedule contents are transmitted from other ECRs (including the ECR on the slave side). First, when entering this flow, it is checked whether or not it is currently registered (step S21). If you are not registered here,
It is checked whether the BUSY key is operated within a certain time after turning on the schedule start display lamp LP (step
S22, S23, S24). As a result, if the BUSY key is not operated within the fixed time, the schedule start display lamp LP is turned off (step S25). Then, the schedule contents are executed based on the contents of the A register in which the transferred schedule contents are stored (step S2
6) After that, the contents of the schedule, the machine number of this slave ECR and the execution end code of the schedule are transferred to the master side (step S27). And A,
The contents of the B and C registers are cleared respectively (step S2
8).
一方、他のECRからスケジュール内容が伝送されて来て
も現在登録中であったり、一定時間内にBUSYキーが操作
された場合には、ステップS21、S23でそのことが検出さ
れてステップS29に進み、Aレジスタの内容(転送され
て来たスケジュール内容)をBレジスタの内容(RAM13
から読み出したスケジュール内容転送マシンナンバ)に
よって指定される他のECRへ転送する。そしてステップS
28でA、B、Cレジスタの内容が夫々クリアされる。し
たがって、この場合においては、マスター側ECR1からス
ケジュール実行権が譲渡されても当該ECRにおいてはス
ケジュール内容は実行されず、他のECRを指定してスケ
ジュール内容を更に他のECRへ転送し、スケジュール実
行権を更に次のスレーブ側ECR3へ譲渡する。このように
してスレーブ側ECR3……を順次指定してそれが登録中か
BUSY入力有るかを調べ、その結果、登録中でもなくBUSY
入力が無い場合に限り、そのECRでスケジュール内容が
実行されるが、全てのスレーブ側ECR3……が登録中ある
いはBUSY入力有る場合には、最後に指定されたスレーブ
側ECR3ではマスタ側ECR1を指定してスケジュール内容を
転送し、これによってスケジュール内容が元に戻され
る。On the other hand, even if the schedule contents are transmitted from another ECR, if it is currently registered or if the BUSY key is operated within a certain time, that is detected in steps S21 and S23, and the process proceeds to step S29. Go to the contents of register A (transferred schedule contents) and contents of register B (RAM13
Transfer to another ECR specified by the schedule contents transfer machine number read from. And step S
At 28, the contents of the A, B and C registers are cleared respectively. Therefore, in this case, even if the schedule execution right is transferred from the master side ECR1, the schedule contents are not executed in the ECR, and the schedule contents are transferred to another ECR by designating another ECR and the schedule execution is executed. The right is further transferred to the next slave side ECR3. In this way, the slave side ECR3 …… is sequentially specified and is it being registered?
Check if there is BUSY input, and as a result, BUSY
Only when there is no input, the schedule contents will be executed in that ECR, but when all slave side ECR3 ... are registered or BUSY input exists, the master side ECR1 is specified in the last specified slave side ECR3. Then, the schedule contents are transferred, and the schedule contents are restored.
第5図は、マスター側ECR1において、スレーブ側からス
ケジュール内容が転送されて戻って来た場合、あるいは
スレーブ側でのスケジュール実行に伴ってスレーブ側か
らスケジュール内容、マシンナンバ、実行終了コードが
夫々転送されて来た場合に割り込みで実行開始されるフ
ローチャートである、先ず、このフローに入ると、スケ
ジュール実行権が譲渡中であるかをDレジスタにデータ
が有るか否かに応じて調べられる(ステップS31)。い
ま、スケジュール内容がすでにマスター側で実行されて
いた場合にはDレジスタの内容はクリアされているの
で、エラーとなるが、スケジュール実行権譲渡中であれ
ば、伝送データに実行終了コードが有るか、換言すれ
ば、スレーブ側ECR3でスケジュール内容が実行されたか
が調べられる(ステップS32)。いま、スレーブ側でス
ケジュール内容が実行されたものとすると、ステップS3
3に進み、スケジュール内容とマシンナンバが夫々印
字、表示される。これによって、スケジュール内容がど
のECRで実行されたかの確認が可能となる。そして、ス
テップS32で実行終了コードがないと判別された場合ス
テップS34に進み、登録中がが調べられ、登録中であれ
ば登録処理(ステップS35)が実行されて登録終了かを
調べ(ステップS36)、登録終了でなければステップS35
に戻り、登録が終るまで待機する。しかして、登録中で
はなく、あるいは登録が終った場合には、ステップS37
に進み、Dレジスタの内容に基づきスケジュール内容が
実行される。そしてDレジスタの内容(スケジュール内
容)がクリアされる(ステップS38)。したがって、全
てのスレーブ側ECRでスケジュール内容が実行されず、
元のマスター側へスケジュール内容が戻って来た場合に
おいては、登録中であればその登録終了後にスケジュー
ル内容が実行されることになり、この場合にはスレーブ
側へスケジュール実行権は譲渡されない。Figure 5 shows that in the ECR1 on the master side, when the schedule contents are transferred from the slave side and returned, or when the schedule is executed on the slave side, the schedule contents, machine number, and execution end code are respectively transferred from the slave side. It is a flowchart in which execution is started by interruption when it comes. First, when this flow is entered, it is checked whether or not the schedule execution right is being transferred according to whether or not there is data in the D register (step S31). Now, if the contents of the schedule have already been executed on the master side, the contents of the D register have been cleared, so an error will occur, but if the schedule execution right is being transferred, is there an execution end code in the transmission data? In other words, it is checked whether or not the schedule contents have been executed in the slave side ECR3 (step S32). Now, assuming that the schedule contents have been executed on the slave side, step S3
Proceed to 3 and the schedule contents and machine number are printed and displayed respectively. This makes it possible to confirm in which ECR the schedule contents were executed. If it is determined in step S32 that there is no execution end code, the process proceeds to step S34 to check if registration is in progress, and if registration is in progress, a registration process (step S35) is executed to check whether registration is complete (step S36). ), If registration is not completed, step S35
Return to and wait until registration is complete. Then, if the registration is not in progress, or if the registration is completed, step S37.
Then, the schedule contents are executed based on the contents of the D register. Then, the contents of the D register (schedule contents) are cleared (step S38). Therefore, the schedule contents are not executed in all slave ECRs,
When the schedule contents are returned to the original master side, if the schedule contents are being registered, the schedule contents will be executed after the registration is completed. In this case, the schedule execution right is not transferred to the slave side.
このように本実施例では基本的にはマスター側でスケジ
ュール内容を実行するが、それが実行できない特定の場
合には、スレーブ側へスケジュール実行権を譲渡する。
ここで、譲渡されたスレーブ側ECRにあってもそれを実
行することができない特定の場合にはこのスレーブ側EC
Rから他のスレーブ側ECRへスケジュール実行権が譲渡さ
れる。このようにしてスレーブ側ECRに順次スケジュー
ル実行権を譲渡してゆき、実行可能状態にあるスレーブ
側ECRが検索されたときには、そのECRでそのスケジュー
ルを実行させる。したがって、客を待たせることなしに
スケジュール内容を実行することができると共にその設
定時刻になったらできる限りその時刻に実行されること
になる。As described above, in the present embodiment, basically, the schedule contents are executed on the master side, but in a specific case where the schedule contents cannot be executed, the schedule execution right is transferred to the slave side.
Here, in the specific case where it is not possible to do it even in the transferred slave ECR, this slave EC
Schedule execution right is transferred from R to other slave ECRs. In this way, the schedule execution right is sequentially transferred to the slave side ECR, and when the slave side ECR in the executable state is searched, the schedule is executed by the ECR. Therefore, the schedule content can be executed without causing the customer to wait, and at the set time, it will be executed at that time as much as possible.
なお、上記実施例にあっては、スケジュール内容が全て
のスレーブ側ECRに転送されたのち元のマスター側ECRに
戻って来た場合には、それ以上スケジュール内容をスレ
ーブ側に転送しないようにしたが、スケジュールが実行
されるまでサイクリックにスケジュール内容を転送し続
けるようにしてもよい。また、マスター側でスレーブ側
を順次指定してスケジュールの実行可否を問合せてゆく
ようにしてもよい。In the above embodiment, when the schedule contents are transferred to all the slave side ECRs and then returned to the original master side ECR, the schedule contents are not further transferred to the slave side. However, the contents of the schedule may be cyclically transferred until the schedule is executed. Alternatively, the master side may sequentially specify the slave side to inquire whether or not the schedule can be executed.
また、スケジュールが実行された時刻をスケジュール予
定時刻に対応して記憶するようにしてもよい。Further, the time when the schedule is executed may be stored in correspondence with the scheduled time.
更に、スレーブ側でスケジュール内容が実行された場合
には、スレーブ側でスケジュール内容(収集データ等)
を印字しないで、マスター側へ伝送してマスター側で印
字するようにしてもよい。Furthermore, when the slave side executes the schedule contents, the slave side schedule contents (collected data, etc.)
Instead of being printed, it may be transmitted to the master side and printed by the master side.
しかも、上記実施例では設定時刻にスケジュール内容を
自動的に実行するようにしたが、マスター側でのキー入
力等によってスケジュール内容の実行を指示するように
してもよい。Moreover, although the schedule contents are automatically executed at the set time in the above embodiment, the execution of the schedule contents may be instructed by key input on the master side.
[発明の効果] この発明によれば、例えば、客が待っているような忙し
い場合のスケジュール機能等による収集を所定のデータ
処理装置に代って他のデータ処理装置で実行させること
ができるため、忙しい場合でもスケジュール機能等によ
る収集を所定のデータ処理装置でむやみに実行すること
なく、しかも確実に実行できる。[Effects of the Invention] According to the present invention, for example, when a customer is busy waiting such as a schedule function or the like, collection can be performed by another data processing device instead of the predetermined data processing device. Even if the user is busy, it is possible to surely execute the collection by the schedule function or the like without unnecessary execution by the predetermined data processing device.
図面は実施例を示し、第1図(A)はデータ伝送システ
ムのマスター側ECRのブロック回路図、第1図(B)は
スレーブ側ECRのブロック回路図、第2図はデータ伝送
システム構成図、第3図はマスター側ECRで一定時間毎
に割り込みで実行されるフローチャート、第4図はスレ
ーブ側ECRにおいて特定データを受信した際に割り込み
で実行されるフローチャート、第5図はマスター側ECR
で特定データを受信した際に割り込みで実行されるフロ
ーチャートである。 1……マスター側ECR、3……スレーブ側ECR、12……CP
U、13……RAM。The drawings show embodiments, FIG. 1 (A) is a block circuit diagram of a master side ECR of a data transmission system, FIG. 1 (B) is a block circuit diagram of a slave side ECR, and FIG. 2 is a data transmission system configuration diagram. , Fig. 3 is a flow chart executed by the master side ECR by interruption at regular intervals, Fig. 4 is a flow chart executed by interruption when the slave side ECR receives specific data, and Fig. 5 is a master side ECR.
6 is a flowchart executed by interruption when specific data is received in. 1 …… Master side ECR, 3 …… Slave side ECR, 12 …… CP
U, 13 ... RAM.
Claims (1)
を介して複数接続されたデータ処理システムであって、 上記所定のデータ処理装置は、 上記収集機能の実行を指示する指示手段と、 この指示手段により上記収集機能の実行が指示された際
に、上記収集機能による処理の実行ができる状態にある
か否かを判別する第1の判別手段と、 この判別手段により上記収集機能による処理が実行でき
ない状態であることが判別された際に、上記回線を介し
て接続された他のデータ処理装置を指定する第1の指定
手段とを具備し、 上記他のデータ処理装置は、 上記所定のデータ処理装置から上記収集機能による処理
の実行が指示された際に上記収集機能による処理が実行
できるか否かを判別する第2の判別手段と、 この第2の判別手段により上記収集機能による処理が実
行できない状態であることが判別された際に、上記回線
を介して接続された更に他のデータ処理装置を指定する
第2の指定手段とを具備し、 上記第2の指定手段で指定されたデータ処理装置が上記
収集機能による処理の実行ができない場合は、上記デー
タ処理装置を順次指定して上記収集機能による処理の実
行が可能なデータ処理装置で上記収集機能による処理の
実行をさせるようにしたことを特徴とするデータ処理シ
ステム。1. A data processing system in which a plurality of data processing devices having a collection function are connected via a line, wherein the predetermined data processing device comprises an instruction means for instructing execution of the collection function. When the instruction means instructs the execution of the collection function, the first determination means determines whether or not the processing by the collection function can be executed, and the processing by the collection function by the determination means. A first designating unit for designating another data processing device connected via the line when it is determined that the data processing device cannot be executed. A second discriminating unit that discriminates whether or not the process by the collecting function can be executed when the data processing device instructs to execute the process by the collecting function; A second designating means for designating yet another data processing device connected through the line when it is determined that the processing by the collecting function cannot be executed; When the data processing device designated by the means cannot execute the processing by the collecting function, the data processing device capable of executing the processing by the collecting function by sequentially designating the data processing devices A data processing system characterized by being executed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60225655A JPH0731698B2 (en) | 1985-10-09 | 1985-10-09 | Data processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60225655A JPH0731698B2 (en) | 1985-10-09 | 1985-10-09 | Data processing system |
Related Child Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27767392A Division JPH0724041B2 (en) | 1992-09-24 | 1992-09-24 | Data processing system |
| JP4277676A Division JPH05216785A (en) | 1992-09-24 | 1992-09-24 | Data processing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6285373A JPS6285373A (en) | 1987-04-18 |
| JPH0731698B2 true JPH0731698B2 (en) | 1995-04-10 |
Family
ID=16832694
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60225655A Expired - Lifetime JPH0731698B2 (en) | 1985-10-09 | 1985-10-09 | Data processing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0731698B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03256151A (en) * | 1990-03-07 | 1991-11-14 | Alpine Electron Inc | Method for determining operation mode of controller |
| AU2305297A (en) * | 1997-03-19 | 1998-10-12 | Trintech Limited | A point-of-sale transaction processing system |
| JP6550900B2 (en) | 2015-04-30 | 2019-07-31 | セイコーエプソン株式会社 | Network system, control method of network system, and control device |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5743228A (en) * | 1980-08-28 | 1982-03-11 | Fujitsu Ltd | Automatic data collecting system |
| JPS5916044A (en) * | 1982-07-16 | 1984-01-27 | Omron Tateisi Electronics Co | Data collecting device |
| JPS6027063A (en) * | 1983-07-25 | 1985-02-12 | Nippon Telegr & Teleph Corp <Ntt> | Multiplex processor system |
| JPS6063673A (en) * | 1983-09-19 | 1985-04-12 | Fujitsu Ltd | Automatic inspection system |
| JPS6077258A (en) * | 1983-10-05 | 1985-05-01 | Fujitsu Ltd | Load dispersing processing method in computer network system |
-
1985
- 1985-10-09 JP JP60225655A patent/JPH0731698B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6285373A (en) | 1987-04-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4633396A (en) | Automatic complex registration in a electronic cash register | |
| JPH0731698B2 (en) | Data processing system | |
| US4638435A (en) | Electronic cash register having direct price look-up function | |
| JPH0724041B2 (en) | Data processing system | |
| JPH05216785A (en) | Data processing device | |
| JPH0731307Y2 (en) | Data processing device | |
| JPS5914785B2 (en) | electronic cash register | |
| JP3272176B2 (en) | Product sales registration data processing device | |
| JP2893715B2 (en) | Order data processing system | |
| JP2968390B2 (en) | Master device in data aggregation system | |
| JP3014327B2 (en) | Register device | |
| JPS62139098A (en) | Sales data transmission method | |
| KR940001956B1 (en) | How to automatically process the transaction details of the time register of the cash register | |
| JPS62120596A (en) | Data transmission system | |
| JPS5933081Y2 (en) | electronic cash register | |
| JP2942091B2 (en) | Product sales registration data processing device | |
| JP4975401B2 (en) | Product sales management system | |
| JP2501121B2 (en) | Task management method | |
| JPH0243227B2 (en) | ||
| JP2589207B2 (en) | POS system | |
| JPH08273058A (en) | Merchandise sales register data processor | |
| JP2508952B2 (en) | Sales data processing method | |
| JPS601678B2 (en) | Processing method when power is cut off | |
| JPH0419600B2 (en) | ||
| JPH0737181Y2 (en) | Data collection device |