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
JPS594060B2 - Power restoration processing method for data aggregation system - Google Patents
[go: Go Back, main page]

JPS594060B2 - Power restoration processing method for data aggregation system - Google Patents

Power restoration processing method for data aggregation system

Info

Publication number
JPS594060B2
JPS594060B2 JP17083779A JP17083779A JPS594060B2 JP S594060 B2 JPS594060 B2 JP S594060B2 JP 17083779 A JP17083779 A JP 17083779A JP 17083779 A JP17083779 A JP 17083779A JP S594060 B2 JPS594060 B2 JP S594060B2
Authority
JP
Japan
Prior art keywords
data
terminal device
terminal
signal
data aggregation
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
Application number
JP17083779A
Other languages
Japanese (ja)
Other versions
JPS5694431A (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.)
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 JP17083779A priority Critical patent/JPS594060B2/en
Publication of JPS5694431A publication Critical patent/JPS5694431A/en
Publication of JPS594060B2 publication Critical patent/JPS594060B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Description

【発明の詳細な説明】 本発明は、データ集計システムにおける復電処理方式に
係り、センタ側の記憶装置に端末装置の状況を把握する
管理テーブルを備えた復電処理方式に関するものである
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a power restoration processing method in a data aggregation system, and more particularly to a power restoration processing method in which a storage device on the center side is provided with a management table for grasping the status of terminal devices.

中央処理装置、端末制御装置で構成されるセンタが、通
信回線を介して複数台の端末装置を制御するデータ集計
システムにおいて、端末装置の停電に備えその制御手続
きに関する情報を記録する不揮発生記憶部を各端末装置
に設ければ、システムを円滑に運用することができる。
In a data aggregation system in which a center consisting of a central processing unit and a terminal control device controls multiple terminal devices via a communication line, a non-volatile storage unit records information regarding control procedures in preparation for a power outage of the terminal devices. If this is provided in each terminal device, the system can be operated smoothly.

しかしこの方式は端末装置が高価となり、端末装置の設
置台数の多いシステムでは、少しでも端末装置の価格を
低めることが望ましい。従来のデータ集計システム構成
を図によつて説明する。
However, in this method, the terminal devices are expensive, and in a system where a large number of terminal devices are installed, it is desirable to reduce the price of the terminal devices as much as possible. The configuration of a conventional data aggregation system will be explained using a diagram.

第1図は従来のデータ集計システム構成を説明するブロ
ック図であり、1はセンタ、2は中央処理装置、3は記
憶装置、4は端末制御装置、5は通信回線、6は端末装
置、Tは記憶部、である。第1図において、中央処理装
置2、記憶装置3、端末制御装置4で構成されるセンタ
1に回線5を介して複数台の端末装置6が接続され、端
末装置6にはそれぞれ不揮撥性の記憶部Tが端末装置の
停電に備えて設けられている。端末装置6は個々にデー
タをセンタ1に送信し、センタ1はこのデータが適正な
ものかチェックする。例えば投票券の発売集計システム
では端末装置6からの投票データ(組番、投票数)をセ
ンタ1が正しい組番か否かをチェックする。そしてセン
タ1のチェック結果により認可信号が端末装置6に送ら
れ、これにより端末装置6は該データに基く動作、例え
ば投票データの印字、発券動作を行うものである。係る
システムにおいて、端末装置6には記憶部7を設けない
システム構成とすれば、経済的である。しかしこのよう
なシステムにおいては、端末装置に電源断を生じた時端
末装置の送信データが保持されないため、その処理が不
充分となる欠点を有する。このため、従来は、端末装置
が電源断を生じ、その後、電源が復帰したとき端末装置
は復電信号を発し、この復電信号を受信したセンタ側で
は、端末装置から既に受信済みの送信データを端末側へ
返送する方式を採用している。この返送されるデータは
、端末装置が処理済(例えば発券済み)のときは不要で
あり、端末装置のオペレータに混乱を与えることになる
。本発明の目的は、上述のシステムにおいて、端末装置
の電源復帰時に、センタ側から必要なときにのみ、デー
タを返送することを可能とする復電処理方式を提供する
にある。
FIG. 1 is a block diagram illustrating the configuration of a conventional data aggregation system, in which 1 is a center, 2 is a central processing unit, 3 is a storage device, 4 is a terminal control device, 5 is a communication line, 6 is a terminal device, and T is the storage section. In FIG. 1, a plurality of terminal devices 6 are connected via a line 5 to a center 1 consisting of a central processing unit 2, a storage device 3, and a terminal control device 4. A storage section T is provided in case of a power outage of the terminal device. The terminal devices 6 individually transmit data to the center 1, and the center 1 checks whether this data is correct. For example, in a voting ticket sales aggregation system, the center 1 checks voting data (group number, number of votes) from the terminal device 6 to see if it is the correct group number. Based on the check result of the center 1, an approval signal is sent to the terminal device 6, and the terminal device 6 thereby performs operations based on the data, such as printing voting data and issuing tickets. In such a system, it is economical to adopt a system configuration in which the storage unit 7 is not provided in the terminal device 6. However, such a system has the disadvantage that when the power of the terminal device is cut off, the data transmitted by the terminal device is not retained, resulting in insufficient processing. For this reason, conventionally, when a terminal device loses power and then returns to power, the terminal device issues a power recovery signal, and the center side that receives this power recovery signal transmits the transmitted data that has already been received from the terminal device. A method is adopted in which the data is sent back to the terminal. This returned data is unnecessary when the terminal device has completed processing (for example, has issued a ticket), and will confuse the operator of the terminal device. An object of the present invention is to provide a power recovery processing method in the above-mentioned system that allows data to be sent back from the center side only when necessary when the power of the terminal device is restored.

本発明は、中央処理装置を含むデータ集計装置に複数の
端末装置を接続し、端末装置からの送信データをデータ
集計装置が検査してデータ集計し、データ集計装置より
認可信号を送信することにより端末装置が動作を行なう
データ集計システムにおいて、前記データ集計装置に、
各端末装置についての状態を記録する管理テーブルを設
け、端末装置から復電信号を受信したとき、前記管理テ
ーブルを用いて、端末側への返送データの制御を行うも
のである。
The present invention connects a plurality of terminal devices to a data aggregation device including a central processing unit, the data aggregation device inspects and aggregates data transmitted from the terminal devices, and transmits an authorization signal from the data aggregation device. In a data aggregation system operated by a terminal device, the data aggregation device includes:
A management table is provided to record the status of each terminal device, and when a power restoration signal is received from the terminal device, the management table is used to control data sent back to the terminal side.

以下本発明を図によつて説明する。The present invention will be explained below with reference to the drawings.

第2図は本発明の実施例のシステム構成を説明するプロ
ツタ図であり、1はシステム、2は中央処理装置、3は
記憶装置、4は端末制御装置、5は通信回線、6は端末
装置、8は管理テーブル、Rは復電信号、である。第1
図と第2図とのシステム構成の相異点は、第2図におい
て、端末湊置6は記憶部7を有せず、またセンタ側の記
憶装置3が管理テーブル8を有することである。この管
理テーブル8は、各端末装置個有のナンバとこれに対応
して各1ビツトの記憶欄を有するテーブルである。第2
図において、センタ1が端末装置6(例えば1号機)か
ら処理依頼の割込みを受けたとき、中央処理装置2は記
憶装置3にアクセスし、管理テーブル8の1号機の記録
欄に「1]を記入する。この端末装置(1号機)に電源
断の事故を生じ、然るのち電源が復帰し、復電信号Rを
発したとき、この復電信号Rを受けたセンタ1では前記
管理テーブル8の1号機の記録欄が「l」のときにのみ
、先にl号機から受信済みの最新のデータを返送し、逆
に「0」のときには、データを返送しないようにしたも
のである。以下、本発明による方式を実施例によつて説
明する。
FIG. 2 is a plotter diagram explaining the system configuration of the embodiment of the present invention, in which 1 is a system, 2 is a central processing unit, 3 is a storage device, 4 is a terminal control device, 5 is a communication line, and 6 is a terminal device. , 8 is a management table, and R is a power recovery signal. 1st
The difference in the system configuration between this figure and FIG. 2 is that in FIG. This management table 8 is a table having a number unique to each terminal device and a corresponding 1-bit storage column. Second
In the figure, when the center 1 receives an interrupt requesting processing from the terminal device 6 (for example, machine No. 1), the central processing unit 2 accesses the storage device 3 and writes "1" in the record column of machine No. 1 of the management table 8. When this terminal device (unit No. 1) experiences a power outage accident, and then the power is restored and a power restoration signal R is issued, the center 1 that receives the power restoration signal R writes the management table 8. Only when the record field of No. 1 machine is "l", the latest data received from the first machine is returned, and conversely, when it is "0", no data is sent back. Hereinafter, the system according to the present invention will be explained using examples.

実施例は、ポーリング方式による投票券発売集計システ
ムであり、このシステムにおいて、端末装置はセンタ側
からENQ信号を受信したとき、投票券の種類、枚数な
どのデータをセンタ側へ送付する。センタ側はこの割込
みを受け付け、前記の管理テーブルの記録欄に[1」を
記入すると共に、端末側へ認可(0K)信号を送付する
。端末装置はこの0K信号に基づいて投票券を発売する
方式である。なおセンタ側では、割込みを受け付けたデ
ータ(投票券の種類、枚数)を記録し、その内容を割込
みを生ずる毎に更新する。本発明による方式の詳細をタ
イムチヤートによつて説明する。
The embodiment is a voting ticket sales aggregation system using a polling method. In this system, when a terminal device receives an ENQ signal from the center side, it sends data such as the type and number of voting tickets to the center side. The center side accepts this interrupt, writes [1] in the record column of the management table, and sends an authorization (0K) signal to the terminal side. The terminal device sells voting tickets based on this 0K signal. The center side records the data (type and number of voting tickets) that accepted the interruption, and updates the contents each time an interruption occurs. The details of the method according to the present invention will be explained using time charts.

第3図はセンタ側と端末側との信号の授受を説明するタ
イムチヤートであり、第3図aは発券動作中に電源断を
生じた例であり、第3図bは受注操作中に電源断を生じ
た例である。第3図において、Aは第1の処理サイクル
、Bは第2の処理サイクル、CはACK信号、Dはデー
タ信号、EはENQ信号、Kは0K信号、Rは復電信号
、aはデータである。端末装置における作業は、顧客か
ら注文を受ける受注操作と、投票券を印刷する発券操作
とである。第3図aにおいて、端末側では時刻T,に受
注操作が始まり、時刻T2にセンタ側からのENQ信号
Eを受信すると、データ信号Dと共にデータaを送出す
る。
Figure 3 is a time chart illustrating the exchange of signals between the center side and the terminal side, Figure 3a is an example of a power outage during ticket issuing operation, and Figure 3b is a time chart showing the power failure during order receiving operation. This is an example of a disconnection. In Figure 3, A is the first processing cycle, B is the second processing cycle, C is the ACK signal, D is the data signal, E is the ENQ signal, K is the 0K signal, R is the recovery signal, and a is the data. It is. Operations performed on the terminal device include an order receiving operation for receiving an order from a customer, and a ticket issuing operation for printing a voting ticket. In FIG. 3a, the terminal side starts an order acceptance operation at time T, and upon receiving the ENQ signal E from the center side at time T2, sends out data a along with data signal D.

データaの内容は、投票券の種類、枚数である。センタ
側では、前記データaを受信して、記録欄に1を記入し
たのち端末側へ0K信号Kを送信する。この0K信号K
を受信した端末側は時刻T3からプリンタを動作させ、
発券動作を行う。この動作中に電源断を生じ、作業は中
断される。その後、時刻T4において電源が回復し、E
NQ信号Eを端末側が受信したときに、復電信号Rをセ
ンタ側に送信する。センタ側では、この復電信号Rを受
信すると直ちにデータ信号Dを発し、データaを端末側
へ返送する。
The contents of data a are the type and number of voting tickets. The center side receives the data a, writes 1 in the record field, and then transmits an 0K signal K to the terminal side. This 0K signal K
The terminal side that received this starts the printer from time T3,
Performs ticket issuing operation. During this operation, the power is cut off and the work is interrupted. After that, the power is restored at time T4, and E
When the terminal side receives the NQ signal E, it transmits a recovery signal R to the center side. Upon receiving this restoration signal R, the center side immediately issues a data signal D and sends data a back to the terminal side.

端末側で受信したデータaは先に時刻T2においてセン
タ側へ送出したデータaと同じ内容である。オペレータ
は発券口から発券されていない場合このデータaの内容
を確認して既に更新されたフアイルの減算のため、この
データと減算指令を入力し、センタ1へ送信する。端末
側では時刻T3にENQ信号Eを受信したとき、ACK
信号Cを発信し、センタ側がこのACK信号Cを受信す
ると、第1の処理サイクルAが完了する。第3図bは、
第2の処理サイクルBにおいて受注操作中に電源断を生
じた例である。第3図bにおいて、第1の処理サイクル
Aは正常なサイクルであり、第2の処理サイクルBは時
刻T7から受注操作を行い、その過程で端末装置に電源
断を生じたものである。第2の処理サ,イクルBにおい
て、時刻T8に端末装置の電源が回復し、センタからの
ENQ信号を受信したときに、復電信号Rをセンタ側に
送信する。センタ側では、端末側からの復電信号Rを受
信したときその端末装置に対応する記録欄は「o」であ
るため、データaを端末側へは返送しない。
The data a received on the terminal side has the same content as the data a previously sent to the center side at time T2. If a ticket has not been issued from the ticket issuing gate, the operator checks the contents of this data a, inputs this data and a subtraction command to subtract the already updated file, and sends it to the center 1. On the terminal side, when receiving the ENQ signal E at time T3, ACK is sent.
When the signal C is transmitted and the center side receives the ACK signal C, the first processing cycle A is completed. Figure 3b is
This is an example in which a power outage occurs during an order receiving operation in the second processing cycle B. In FIG. 3b, the first processing cycle A is a normal cycle, and the second processing cycle B is one in which an order acceptance operation is performed from time T7, and in the process, the power to the terminal device is cut off. In the second processing cycle B, when the terminal device's power is restored at time T8 and receives the ENQ signal from the center, it transmits the power recovery signal R to the center side. On the center side, when receiving the restoration signal R from the terminal side, the record field corresponding to that terminal device is "o", so data a is not returned to the terminal side.

従つて端末側では不要なデータの返送に悩まされず、オ
ペレータはの作業に混乱を生ずることがない。上述の実
施例の変形として、センタ1では復電信号受信時、セン
タ1のフアイルが更新したか否かを検出し、更新してい
る場合、前述のデータaに加え減算入力指令を端末側へ
返送することも出来る。更に管理テーブルを端末FbI
脚装置内に設けてもよく、又障害対策として端末制御装
置が2重化されている場合は、双方の端末制御装置より
アクセスしうる外部メモリを管理テーブルとして用いて
もよい。このように本発明は、センタ1の記憶装置3に
、端末装置6の状況を把握する管理テーブル8を設ける
ことにより、電源回復時における端末装置のオペレータ
の操作誤りを防止し、その負担を軽減できるものである
Therefore, the terminal side does not have to worry about sending back unnecessary data, and the operator does not have to worry about confusion in his work. As a modification of the above embodiment, when the center 1 receives the power restoration signal, it detects whether or not the file of the center 1 has been updated, and if it has been updated, it sends a subtraction input command to the terminal side in addition to the data a mentioned above. You can also send it back. Furthermore, the management table can be changed to the terminal FbI.
It may be provided in the leg device, or if the terminal control devices are duplicated as a countermeasure against failures, an external memory that can be accessed by both terminal control devices may be used as the management table. In this way, the present invention prevents operational errors on the terminal device operator when power is restored and reduces the burden by providing the management table 8 in the storage device 3 of the center 1 to grasp the status of the terminal device 6. It is possible.

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

第1図は従来の方式を説明するプロツク図、第2図は本
発明による実施例を説明するプロツク図、第3図は本発
明の方式を説明するタイムチヤート、であり、図中に使
用した符号は次の通りである。 1・・・・・・センタ、2・・・・・・中央処理装置、
3・・・・・・記憶装置、4・・・・・・端末制御装置
、5・゛゜・゛通信回線・6・・・・・・端末装置、7
・・・・・・記憶部、A・・一・・・第1の処理サイク
ル、B・・・・・・第2の処理サイクル、C・・・・・
・ACK信号、D・・・・・・データ信号、E・・・・
・・ENQ信号、K・・・・・・0K信号、R・・・・
・・復電信号、a・・・・・・データ、t1〜T,・・
・・・・時刻。
Figure 1 is a block diagram for explaining the conventional system, Figure 2 is a block diagram for explaining the embodiment of the present invention, and Figure 3 is a time chart for explaining the system of the present invention. The codes are as follows. 1... Center, 2... Central processing unit,
3...Storage device, 4...Terminal control device, 5.゛゜・゛Communication line, 6...Terminal device, 7
...Storage section, A...1...first processing cycle, B...second processing cycle, C...
・ACK signal, D... Data signal, E...
...ENQ signal, K...0K signal, R...
...Return signal, a...Data, t1~T,...
····time.

Claims (1)

【特許請求の範囲】[Claims] 1 中央処理装置を含むデータ集計装置に複数の端末装
置を接続し、該端末装置からの処理要求として送信デー
タを該データ集計装置が検査し、該検査結果により該端
末装置に認可信号を送信して該端末装置を該送信データ
に基く動作を行なわしめ、且つ該データ集計装置は該送
信データを集計するデータ集計システムにおいて、該デ
ータ集計装置は、該端末装置対応に該端末装置の状態を
記憶する管理テーブルを含み、該端末装置からの処理要
求により該管理テーブルの対応領域をセットし、該端末
装置から復電信号に応じ、該管理テーブルの記憶状態に
対応して該端末装置からの受信済送信データを該端末装
置に返送することを特徴とするデータ集計システムの復
電処理方式。
1 A plurality of terminal devices are connected to a data aggregation device including a central processing unit, the data aggregation device inspects transmitted data as a processing request from the terminal device, and transmits an authorization signal to the terminal device based on the inspection result. In the data aggregation system, the data aggregation device causes the terminal device to perform an operation based on the transmitted data, and the data aggregation device aggregates the transmitted data, wherein the data aggregation device stores a state of the terminal device corresponding to the terminal device. a management table that sets the corresponding area of the management table in accordance with a processing request from the terminal device, and receives data from the terminal device in response to a power recovery signal from the terminal device and in accordance with the storage state of the management table. A power recovery processing method for a data aggregation system, characterized in that transmitted data is returned to the terminal device.
JP17083779A 1979-12-27 1979-12-27 Power restoration processing method for data aggregation system Expired JPS594060B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17083779A JPS594060B2 (en) 1979-12-27 1979-12-27 Power restoration processing method for data aggregation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17083779A JPS594060B2 (en) 1979-12-27 1979-12-27 Power restoration processing method for data aggregation system

Publications (2)

Publication Number Publication Date
JPS5694431A JPS5694431A (en) 1981-07-30
JPS594060B2 true JPS594060B2 (en) 1984-01-27

Family

ID=15912241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17083779A Expired JPS594060B2 (en) 1979-12-27 1979-12-27 Power restoration processing method for data aggregation system

Country Status (1)

Country Link
JP (1) JPS594060B2 (en)

Also Published As

Publication number Publication date
JPS5694431A (en) 1981-07-30

Similar Documents

Publication Publication Date Title
JPS594060B2 (en) Power restoration processing method for data aggregation system
GB2140940A (en) Data communication control system
JPS5833593B2 (en) cash register machine
JPH0582624B2 (en)
JP2605491B2 (en) Equipment management controller
JPS6226518B2 (en)
JP2707812B2 (en) Facsimile transmission data management method
JPH048810B2 (en)
JP2663713B2 (en) Bus connection device
JP2778343B2 (en) Monitoring and control equipment
JPH0418357B2 (en)
JP2725385B2 (en) Data transfer method of information processing system
JP3226491B2 (en) Duplexed totalizer system
JPS62114002A (en) How to input performance information in the production management system
JPS63104162A (en) Input/output controller
JPS6124742B2 (en)
JPH01180658A (en) Centralized control system
JPS6227428B2 (en)
JPS63239595A (en) Display managing system for alarm or the like
JPS63245791A (en) Ballot collection system
JPH0366697B2 (en)
JPH0582625B2 (en)
JPS6053344B2 (en) Terminal recovery method
JPH0346856B2 (en)
JPS61264445A (en) Duplex data fetching system