JPH0330339B2 - - Google Patents

Info

Publication number
JPH0330339B2
JPH0330339B2 JP59261502A JP26150284A JPH0330339B2 JP H0330339 B2 JPH0330339 B2 JP H0330339B2 JP 59261502 A JP59261502 A JP 59261502A JP 26150284 A JP26150284 A JP 26150284A JP H0330339 B2 JPH0330339 B2 JP H0330339B2
Authority
JP
Japan
Prior art keywords
data
file control
file
control unit
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP59261502A
Other languages
Japanese (ja)
Other versions
JPS61139142A (en
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 filed Critical
Priority to JP59261502A priority Critical patent/JPS61139142A/en
Publication of JPS61139142A publication Critical patent/JPS61139142A/en
Publication of JPH0330339B2 publication Critical patent/JPH0330339B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は端末機から送信されるデータをデータ
回線を介して接続されたフアイル制御部の記憶部
に設けられたデータフアイルに集計登録するデー
タ収集システムに係わり、特に、フアイル制御部
に異常が生じたときに各端末機から送信されるデ
ータを保護する第2のフアイル制御部を設けたデ
ータ収集システムに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides data that is aggregated and registered in a data file provided in a storage unit of a file control unit connected via a data line. The present invention relates to a data collection system, and particularly relates to a data collection system including a second file control unit that protects data transmitted from each terminal when an abnormality occurs in the file control unit.

[従来の技術] 例えばデパートや大規模スーパマーケツト等に
おいては、各売場に設置された多数の端末機のと
しての電子キヤツシユレジスタをデータ回線でフ
アイル制御部に接続し、各売場で発生した販売商
品の単価、品名等の商品情報を上記フアイル制御
部に問合すと共に、販売商品の商品コード、売上
金額、売上点数等の販売データを上記フアイル制
御部の記憶部に設けられたデータフアイルに集計
登録するPOS(販売時点情報管理)システムが採
用されている。
[Prior Art] For example, in department stores, large-scale supermarkets, etc., electronic cash registers, which serve as numerous terminals installed at each sales floor, are connected to a file control unit via a data line, and sales generated at each sales floor are processed. It inquires product information such as unit price and product name of the product to the file control unit, and also stores sales data such as the product code, sales amount, and number of sales items of the sold product in the data file provided in the storage unit of the file control unit. A POS (point-of-sale) system that performs aggregation and registration is used.

このようなデータ収集システムにおいては、フ
アイル制御部に何等かの異常事態が生じると、各
端末機からの問合せおよび販売データの送信がで
きなくなり、業務に重大な支障を来たす。したが
つて、一般にこのようなデータ収集システムにお
いては、各端末機との間でデータの授受を行なう
主フアイル制御部とは別に、同一機能を有した補
助フアイル制御部を前記データ回線に接続してい
る。そして、通常補助フアイル制御部はこのデー
タ回線を介して一定周期毎に主フアイル制御部に
対して、主フアイル制御部のデータフイルの記憶
内容の送信要求信号を送出し、主フアイル制御部
のデータフアイルの記憶内容を自己のデータフア
イルに複写する。そして、主フアイル制御部に何
等かの異常事態が発生すると、一旦主フアイル制
御部および補助フアイル制御部の電源を遮断し
て、主フアイル制御部と補助フアイル制御部間の
動作切換スイツチを前記補助フアイル制御が主フ
アイル制御部になるように切換える。その後、補
助フアイル制御部の電源を投入すると、この補助
フアイル制御部が主フアイル制御部として動作す
る。したがつて、各端末機からのデータは新たな
主フアイル制御部のデータフアイルに集計登録さ
れる。
In such a data collection system, if any abnormality occurs in the file control section, inquiries and sales data cannot be transmitted from each terminal, causing a serious hindrance to business operations. Therefore, in such a data collection system, in addition to the main file control section that exchanges data with each terminal, an auxiliary file control section having the same function is connected to the data line. ing. The auxiliary file control section normally sends a request signal to the main file control section via this data line to send the stored contents of the data file of the main file control section to the main file control section at regular intervals. Copies the stored contents of the file to its own data file. If any abnormality occurs in the main file control section, the power to the main file control section and the auxiliary file control section is temporarily cut off, and the operation changeover switch between the main file control section and the auxiliary file control section is switched to the auxiliary file control section. Switch the file control to the main file control section. Thereafter, when the power of the auxiliary file control section is turned on, the auxiliary file control section operates as the main file control section. Therefore, the data from each terminal is aggregated and registered in the data file of the new main file control section.

[発明が解決しようとする問題点] しかしながら、上記のように構成されたデータ
収集システムにおいてもまだ解決しなければなら
ない次のような問題があつた。すなわち、補助フ
アイル制御部は主フアイル制御部と各端末機とを
接続するデータ回線に接続されているので、補助
フアイル制御部から主フアイル制御部に対してデ
ータフアイルの記憶内容の送信要求信号送信中、
およびそれに対する主フアイル制御部からのデー
タフアイルの記憶内容の送信中は、各端末機から
主フアイル制御部に対してデータを送信したり、
主フアイル制御部から各端末機に対して応答信号
を送信できない。そのため、各端末機と主フアイ
ル制御部間のデータ伝送に要する時間が増大し、
結果的に各端末機におけるデータ処理能率が低下
する問題がある。
[Problems to be Solved by the Invention] However, even in the data collection system configured as described above, the following problems still need to be solved. That is, since the auxiliary file control unit is connected to the data line that connects the main file control unit and each terminal, the auxiliary file control unit sends a request signal to the main file control unit to send the stored contents of the data file. During,
And while the main file control unit is transmitting the stored contents of the data file, each terminal may be transmitting data to the main file control unit,
A response signal cannot be sent from the main file control unit to each terminal. As a result, the time required for data transmission between each terminal and the main file control section increases.
As a result, there is a problem that the data processing efficiency of each terminal device decreases.

また、補助フアイル制御部のデータフアイルは
前述したように一定周期毎に主フアイル制御部の
データフアイルの内容に書替えられるので、補助
フアイル制御部のデータフアイルの内容は主フア
イル制御部のデータフアイルの内容に比較して常
に一定周期遅れていることになる。したがつて、
主フアイル制御部に異常事態が生じ、補助フアイ
ル制御部が主フアイル制御部に切換つたときにデ
ータフアイルの記憶内容に誤差が生じる問題があ
る。
Furthermore, as mentioned above, the data file of the auxiliary file control section is rewritten with the contents of the data file of the main file control section at regular intervals, so the contents of the data file of the auxiliary file control section are the same as those of the main file control section. It is always delayed by a certain period compared to the content. Therefore,
There is a problem in that when an abnormal situation occurs in the main file control section and the auxiliary file control section is switched to the main file control section, an error occurs in the stored contents of the data file.

本発明はこのような事情に基づいてなされたも
のであり、その目的とするところは、各フアイル
制御部間を専用の回線で接続するとともに異常発
生時に回線を切換接続する切換スイツチ回路を設
けることによつて、各端末機とフアイル制御部間
のデータ伝送時間を短縮でき、各端末機における
データ処理能率を向上できるとともに、たとえ異
常が発生したとしても各端末機からのデータを正
確にデータフアイルに集計登録できるデータ収集
システムを堤供することにある。
The present invention has been made based on the above circumstances, and its purpose is to connect each file control unit with a dedicated line and to provide a changeover switch circuit that switches and connects the line when an abnormality occurs. This reduces data transmission time between each terminal and the file control unit, improves data processing efficiency at each terminal, and ensures that data from each terminal is accurately transferred to the data file even if an error occurs. The goal is to provide a data collection system that can be aggregated and registered.

[問題点を解決するための手段] 本発明のデータ収集システムは、データが入力
される複数の端末機に主回線を介して接続され、
各端末機から送信されたデータを受信して記憶部
に設けられた第1のデータフアイルに集計登録す
る第1のフアイル制御部に対して補助回線を介し
て第2のデータフアイルを有した第2のフアイル
制御部を接続し、この第2のフアイル制御部にて
第1のフアイル制御部に入力された各端末機から
のデータを受信して第2のデータフアイルに集計
登録すると共に、各端末機と前記第1および第2
のフアイル制御部との間に、第1のフアイル制御
部における異常発生時に主回線を第1のフアイル
制御部から第2のフアイル制御部へ切換接続する
切換スイツチ回路を介挿したものである。
[Means for Solving the Problems] The data collection system of the present invention is connected via a main line to a plurality of terminals into which data is input,
A first file control unit that receives data transmitted from each terminal and aggregates and registers it in a first data file provided in a storage unit is connected to a first file control unit that has a second data file via an auxiliary line. The second file control unit receives the data from each terminal inputted to the first file control unit and totalizes and registers it in the second data file. a terminal and the first and second
A changeover switch circuit is inserted between the first file control section and the second file control section to switch and connect the main line from the first file control section to the second file control section when an abnormality occurs in the first file control section.

また別の発明においては、前記複数の端末機を
第1の端末機群と第2の端末機群とに分割し、第
1および第2の端末機群にそれぞれ第1の主回線
および第2の主回線を介して第1のデータフアイ
ルおよび第2のデータフアイルを有した第1およ
び第2のフアイル制御部を接続し、第1および第
2の端末機群から送信したデータをそれぞれ第1
および第2のフアイル制御部にてそれぞれ第1お
よび第2のデータフアイルに集計すると共に、第
1のフアイル制御部に入力された第1の端末機群
からのデータを補助回線を介して第2のフアイル
制御部の第2のデータフアイルへ集計登録すると
ともに第2のフアイル制御部に入力された第2の
端末機群からのデータを補助回線を介して第1の
フアイル制御部の第1のデータフアイルへ集計登
録する。そして、第1および第2の端末機群と第
1および第2のフアイル制御部間に、第1および
第2のフアイル制御部のいずれか一方のフアイル
制御部における異常発生時にこの異常発生したフ
アイル制御部の端末機群の主回線を他方のフアイ
ル制御部に切換接続する切換スイツチ回路を介挿
したものである。
In another invention, the plurality of terminals are divided into a first terminal group and a second terminal group, and the first and second terminal groups are connected to the first main line and the second terminal group, respectively. The first and second file control units having a first data file and a second data file are connected via the main line of the
The second file control unit aggregates the data into the first and second data files, respectively, and the data from the first terminal group input to the first file control unit is sent to the second data file via the auxiliary line. The data from the second terminal group input to the second file control unit is aggregated and registered in the second data file of the file control unit of Register the total to the data file. When an abnormality occurs in either one of the first and second file control units, the file in which the abnormality has occurred is stored between the first and second terminal groups and the first and second file control units. A changeover switch circuit is inserted to switch and connect the main line of the terminal group of the control section to the other file control section.

[作用] このように構成されたデータ収集システムであ
れば、正常時においては各端末機から送信された
データはデータが送信される毎に、主回線を介し
て第1のフアイル制御部の第1のデータフアイル
に集計登録されるとともに第1のフアイル制御部
から補助回線を介して第2のフアイル制御部の第
2のデータフアイルに集計登録される。そして、
第1のフアイル制御部に異常が発生した時に切換
スイツチ回路にて各端末機に接続された主回線を
第1のフアイル制御部から第2のフアイル制御部
に切換接続できる。
[Function] With the data collection system configured as described above, during normal operation, data sent from each terminal is sent to the first file controller via the main line every time the data is sent. The data are totaled and registered in one data file, and are also totaled and registered in the second data file of the second file control unit from the first file control unit via the auxiliary line. and,
When an abnormality occurs in the first file control section, the main lines connected to each terminal can be switched and connected from the first file control section to the second file control section using a changeover switch circuit.

また、別の発明においては、正常時には第1お
よび第2の端末機群の各端末機から送信されたデ
ータはデータ送信毎に、それぞれ各主回線を介し
て第1および第2フアイル制御部の各データフア
イルに集計登録されるとともに、補助回線を介し
て第2および第1のフアイル制御部の各データフ
アイルに集計登録される。そして、第1および第
2のいずれか一方のフアイル制御部における異常
が発生した時に切換スイツチ回路にてこの異常発
生したフアイル制御部の端末機群の主回線を他方
のフアイル制御部に切換接続できる。
Further, in another invention, during normal operation, data transmitted from each terminal of the first and second terminal groups is sent to the first and second file control units via each main line, respectively, for each data transmission. The data are registered in total in each data file, and are also registered in total in each data file of the second and first file control units via the auxiliary line. When an abnormality occurs in either the first or second file control unit, the main line of the terminal group of the file control unit in which the abnormality has occurred can be switched and connected to the other file control unit using the switch circuit. .

[実施例] 以下本発明の一実施例を図面を用いて説明す
る。
[Example] An example of the present invention will be described below with reference to the drawings.

第1図は実施例のデータ収集システムを示すブ
ロツク図であり、図中1は正常時に各端末機から
送信されたデータを処理する第1のフアイル制御
部である。この第1のフアイル制御部1に主回線
2a、切換スイツチ回路3、主回線2を介して複
数の端末機4が閉ループに接続されている。ま
た、第1のフアイル制御部1には各端末機4から
送信されたデータを集計登録するための例えば磁
気デイスク記録装置で構成された第1のデータフ
アイル5が設けられてる。
FIG. 1 is a block diagram showing a data collection system according to an embodiment, and numeral 1 in the figure is a first file control section that processes data transmitted from each terminal during normal operation. A plurality of terminals 4 are connected to the first file control section 1 via a main line 2a, a changeover switch circuit 3, and the main line 2 in a closed loop. Further, the first file control section 1 is provided with a first data file 5 configured of, for example, a magnetic disk recording device for totalizing and registering data transmitted from each terminal 4.

また、第1のフアイル制御部1には補助回線6
を介して第1のフアイル制御部1と同一機能を有
した第2のフアイル制御部7が接続されている。
この第2のフアイル制御部7には第1のフアイル
制御部1の第1のデータフアイル5と同一構成の
第2のデータアイル8が設けられている。さら
に、第2のフアイル制御部7は第1のフアイル制
御部1に異常事態が発生したときに各端末機4か
ら送信されたデータを受信するために主回線2b
を介して前記切換スイツチ回路3接続されてい
る。
The first file control unit 1 also has an auxiliary line 6.
A second file control section 7 having the same functions as the first file control section 1 is connected via the first file control section 1 .
This second file control section 7 is provided with a second data file 8 having the same configuration as the first data file 5 of the first file control section 1. Furthermore, the second file control unit 7 connects the main line 2b to receive data transmitted from each terminal 4 when an abnormal situation occurs in the first file control unit 1.
The changeover switch circuit 3 is connected through the switch.

前記各端末機4は例えば各売場に配置された電
子キヤツシユレジスタで構成され、販売した商品
の商品コードを主回線2を介して第1のフアイル
制御部1へ問合せデータとして送信するととも
に、販売した商品の売上点数、売上金額等の販売
データを前記第1のデータフアイル5に集計登録
させるために第1のフアイル制御部1へ送信す
る。
Each terminal 4 is composed of, for example, an electronic cash register placed in each sales floor, and transmits the product code of the sold product as inquiry data to the first file control unit 1 via the main line 2, and Sales data such as the number of sales items and sales amount of the purchased products is transmitted to the first file control section 1 in order to be registered in the first data file 5 in total.

前記第1のフアイル制御部1は例えば第2図に
示すように構成されている。すなわち、図中9は
各種情報処理を実行するCPU(中央処理装置)で
あり、このCPU9は、データバスおよびアドレ
スバスからなるバスライン10を介して、各種制
御プログラム等の固定データを記憶するROM1
1、各端末機4から送信されたデータ等の各種可
変データを一時記憶するRAM12、前記磁気デ
イスク記憶装置で構成された第1のデータフアイ
ル5を制御するデイスク制御回路13、前記主回
線2aに接続された主回線制御回路14、および
補助回線6に接続された補助回線制御回路15等
を制御する。
The first file control section 1 is configured as shown in FIG. 2, for example. That is, 9 in the figure is a CPU (central processing unit) that executes various information processing, and this CPU 9 is connected to a ROM 1 that stores fixed data such as various control programs via a bus line 10 consisting of a data bus and an address bus.
1. A RAM 12 that temporarily stores various variable data such as data transmitted from each terminal 4, a disk control circuit 13 that controls the first data file 5 constituted by the magnetic disk storage device, and the main line 2a. The connected main line control circuit 14, the auxiliary line control circuit 15 connected to the auxiliary line 6, etc. are controlled.

前記第1のデータフアイル5内には前記各端末
機4で販売する各商品の商品コード毎に単価、品
名等の商品情報と、売上点数、売上金額等の売上
データが記憶されている。
In the first data file 5, product information such as unit price and product name, and sales data such as the number of sales items and sales amount are stored for each product code of each product sold at each terminal 4.

なお、第2のフアイル制御部7は第1のフアイ
ル制御部とほぼ同一構成を有している。
Note that the second file control section 7 has almost the same configuration as the first file control section.

前記切換スイツチ回路3は第3図に示すように
6個の切換接点16,17,18,19,20,
21を有したリレーで構成されており、図示しな
い外部スイツチを投入することにより、各接点1
6〜21の各共通端子cが常閉端子aから常閉端
子bへ切換接続される。第1のフアイル制御部1
からの2本の主回線2aはそれぞれ切換接点1
6,19の各共通端子cの接続され、第2のフア
イル制御部からの2本の主回線2bはそれぞれ切
換接点20,21の各共通端子cに接続されてい
る。また、各端末機4に接続された主回線2はそ
れぞれ切換接点17,18の各共通端子cに接続
されている。
The changeover switch circuit 3 has six changeover contacts 16, 17, 18, 19, 20, as shown in FIG.
It consists of a relay with 21, and each contact 1 can be turned on by turning on an external switch (not shown).
Each of the common terminals 6 to 21 is connected by switching from the normally closed terminal a to the normally closed terminal b. First file control unit 1
The two main lines 2a from
The two main lines 2b from the second file control section are connected to the common terminals c of the switching contacts 20 and 21, respectively. Further, the main line 2 connected to each terminal 4 is connected to each common terminal c of the switching contacts 17 and 18, respectively.

切換接点17と20および切換端子18と21
のそれぞれの常開端子bどうしは接続されてい
る。切換接点16と17および切換接点19と1
8のそれぞれの常閉端子aどうしは接続されてお
り、切換接点16と19の常開端子bどうし及び
切換接点20と21の常閉端子aどうしはそれぞ
れ短絡されている。
Switching contacts 17 and 20 and switching terminals 18 and 21
The normally open terminals b of each are connected to each other. Switching contacts 16 and 17 and switching contacts 19 and 1
The normally closed terminals a of the switching contacts 16 and 19 are connected together, and the normally closed terminals a of the switching contacts 20 and 21 are shorted together.

したがつて、外部スイツチを投入しない正常時
においては、各端末機4が接続された主回線2は
切換スイツチ回路3を介して第1のフアイル制御
部1に接続されており、上記外部スイツチを投入
すると、上記主回線2は切換スイツチ回路3を介
して第2のフアイル制御部7に接続される。
Therefore, under normal conditions without turning on the external switch, the main line 2 to which each terminal 4 is connected is connected to the first file control unit 1 via the changeover switch circuit 3, and the external switch is not turned on. When turned on, the main line 2 is connected to the second file control section 7 via the changeover switch circuit 3.

しかして、正常時においては、前記第1のフア
イル制御部1のCPU9は第4図の流れ図に従つ
てデータ処理を実行するように構成されている。
すなわち、電源が投入されると、一定の周期毎に
主回線2a,2を介して各端末機4へその端末機
4に対して送信を開始するように指令するポーリ
ング信号を送出する。そして、該当端末機4から
データ信号が主回線制御回路14へ入力すると、
この入力したデータの種類を調べる。そして、デ
ータが販売商品の商品情報の問合せデータであれ
ば、この問合せデータに含まれる商品コードで第
1のデータフアイル5内を検索して、該当商品コ
ードの単価、品名等の商品情報を読出して主回線
2a、切換スイツチ回路3、主回線2を介して該
当端末機4へ返信する。
Thus, under normal conditions, the CPU 9 of the first file control section 1 is configured to execute data processing according to the flowchart shown in FIG.
That is, when the power is turned on, a polling signal is sent to each terminal 4 via the main lines 2a, 2 at regular intervals to instruct the terminal 4 to start transmitting data. Then, when a data signal is input from the corresponding terminal 4 to the main line control circuit 14,
Check the type of this input data. If the data is inquiry data for product information of a sales product, the first data file 5 is searched using the product code included in this inquiry data, and product information such as the unit price and product name of the corresponding product code is read out. It is then sent back to the corresponding terminal 4 via the main line 2a, the changeover switch circuit 3, and the main line 2.

主回線制御回路14に入力したデータが販売デ
ータ等の第1のデータフアイル5の登録内容を更
新する必要のあるデータであれば、第1のデータ
フアイル5の該当商品の売上点数および売上金額
を更新する。
If the data input to the main line control circuit 14 is data such as sales data that requires updating the registered contents of the first data file 5, the number of sales items and sales amount of the corresponding product in the first data file 5 is updated. Update.

第1のデータフアイル5に対する更新処理が終
了すると、入力した販売データを補助回線6を介
して第2のフアイル制御部7へ送信して、この入
力したデータに対するデータ処理を終了する。
When the update processing for the first data file 5 is completed, the input sales data is transmitted to the second file control section 7 via the auxiliary line 6, and the data processing for the input data is completed.

また、第2のフアイル制御部7は第1のフアイ
ル制御部1から補助回線6を介して前述の販売デ
ータを受信すると、この販売データを用いて第2
のデータフアイル8の該当商品の売上点数、売上
金額を更新する。その結果、第2のデータフアイ
ル8の記憶内容は常に第1のデータフアイル5の
記憶内容に等しいとになる。
Further, when the second file control unit 7 receives the aforementioned sales data from the first file control unit 1 via the auxiliary line 6, the second file control unit 7 uses this sales data to
The sales number and sales amount of the applicable product in the data file 8 are updated. As a result, the storage contents of the second data file 8 are always equal to the storage contents of the first data file 5.

このような状態において、何等かの要因にて第
1のフアイル制御部1に異常事態が発生して、第
1のフアイル制御部1と各端末機4間で情報の授
受が不可能になると、各端末機4又は第1のフア
イル制御部1に異常事態発生を示す例えば表示ラ
ンプ等が点灯するので、このシステムを操作する
オペレータは前述の外部スイツチを投入する。外
部スイツチが投入されると、第3図の切換スイツ
チ回路の各切換接点16〜21の各共通端子cが
常開端子bに切換接続される。その結果、各端末
機4に接続された主回線2は第1のフアイル制御
部1の主回線2aから第2のフアイル制御部7の
主回線2bに切換接続される。
In such a state, if an abnormal situation occurs in the first file control unit 1 due to some factor and information cannot be exchanged between the first file control unit 1 and each terminal 4, For example, a display lamp or the like is lit on each terminal 4 or the first file control section 1 to indicate the occurrence of an abnormal situation, so the operator operating this system turns on the aforementioned external switch. When the external switch is turned on, the common terminals c of the switching contacts 16 to 21 of the changeover switch circuit shown in FIG. 3 are switched to the normally open terminal b. As a result, the main line 2 connected to each terminal 4 is switched and connected from the main line 2a of the first file control section 1 to the main line 2b of the second file control section 7.

第2のフアイル制御部7は第1のフアイル制御
部1と同一の機能を有しているので、以後各端末
機4で発生した各データは第2のフアイル制御部
7へ送信され、この第2のフアイル制御部7で第
4図に示したデータ処理が実行される。その結
果、各販売データは第2のデータフアイル8に集
計登録される。この第2のデータフアイル8には
第1のフアイル制御部1に異常事態が発生するま
での各端末機4からの販売データが集計登録され
ているので、異常事態発生後においても正しいデ
ータが継続して集計登録されることになる。
Since the second file control unit 7 has the same function as the first file control unit 1, each data generated in each terminal 4 is transmitted to the second file control unit 7, and The data processing shown in FIG. 4 is executed by the file control unit 7 of No. 2. As a result, each sales data is aggregated and registered in the second data file 8. In this second data file 8, the sales data from each terminal 4 until an abnormal situation occurs in the first file control unit 1 is aggregated and registered, so even after an abnormal situation occurs, the correct data continues. The data will be counted and registered.

なお、第1のフアイル制御部1が異常事態のと
きは第2のフアイル制御部7から補助回線6を介
して第1のフアイル制御部1へ販売データが転送
されることはない。
Note that when the first file control section 1 is in an abnormal state, sales data is not transferred from the second file control section 7 to the first file control section 1 via the auxiliary line 6.

このように構成されたデータ収集システムであ
れば、正常時において、第1のフアイル制御部1
から第2のフアイル制御部7へ販売データが補助
回線6を介して送信されるので、この販売データ
の送信によつて主回線2,2a,2bが特に専有
されることはない。したがつて、各端末機4と第
1のフアイル制御部1間のデータ伝送に要する時
間を短縮でき、結果として、各端末機4における
データ処理能率を向上できる。
In a data collection system configured in this way, during normal operation, the first file control unit 1
Since the sales data is transmitted from the auxiliary line 6 to the second file control unit 7 via the auxiliary line 6, the main lines 2, 2a, and 2b are not exclusively occupied by the transmission of this sales data. Therefore, the time required for data transmission between each terminal 4 and the first file control section 1 can be shortened, and as a result, the data processing efficiency in each terminal 4 can be improved.

また、第2のデータフアイル8は第1のデータ
フアイル5の内容が更新される毎に第1のデータ
フアイルの内容と同一内容に更新されるので、第
1のフアイル制御部1に異常事態が生じ、第2の
フアイル制御部7が直接各端末機4からデータを
受信して第2のデータフアイル8に対する更新を
開始したとしても、第2のデータフアイルの記憶
内容に誤差が生じることはない。
Further, since the second data file 8 is updated to have the same content as the first data file every time the content of the first data file 5 is updated, it is possible to prevent an abnormal situation from occurring in the first file control unit 1. Even if the second file control unit 7 directly receives data from each terminal 4 and starts updating the second data file 8, no error will occur in the stored contents of the second data file. .

第6図は本発明の他の実施例に係わるデータ収
集システムを示すブロツク図であり、第1図と同
一部分には同一符号を付して、重複する部分の説
明を省略する。
FIG. 6 is a block diagram showing a data collection system according to another embodiment of the present invention, in which the same parts as those in FIG.

この実施例のシステムにおいては、複数の端末
機4を第1の端末機群31と第2の端末機群32
との2個の端末機群に分割して、各端末機群3
1,32を第1および第2の主回線33a,33
b、切換スイツチ回路34、各主回線2a,2b
を介してそれぞれ第1および第2のフアイル制御
部1,7に接続している。
In the system of this embodiment, a plurality of terminals 4 are divided into a first terminal group 31 and a second terminal group 32.
divided into two terminal groups, each terminal group 3
1, 32 to the first and second main lines 33a, 33
b, changeover switch circuit 34, each main line 2a, 2b
are connected to the first and second file control sections 1 and 7, respectively.

この実施例の切換スイツチ回路34は第7図に
示すように、それぞれ共通端子cと常閉端子aと
2つの常開端子d,eとの4個の端子を有した6
個の切換接点35,36,37,38,39,4
0で構成されている。そして、各切換接点35〜
40は1個のリレーに組込まれており、第3図と
同様に図示しない外部スイツチを操作することに
よつて、各接点の共通端子cが常閉端子aから各
常開端子d又はeに選択的に切換接続される。
As shown in FIG. 7, the changeover switch circuit 34 of this embodiment has four terminals: a common terminal c, a normally closed terminal a, and two normally open terminals d and e.
switching contacts 35, 36, 37, 38, 39, 4
Consists of 0. And each switching contact 35~
40 is incorporated into one relay, and by operating an external switch (not shown) as in FIG. 3, the common terminal c of each contact can be changed from the normally closed terminal a to each normally open terminal d or e. Selectively switched and connected.

第1のフアイル制御部1からの各主回線2aは
それぞれ切換接点35の常閉端子aおよび切換接
点39の共通端子cに接続され、第2のフアイル
制御部7からの各主回線2bはそれぞれ切換接点
40の共通端子とcおよび切換接点38の常閉端
子aに接続されている。また、第1の端末機群3
1の第1の主回線33aは切換接点35,36の
各共通端子cに接続され、第2の端末機群32の
第2の主回線33bは切換接点37,38の各共
通端子cに接続されている。
Each main line 2a from the first file control unit 1 is connected to the normally closed terminal a of the switching contact 35 and the common terminal c of the switching contact 39, and each main line 2b from the second file control unit 7 is connected to the normally closed terminal a of the switching contact 35 and the common terminal c of the switching contact 39, respectively. It is connected to the common terminal c of the switching contact 40 and the normally closed terminal a of the switching contact 38. In addition, the first terminal group 3
The first main line 33a of the terminal group 32 is connected to the common terminal c of the switching contacts 35 and 36, and the second main line 33b of the second terminal group 32 is connected to the common terminal c of the switching contacts 37 and 38. has been done.

また、切換接点35,40の常開端子eどうし
は接続され、切換接点38,39の常開端子dど
うしは接続されている。さらに、切換接点36,
37の4つの各常開端子e,dは互いに短絡され
ており、切換接点35の常閉端子aと常開端子d
および切換接点38の常閉端子aと常開端子dと
は短絡されている。また、切換接点39,40の
各常開端子dは開放されている。
Further, the normally open terminals e of the switching contacts 35 and 40 are connected together, and the normally open terminals d of the switching contacts 38 and 39 are connected together. Furthermore, the switching contact 36,
The four normally open terminals e and d of the switching contact 37 are short-circuited to each other, and the normally closed terminal a and the normally open terminal d of the switching contact 35 are connected to each other.
The normally closed terminal a and the normally open terminal d of the switching contact 38 are short-circuited. Further, each normally open terminal d of the switching contacts 39 and 40 is open.

このように構成された切換スイツチ回路34に
おいて前述の外部スイツチを操作しない状態にお
いては、第1の端末機群31の第1の主回線33
aは切換スイツチ回路34、主回路2aを介して
第1のフアイル制御部1に接続され、第2の端末
機群32の第2の主回路33bは切換スイツチ回
路34、主回路2bを介して第2のフアイル制御
部7に接続されている。そして、上記外部スイツ
チを常開端子d側に投入すると、第2のフアイル
制御部7の各主回線2bが開放され、第1のフア
イル制御部1に第1の端末機群31および第2の
端末機群32の各端末機4が第1および第2の主
回線33a,33b、主回線2aを介して閉ルー
プに接続される。一方、上記外部スイツチを常開
端子e側に投入すると、逆に第1のフアイル制御
部1の各主回線2aが開放され、第1および第2
の端末機群31,32の各端末機4が第1および
第2の主回線33a,33b、主回線2bを介し
て第2のフアイル制御部7に接続される。
When the above-mentioned external switch is not operated in the changeover switch circuit 34 configured as described above, the first main line 33 of the first terminal group 31 is
a is connected to the first file control unit 1 via the switch circuit 34 and the main circuit 2a, and the second main circuit 33b of the second terminal group 32 is connected to the switch circuit 34 and the main circuit 2b. It is connected to the second file control section 7. Then, when the external switch is turned on to the normally open terminal d side, each main line 2b of the second file control section 7 is opened, and the first terminal group 31 and the second terminal group are connected to the first file control section 1. Each terminal 4 of the terminal group 32 is connected in a closed loop via the first and second main lines 33a, 33b and the main line 2a. On the other hand, when the external switch is turned on to the normally open terminal e side, each main line 2a of the first file control section 1 is opened, and the first and second
Each terminal 4 of the terminal group 31, 32 is connected to the second file control section 7 via the first and second main lines 33a, 33b and the main line 2b.

しかして、正常時においては、上記外部スイツ
チはいずれの側にも投入されていないので、第1
の端末機群31の各端末機4から送信されたデー
タは第1のフアイル制御部1に入力され、第2の
端末機群32の各端末機4から送信されたデータ
は第2のフアイル制御部7に入力される。そし
て、第1のフアイル制御部1に入力したデータは
この第1のフアイル制御部1にてデータ処理さ
れ、必要なデータは第1のデータフアイル5へ集
計登録されるとともに、補助回線6を介して第2
のフアイル制御部7へ送信される。第2のフアイ
ル制御部7は受信した第1の端末機群31からの
データを第2のデータフアイルに集計登録する。
一方、第2の端末機群32の各端末機4から送信
されたデータはまず第2のフアイル制御部7にて
データ処理され、第2のデータフアイル8に集計
登録された後、補助回線6を介して第1のフアイ
ル制御部1へ送信され、第1のデータフアイル5
へ集計登録される。このように正常時において
は、各端末機4から送信されたデータは第1およ
び第2のデータフアイル5,8に等しく集計登録
される。したがつて、第1および第2のデータフ
アイル5,8の記憶内容は常に等しい。
However, under normal conditions, the external switch is not turned on to either side, so the first
The data transmitted from each terminal 4 of the terminal group 31 is input to the first file control section 1, and the data transmitted from each terminal 4 of the second terminal group 32 is input to the second file control section 1. The information is input to section 7. The data input to the first file control unit 1 is processed by the first file control unit 1, and the necessary data is aggregated and registered in the first data file 5 and sent via the auxiliary line 6. second
is transmitted to the file control unit 7 of. The second file control unit 7 aggregates and registers the received data from the first terminal group 31 in a second data file.
On the other hand, the data transmitted from each terminal 4 of the second terminal group 32 is first processed by the second file control unit 7, aggregated and registered in the second data file 8, and then transferred to the auxiliary line 6. is transmitted to the first file control unit 1 via the first data file 5.
Aggregation is registered to . In this manner, under normal conditions, the data transmitted from each terminal 4 is registered equally in the first and second data files 5 and 8. Therefore, the stored contents of the first and second data files 5, 8 are always equal.

このような状態で仮に第1のフアイル制御部1
に異常事態が生じると、オペレータは前述した外
部スイツチを常開端子e側に投入する。すると、
第1および第2の端末機群31,32の各端末機
4が切換スイツチ回路34を介して第2のフアイ
ル制御部7に接続される。したがつて、これ以降
に各端末機4から送信されたデータはすべて第2
のフアイル制御部7へ入力され、この第2のフア
イル制御部7にてデータ処理された後、第2のデ
ータフアイル8に集計登録される。したがつて、
第2のデータアイル8には正しいデータが継続し
て集計登録されることになる。
In such a state, if the first file control unit 1
When an abnormal situation occurs, the operator turns the aforementioned external switch to the normally open terminal e side. Then,
Each terminal 4 of the first and second terminal groups 31 and 32 is connected to the second file control section 7 via a changeover switch circuit 34. Therefore, all data transmitted from each terminal 4 after this point will be transmitted from the second terminal 4.
The data is input to the file control unit 7 , processed by the second file control unit 7 , and then aggregated and registered in the second data file 8 . Therefore,
Correct data will continue to be aggregated and registered in the second data aisle 8.

また、第2のフアイル制御部7に異常事態が発
生すると、外部スイツチを常開端子d側へ投入す
ると、第1のフアイル制御部1のデータフアイル
5に正したデータが継続して集計登録される。
Furthermore, when an abnormal situation occurs in the second file control section 7, when the external switch is turned on to the normally open terminal d side, correct data is continuously aggregated and registered in the data file 5 of the first file control section 1. Ru.

このように、第1および第2のフアイル制御部
1,7のいずれか一方のフアイル制御部に異常事
態が発生したとしても、他方のフアイル制御部の
データフアイルに正しいデータが集計登録される
ので、前述の実施例と同様の効果を得ることが可
能である。
In this way, even if an abnormal situation occurs in either one of the first and second file control units 1 and 7, correct data will be aggregated and registered in the data file of the other file control unit. , it is possible to obtain the same effects as the above-mentioned embodiments.

さらに、この実施例においては、第1および第
2のフアイル制御部1,7にそれぞれ第1および
第2の主回線33a,33bを介して第1および
第2の端末機群31,32を接続するようにして
いるので、正常時において各フアイル制御部1,
7を効率よく使用できる。その結果、各端末機4
におけるデータ処理能率をさらに向上できる。
Furthermore, in this embodiment, first and second terminal groups 31 and 32 are connected to the first and second file control units 1 and 7 via first and second main lines 33a and 33b, respectively. Therefore, each file control unit 1,
7 can be used efficiently. As a result, each terminal 4
Data processing efficiency can be further improved.

[発明の効果] 以上説明したように本発明によれば、各フアイ
ル制御部間を専用の補助回線で接続するとともに
異常発生時に回線を切換接続する切換スイツチ回
路を設けている。したがつて、各端末機とフアイ
ル制御部間のデータ伝送時間を短縮でき、各端末
機におけるデータ処理能率を向上できるととも
に、たとえ異常が発生したとしても各端末機から
のデータを正確にデータフアイルに集計登録で
き、システム全体の信頼性を向上できる。
[Effects of the Invention] As described above, according to the present invention, a changeover switch circuit is provided which connects each file control section with a dedicated auxiliary line and switches and connects the lines when an abnormality occurs. Therefore, the data transmission time between each terminal and the file control unit can be shortened, the data processing efficiency of each terminal can be improved, and even if an error occurs, the data from each terminal can be accurately transferred to the data file. can be registered in aggregate, improving the reliability of the entire system.

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

第1図は本発明の一実施例に係わるデータ収集
システムを示すブロツク図、第2図は同実施例の
第1のフアイル制御部を示すブロツク図、第3図
は同実施例の切換スイツチ回路を示す回路図、第
4図および第5図は同実施例の動作を示す流れ
図、第6図は本発明の他の実施例のデータ収集シ
ステムを示すブロツク図、第7図は同実施例の切
換スイツチ回路を示す回路図である。 1……第1のフアイル制御部、2,2a,2b
……主回線、3,34……切換スイツチ回路、4
……端末機、5……第1のデータフアイル、6…
…補助回線、7……第2のフアイル制御部、8…
…第2のデータフアイル、9……CPU、31…
…第1の端末機部、32……第2の端末機群、3
3a……第1の主回線、33b……第2の主回
線、a……常閉端子、b,d,e……常開端子、
c……共通端子。
Fig. 1 is a block diagram showing a data collection system according to an embodiment of the present invention, Fig. 2 is a block diagram showing a first file control section of the embodiment, and Fig. 3 is a changeover switch circuit of the embodiment. 4 and 5 are flowcharts showing the operation of the same embodiment. FIG. 6 is a block diagram showing a data collection system according to another embodiment of the present invention. FIG. 7 is a flowchart showing the operation of the same embodiment. FIG. 3 is a circuit diagram showing a changeover switch circuit. 1...first file control unit, 2, 2a, 2b
...Main line, 3, 34...Switch circuit, 4
...Terminal, 5...First data file, 6...
...Auxiliary line, 7...Second file control unit, 8...
...Second data file, 9...CPU, 31...
...First terminal unit, 32...Second terminal group, 3
3a...first main line, 33b...second main line, a...normally closed terminal, b, d, e...normally open terminal,
c...Common terminal.

Claims (1)

【特許請求の範囲】 1 データが入力される複数の端末機と、これら
各端末機に主回線を介して接続され、前記各端末
機から送信されたデータを受信して記憶部に設け
られた第1のデータフアイルに集計登録する第1
のフアイル制御部と、この第1のフアイル制御部
に補助回線を介して接続され、前記第1のフアイ
ル制御部に入力された前記各端末機からのデータ
を受信して記憶部に設けられた第2のデータフア
イルに集計登録する第2のフアイル制御部と、前
記各端末機と前記第1および第2のフアイル制御
部との間に介挿され、前記第1のフアイル制御部
における異常発生時に前記主回線を前記第1のフ
アイル制御部から前記第2のフアイル制御部へ切
換接続する切換スイツチ回路とを具備したことを
特徴とするデータ収集システム。 2 データが入力される第1および第2の端末機
群からなる複数の端末機と、前記第1の端末機群
に第1の主回線を介して接続され、前記第1の端
末機群の各端末機から送信されたデータを受信し
て記憶部に設けられた第1のデータフアイルに集
計登録する第1のフアイル制御部と、前記第2の
端末機群に第2の主回線を介して接続され、前記
第2の端末機群の各端末機から送信されたデータ
を受信して記憶部に設けられた第2のデータフア
イルに集計登録する第2のフアイル制御部と、前
記第1および第2のフアイル制御間を接続する補
助回線と、前記第1のフアイル制御部に入力され
た前記第1の端末機群からのデータを前記補助回
線を介して前記第2のフアイル制御部の前記第2
のデータフアイルへ集計登録するとともに前記第
2のフアイル制御部に入力された前記第2の端末
機群からのデータを前記補助回線を介して前記第
1のフアイル制御部の前記第1のデータフアイル
へ集計登録する手段と、前記第1および第2の端
末機群と前記第1および第2のフアイル制御部間
に介挿され、前記第1および第2のフアイル制御
部のいずれか一方のフアイル制御部における異常
発生時にこの異常発生したフアイル制御部の端末
機群の主回線を他方のフアイル制御部に切換接続
する切換スイツチ回路とを具備したことを特徴と
するデータ収集システム。
[Scope of Claims] 1. A plurality of terminals into which data is input, and a storage unit connected to each of these terminals via a main line to receive data transmitted from each of the terminals and stored in a storage unit. The first data file to be aggregated and registered in the first data file.
a file control unit connected to the first file control unit via an auxiliary line, and provided in a storage unit for receiving data from each of the terminals input to the first file control unit. A second file control unit that aggregates and registers data in a second data file, and is inserted between each of the terminals and the first and second file control units, and detects the occurrence of an abnormality in the first file control unit. A data collection system comprising: a changeover switch circuit that switches and connects the main line from the first file control section to the second file control section. 2 A plurality of terminals consisting of a first and second terminal group into which data is input, and a plurality of terminals connected to the first terminal group via a first main line and connected to the first terminal group A first file control unit that receives data transmitted from each terminal and aggregates and registers it in a first data file provided in a storage unit; a second file control unit that is connected to the second terminal group and receives data transmitted from each terminal of the second terminal group and aggregates and registers the data in a second data file provided in a storage unit; and an auxiliary line that connects the second file control unit, and the data from the first terminal group input to the first file control unit is transmitted to the second file control unit via the auxiliary line. Said second
The data from the second terminal group inputted to the second file control unit is aggregated and registered in the data file of the first file control unit, and the data is sent to the first data file of the first file control unit via the auxiliary line. means for registering aggregation to the file controller; A data collection system comprising: a changeover switch circuit that switches and connects the main line of the terminal group of the file control unit in which the abnormality has occurred to the other file control unit when an abnormality occurs in the control unit.
JP59261502A 1984-12-11 1984-12-11 Data gathering system Granted JPS61139142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59261502A JPS61139142A (en) 1984-12-11 1984-12-11 Data gathering system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59261502A JPS61139142A (en) 1984-12-11 1984-12-11 Data gathering system

Publications (2)

Publication Number Publication Date
JPS61139142A JPS61139142A (en) 1986-06-26
JPH0330339B2 true JPH0330339B2 (en) 1991-04-30

Family

ID=17362794

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59261502A Granted JPS61139142A (en) 1984-12-11 1984-12-11 Data gathering system

Country Status (1)

Country Link
JP (1) JPS61139142A (en)

Also Published As

Publication number Publication date
JPS61139142A (en) 1986-06-26

Similar Documents

Publication Publication Date Title
JPS63126091A (en) Pos terminal
JPH0766474B2 (en) Sales data management system
JPH0330339B2 (en)
JP2918766B2 (en) Product sales data processing device
JPH079661B2 (en) Transaction processor
JPH10222769A (en) Pos product inventory control system
JPH0544719B2 (en)
JP3484302B2 (en) Product sales data registration processing system and product sales registration terminal
JPH1196464A (en) Store server multiplex control method in pos system and pos system
JPS6255796A (en) Sales registration system
JP2508952B2 (en) Sales data processing method
JP3235292B2 (en) Transaction processing system and network controller
JPS5813927B2 (en) Terminal device setting data change method
JPH06164673A (en) Communication control equipment
JPH04218893A (en) Goods sale data processor
JPH0452997B2 (en)
JPH03113697A (en) Terminal for point-of-sale information control
JPS62217330A (en) Processor switching system
JP3001328B2 (en) Product sales data processing device
JPH0715720B2 (en) POS system
JPH0535976A (en) Product sales data processor
JPS63262796A (en) Transaction processing system
JPH07262454A (en) Transaction processing system
JPH04217100A (en) Commodity sales data processor
JPH0630111B2 (en) Transaction processing system and POS terminal

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term