Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0724041B2 - Data processing system - Google Patents
[go: Go Back, main page]

JPH0724041B2 - Data processing system - Google Patents

Data processing system

Info

Publication number
JPH0724041B2
JPH0724041B2 JP27767392A JP27767392A JPH0724041B2 JP H0724041 B2 JPH0724041 B2 JP H0724041B2 JP 27767392 A JP27767392 A JP 27767392A JP 27767392 A JP27767392 A JP 27767392A JP H0724041 B2 JPH0724041 B2 JP H0724041B2
Authority
JP
Japan
Prior art keywords
data processing
schedule
time
data
executed
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
JP27767392A
Other languages
Japanese (ja)
Other versions
JPH05216784A (en
Inventor
輝雄 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP27767392A priority Critical patent/JPH0724041B2/en
Publication of JPH05216784A publication Critical patent/JPH05216784A/en
Publication of JPH0724041B2 publication Critical patent/JPH0724041B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Cash Registers Or Receiving Machines (AREA)
  • Computer And Data Communications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、複数のデータ処理装
置を回線を介して接続したデータ処理システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing system in which a plurality of data processing devices are connected via a line.

【0002】[0002]

【従来の技術】近年、大型店舗等においては各売場等に
設置されたデータ処理装置、例えば、スレーブ側ECR
(電子式キャッシュレジスタ)をインラインで、所定の
データ処理装置、例えば、マスター側のECRに接続さ
せ、各スレーブ側から伝送されてきた売上データをマス
ター側で収集するようにしたデータ処理システムが採用
されている。そして、このようなデータ処理システムに
あっては、マスター側で、所定時刻に至った際に各スレ
ーブ側のデータを収集するスケジュール機能を備えたも
のがある。即ち、例えば、コマンドファイルナンバ
「1」にインラインからマスター側へ全スレーブ側の精
算データや点検データを実行時刻「15時00分」に収
集すると設定しておけば、その設定された時刻になると
その収集が実行される。
2. Description of the Related 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
Adopted a data processing system in which (electronic cash register) is connected inline to a predetermined data processing device, for example, ECR on the master side, and sales data transmitted from each slave side is collected on the master side. Has been done. 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 is reached. The collection is performed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、このよ
うにスケジュール機能を備えたデータ転送システムにあ
っては、マスター側ECRが登録モード中であっても設
定された所定時刻になったら収集処理が確実に実行され
て、その間は登録が禁止される為、客が多数登録待ちし
ているような場合にあっては、客の待ち時間が更に長く
なるという難点があった。また、客の登録を優先して行
うようにした場合には、収集処理が、設定された所定時
刻に実行されなくなってしまう。この発明の課題は、現
在時刻が所定時刻に至った際に収集処理をすることの報
知をし、この報知が行われた際に自己のデータ処理装置
で収集処理を実行するか、あるいは他のデータ処理装置
で収集処理を実行するかを指示して、スケジュール機能
による収集処理の実行を客の待ち状態等に応じて適切に
行えるようにすることである。
However, in the data transfer system having the schedule function as described above, the collection processing is surely performed at the set predetermined time even when the master ECR is in the registration mode. Since registration is prohibited during this period, there is a problem that the waiting time for customers is further increased when a large number of customers are waiting for registration. Further, if the customer registration is prioritized, the collection process will not be executed at the set predetermined time. An object of the present invention is to notify that the collection processing will be performed when the current time reaches a predetermined time, and to execute the collection processing in its own data processing device when the notification is performed, or This is to instruct whether the data processing device should execute the collection process so that the collection process can be appropriately executed by the schedule function according to the waiting state of the customer.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。データ処理装置が、回線を介して複数接続さ
れたデータ処理システムであって、上記複数のデータ処
理装置の中の所定のデータ処理装置については、上記各
データ処理装置のデータを上記回線を介して収集する収
集機能が割付けられており、この収集機能が予め決めら
れた所定時刻で自動的に実行されることが設定されてい
る。そして、上記所定のデータ処理装置には以下の手段
を備える。現在時刻記憶手段は、現在時刻を記憶する。
所定時刻記憶手段は、上記収集機能を自動的に実行する
上記所定時刻を記憶する。判別手段は、上記現在時刻が
上記所定時刻に到達したか否かを判別する。報知手段
と、上記判別手段により上記現在時刻が上記所定時刻に
到達したことが判別された際に、上記収集機能の処理の
実行を促す報知を行う。選択指示手段は、上記報知手段
により報知が行われた際に、上記収集機能の処理の実行
を、自ら実行するのか、あるいは他のデータ処理装置の
何れかで実行するのか、を任意に選択指示する。収集処
理実行手段は、上記選択指示手段で自ら実行することが
選択指示された際は、上記収集機能の処理を実行する。
指定手段は、上記選択指示手段で他のデータ処理装置の
何れかで実行することが選択指示された際は、上記回線
を介して接続された他のデータ処理装置のうち何れか1
つのデータ処理装置を指定する。実行指示手段は、上記
指定手段により指定された上記データ処理装置に対し
て、上記収集機能による処理の実行を指示する。
The means of the present invention are as follows. A data processing system in which a plurality of data processing devices are connected via a line, and for a predetermined data processing device among the plurality of data processing devices, the data of each data processing device is transferred via the line. A collecting function for collecting is assigned, and it is set that this collecting function is automatically executed at a predetermined time. The predetermined data processing device includes the following means. The current time storage means stores the current time.
The predetermined time storage means stores the predetermined time at which the collection function is automatically executed. The determining means determines whether or not the current time has reached the predetermined time. When it is determined by the notifying unit and the determining unit that the current time has reached the predetermined time, a notification that prompts execution of the process of the collecting function is performed. The selection instructing means, when notified by the informing means, arbitrarily selects whether to execute the processing of the collection function by itself or in another data processing device. To do. The collection processing execution means executes the processing of the collection function when the selection instructing means gives a selection instruction to execute itself.
Any one of the other data processing devices connected through the line when the selection instructing device selects and instructs the execution means to execute in any of the other data processing devices.
Specify one data processor. The execution instructing unit instructs the data processing device designated by the designating unit to execute the process by the collecting function.

【課題を解決するための手段の作用】この発明の手段の
作用は次の通りである。データ処理装置が、回線を介し
て複数接続されたデータ処理システムであって、上記複
数のデータ処理装置の中の所定のデータ処理装置につい
ては、上記各データ処理装置のデータを上記回線を介し
て収集する収集機能が割付けられ、この収集機能が予め
決められた所定時刻で自動的に実行されることが設定さ
れている。そして、判別手段により現在時刻が所定時刻
に到達したことが判別された際に、収集機能の処理の実
行を促す報知が行なわれ、この報知手段により報知が行
われた際に、上記収集機能の処理の実行を、自ら実行す
るのか、あるいは他のデータ処理装置の何れかで実行す
るのかを選択指示手段によって任意に選択指示する。こ
れにより、収集処理実行手段は、上記選択指示手段で自
ら実行することが選択指示された際は、上記収集機能の
処理を実行する。また、上記選択指示手段で他のデータ
処理装置の何れかで実行することが選択指示された際
は、上記回線を介して接続された他のデータ処理装置の
うち何れか1つのデータ処理装置を指定手段で指定し、
この指定手段により指定された上記データ処理装置に対
して、実行指示手段は上記収集機能による処理の実行を
指示する。したがって、現在時刻が所定時刻に至った際
に収集処理をすることの報知をし、この報知が行われた
際に自己のデータ処理装置で収集処理を実行するか、あ
るいは他のデータ処理装置で収集処理を実行するかを指
示することで、収集処理の実行を客の待ち状態等に応じ
て適切に行える。
The operation of the means of the present invention is as follows. A data processing system in which a plurality of data processing devices are connected via a line, and for a predetermined data processing device among the plurality of data processing devices, the data of each data processing device is transferred via the line. A collecting function for collecting is assigned, and the collecting function is set to be automatically executed at a predetermined time. Then, when it is determined by the determination means that the current time has reached the predetermined time, a notification that prompts the execution of the processing of the collection function is performed, and when the notification means performs the notification, The selection instructing means arbitrarily selects and instructs the execution of the processing by itself or by any of the other data processing devices. As a result, the collection processing execution means executes the processing of the collection function when the selection instructing means issues a selection instruction to execute itself. Further, when the selection instructing means issues a selection instruction to be executed by any of the other data processing devices, one of the other data processing devices connected via the line is selected. Specify by specifying means,
The execution instructing means instructs the data processing apparatus designated by the designating means to execute the processing by the collecting function. Therefore, when the current time reaches a predetermined time, a notification that the collection processing is to be performed is performed, and when this notification is performed, the own data processing apparatus executes the collection processing, or another data processing apparatus By instructing whether to execute the collection process, the collection process can be appropriately executed according to the waiting state of the customer.

【0005】[0005]

【実施例】以下、一実施例を具体的に説明する。実施例の構成 図2はデータ伝送システムの概略構成図である。図中1
は通常マスターとして働くマスター側ECRで、このマ
スター側ECR1にはインライン2を介して通常スレー
ブとして働く複数台のスレーブ側ECR3……が接続さ
れ、各ECR1、3……間においてデータの送受信が実
行可能となっている。しかして本実施例において、マス
ター側ECR1およびスレーブ側ECR3……はマスタ
ーあるいはスレーブとして夫々機能可能に構成されたも
のである。
EXAMPLE An example will be specifically described below. Configuration of Embodiment FIG. 2 is a schematic configuration diagram of a data transmission system. 1 in the figure
Is a master side ECR that works as a normal master. To this master side ECR1, a plurality of slave side ECR3 ... Working as normal slaves are connected via an inline 2, and data transmission / reception is performed between each ECR1, 3 ... It is possible. In this embodiment, however, the master side ECR1 and the slave side ECR3 ... Are configured so that they can function as a master and a slave, respectively.

【0006】マスター側ECR1は図1(A)に示す如
く構成されている。このECR1の入力部11におい
て、そのキーボード上には金額等を入力する数字キーK
A、各種のファンクションキーKBの他、客が多く登録
が混んでいる際に操作されるBUSYキーKC、スケジ
ュール設定日付/時刻を設定する際に使用される日付/
時刻入力キーKD、現金/預かり金キーKE、PLU
(プライス・ルック・アップ)別キーKF、クリアキー
KG、貸売キーKHが設けられている。また、入力部1
1のキーボード上には回転式のモード切換スイッチMS
が設けられている。このモード切換スイッチMSはその
切換位置に応じて「設定」、「登録」、「電源OF
F」、「点検」、「精算」の各モードに切換るものであ
る。また、入力部11のキーボード上にはスケジュール
機能の開始を報知するスケジュール開始表示ランプLP
が設けられ、更に、スライドスイッチ式のマスター/ス
レーブ切換スイッチM/Sが設けられている。このマス
ター/スレーブ切換スイッチM/Sはその切換位置「M
(マスター)」、「S(スレーブ)」に応じてマスター
としてあるいはスレーブとして機能させるものである。
しかして、入力部11から操作キーに対応して出力され
るキー入力信号あるいはモード切換スイッチMS、マス
ター/スレーブ切換スイッチM/Sの切換位置に応じて
出力されるモード指定信号はCPU(中央演算処理回
路)12に入力される。
The master ECR1 is constructed as shown in FIG. In the input section 11 of the ECR1, a numeric key K for inputting the amount of money is input on the keyboard.
A, various function keys KB, BUSY key KC that is operated when many customers are registered, date / time used when setting the schedule setting date / time
Time input key KD, cash / deposit key KE, PLU
(Price Look Up) Separate key KF, clear key KG, and rental key KH are provided. Also, the input unit 1
Rotary mode changeover switch MS on the keyboard
Is provided. This mode changeover switch MS has "setting", "registration", and "power supply OF" depending on its switching position.
The mode is switched to each of "F", "inspection", and "payment" mode. Further, a schedule start display lamp LP for notifying the start of the schedule function is provided on the keyboard of the input unit 11.
And a slide switch type master / slave changeover switch M / S. This master / slave selector switch M / S has its switching position "M
(Master) "and" S (slave) "to function as a master or a 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 a CPU (central processing unit). It is input to the processing circuit) 12.

【0007】CPU12は予め記憶されているマイクロ
プログラムにしたがって各種の動作を制御するもので、
例えば入力処理、登録処理、データ伝送処理、データ収
集処理等を実行する。そして、CPU12には、置数、
演算等に用いられるA、B、C、D、E、レジスタの
他、演算部、制御部を有する構成となっている。しかし
て、CPU12はRAM(ランダムアクセスメモリ)1
3との間でデータの授受を行ってRAM13内の各種の
データを累計したり、ドロア14の開放動作を制御し、
また表示部(螢光表示管等)15に売上データ等をデジ
タル表示させ、印字部(サーマルプリンタ等)16を駆
動してレシート用紙並びにジャーナル用紙に売上データ
を印字させ、時計回路部17から現在時刻を読み取る。
The CPU 12 controls various operations according to a microprogram stored in advance,
For example, input processing, registration processing, data transmission processing, data collection processing, etc. are executed. Then, the CPU 12
In addition to A, B, C, D, E, and registers used for arithmetic operations and the like, the arithmetic unit and the control unit are provided. Then, the CPU 12 is a RAM (random access memory) 1
Data is exchanged with the data storage unit 3 to accumulate various data in the RAM 13, and the opening operation of the drawer 14 is controlled.
The display unit (fluorescent display tube, etc.) 15 digitally displays sales data and the like, and the printing unit (thermal printer, etc.) 16 is driven to print the sales data on receipt paper and journal paper. Read the time.

【0008】RAM13はCPU12の制御下でデータ
の読み込み、書き込み動作が制御されるもので、PLU
別合計メモリM1、取引別合計メモリM2、その他の合
計メモリM3の他、予め設定されるスケジュール内容記
憶部M4、スケジュール時刻記憶部M5、スケジュール
内容を転送すべき他のECRのマシンナンバを記憶する
マシンナンバ記憶部M6が設けられている。なお、スケ
ジュール内容記憶部M4、スケジュール時刻記憶部M5
には複数のスケジュール内容、時刻が記憶可能となって
いる。
The RAM 13 is for controlling data reading and writing operations under the control of the CPU 12, and is a PLU.
In addition to another total memory M1, transaction total memory M2, and other total memory M3, preset schedule content storage unit M4, schedule time storage unit M5, and machine number of another ECR to which the schedule content is to be transferred are stored. A machine number storage unit M6 is provided. The schedule content storage unit M4 and the schedule time storage unit M5
It is possible to store a plurality of schedule contents and time.

【0009】図1(B)はスレーブ側ECR3……の構
成を示している。なお、本実施例のスレーブ側ECR3
……はマスターとして機能可能に構成されている為マス
ター側ECR1と略同様に構成され、特にマスター側と
相違しないものについては同一符号をもって示しその説
明を省略する。なお、スレーブ側ECR3には時計回路
部が設けられておらず、またRAM13内にはスケジュ
ール内容記憶部およびスケジュール時刻記憶部は設けら
れていない。
FIG. 1B shows the structure of the slave side ECR3 .... Incidentally, the slave side ECR3 of this embodiment
.. is configured to be capable of functioning as a master, and therefore has substantially the same configuration as that of the master side ECR1. 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.

【0010】実施例の動作 図3はマスター側ECR1で一定時間毎、具体的には1
秒毎に割り込みで実行開始されるフローチャートであ
る。先ずこのフローに入ると、RAM13から予め設定
された複数のスケジュール内容に対応するスケジュール
時刻を順次読み出してCPU12内のBレジスタへ取り
込み、そして時計回路部11からAレジスタへ読み込ん
だ現在時刻と比較し、その一致が検出される(ステップ
S1)。ここで、いずれのスケジュール時刻にも一致し
なければ、この割込処理は終了するが、いずれかのスケ
ジュール時刻と一致したことが検出されると、ステップ
S2に進み、一致検出されたスケジュール時刻と対応す
るスケジュール内容がRAM13から読みだされてCP
U12のDレジスタにセットされる。そして、現在、登
録中であるかが調べられ(ステップS3)、登録中でな
ければ、スケジュール開始を明示する為のスケジュール
開示表示ランプLPを点灯させる(ステップS4)。こ
れによって、キャッシャはスケジュール時刻になったこ
とを確認することができるが、客が多く登録が混んでい
るときには、BUSYキーKCを操作する。この場合、
BUSYキーの操作でCPU2のCレジスタにはBUS
Y入力コードがセットされるので、次のステップS5で
はCレジスタの内容に応じてBUSYキーの操作有無が
調べられるが、操作されなければスケジュール時刻にな
ってから一定時間(例えば10秒)経過したかが調べら
れる(ステップS6)。いま、一定時間経過していなけ
れば、ステップS4に戻る。しかして、スケジュール時
刻になってから一定時間経過してもBUSYキーが操作
されなければ、スケジュール開始表示ランプLPを消灯
(ステップS7)させたのち、Dレジスタへ呼び出して
おいたスケジュール内容、例えば全スレーブ側の精算デ
ータあるいは点検データを収集する処理が実行される
(ステップS8)。このようなスケジュール内容の実行
が終ると、最後にA、B、C、D、E、レジスタを夫々
クリアするイニシャライズ処理(ステップS9)が行な
われる。
Operation of Embodiment FIG. 3 shows the ECR1 on the master side at regular time intervals, specifically 1
It is a flow chart which is started by interruption every second. First, when entering this flow, 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, this interrupt processing ends, but if it is detected that any of the schedule times matches, the process proceeds to step S2, and the schedule time of the match detected The corresponding schedule contents are read from the RAM 13 and CP
It is set in the D register of U12. 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,
By operating the BUSY key, BUS will be stored in the C register of CPU2.
Since the Y input code is set, whether or not the BUSY key is operated is checked according to the contents of the C register in the next step S5, but if it is not operated, a fixed time (for example, 10 seconds) has elapsed since the scheduled time. Is checked (step S6). If the predetermined time has not elapsed, the process returns to step S4. If the BUSY key is not operated even after a lapse of a certain time after the scheduled time, the schedule start display lamp LP is turned off (step S7) and then the schedule content called to the D register, for example, all A process of collecting settlement data or inspection data on the slave side is executed (step S8). When the execution of the schedule contents is completed, finally, an initialization process (step S9) for clearing A, B, C, D, E and the register is performed.

【0011】一方スケジュール時刻になったとしてもス
テップS3で登録中であることが検出されたり、ステッ
プS5でスケジュール時刻になってから、一定時間以内
にBUSYキーが操作されたことが、検出された場合に
は、(ステップS10)に進み、RAM13の転送マシ
ンナンバ記憶部M6からその内容を読み出してそのマシ
ンナンバに対応するスレーブ側ECR3を択一的に指定
してそのECRへDレジスタ内のスケジュール内容を転
送する。ここで、転送マシンナンバは予め決められてい
るもので、複数台のスレーブ側ECR3……のうちその
1台を指定する。しかして、このようなスケジュール内
容の転送が行なわれると、Dレジスタを除きA、B、
C、Eレジスタの内容が夫々クリアされる(ステップS
11)。したがって、この場合はマスター側ではスケジ
ュール内容は実行されずいずれかのスレーブ側ECRを
指定してそのスケジュール内容を伝送し、そのECRに
スケジュール権を譲ることになる。
On the other hand, even if the scheduled time comes, it is detected in step S3 that registration is in progress, or that the BUSY key has been operated within a certain time after the scheduled time comes in step S5. In this case, the process proceeds to (step S10), the contents are read from the transfer machine number storage unit M6 of the RAM 13, the slave side ECR3 corresponding to the machine number is selectively designated, and the schedule in the D register is designated to the ECR. Transfer the contents. Here, the transfer machine number is predetermined, and one of the plurality of slave side ECR3 ... Is designated. Then, when such schedule contents are transferred, A, B, and
The contents of the C and E registers are respectively cleared (step S
11). Therefore, in this case, the master side does not execute the schedule content, the slave side ECR is designated, the schedule content is transmitted, and the schedule right is transferred to the ECR.

【0012】図4はスレーブ側ECR3において、他の
ECR(スレーブ側ECRも含む)からスケジュール内
容の伝送に伴い、割り込みによって実行されるフローチ
ャートである。先ず、このフローに入ると、現在、登録
中であるかが調べられる(ステップS21)。ここで、
登録中でなければ、スケジュール開始表示ランプLPを
点灯させたのち一定時間内にBUSYキーが操作された
かが調べられる(ステップS22、S23、S24)。
その結果、一定時刻内にBUSYキーが操作されなけれ
ば、スケジュール開始表示ランブLPを消灯させる(ス
テップS25)。そして、転送されて来たスケジュール
内容が記憶されているAレジスタの内容に基づいてその
スケジュール内容を実行し(ステップS26)、その
後、スケジュール内容と、このスレーブECRのマシン
ナンバとスケジュールの実行終了コードをマスター側へ
夫々転送する(ステップS27)。そして、A、B、C
レジスタの内容が夫々クリアされる(ステップS2
8)。
FIG. 4 is a flowchart of the slave side ECR 3 executed by an interrupt when the schedule contents are transmitted from other ECRs (including the slave side ECR). First, when entering this flow, it is checked whether or not registration is currently being performed (step S21). here,
If registration is not in progress, it is checked whether the BUSY key has been operated within a fixed time after turning on the schedule start display lamp LP (steps 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 S26), and thereafter, the schedule contents, the machine number of this slave ECR and the execution completion code of the schedule. To the master side (step S27). And A, B, C
The contents of each register are cleared (step S2)
8).

【0013】一方、他のECRからスケジュール内容が
伝送されて来ても現在登録中であったり、一定時間内に
BUSYキーが操作された場合には、ステップS21、
S23でそのことが検出されてステップS29に進み、
Aレジスタの内容(転送されて来たスケジュール内容)
をBレジスタの内容(RAM13から読み出したスケジ
ュール内容転送マシンナンバ)によって指定される他の
ECRへ転送する。そしてステップS28でA、B、C
レジスタの内容が夫々クリアされる。したがって、この
場合においては、マスター側ECR1からスケジュール
実行権が譲渡されても当該ECRにおいてはスケジュー
ル内容は実行されず、他のECRを指定してスケジュー
ル内容を更に他のECRへ転送し、スケジュール実行権
を更に次のスレーブ側ECR3へ譲渡する。このように
してスレーブ側ECR3……を順次指定してそれが登録
中かBUSY入力有るかを調べ、その結果、登録中でも
なくBUSY入力が無い場合に限り、そのECRでスケ
ジュール内容が実行されるが、全てのスレーブ側ECR
3……が登録中あるいはBUSY入力有る場合には、最
後に指定されたスレーブ側ECR3ではマスタ側ECR
1を指定してスケジュール内容を転送し、これによって
スケジュール内容が元に戻される。
On the other hand, even if the schedule contents are transmitted from another ECR, if the contents are currently registered or the BUSY key is operated within a fixed time, step S21,
This is detected in S23 and the process proceeds to step S29,
Contents of A register (schedule contents transferred)
Is transferred to another ECR designated by the content of the B register (schedule content transfer machine number read from the RAM 13). Then, in step S28, A, B, C
The contents of the 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 concerned, and another ECR is designated to transfer the schedule contents to another ECR to execute the schedule execution. The right is further transferred to the next slave side ECR3. In this way, the slave side ECR3 ... Is sequentially specified to check whether it is being registered or has a BUSY input. As a result, the schedule contents are executed in the ECR only when there is no BUSY input even during registration. , All slave ECRs
3 ... is being registered or has a BUSY input, the master side ECR is the last specified slave side ECR3.
The schedule content is transferred by designating 1 to restore the schedule content.

【0014】図5は、マスター側ECR1において、ス
レーブ側からスケジュール内容が転送されて戻って来た
場合、あるいはスレーブ側でのスケジュール実行に伴っ
てスレーブ側からスケジュール内容、マシンナンバ、実
行終了コードが夫々転送されて来た場合に割り込みで実
行開始されるフローチャートである、先ず、このフロー
に入ると、スケジュール実行権が譲渡中であるかをDレ
ジスタにデータが有るか否かに応じて調べられる(ステ
ップS31)。いま、スケジュール内容がすでにマスタ
ー側で実行されていた場合にはDレジスタの内容はクリ
アされているので、エラーとなるが、スケジュール実行
権譲渡中であれば、伝送データに実行終了コードが有る
か、換言すれば、スレーブ側ECR3でスケジュール内
容が実行されたかが調べられる(ステップS32)。い
ま、スレーブ側でスケジュール内容が実行されたものと
すると、ステップS33に進み、スケジュール内容とマ
シンナンバが夫々印字、表示される。これによって、ス
ケジュール内容がどのECRで実行されたかの確認が可
能となる。そして、ステップS32で実行終了コードが
ないと判別された場合ステップS34に進み、登録中か
が調べられ、登録中であれば登録処理(ステップS3
5)が実行されて登録終了かを調べ(ステップS3
6)、登録終了でなければステップS35に戻り、登録
が終るまで待機する。しかして、登録中ではなく、ある
いは登録が終った場合には、ステップS37に進み、D
レジスタの内容に基づきスケジュール内容が実行され
る。そしてDレジスタの内容(スケジュール内容)がク
リアされる(ステップS38)。したがって、全てのス
レーブ側ECRでスケジュール内容が実行されず、元の
マスター側へスケジュール内容が戻って来た場合におい
ては、登録中であればその登録終了後にスケジュール内
容が実行されることになり、この場合にはスレーブ側へ
スケジュール実行権は譲渡されない。
FIG. 5 shows that in the ECR 1 on the master side, when the schedule contents are transferred from the slave side and returned, or the schedule contents, machine number, and execution end code are transmitted from the slave side as the schedule is executed on the slave side. It is a flowchart in which execution is started by interruption when each is transferred. 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 the slave ECR 3 has executed the schedule contents (step S32). Now, assuming that the slave side has executed the schedule contents, the process proceeds to step S33, and the schedule contents and the machine number are printed and displayed respectively. This makes it possible to confirm in which ECR the schedule content was executed. Then, if it is determined in step S32 that there is no execution end code, the process proceeds to step S34 to check whether registration is in progress, and if registration is in progress, a registration process (step S3
5) is executed to check whether registration is completed (step S3).
6) If the registration is not completed, the process returns to step S35 and waits until the registration is completed. Then, if the registration is not in progress or the registration is completed, the process proceeds to step S37 and D
The schedule contents are executed based on the contents of the register. Then, the contents (scheduled contents) of the D register are cleared (step S38). Therefore, if the schedule contents are not executed in all the ECRs on the slave side and the schedule contents are returned to the original master side, the schedule contents will be executed after the registration ends if the registration is in progress, In this case, the schedule execution right is not transferred to the slave side.

【0015】このように本実施例では基本的にはマスタ
ー側でスケジュール内容を実行するが、それが実行でき
ない特定の場合には、スレーブ側へスケジュール実行権
を譲渡する。ここで、譲渡されたスレーブ側ECRにあ
ってもそれを実行することができない特定の場合にはこ
のスレーブ側ECRから他のスレーブ側ECRへスケジ
ュール実行権が譲渡される。このようにしてスレーブ側
ECRに順次スケジュール実行権を譲渡してゆき、実行
可能状態にあるスレーブ側ECRが検索されたときに
は、そのECRでそのスケジュールを実行させる。した
がって、客を待たせることなしにスケジュール内容を実
行することができると共にその設定時刻になったらでき
る限りその時刻に実行されることになる。
As described above, basically, the master side executes the schedule contents in this embodiment, but when the schedule contents cannot be executed, the schedule execution right is transferred to the slave side. Here, in a specific case where the transferred slave-side ECR cannot execute it, the schedule execution right is transferred from this slave-side ECR to another slave-side ECR. 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.

【0016】なお、上記実施例にあっては、スケジュー
ル内容が全てのスレーブ側ECRに転送されたのち元の
マスター側ECRに戻って来た場合には、それ以上スケ
ジュール内容をスレーブ側に転送しないようにしたが、
スケジュールが実行されるまでサイクリックにスケジュ
ール内容を転送し続けるようにしてもよい。また、マス
ター側でスレーブ側を順次指定してスケジュールの実行
可否を問合せてゆくようにしてもよい。
In the above embodiment, when the schedule contents are transferred to all the slave ECRs and then returned to the original master ECR, the schedule contents are not transferred to the slaves. I did
The schedule content 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.

【0017】また、スケジュールが実行された時刻をス
ケジュール予定時刻に対応して記憶するようにしてもよ
い。
Further, the time when the schedule is executed may be stored in correspondence with the scheduled time.

【0018】更に、スレーブ側でスケジュール内容が実
行された場合には、スレーブ側でスケジュール内容(収
集データ等)を印字しないで、マスター側へ伝送してマ
スター側で印字するようにしてもよい。
Further, when the schedule content is executed on the slave side, the schedule content (collected data etc.) may not be printed on the slave side, but may be transmitted to the master side and printed on the master side.

【0019】しかも、上記実施例では設定時刻にスケジ
ュール内容を自動的に実行するようにしたが、マスター
側でのキー入力等によってスケジュール内容の実行を指
示するようにしてもよい。
Further, although the schedule contents are automatically executed at the set time in the above-mentioned embodiment, execution of the schedule contents may be instructed by key input on the master side.

【0020】[0020]

【発明の効果】この発明によれば、現在時刻が所定時刻
に至った際に収集処理をすることの報知をし、この報知
が行われた際に自己のデータ処理装置で実行するか、あ
るいは他のデータ処理装置で実行するかを指示できるた
め、自己のデータ処理装置において登録処理等が実行さ
れていた場合に登録処理等がすぐに終了する場合であれ
ば、自己のデータ処理装置で収集処理をすぐに実行さ
せ、また、登録処理等がすぐに終了しない場合であれば
他のデータ処理装置で収集処理を実行させるようにし
て、収集処理の実行を客の待ち状態等に応じて適切に行
える。
According to the present invention, when the current time reaches a predetermined time, it is notified that the collection processing is to be performed, and when this notification is performed, it is executed by its own data processing device, or Since it is possible to instruct whether to execute it on another data processing device, if the registration process etc. ends immediately when the registration process etc. is being executed in its own data processing device, collect it in its own data processing device. Appropriate execution of the collection process depending on the waiting state of the customer etc. by executing the process immediately, and if the registration process etc. does not end immediately, make the other data processing device execute the collection process. You can do it.

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

【図1】(A)はデータ伝送システムのマスター側EC
Rのブロック回路図、(B)はスレーブ側ECRのブロ
ック回路図。
FIG. 1A is an EC on the master side of a data transmission system.
Block circuit diagram of R, (B) is a block circuit diagram of slave side ECR.

【図2】データ伝送システム構成図。FIG. 2 is a block diagram of a data transmission system.

【図3】マスター側ECRで一定時間毎に割り込みで実
行されるフローチャート。
FIG. 3 is a flowchart executed by the master ECR by interruption at regular intervals.

【図4】スレーブ側ECRにおいて特定データを受信し
た際に割り込みで実行されるフローチャート。
FIG. 4 is a flowchart executed by an interrupt when specific data is received in the slave side ECR.

【図5】マスター側ECRで特定データを受信した際に
割り込みで実行されるフローチャート。
FIG. 5 is a flowchart executed by interruption when specific data is received by the master ECR.

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

1 マスター側ECR 3 スレーブ側ECR 12 CPU 13 RAM 1 Master side ECR 3 Slave side ECR 12 CPU 13 RAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】データ処理装置が、回線を介して複数接続
されたデータ処理システムであって、 上記複数のデー
タ処理装置の中の所定のデータ処理装置については、上
記各データ処理装置のデータを上記回線を介して収集す
る収集機能が割付けられており、この収集機能が予め決
められた所定時刻で自動的に実行されることが設定され
ている場合において、 上記所定のデータ処理装置は、
在時刻を記憶する現在時刻記憶手段と、 上記収集機能を
自動的に実行する上記所定時刻を記憶する所定時刻記憶
手段と、 上記現在時刻が上記所定時刻に到達したか否か
を判別する判別手段と、 この判別手段により上記現在時
刻が上記所定時刻に到達したことが判別された際に、上
記収集機能の処理の実行を促す報知を行う報知手段と、
この報知手段により報知が行われた際に、上記収集機能
の処理の実行を、自ら実行するのか、あるいは他のデー
タ処理装置の何れかで実行するのか、を任意に選択指示
する選択指示手段と、 この選択指示手段で自ら実行する
ことが選択指示された際は、上記収集機能の処理を実行
する収集処理実行手段と、 上記選択指示手段で他のデー
タ処理装置の何れかで実行することが選択指示された際
は、上記回線を介して接続された他のデータ処理装置の
うち何れか1つのデータ処理装置を指定する指定手段
と、 この指定手段により指定された上記データ処理装置
に対して、上記収集機能による処理の実行を指示する実
行指示手段と、 を具備したことを特徴とするデータ処理
システム。
1. A data processing device is connected to a plurality of devices via a line.
Integrated data processing system, wherein
For the specified data processing device in the
The data of each data processing device is collected via the above line.
A collection function is assigned to this
Set to run automatically at the specified time
In case it has, the predetermined data processing apparatus, the current
The present time storage means for storing the present time and the collecting function
Predetermined time storage that stores the predetermined time automatically executed
Means and whether or not the current time has reached the predetermined time
Discriminating means for discriminating, when the current by the determination means
When it is determined that the time has reached the above specified time,
An informing means for informing the execution of the processing of the memory collecting function,
When the notification is made by the notification means, the collecting function
Whether to execute the processing of
To select which of the data processing devices to execute
Selection instructing means to perform , and this selection instructing means executes itself
When the selection is instructed, the processing of the above collection function is executed
Collection processing execution means and other data by the selection instruction means.
When it is instructed to execute on any of the data processing devices
Of other data processing devices connected via the above line
Designating means for designating one of the data processing devices
And the data processing device specified by the specifying means
, Which instructs the execution of processing by the collection function above.
Data processing characterized by comprising line instruction means
system.
JP27767392A 1992-09-24 1992-09-24 Data processing system Expired - Lifetime JPH0724041B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27767392A JPH0724041B2 (en) 1992-09-24 1992-09-24 Data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27767392A JPH0724041B2 (en) 1992-09-24 1992-09-24 Data processing system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP60225655A Division JPH0731698B2 (en) 1985-10-09 1985-10-09 Data processing system

Publications (2)

Publication Number Publication Date
JPH05216784A JPH05216784A (en) 1993-08-27
JPH0724041B2 true JPH0724041B2 (en) 1995-03-15

Family

ID=17586711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27767392A Expired - Lifetime JPH0724041B2 (en) 1992-09-24 1992-09-24 Data processing system

Country Status (1)

Country Link
JP (1) JPH0724041B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2305297A (en) * 1997-03-19 1998-10-12 Trintech Limited A point-of-sale transaction processing system
JP6650285B2 (en) * 2016-02-03 2020-02-19 東芝テック株式会社 Checkout system and payment device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5776646A (en) * 1980-10-31 1982-05-13 Fujitsu Ltd Load sharing system
JPS6077258A (en) * 1983-10-05 1985-05-01 Fujitsu Ltd Load dispersing processing method in computer network system
JPS6077259A (en) * 1983-10-05 1985-05-01 Fujitsu Ltd Load dispersion system

Also Published As

Publication number Publication date
JPH05216784A (en) 1993-08-27

Similar Documents

Publication Publication Date Title
JPH0724041B2 (en) Data processing system
JPH0731698B2 (en) Data processing system
JPH05216785A (en) Data processing device
JP2518173B2 (en) Data processing device
JPH0731307Y2 (en) Data processing device
JPS5914785B2 (en) electronic cash register
JPH0110699Y2 (en)
JP3014327B2 (en) Register device
JP2893715B2 (en) Order data processing system
JP2968390B2 (en) Master device in data aggregation system
JP4975401B2 (en) Product sales management system
JPS62120596A (en) Data transmission system
JPH07220180A (en) Sales registering device
JP2541432B2 (en) Data processing system
JP2942091B2 (en) Product sales registration data processing device
KR100269781B1 (en) PRINTER CONTROL COMMAND CHANGING METHOD FOR ECR
JPH08115471A (en) Electronic cash register
JPS6386637A (en) POS terminal device
JP2528506B2 (en) POS system monitor-device
JPH02112095A (en) Product sales data processing device
KR100331790B1 (en) Receipt form editing method of ecr
JPH0243227B2 (en)
JP2523210Y2 (en) Electronic cash register
JPH08273058A (en) Merchandise sales register data processor
JPH0746398B2 (en) POS system