JPS61139142A - Data gathering system - Google Patents

Data gathering system

Info

Publication number
JPS61139142A
JPS61139142A JP59261502A JP26150284A JPS61139142A JP S61139142 A JPS61139142 A JP S61139142A JP 59261502 A JP59261502 A JP 59261502A JP 26150284 A JP26150284 A JP 26150284A JP S61139142 A JPS61139142 A JP S61139142A
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.)
Granted
Application number
JP59261502A
Other languages
Japanese (ja)
Other versions
JPH0330339B2 (en
Inventor
Katsumi Fukazawa
深沢 勝美
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.)
Toshiba TEC Corp
Original Assignee
Tokyo Electric 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 Tokyo Electric Co Ltd filed Critical Tokyo Electric Co Ltd
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

Abstract

PURPOSE:To shorten the data transmission time between each terminal machine and file control parts, and to improve the data processing efficiency by connecting individual file control parts with private lines and providing a change over switch circuit which switches and connects lines when abnormality occurs. CONSTITUTION:If the abnormal state occurs in the first file control part 1 by some factor to make the information transmission/reception between the first file control part 1 and each terminal machine 4 impossible, an indicator lamp or the like indicating the occurrence of the abnormal state is lit on each terminal machine 4 or the first file control part 1, and the operator who operates this system makes an external switch. When the external switch is made, respective common terminals C of switching contacts 16-21 of a changeover switch circuit 3 are switched and connected to normally open terminals (b). As the result, a main circuit 2 connected to each terminal machine 4 is switched from a main circuit 2a of the first file control part 1 and is connected to a main circuit 2b of the second file control part 7.

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 sent from each terminal when an abnormality occurs in the file control unit.

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

このようなデータ収集システムにおいては、ファイル制
御部に何等かの異常事態が生じると、各端末機からの間
合せおよび販売データの送信ができなくなり、業務に重
大な支障を来たす。したがって、一般にこのようなデー
タ収集システムにおいては、各端末順との間でデータの
授受を行なう主ファイル制御部とは別に、同一機能を有
した補助ファイル制御部を前記データ回線に接続してい
る。そして、通常補助ファイル制御部はこのデータ回線
を介して一定周期毎に主ファイルIII 111部に対
して、主ファイル制御部のデータフィルの記憶内容の送
信要求信号を送出し、主ファイル制御部のデータファイ
ルの記憶内容を自己のデータファイルに複写する。そし
て、主ファイル制御部に何等かの異常事態が発生すると
、一旦主フアイル制御部および補助ファイル制御部の電
源を遮断して、主ファイル制御部と補助ファイル制御部
間の動作切換スイッチを前記補助ファイル制御が主ファ
イル制御部になるように切換える。その後、補助ファイ
ル制H部のl!源を投入すると、この補助ファイルII
III@部が主ファイル制御部として動作する。
In such a data collection system, if any abnormality occurs in the file control unit, it becomes impossible to send the delivery and sales data from each terminal, causing a serious hindrance to business operations. Therefore, in general, in such a data collection system, in addition to the main file control unit that exchanges data with each terminal, an auxiliary file control unit with the same function is connected to the data line. . Then, the normal auxiliary file control section sends a transmission request signal for the storage contents of the data file of the main file control section to the main file III 111 part at regular intervals via this data line, and Copies the stored contents of a data 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 so that it becomes the main file control section. After that, l of the auxiliary file system H part! When you input the source, this auxiliary file II
The III@ section operates as the main file control section.

したがって、各端末機からのデータは新たな主ファイル
制御部のデータファイルに集計登録される。
Therefore, data from each terminal is aggregated and registered in the data file of the new main file control section.

[発明が解決しようとする問題点] しかしながら、上記のように構成されたデータ収集シス
テムにおいてもまだ解決しなければならない次のような
問題があった。すなわち、補助ファイル制御部は主ファ
イル制御部と各端末機とを接続するデータ回線に接続さ
れているので、補助ファイルill 111部から主フ
ァイル制御部に対してデータファイルの記憶内容の送信
要求信号送信中、およびそれに対する主ファイル制御部
からのデータファイルの記憶内容の送信中は、各端末機
から主ファイル制御部に対してデータを送信したり、主
ファイル制御部から各端末機に対して応答信号を送信で
きない。そのため、各端末機と主ファイル制御部間のデ
゛−タ伝送に要する時間が増大し、結果的に各端末機に
おけるデータ処理能率が低下する問題がある。
[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 111 sends a request signal to the main file control unit to send the stored contents of the data file. During transmission, and while the main file control unit is transmitting the stored contents of the data file, data may be sent from each terminal to the main file control unit, or data may be sent from the main file control unit to each terminal. Unable to send response signal. Therefore, there is a problem in that the time required for data transmission between each terminal and the main file control section increases, resulting in a decrease in data processing efficiency in each terminal.

また、補助ファイル制御部のデータファイルは前述した
ように一定周期毎に主ファイル制御部のデータファイル
の内容に書替えられるので、補助ファイル1IJI11
部のデータファイルの内容は主ファイル制御部のデータ
ファイルの内容に比較して常に一定周期遅れていること
になる。したがって、主ファイル制御部に異常事態が生
じ、補助ファイル制御部が主ファイル制御部に切換った
ときにデータファイルの記憶内容に誤差が生じる問題が
ある。
In addition, since 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 as described above, the auxiliary file 1IJI11
The contents of the data file of the main file control section are always delayed by a fixed period compared to the contents of the data file of the main file control section. Therefore, when an abnormal situation occurs in the main file control section and the auxiliary file control section switches to the main file control section, there is a problem in that an error occurs in the stored contents of the data file.

本発明はこのような事情に基づいてなされたものであり
、その目的とするところは、各ファイル制■部間を専用
の回線で接続するとともに異常発生時に回線を切換接続
する切換スイッチ回路を設けることによって、各端末機
とファイル制御部間のデータ伝送時間を短縮でき、各端
末機におけるデータ処理能率を向上できるとともに、た
とえ異常が発生したとしても各端末機からのデータを正
確にデータファイルに集計登録できるデータ収集システ
ムを提供することにある。
The present invention was 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. By doing so, it is possible to shorten the data transmission time between each terminal and the file control unit, improve the data processing efficiency of each terminal, and even if an error occurs, the data from each terminal can be accurately converted to a data file. The objective is to provide a data collection system that can be aggregated and registered.

[問題点を解決するための手段] 本発明のデータ収集システムは、データが入力される複
数の端末機に主回線を介して接続され、各端末機から送
信されたデータを受信して記憶部に設けられた第1のデ
ータアイルに集計登録する第1のファイル制御部に対し
て補助回線を介して第2のデータファイルを有した第2
のファイルIII脚部を接続し、このWi2のファイル
制御部にて第1のファイル制御部に入力された各端末機
からのデータを受信して第2のデータファイルに集計登
録すると共に、各端末機と前記第1および第2のファイ
ル制御部との間に、第1のファイル制御部における異常
発生時に主回線を第1の7?イルIII御部から第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, receives data transmitted from each terminal, and stores the data in a storage unit. A second file controller having a second data file is transmitted via an auxiliary line to a first file control unit which is aggregated and registered in a first data file provided in a first file controller.
The File III leg of the Wi2 is connected, and the file control unit of this Wi2 receives data from each terminal input to the first file control unit, and aggregates and registers it in the second data file. between the machine and the first and second file control units, when an abnormality occurs in the first file control unit, the main line is connected to the first 7? A changeover switch circuit is inserted to connect the file III control section to the second file control section.

また別の発明においては、前記複数の端末機を第1の端
末機群と第2の端末機群とに分割し、第1および第2の
端末機群にそれぞれ第1の主回線および第2の主回線を
介して第1のデータファイルおよび第2のデータファイ
ルを有した第1および第2のファイル制御部を接続し、
第1および第2の端末機群から送信したデータをそれぞ
れ第1および第2のファイル制!lI1部にてそれぞれ
第1および第2のデータファイルに集計すると共に、第
1のファイル制御部に入力された第1の端末機群からの
データを補助回線を介して第2のファイル制御部の第2
のデータファイルへ集計登録するとともに第2のファイ
ルill 111部に入力された第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. connecting first and second file control units having a first data file and a second data file via a main line;
Data sent from the first and second terminal groups are stored in the first and second file systems, respectively! The first section aggregates the data into the first and second data files, and the data from the first terminal group input to the first file control section is sent to the second file control section via the auxiliary line. Second
The data from the second terminal group input into the second file ill 111 is aggregated and registered in the data file of the second file ill.
Register the total to the data file. Then, when an abnormality occurs in either one of the first and second file control units, a file that has occurred in an abnormality 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. At the same time, the data are registered in aggregation in one data file, and are also aggregated and registered in a second data file of a second file control section from the first file control section via an auxiliary line. Then, when an abnormality occurs in the first file control section, the main line connected to each terminal can be switched and connected from the first file control section to the second file control section using the changeover switch circuit.

また、別の発明においては、正常時には第1および第2
の端末機群の各端末機から送信されたデータはデータ送
信毎に、それぞれ各主回線を介して第1および第2ファ
イル制御部の各データファイルに集計、登録されるとと
もに、補助回線を介して第2および第1のファイル制御
部の各データファイルに集計登録される。そして、第1
および第2のいずれか一方のファイル制御部における異
常が発生した時に切換スイッチ回路にてこの異常発生し
たファイル制御部の端末機群の主回線を他方のファイル
tillll1部に切換接続できる。
In another invention, the first and second
Data transmitted from each terminal in the terminal group is aggregated and registered in each data file of the first and second file control units via each main line each time data is transmitted, and is also transmitted via an auxiliary line. The data are aggregated and registered in each data file of the second and first file control units. And the first
When an abnormality occurs in one of the second file control sections, the changeover switch circuit can switch and connect the main line of the terminal group of the file control section in which the abnormality has occurred to the other file tillll1.

[実施例] 以下本発明の一実施例を図面を用いて説明する。[Example] An embodiment 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 unit that processes data transmitted from each terminal during normal operation. This first file control unit 1 includes a main line 2a, a changeover switch circuit 3.
A plurality of terminals 4 are connected in a closed loop via the main line 2. In addition, the first file control unit 1 includes each terminal 4.
A first data file 5 composed of, for example, a magnetic disk recording device for aggregating and registering data sent from
is provided.

また、第1のファイル制御部1には補助回線6を介して
第1のファイル制御部1と同一機能を有した第2のファ
イル制御部7が接続されている。
Further, a second file control section 7 having the same functions as the first file control section 1 is connected to the first file control section 1 via an auxiliary line 6.

この第2のファイル制御部7には第1のファイル制御部
1の第1のデータファイル5と同一構成の第2のデータ
アイル8が設けられている。さらに、第2のファイル制
御部7は第1のファイル制御部]に異常1Bが発生した
ときに各端末機4から送信されたデータを受信するため
に主回1!2bを介して前記切換スイッチ回路3接続さ
れている。
This second file control section 7 is provided with a second data aisle 8 having the same configuration as the first data file 5 of the first file control section 1. Furthermore, the second file control section 7 is connected to the changeover switch via the main circuit 1!2b in order to receive data transmitted from each terminal 4 when an abnormality 1B occurs in the first file control section]. Circuit 3 is connected.

前記各端末va4は例えば各売場に配置された電子キャ
ッシュレジスタで構成され、販売した商品の商品コード
を主回I!2を介して第1のファイル制御部1へ間合せ
データとして送信するとともに、販売した商品の売上点
数、売上金額等の販売データを前記第1のデータファイ
ル5に集計登録させるために第1のファイル制御部1へ
送信する。
Each of the terminals va4 is composed of, for example, an electronic cash register placed in each sales floor, and stores the product code of the sold product. 2 to the first file control unit 1 as a set-up data, and also to aggregate and register sales data such as the number of sold products and the sales amount in the first data file 5. Send to file control unit 1.

前記第1のファイルtill 8部1は例えば第2図に
示すようにに構成されている。すなわち、図中9は各種
情報処理を実行するcpu <中央処理装置)であり、
このCPIJ9は、データバスおよびアドレスバスから
なるパスライン10を介して、各種制御プログラム等の
固定データを記憶するROM11、各端末N4から送信
されたデータ等の各種可変データを一時記憶するRAM
I 2.m&!磁気ディスク記録装置で構成された第1
のデータファイル5を制御するディスク制御回路13.
iiJ記主回線2aに接続された主回線制御回路14.
および補助回線6に接続された補助回線料(社)回路1
5等を制御する。
The first file till 8 part 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,
This CPIJ9 has a ROM 11 that stores fixed data such as various control programs, and a RAM that temporarily stores various variable data such as data transmitted from each terminal N4 via a path line 10 consisting of a data bus and an address bus.
I 2. m&! The first device consists of a magnetic disk recording device.
A disk control circuit 13. controls the data file 5 of the disk.
iiJ Main line control circuit 14 connected to the main line 2a.
and auxiliary line charge company circuit 1 connected to auxiliary line 6
Control the 5th grade.

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

なお、第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を有したリ
レーで構成されており、図示しない外部スイッチを投入
することにより、各接点16〜21の各共通端子Cが常
閉端子aから常閉端子すへ切換接続される。第1のファ
イルtiIIwJ部1からの2本の主回線2aはそれぞ
れ切換接点16゜19の各共通端子Cの接続され、第2
のファイル制御部からの2本の主回線2bはそれぞれ切
換接点20.21の各共通端子Cに接続されている。
The changeover switch circuit 3 is composed of a relay having six changeover contacts 16, 17, 18, 19, 20°21 as shown in FIG. Each common terminal C of contacts 16 to 21 is switched and connected from normally closed terminal a to normally closed terminal S. The two main lines 2a from the first file tiIIwJ part 1 are connected to the respective common terminals C of the switching contacts 16 and 19, respectively, and the second
The two main lines 2b from the file control section are connected to respective common terminals C of switching contacts 20 and 21, respectively.

また、各端末機4に接続された主回線2はそれぞれ切換
接点17.18の各共通端子Cに接続されている。
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のそれぞ
れの常開端子すどうしは接続されている。
The normally open terminals of switching contacts 17 and 20 and switching terminals 18 and 21 are connected together.

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

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

しかして、正常時においては、前記第1のファイル制御
部1のCPU9は第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.

すなわち、電源が投入されると、一定の周期毎に主回線
2a、2を介して各端末機4へその端末機4に対して送
信を□開始するように指令するポーリング信号を送出す
る。そして、該当端末機4からデータ信号が主回線制御
回路14へ入力すると、この入力したデータの種類を調
べる。そして、データが販売商品の商品情報の間合せデ
ータであれば、この間合せデータに含まれる商品コード
で第1のデータファイル5内を検索して、該当商品コー
ドの単価1品名等の商品情報を読出して主回線2a、切
換スイッチ回路3.主回線2を介して該当端末機4へ返
信する。
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. When a data signal is input from the corresponding terminal 4 to the main line control circuit 14, the type of the input data is checked. Then, if the data is make-up data for product information of a sales product, the first data file 5 is searched using the product code included in this make-up data, and product information such as the unit price and product name of the corresponding product code is obtained. Read out main line 2a, changeover switch circuit 3. A reply is sent to the corresponding terminal 4 via 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 section 7 receives the aforementioned sales data from the first file tomorrow section 1 via the auxiliary line 6, the second file control section 7 uses this sales data to create a second data file 8.
Update the number of sales and sales amount for the corresponding product. 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と各端末機41!Iで情報の授受が不可能になる
と、各端末!!14又は第1のファイル制御部1に異常
事態発生を示す例えば表示ランプ等が点灯するので、こ
のシステムを操作するオペレータは前述の外部スイッチ
を投入する。外部スイッチが投入されると、第3図の切
換スイッチ回路3の各切換接点16〜21の各共通端子
Cが常開端子すに切換接続される。その結果、各端末l
114に接続された1回1a2は第1のファイル制御部
1の主回線2aから第2のファイル制御部7の主回線2
bに切換接続される。
In such a state, an abnormal situation occurs in the first file control unit 1 due to some factor, and the first file control unit 1 and each terminal 41! When it becomes impossible to send and receive information on I, each terminal! ! 14 or the first file control unit 1, for example, a display lamp or the like is lit to indicate the occurrence of an abnormal situation, and the operator operating this system turns on the external switch described above. When the external switch is turned on, the common terminals C of the switching contacts 16 to 21 of the changeover switch circuit 3 shown in FIG. 3 are connected to the normally open terminals. As a result, each terminal l
114 is connected to the main line 2a of the first file control unit 1 to the main line 2 of the second file control unit 7.
b.

第2のファイル制御部7は第1のファイル制御部1と同
一の機能を有しているので、以後各端末機4で発生した
各データは第2のファイル1bllt11部7へ送信さ
れ、この第2のファイル制御部7で第4図に示したデー
タ処理が実行される。その結果、各販売データは第2の
データファイル8に集計登録される。この第2のデータ
ファイル8には第1のファイル制御部1に異常事態が発
生するまでの各端末機4からの販売データが集計登録さ
れているので、異常18発生後においても正しいデータ
が継続して集計登録されることになる。
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 1blt11 unit 7, and this The data processing shown in FIG. 4 is executed by the file control unit 7 of No. 2. As a result, each piece of 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 abnormality occurs in the first file control unit 1 is registered, so the correct data continues even after the abnormality 18 occurs. The data will be counted and registered.

なお、第1のファイル制御部1が異常状態のときは第2
のファイル制御部7から補助口1i16を介して第1の
ファイル制御部1へ販売データが転送されることはない
Note that when the first file control section 1 is in an abnormal state, the second file control section 1
Sales data is never transferred from the file control section 7 of the first file control section 7 to the first file control section 1 via the auxiliary port 1i16.

このように構成されたデータ収集システムであれば、正
常時において、第1のファイル制御部1から第2のファ
イル制御部7へ阪売データが補助回線6を介して送信さ
れるので、この販売データの送信によって1回1i2.
2a、2bが特に専有されることはない。したがって、
各端末114と第1のファイル制御部1間のデータ伝送
に要する時間を短縮でき、結果として、各端末!l!4
におけるデータ処理能率を向上できる。
With the data collection system configured in this way, during normal times, the Hanutai data is transmitted from the first file control unit 1 to the second file control unit 7 via the auxiliary line 6, so that the sales Once by sending data 1i2.
2a and 2b are not particularly exclusive. therefore,
The time required for data transmission between each terminal 114 and the first file control unit 1 can be reduced, and as a result, each terminal! l! 4
Data processing efficiency can be improved.

また、第2のデータファイル8は第1のデータファイル
5の内容が更新される毎に第1のデータファイルの内容
と同一内容に更新されるので、第1のファイル制御部1
に異常事態が生じ、第2のファイル制御部7が直接各端
末1114からデータを受信して第2のデータファイル
8に対する更新を開始したとしても、第2のデータファ
イルの記憶内容に誤差が生じることはない。
Furthermore, 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, the first file control unit 1
Even if an abnormal situation occurs and the second file control unit 7 directly receives data from each terminal 1114 and starts updating the second data file 8, an error will occur in the stored contents of the second data file. Never.

第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個の端末
機群に分割して、各端末機群31゜32を第1および第
2の主回線33a、33b。
In the system of this embodiment, a plurality of terminals 4 are divided into two terminal groups, a first terminal group 31 and a second terminal group 32, and each terminal group 31, 32 is First and second main lines 33a, 33b.

切換スイッチ回路34、各1回112a、2bを介して
それぞれ第1および第2のファイル制御部1゜7に接続
している。
The changeover switch circuit 34 is connected to the first and second file control units 1.7, respectively, via the changeover switch circuits 112a and 2b.

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

第1のファイル制御部1からの各主回線2aはそれぞれ
切換接点35の常閉端子aF3よび切換接点39の共通
端子Cに接続され、第2のファイル制御部7からの各主
回線2bはそれぞれ切換接点40の共通端子とCおよび
切換接点38の常閉端子aに接続されている。また、第
1の端末機群31の第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 aF3 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 aF3 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. Further, the first main line 33a of the first terminal group 31 is connected to the switching contact 35.
.. 36 common terminals C, and the second terminal group 32
The second main line 33b is connected to each common terminal C of the switching contacts 37, 38.

また、切換接点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, 40 are connected together, and the normally open terminals d of the switching contacts 38, 39 are connected together. Roughly speaking, the four normally open terminals e and d of the switching contacts 36 and 37 are short-circuited to each other, and the normally closed terminals a and normally open terminals d of the switching contacts 35 and the normally closed terminals a and normally open terminals of the switching contacts 38 are short-circuited. It is short-circuited with terminal d. In addition, the switching contact 39.
Each of the 40 normally open terminals d is open.

このように構成された切換スイッチ回路34において前
述の外部スイッチを操作しない状態においては、第1の
端末機群31の第1の主回線33aは切換スイッチ回路
34.主回路2aを介して第1のファイル制御部1に接
続され、第2の端末機群32の第2の主回路33bは切
換スイッチ回路34.主回路2bを介して第2のファイ
ル制御部7に接続されている。そして、上記外部スイッ
チを常開端子d側に投入すると、第2のファイル制御部
7の各主回線2bが開放され、第1のファイル制御部1
に第1の端末機群31および第2の端末機群32の各端
末v/A4′tfi第1および第2の主回線33a、3
3b、主回線2aを介して閏ループに接続される。一方
、上記外部スイッチを常開端子e側に投入すると、逆に
第1のファイル制御部1の各主回線2aが開放され、第
1および第2の端末機群31.32の各端末機4が第1
および第2の主回線33a、33b、主回線2bを介し
て第2のファイル制御部7に接続される。
When the aforementioned external switch is not operated in the changeover switch circuit 34 configured as described above, the first main line 33a of the first terminal group 31 is connected to the changeover switch circuit 34. The second main circuit 33b of the second terminal group 32 is connected to the first file control unit 1 via the main circuit 2a, and the changeover switch circuit 34. It is connected to the second file control section 7 via the main circuit 2b. 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 file control section 1
Each terminal v/A4'tfi of the first terminal group 31 and the second terminal group 32 is connected to the first and second main lines 33a, 3.
3b, connected to the leap loop via 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 unit 1 is opened, and each terminal 4 of the first and second terminal groups 31 and 32 is opened. is the first
It is also connected to the second file control section 7 via second main lines 33a, 33b and main line 2b.

しかして、正常時においては、上記外部スイッチはいず
れの側にも投入されていないので、第1の端末機群31
の各端末114から送信されたデータは第1のファイル
制御部1に入力され、第2の端末機群32の各端末11
4から送信されたデータは第2のファイルill tl
1部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に等しく集計登録される。
However, under normal conditions, the external switch is not turned on to either side, so the first terminal group 31
The data transmitted from each terminal 114 of the second terminal group 32 is input to the first file control unit 1, and
The data sent from 4 is stored in the second file ill tl
The information is input to part 1 7. Then, the first file control unit 1
The input data is processed in this first file control unit 1, and the necessary data is stored in the first data file 5.
At the same time, the data are aggregated and registered in the auxiliary line 6 and transmitted to the second file control unit 7 . 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 sent to the first file control unit 1 via the first data file 5.
Aggregation is registered to . In this way, under normal conditions, the data transmitted from each terminal 4 is registered equally in the first and second data files 5 and 8.

したがって、第1t′3よび第2のデータファイル5゜
8の記憶内容は常に等しい。
Therefore, the stored contents of the first data file 5.degree. 3 and the second data file 5.8 are always the same.

このような状態で仮に第1のファイル制御部1に異常事
態が生じると、オペレータは前述した外部スイッチを常
開端子e側に投入する。すると、第1および第2の端末
機群31.32の各端末機4が切換スイッチ回路34を
介して第2のファイル制御部7に接続される。したがっ
て、これ以降に各端末機4から送信されたデータはすべ
て第2のファイル制御部7へ入力され、この第2のファ
イル制御部7にてデータ処理された後、第2のデータフ
ァイル8に集計登録される。したがって、第2のデータ
アイル8には正しいデータが継続して集計登録されるこ
とになる。
If an abnormal situation occurs in the first file control section 1 in such a state, the operator turns on the above-mentioned 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 the changeover switch circuit 34. Therefore, all data transmitted from each terminal 4 from now on is input to the second file control section 7, and after being data processed by this second file control section 7, it is transferred to the second data file 8. The total is registered. 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 unit 7, when the external switch is turned to the normally open terminal d side, correct data will continue to be aggregated and registered in the data file 5 of the first file control unit 1. .

このように、第1および第2のファイル制御部1.7の
いずれか一方のファイル制御部に異常事態が発生したと
しても、他方のファイル制御部のデータファイルに正し
いデータが集計登録されるので、前述の実施例と同様の
効果を得ることが可能である。
In this way, even if an abnormal situation occurs in either the first or second file control unit 1.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.

ざらに、この実施例においては、第1r!3よび第2の
ファイル制御部1.7にそれぞれ第1および第2の主回
線33a、33bを介して第1および第2の端末機群3
1.32を接続するようにしているので、正常時におい
て各ファイル制御部1゜7を効率よく使用できる。その
結果、各端末機4におけるデータ処理能率をざらに向上
できる。
Roughly speaking, in this example, the first r! 3 and the second file control unit 1.7 via the first and second main lines 33a and 33b, respectively.
1.32 is connected, each file control section 1.7 can be used efficiently during normal operation. As a result, the data processing efficiency of each terminal 4 can be greatly improved.

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

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

第1図は本発明の一実施例に係わるデータ収集システム
を示すブロック図、第2図は同実施例の第1のファイル
制御部を示すブロック図、第3図は同実施例の切換スイ
ッチ回路を示す回路図、第4図および第5図は同実施例
の動作を示す流れ図、第6図は本発明の他の実施例のデ
ータ収集システムを示すブロック図、第7図は同実施例
の切換スイッチ回路を示す回路図である。 1・・・第1のファイル制御部、2.2a、2b・・・
主回線、3,34・・・切換スイッチ回路、4・・・端
末機、5・・・第1のデータファイル、6・・・補助回
線、7・・・第2のファイル制御部、8・・・第2のデ
ータファイル、9・・・CPLI、31・・・第1の端
末機群、32・・・第2の端末機群、33a・・・第1
の主回線、33b・・・第2の主回線、a・・・常閉端
子、b、 cl、 e・・・常開端子、C・・・共通端
子。 出願人代理人 弁理士 鈴江武彦 第1図 ! 第2図 第3図 第4図     第5図
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. FIG. 4 and FIG. 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, and 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... Changeover switch circuit, 4... Terminal, 5... First data file, 6... Auxiliary line, 7... Second file control unit, 8... ... second data file, 9... CPLI, 31... first terminal group, 32... second terminal group, 33a... first
33b...Second main line, a...Normally closed terminal, b, cl, e...Normally open terminal, C...Common terminal. Applicant's agent Patent attorney Takehiko Suzue Figure 1! Figure 2 Figure 3 Figure 4 Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)データが入力される複数の端末機と、これら各端
末機に主回線を介して接続され、前記各端末機から送信
されたデータを受信して記憶部に設けられた第1のデー
タファイルに集計登録する第1のファイル制御部と、こ
の第1のファイル制御部に補助回線を介して接続され、
前記第1のファイル制御部に入力された前記各端末機か
らのデータを受信して記憶部に設けられた第2のデータ
ファイルに集計登録する第2のファイル制御部と、前記
各端末機と前記第1および第2のファイル制御部との間
に介挿され、前記第1のファイル制御部における異常発
生時に前記主回線を前記第1のファイル制御部から前記
第2のファイル制御部へ切換接続する切換スイッチ回路
とを具備したことを特徴とするデータ収集システム。
(1) A plurality of terminals into which data is input, and first data connected to each of these terminals via a main line and stored in a storage unit by receiving data transmitted from each of the terminals. a first file control unit that performs aggregation registration in a file; and a first file control unit connected to the first file control unit via an auxiliary line;
a second file control unit that receives data from each of the terminals inputted to the first file control unit and aggregates and registers the data in a second data file provided in a storage unit; The main line is inserted between the first and second file control units, and switches the main line from the first file control unit to the second file control unit when an abnormality occurs in the first file control unit. A data collection system characterized by comprising a changeover switch circuit for connection.
(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のファイル制御部のいずれか一方のファイ
ル制御部における異常発生時にこの異常発生したファイ
ル制御部の端末機群の主回線を他方のファイル制御部に
切換接続する切換スイッチ回路とを具備したことを特徴
とするデータ収集システム。
(2) a plurality of terminals consisting of a first and second terminal group into which data is input; and a first terminal connected to the first terminal group via a first main line; a first file control unit that receives data transmitted from each terminal in the group and totalizes and registers the data in a first data file provided in a storage unit; and a second main line for the second terminal group; a second file control unit connected via the second terminal group to receive data transmitted from each terminal of the second terminal group and aggregate and register the data in a second data file provided in the storage unit; an auxiliary line connecting the first and second file control units; and data from the first terminal group input to the first file control unit are transmitted to the second file control unit via the auxiliary line. The second data inputted into the second file control section while being aggregated and registered in the second data file of the section.
means for aggregating and registering data from a group of terminals in the first data file of the first file control unit via the auxiliary line; A second file control unit is inserted between the second file control units, and when an abnormality occurs in one of the first and second file control units, the main line of the terminal group of the file control unit in which the abnormality has occurred is connected to the other. A data collection system comprising: a changeover switch circuit for switching connection to a file control unit of the data collection system.
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 true JPS61139142A (en) 1986-06-26
JPH0330339B2 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
JPH0330339B2 (en) 1991-04-30

Similar Documents

Publication Publication Date Title
US6272529B1 (en) Point-of-sale system and distributed computer network for same
JPS61139142A (en) Data gathering system
JPS58134362A (en) Data processing system for sale processing system
CA2289950A1 (en) Point-of-sale system and distributed computer network for same
US20030079058A1 (en) Point-of-sale system and distributed computer network for same
JPH04107034A (en) Retry frequency learning device
JPS6065376A (en) Pos system
JPH01130276A (en) Pos system
JPH02123893A (en) Home control system
JP2508952B2 (en) Sales data processing method
JP3149283B2 (en) Product sales registration data processing device
JPS6255796A (en) Sales registration system
JPS60262021A (en) Method and apparatus for processing unit cost data in weighing and pricing machine
JPS6143039A (en) Data transmission loop changeover device
JPH079661B2 (en) Transaction processor
JPS61289493A (en) Sales data transmitting/receiving system
JPH04123547A (en) Terminal address registration device in network
JPS61156370A (en) Data processing system having inspecting function
JPS62242295A (en) Sales data processing system
JPH0715720B2 (en) POS system
JPH0319451A (en) Fault detecting system
JPH0452997B2 (en)
JPH0310999B2 (en)
JPS6022267A (en) Pos system
JPH04299493A (en) Communication terminal equipment

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term