JPH05324513A - Merchandise sale data processor - Google Patents

Merchandise sale data processor

Info

Publication number
JPH05324513A
JPH05324513A JP12745092A JP12745092A JPH05324513A JP H05324513 A JPH05324513 A JP H05324513A JP 12745092 A JP12745092 A JP 12745092A JP 12745092 A JP12745092 A JP 12745092A JP H05324513 A JPH05324513 A JP H05324513A
Authority
JP
Japan
Prior art keywords
terminal
message
abnormality
line
processor
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.)
Pending
Application number
JP12745092A
Other languages
Japanese (ja)
Inventor
Makoto Matsui
誠 松井
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 JP12745092A priority Critical patent/JPH05324513A/en
Publication of JPH05324513A publication Critical patent/JPH05324513A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily specify the position of the occurrence of communication abnormality on the side of a high-order processor in the case that a close loop is not formed by the disconnection of a transmission line or the like and bring about the communication abnormality by providing the high-order processor with a line abnormality detecting means and providing each terminal machine with a line abnormality massage communication means. CONSTITUTION:POS terminals 2-1 to 2-n are distributed to respective sales rooms in a shop, and a field processor 1 is installed in the office or the like of this shop, and a store processor 5 is installed in a head office managing the shops. If disconnection occurs between the uppermost terminal 2-1 and the next terminal 2-2, a line abnormality message for which TM number #2 is set is transmitted from the terminal 2-2 to the processor 1. Further, the line abnormality is reported to the processor 5, and TM number #2 of the terminal 2-2 or the like is displayed on the display part of the processor 5. Thus, a person in charge of system management who is standing by in the head office recognizes the occurrence of the line abnormality due to the disconnection or the like at the upstream of the terminal 202 by display contents.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、スーパーマーケットや
コンビニエンスストア等で採用されるPOS(販売時点
情報管理)システムと称される商品販売データ処理装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a product sales data processing device called a POS (point of sale information management) system adopted in supermarkets, convenience stores and the like.

【0002】[0002]

【従来の技術】一般に、POSシステムは、POSター
ミナルと称される複数台の商品販売データ登録用端末機
と、ファイルプロセッサと称される1台の上位プロセッ
サとを、例えばSDLC(シンクロナス・データ・リン
ク・コントロール)回線等の伝送回線でもって閉ループ
に接続し、上位プロセッサから送出されたデータを上流
の端末機から下流の端末機へ順送りに送信し、最下流の
端末機から前記上位プロセッサへ返信するように構成さ
れている。
2. Description of the Related Art Generally, in a POS system, a plurality of commodity sales data registration terminals called POS terminals and one host processor called a file processor are provided, for example, in SDLC (synchronous data).・ Link control) A transmission line such as a line is connected in a closed loop, and the data sent from the upper processor is sent in sequence from the upstream terminal to the downstream terminal, and the downstream terminal to the upper processor. It is configured to reply.

【0003】この種のPOSシステムにおいて、通信異
常の発生箇所を検出する従来技術としては、例えば特開
平01−130276号公報の技術が知られている。こ
の公報の技術は、上位プロセッサが回線異常の発生を認
識すると異常コマンドを端末機の上流側から下流側に順
送りに送信する。端末機は、異常コマンドを受信すると
通信異常である旨を表示部等に出力する構成である。
In this type of POS system, as a conventional technique for detecting a location where a communication abnormality occurs, for example, a technique disclosed in Japanese Patent Laid-Open No. 01-130276 is known. In the technique of this publication, when the upper processor recognizes the occurrence of a line abnormality, it transmits an abnormality command in order from the upstream side to the downstream side of the terminal. When the terminal receives the abnormal command, the terminal outputs a message indicating that the communication is abnormal to the display unit or the like.

【0004】従って、通信異常を来した場合にはその異
常箇所の直前の端末機まで異常出力が行われるので異常
箇所を特定できるようになる。
Therefore, when a communication abnormality occurs, the abnormality output is performed to the terminal device immediately before the abnormality portion, so that the abnormality portion can be specified.

【0005】また、特開昭63−24456号公報の技
術は、各端末機に、伝送回線に接続された入力端子を介
して入力された受信信号の異常を検出すると回線異常を
報知する手段と、上記伝送回線に接続された出力端子を
介して出力された送信信号の異常を検出すると端末機異
常を報知するとともに上記入力端子と出力端子との間を
短絡する手段とを備えたものである。
Further, the technique disclosed in Japanese Patent Laid-Open No. 63-24456 is a means for notifying a line abnormality when detecting an abnormality in a received signal input to each terminal through an input terminal connected to a transmission line. A means for notifying a terminal abnormality when detecting an abnormality in a transmission signal output through an output terminal connected to the transmission line and for short-circuiting the input terminal and the output terminal. ..

【0006】従って、回線の断線により通信異常を来し
た場合にはその異常箇所から後の端末機で受信信号の異
常が検出され回線異常が報知されるので異常箇所を特定
できるようになる。また、端末機の故障により送信異常
を来した場合にはその異常端末機で送信異常が報知され
るので異常端末機を特定できる上、その異常端末機は伝
送回線から自動的に切離されるので、閉ループが保持さ
れる。
Therefore, when a communication error occurs due to a disconnection of the line, an abnormality of the received signal is detected by the terminal device after the abnormal point and the line abnormality is notified, so that the abnormal point can be specified. In addition, when a transmission error occurs due to a terminal failure, the abnormal terminal notifies the abnormal transmission, so that the abnormal terminal can be identified and the abnormal terminal is automatically disconnected from the transmission line. , Closed loop is retained.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、いずれ
の従来公報の技術においても、閉ループの断線や端末機
の故障等により通信異常を来した場合には、該当する端
末機での異常報知出力を確認しなければ異常箇所を特定
することができなかった。このため、システムの管理担
当者は通信異常の発生を認識すると店内を巡回し、各端
末機の出力内容を確認して異常発生箇所を特定しなけれ
ばならず、手間を要していた。
However, in any of the techniques of the prior art publications, when a communication error occurs due to a disconnection of the closed loop or a failure of the terminal, the abnormality notification output of the corresponding terminal is confirmed. Otherwise, the abnormal part could not be identified. For this reason, when the system management person recognizes the occurrence of a communication abnormality, he has to go around the store and check the output contents of each terminal to identify the location of the abnormality, which is troublesome.

【0008】そこで本発明は、伝送回線の断線等により
閉ループが形成されず通信異常を来した場合にはその異
常発生箇所を上位プロセッサ側で容易に特定することが
できる商品販売データ処理装置を提供しようとするもの
である。
Therefore, the present invention provides a product sales data processing device in which, when a closed loop is not formed due to a disconnection of a transmission line or the like and a communication abnormality occurs, the location of the abnormality can be easily specified on the upper processor side. Is what you are trying to do.

【0009】また本発明は、閉ループを形成していた端
末機が故障等に起因して伝送回線から切り離された場合
にはその異常端末機を上位プロセッサ側で容易に特定す
ることができる商品販売データ処理装置を提供しようと
するものである。
Further, according to the present invention, when a terminal forming a closed loop is disconnected from a transmission line due to a failure or the like, the abnormal terminal can be easily identified on the upper processor side. An object is to provide a data processing device.

【0010】[0010]

【課題を解決するための手段】請求項1対応の発明は、
それぞれに固有の端末機番号が割当てられた複数台の商
品販売データ登録用端末機と1台の上位プロセッサとを
伝送回線でもって閉ループに接続し、上位プロセッサか
ら送出されたデータを上流の端末機から下流の端末機へ
順送りに送信し、最下流の端末機から上位プロセッサへ
返信する商品販売データ処理装置において、上位プロセ
ッサは、所定周期で上流の端末機から下流の端末機へ順
送りにループチェック用伝文を送信するチェック伝文送
信手段と、この送信手段によりループチェック用伝文を
送信する毎に最下流の端末機からのデータ受信を待機す
る受信待機手段と、この待機手段により受信待機中に最
下流の端末機から回線異常伝文を受信するとその受信伝
文に組み込まれた端末機番号に基づいて回線異常を通知
する回線異常通知手段とを備え、各端末機は、上位プロ
セッサから周期的に送信されるループチェック用伝文の
受信無しを検出する無受信検出手段と、この検出手段に
よりループチェック用伝文の受信無しが検出されると該
当端末機に割当てられた端末機番号を所定の回線異常伝
文に組込みその回線異常伝文を伝送回線を介して上位プ
ロセッサへ送信する回線異常伝文送信手段とを備えたも
のである。
The invention according to claim 1 is
A plurality of product sales data registration terminals each assigned a unique terminal number and one upper processor are connected in a closed loop by a transmission line, and the data sent from the upper processor is connected to the upstream terminal. From the downstream terminal to the upstream terminal, the upstream processor sends a loop check from the upstream terminal to the downstream terminal in a predetermined cycle. Check message sending means for sending a message for receiving a message, reception waiting means for waiting for data reception from the most downstream terminal every time a message for loop check is sent by this sending means, and waiting for reception by this waiting means When a line error message is received from the most downstream terminal, the line error notification is sent based on the terminal number embedded in the received message. Each of the terminals is provided with a stage, and each terminal detects non-reception detecting means for detecting no reception of the loop check message periodically transmitted from the upper processor, and this detecting means detects no reception of the loop check message. Then, the terminal number assigned to the corresponding terminal is incorporated into a predetermined line error message and the line error message is transmitted to the upper processor via the transmission line. is there.

【0011】請求項2対応の発明は、それぞれに固有の
端末機番号が割当てられた複数台の商品販売データ登録
用端末機と1台の上位プロセッサとを伝送回線でもって
閉ループに接続し、上位プロセッサから送出されたデー
タを上流の端末機から下流の端末機へ順送りに送信し、
最下流の端末機から上位プロセッサへ返信する商品販売
データ処理装置において、上位プロセッサは、各端末機
にそれぞれ割当てられた端末機番号を記憶する端末機番
号記憶手段と、所定周期で上流の端末機から下流の端末
機へ順送りにループチェック用伝文を送信するチェック
伝文送信手段と、この送信手段によりループチェック用
伝文を送信する毎に最下流の端末機からのデータ受信を
待機する受信待機手段と、この待機手段により受信待機
中に最下流の端末機からループチェック用伝文を受信す
るとその受信伝文に付加された端末機番号と記憶手段に
より記憶された端末機番号とを比較する番号比較手段
と、この比較手段により受信伝文に付加されていない端
末機番号を検出するとその端末機番号が割当てられた端
末機の異常発生を通知する端末機異常通知手段とを備
え、各端末機は、上位プロセッサから周期的に送信され
るループチェック用伝文を伝送回線に接続された信号入
力部を介して受信する伝文受信手段と、この受信手段に
よりループチェック用伝文を受信するとその伝文に該当
端末機に割当てられた端末機番号を付加して伝送回線に
接続された信号出力部を介して下流側へ送信するチェッ
ク伝文送信手段と、信号出力部を介して送信する送信信
号の異常を検出する送信異常検出手段と、この異常検出
手段による異常検出出力により信号入力部と信号出力部
との間を短絡して該当端末機を伝送回線から切離すオフ
ライン手段とを備えたものである。
According to a second aspect of the present invention, a plurality of commodity sales data registration terminals, each of which is assigned a unique terminal number, and one upper processor are connected in a closed loop via a transmission line, The data sent from the processor is sent in sequence from the upstream terminal to the downstream terminal,
In a product sales data processing device that sends a reply from a most downstream terminal to an upper processor, the upper processor includes a terminal number storage unit that stores a terminal number assigned to each terminal and an upstream terminal at a predetermined cycle. Check message sending means for sending the loop check message in sequence from the device to the downstream terminal, and reception waiting for data reception from the most downstream terminal device every time the loop check message is sent by this sending means. When a loop check message is received from the most downstream terminal while waiting for reception by this waiting means, the terminal number added to the received message is compared with the terminal number stored by the storage means. Number comparing means and the terminal number not added to the received message are detected by this comparing means, the abnormality occurrence of the terminal to which the terminal number is assigned is notified. And a terminal receiving means for receiving a loop check message that is periodically transmitted from the host processor via a signal input unit connected to the transmission line, When a loop check message is received by this receiving means, the check message is added to the message and the terminal number assigned to the corresponding terminal is transmitted to the downstream side via the signal output section connected to the transmission line. The transmission means, the transmission abnormality detection means for detecting an abnormality of the transmission signal transmitted via the signal output portion, and the abnormality detection output by the abnormality detection means short-circuits the signal input portion and the signal output portion to cause the corresponding terminal And an off-line means for disconnecting the machine from the transmission line.

【0012】[0012]

【作用】請求項1対応の発明においては、上位プロセッ
サからは所定周期で上流の端末機から下流の端末機へ順
送りにループチェック用伝文が送信され、かつ各端末機
では上記ループチェック用伝文の受信有無が常時チェッ
クされる。
According to the invention of claim 1, the host processor sends the loop check message from the upstream terminal to the downstream terminal in a predetermined cycle, and the loop check message is sent to each terminal. Whether or not a sentence is received is constantly checked.

【0013】ここで、伝送回線の断線等により閉ループ
が形成されず通信異常を来した場合には、その異常発生
箇所の直前の端末機までは上記ループチェック用伝文を
受信できるが、それ以後の端末機では上記ループチェッ
ク用伝文を受信できない。
Here, when a closed loop is not formed due to a disconnection of the transmission line and a communication abnormality occurs, the above-mentioned loop check message can be received up to the terminal immediately before the location of the abnormality, but thereafter. The above terminal cannot receive the above loop check message.

【0014】そして、このループチェック用伝文を受信
できなかった端末機からは、該当端末機に割当てられた
端末機番号をセットした回線異常伝文が伝送回線を介し
て上位プロセッサへ送信され、上位プロセッサでは受信
した回線異常伝文中の端末機番号に基づいて回線異常が
通知される。これにより、上位プロセッサ側で通信異常
の発生箇所を特定できるようになる。
Then, from the terminal which cannot receive the loop check message, a line abnormality message in which the terminal number assigned to the corresponding terminal is set is transmitted to the upper processor via the transmission line, The upper processor notifies the line abnormality based on the terminal number in the received line abnormality message. As a result, it becomes possible for the upper processor side to specify the location where the communication abnormality has occurred.

【0015】また請求項2対応の発明においても、やは
り上位プロセッサからは所定周期で上流の端末機から下
流の端末機へ順送りにループチェック用伝文が送信さ
れ、かつ各端末機では上記ループチェック用伝文の受信
有無が常時チェックされる。そして、伝送回線に接続さ
れた信号入力部を介して上記ループチェック用伝文が受
信された場合には、その受信伝文に該当端末機に割当て
られた端末機番号が付加された後、上記伝送回線に接続
された信号出力部を介して下流側へ送信される。
Also in the invention according to claim 2, a loop check message is sent from the upstream processor to the downstream terminal in a predetermined cycle in a predetermined cycle, and the loop check is performed at each terminal. Whether or not a message has been received is constantly checked. When the loop check message is received via the signal input unit connected to the transmission line, the received message is added with the terminal number assigned to the corresponding terminal, and then It is transmitted to the downstream side via the signal output unit connected to the transmission line.

【0016】また、各端末機では上記信号出力部を介し
て送信される送信信号の異常が検出されると、前記伝送
回線に接続された信号入力部と上記信号出力部との間が
短絡され、該当端末機は前記伝送回線から切離される。
When an abnormality of the transmission signal transmitted through the signal output unit is detected in each terminal, the signal input unit connected to the transmission line and the signal output unit are short-circuited. The corresponding terminal is disconnected from the transmission line.

【0017】従って、各端末機に故障が発生していない
ときには、最下流の端末機から上位プロセッサに返信さ
れるループチェック用伝文に各端末機の端末機番号が順
番に付加される。上位プロセッサには予め各端末機の端
末機番号が記憶されており、正常時には、上位プロセッ
サに記憶された端末機番号と上位プロセッサに戻された
ループチェック用伝文に付加された端末機番号列とは一
致する。
Therefore, when no failure occurs in each terminal, the terminal number of each terminal is sequentially added to the loop check message returned from the most downstream terminal to the upper processor. The terminal number of each terminal is stored in advance in the host processor.In normal operation, the terminal number stored in the host processor and the terminal number string added to the loop check message returned to the host processor. Matches with.

【0018】ところが、ある端末機が故障等に起因して
伝送回線から切離されると、上位プロセッサに返信され
るループチェック用伝文に付加される端末機番号列から
切離された端末機の番号が抜け、上位プロセッサでは端
末機番号が抜けた端末機の異常発生が通知される。これ
により、上位プロセッサ側で伝送回線から切離された異
常端末機を特定できるようになる。
However, when a certain terminal is disconnected from the transmission line due to a failure or the like, the terminal number string separated from the terminal number string added to the loop check message returned to the upper processor is The number is missing, and the upper processor is notified of the occurrence of an abnormality in the terminal whose number is missing. This enables the host processor side to identify the abnormal terminal disconnected from the transmission line.

【0019】[0019]

【実施例】以下、本発明の一実施例を図面を参照しなが
ら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0020】図1は本発明を適用した一実施例であるP
OSシステムの全体図である。このPOSシステムは、
1台の上位プロセッサとしてのファイルプロセッサ1
に、複数台の商品販売データ登録用端末機としてのPO
Sターミナル2-1,2-2,…,2-nが、伝送回線として
のSDLC回線3でもって閉ループに接続されている。
FIG. 1 shows an embodiment P to which the present invention is applied.
1 is an overall view of an OS system. This POS system is
File processor 1 as one host processor
In addition, as a terminal for registering multiple product sales data,
The S terminals 2-1, 2-2, ..., 2-n are connected in a closed loop by an SDLC line 3 as a transmission line.

【0021】各POSターミナル2-1,2-2,…,2-n
には、それぞれに予め固有の端末機番号としてのTM
(ターミナル)番号#1,#2,…,#nが割当てら
れ、ターミナル内部の記憶装置に設定されている。
Each POS terminal 2-1, 2-2, ..., 2-n
Has a TM as a unique terminal number.
(Terminal) numbers # 1, # 2, ..., #n are assigned and set in the storage device inside the terminal.

【0022】前記ファイルプロセッサ1は、公衆回線ま
たはISDN(サービス総合ディジタル網)等の専用回
線4を介してホストコンピュータ等で構成されるストア
プロセッサ5に接続されている。
The file processor 1 is connected to a store processor 5 composed of a host computer or the like via a private line 4 such as a public line or ISDN (Integrated Services Digital Network).

【0023】各POSターミナル2-1,2-2,…,2-n
はそれぞれ店の各売場に分散されて設置されており、フ
ァイルプロセッサ1はその店の事務所等に設置されてお
り、ストアプロセッサ5は店を管理する本部に設置され
ている。
Each POS terminal 2-1, 2-2, ..., 2-n
Are installed in each of the sales floors of the store, the file processor 1 is installed in the office of the store, and the store processor 5 is installed in the headquarters that manages the store.

【0024】図2は前記ストアプロセッサ5の概略構成
を示すブロック図である。このストアプロセッサ5は、
制御部本体を構成するCPU(中央処理装置)51、上
記CPU51が実行するプログラムデータ等が予め格納
されたROM(リード・オンリ・メモリ)52、各PO
Sターミナル2-1,2-2,…,2-nで販売登録された商
品販売データをファイルプロセッサ1を介して収集し集
計するための各種メモリエリアが形成されるRAM(ラ
ンダム・アクセス・メモリ)53、前記公衆回線または
専用回線4を介して行われるデータの送受信を制御する
通信コントローラ54及び複数のI/Oポート55,5
6,57を有しており、これらをバスライン58で相互
に接続している。
FIG. 2 is a block diagram showing a schematic configuration of the store processor 5. This store processor 5
A CPU (Central Processing Unit) 51 that constitutes the main body of the control unit, a ROM (Read Only Memory) 52 in which program data and the like executed by the CPU 51 are stored in advance, and each PO
RAM (random access memory) in which various memory areas are formed for collecting and totaling the product sales data registered for sale at the S terminals 2-1, 2-2, ..., 2-n via the file processor 1. ) 53, a communication controller 54 for controlling data transmission / reception performed via the public line or the dedicated line 4, and a plurality of I / O ports 55, 5
6 and 57 are connected to each other by a bus line 58.

【0025】前記I/Oポート55はキーボード55a
を接続しており、I/Oポート56は表示部56aを接
続しており、I/Oポート57はブザー58を接続して
いる。
The I / O port 55 is a keyboard 55a
, The I / O port 56 is connected to the display unit 56a, and the I / O port 57 is connected to the buzzer 58.

【0026】図3は前記ファイルプロセッサ1の概略構
成を示すブロック図である。このファイルプロセッサ1
は、制御部本体を構成するCPU11、上記CPU11
が実行するプログラムデータ等が予め格納されたROM
12、特に図4に示すようにTM番号の正常順序エリア
13aと今回順序エリア13bとが形成されたRAM1
3、日時を計時する時計部14、前記公衆回線または専
用回線4を介して行われるデータの送受信を制御する通
信コントローラ15及び前記SDLC回線3を介して行
われるデータの送受信を制御するループコントローラ1
6を有しており、これらをバスライン17で相互に接続
している。
FIG. 3 is a block diagram showing a schematic configuration of the file processor 1. This file processor 1
Is a CPU 11 constituting the control unit main body, the CPU 11
ROM in which program data to be executed by
12, particularly RAM 1 in which a normal order area 13a of TM numbers and a current order area 13b are formed as shown in FIG.
3, a clock unit 14 for measuring the date and time, a communication controller 15 for controlling the transmission / reception of data performed via the public line or the dedicated line 4, and a loop controller 1 for controlling the transmission / reception of data performed via the SDLC line 3.
6 are connected to each other by a bus line 17.

【0027】図5は前記POSターミナル2-1,2-2,
…,2-nの概略構成を示すブロック図である。これらP
OSターミナル2-1,2-2,…,2-nは、いずれも制御
部本体を構成するCPU21、上記CPU21が実行す
るプログラムデータや該当するTM番号等が予め格納さ
れたROM22、商品販売データを登録処理するための
各種メモリエリアが形成されるRAM23、前記SDL
C回線3を介して行われるデータの送受信を制御するル
ープコントローラ24及び複数のI/Oポート25,2
6,27を有しており、これらをバスライン28で相互
に接続している。
FIG. 5 shows the POS terminals 2-1, 2-2,
, 2-n is a block diagram showing a schematic configuration. These P
Each of the OS terminals 2-1, 2-2, ..., 2-n has a CPU 21 that constitutes the main body of the control unit, a ROM 22 in which program data executed by the CPU 21 and a corresponding TM number are stored in advance, and product sales data. RAM 23 in which various memory areas for performing registration processing are formed, and the SDL
A loop controller 24 and a plurality of I / O ports 25, 2 for controlling data transmission / reception performed via the C line 3.
6 and 27, which are interconnected by a bus line 28.

【0028】前記I/Oポート25はキーボード25a
を接続しており、I/Oポート26は表示部26aを接
続しており、I/Oポート27はプリンタ28を接続し
ている。
The I / O port 25 is a keyboard 25a
, The I / O port 26 is connected to the display unit 26a, and the I / O port 27 is connected to the printer 28.

【0029】また、各POSターミナル2-1,2-2,
…,2-nは、一対の2接点切換スイッチ29a,29b
を備えたリレー回路29、データ信号を受信するレシー
バ201、データ信号を送信するドライバ202及び送
信異常検出回路203を有する。
Also, each POS terminal 2-1, 2-2,
..., 2-n are a pair of two-contact changeover switches 29a, 29b
It has a relay circuit 29 provided with, a receiver 201 for receiving a data signal, a driver 202 for transmitting a data signal, and a transmission abnormality detection circuit 203.

【0030】前記リレー回路29の一方の切換スイッチ
29aは、その固定接点cを前記SDLC回線3の上流
側3aに接続し、常閉接点bを前記レシーバ201の入
力端に接続している。上記リレー回路29の他方の切換
スイッチ29bは、その固定接点cを前記SDLC回線
3の下流側3bに接続し、常閉接点bを前記ドライバ2
02の出力端に接続している。両切換スイッチ29a,
29bの各常開接点a,aは短絡されている。
One switch 29a of the relay circuit 29 has its fixed contact c connected to the upstream side 3a of the SDLC line 3 and its normally closed contact b connected to the input end of the receiver 201. The other changeover switch 29b of the relay circuit 29 has its fixed contact c connected to the downstream side 3b of the SDLC line 3 and its normally closed contact b connected to the driver 2
02 is connected to the output terminal. Both changeover switches 29a,
The normally open contacts a, a of 29b are short-circuited.

【0031】前記レシーバ201の出力端は前記ループ
コントローラ24に接続されるとともに前記送信異常検
出回路203の一方の入力端に接続される。前記ドライ
バ202の入力端は前記ループコントローラ24に接続
されるとともに前記送信異常検出回路203の他方の入
力端に接続される。
The output end of the receiver 201 is connected to the loop controller 24 and also to one input end of the transmission abnormality detection circuit 203. The input end of the driver 202 is connected to the loop controller 24 and the other input end of the transmission abnormality detection circuit 203.

【0032】前記送信異常検出回路203は、一方の入
力端に入力される前記レシーバ201からの出力データ
信号と他方の入力端に入力される前記ドライバ202へ
の入力データ信号とに基づいて送信信号の異常を検出
し、異常検出出力を前記リレー回路29に与えて、一対
の切換スイッチ29a,29bの可変接点を常閉側bか
ら常開側aに切換えるものである。
The transmission abnormality detection circuit 203 transmits a transmission signal based on the output data signal from the receiver 201 input to one input end and the input data signal to the driver 202 input to the other input end. Is detected and the abnormality detection output is given to the relay circuit 29 to switch the variable contacts of the pair of changeover switches 29a and 29b from the normally closed side b to the normally open side a.

【0033】ここに、リレー回路29の一方のリレース
イッチ29aとレシーバ201とで信号入力部204を
構成し、他方のリレースイッチ29bとドライバ202
とで信号出力部205を構成する。また、送信異常検出
回路203は、上記信号出力部204を介して送信する
送信信号の異常を検出する送信異常検出手段を構成し、
リレー回路29は上記送信異常検出手段による異常検出
出力により前記信号入力部204と信号出力部205と
の間を短絡して該当端末機を前記SDLC回線3から切
離すオフライン手段を構成する。
Here, one relay switch 29a of the relay circuit 29 and the receiver 201 constitute a signal input section 204, and the other relay switch 29b and the driver 202.
And constitute the signal output unit 205. Further, the transmission abnormality detection circuit 203 constitutes transmission abnormality detection means for detecting an abnormality in the transmission signal transmitted via the signal output unit 204,
The relay circuit 29 constitutes an off-line means for disconnecting the corresponding terminal from the SDLC line 3 by short-circuiting the signal input section 204 and the signal output section 205 by the abnormality detection output of the transmission abnormality detection means.

【0034】しかして、前記ファイルプロセッサ1のC
PU11は、電源の投入後、特に図6に示す処理を実行
するようにプログラム制御されている。すなわち、電源
の投入により立ち上がったならば、ステップST1でル
ープコントローラ16を制御してループチェック用伝文
を上流のPOSターミナル2-1から下流のPOSターミ
ナルへ順送りに送信する。送信後、ST2で最下流のP
OSターミナル2-nからの伝文受信を待機する。そし
て、ST3で上記ループチェック用伝文を受信した場合
には、ST4でその受信伝文に付加されているTM番号
列を前記RAM13の正常順序エリア13aに格納す
る。
Then, C of the file processor 1
The PU 11 is program-controlled so as to particularly execute the processing shown in FIG. 6 after the power is turned on. That is, when the power is turned on and the power is turned on, the loop controller 16 is controlled in step ST1 to sequentially transmit the loop check message from the upstream POS terminal 2-1 to the downstream POS terminal 2-1. After sending, the most downstream P in ST2
Wait for message reception from OS terminal 2-n. When the loop check message is received in ST3, the TM number sequence added to the received message is stored in the normal order area 13a of the RAM 13 in ST4.

【0035】ここに、ファイルプロセッサ1のRAM1
3に形成される正常順序エリア13aは、各POSター
ミナル2-1,2-2,…,2-nにそれぞれ割当てられたT
M番号を記憶する端末機番号記憶手段を構成する。
Here, the RAM 1 of the file processor 1
The normal order area 13a formed in No. 3 is the T assigned to each POS terminal 2-1, 2-2, ..., 2-n.
A terminal number storage means for storing the M number is configured.

【0036】前記CPU11は、次に、ST5で60秒
の経過を検出したならば、ST6で再度ループコントロ
ーラ16を制御してループチェック用伝文を上流のPO
Sターミナル2-1から下流のPOSターミナルへ順送り
に送信する。送信後、ST7で最下流のPOSターミナ
ル2-nからの伝文受信を待機する。そして、ST8で上
記ループチェック用伝文を受信した場合には、ST9で
その受信伝文に付加されているTM番号列を前記RAM
13の今回順序エリア13bに格納する。
Next, when the CPU 11 detects that 60 seconds have passed in ST5, it again controls the loop controller 16 in ST6 to send the loop check message to the upstream PO.
Send from the S terminal 2-1 to the downstream POS terminal in order. After the transmission, in ST7, it waits for the reception of a message from the downstream POS terminal 2-n. When the loop check message is received in ST8, the TM number string added to the received message is stored in the RAM in ST9.
It is stored in the present order area 13b of No. 13.

【0037】次に、ST10で上記RAM13の正常順
序エリア13aの内容と今回順序エリア13bの内容と
を比較する。そして、正常順序エリア13aには格納さ
れているが今回順序エリアには格納されていないTM番
号を検出したならば、ST11でその番号抜けのTM番
号と上記正常順序エリア13aの内容とからターミナル
異常通知伝文を作成する。そして前記通信コントローラ
15を制御し、その異常通知伝文を公衆回線または専用
回線4を介してストアプロセッサ5へ送信する。
Next, in ST10, the contents of the normal order area 13a of the RAM 13 and the contents of the current order area 13b are compared. If a TM number that is stored in the normal order area 13a but is not stored in the current order area is detected, a terminal error is detected from the missing TM number in ST11 and the contents of the normal order area 13a. Create notification message. Then, it controls the communication controller 15 to transmit the abnormality notification message to the store processor 5 via the public line or the dedicated line 4.

【0038】しかる後、ST5に戻り、60秒の経過を
検出したならば、ST6で再度ループチェック伝文を送
信し、ST7で最下流のPOSターミナル2-nからの受
信を待機する。
After that, returning to ST5, if the lapse of 60 seconds is detected, the loop check message is transmitted again in ST6, and the reception from the most downstream POS terminal 2-n is waited in ST7.

【0039】ここで、ST8で前記ループチェック伝文
を最下流のPOSターミナル2-nから受信した場合には
上記と同様の処理を繰り返す。
Here, when the loop check message is received from the most downstream POS terminal 2-n in ST8, the same process as above is repeated.

【0040】これに対し、ST12で回線異常通知伝文
を最下流のPOSターミナル2-nから受信した場合に
は、ST13でその伝文中のTM番号と前記正常順序エ
リア13aの内容とから回線異常通知伝文を作成する。
そして前記通信コントローラ15を制御し、その異常通
知伝文を公衆回線または専用回線4を介してストアプロ
セッサ5へ送信する。
On the other hand, when the line abnormality notification message is received from the POS terminal 2-n at the most downstream in ST12, the line error is detected from the TM number in the message and the contents of the normal order area 13a in ST13. Create notification message.
Then, it controls the communication controller 15 to transmit the abnormality notification message to the store processor 5 via the public line or the dedicated line 4.

【0041】しかる後、ST5に戻り、60秒の経過を
検出したならば、ST6で再度ループチェック伝文を送
信して上記処理を繰り返す。
Thereafter, the process returns to ST5, and if the elapse of 60 seconds is detected, the loop check message is transmitted again at ST6 and the above process is repeated.

【0042】ここに、上記ファイルプロセッサ1のCP
U11は、ST5及びST6の処理で所定周期で上流の
POSターミナルから下流のPOSターミナルへ順送り
にループチェック用伝文を送信するチェック伝文送信手
段を構成し、ST7の処理でこの送信手段によりループ
チェック用伝文を送信する毎に最下流のPOSターミナ
ルからのデータ受信を待機する受信待機手段を構成す
る。
Here, the CP of the file processor 1
U11 constitutes a check message transmitting means for transmitting the loop check message in sequence from the upstream POS terminal to the downstream POS terminal at a predetermined cycle in the processes of ST5 and ST6, and in the process of ST7, loops by this transmitting device. Each time a check message is transmitted, reception waiting means for waiting for data reception from the most downstream POS terminal is configured.

【0043】またCPU11は、ST8,ST9及びS
T10の処理でこの待機手段により受信待機中に最下流
のPOSターミナルからループチェック用伝文を受信す
るとその受信伝文に付加されたTM番号と前記正常順序
エリア13aに記憶されたTM番号とを比較する番号比
較手段を構成し、ST11の処理でこの比較手段により
受信伝文に付加されていないTM番号を検出するとその
TM番号が割当てられたPOSターミナルの異常発生を
通知する端末機異常通知手段を構成する。
Further, the CPU 11 uses ST8, ST9 and S.
When the loop check message is received from the most downstream POS terminal by the waiting means in the processing of T10 while waiting for the reception, the TM number added to the received message and the TM number stored in the normal order area 13a are displayed. Comprising number comparing means for comparing, if the TM number not added to the received message is detected by the comparing means in the processing of ST11, the terminal abnormality notifying means for notifying the occurrence of abnormality of the POS terminal to which the TM number is assigned Make up.

【0044】またCPU11は、ST12及びST13
の処理で前記受信待機手段により受信待機中に最下流の
POSターミナル2-nから回線異常伝文を受信するとそ
の受信伝文に組み込まれたTM番号に基づいて回線異常
を通知する回線異常通知手段を構成する。
Further, the CPU 11 uses ST12 and ST13.
When a line abnormality message is received from the most downstream POS terminal 2-n while the reception standby unit is waiting for reception in the processing of the above, the line abnormality notifying unit notifies the line abnormality based on the TM number incorporated in the received message. Make up.

【0045】前記各POSターミナル2-1,2-2,…,
2-nのCPU21は、前記ファイルプロセッサ1の電源
が投入され、SDLC回線3による閉ループが確立され
たならば、特に図7に示す処理を実行するようにプログ
ラム制御されている。
Each of the POS terminals 2-1, 2-2, ...
The 2-n CPU 21 is program-controlled so as to execute the processing shown in FIG. 7 in particular when the power of the file processor 1 is turned on and the closed loop by the SDLC line 3 is established.

【0046】先ず、ST1及びST2で予め設定された
X秒の期間内にループコントローラ24で伝文を受信し
たか否かを判断する。なお、この設定期間X秒は前記フ
ァイルプロセッサ1から周期的に送信されるループチェ
ック用伝文の送信周期(この場合60秒)より2倍以上
長く設定されている。
First, in ST1 and ST2, it is determined whether or not a message is received by the loop controller 24 within a preset period of X seconds. The set period X seconds is set to be twice or more longer than the transmission period (60 seconds in this case) of the loop check message periodically transmitted from the file processor 1.

【0047】そして、ST2でX秒の期間内に何も伝文
を受信できなかった場合には、上流側のSDLC回線3
aの断線により通信異常が発生していると判断して、S
T3でループコントローラ24を制御して自己のTM番
号をセットした回線異常伝文をドライバ202を介して
下流側のSDLC回線3bに送信する。その後、ST1
の処理に戻る。
If no message can be received within the period of X seconds in ST2, the upstream SDLC line 3
It is judged that a communication error has occurred due to the disconnection of a, and S
At T3, the loop controller 24 is controlled to transmit the line abnormality message in which the own TM number is set to the SDLC line 3b on the downstream side via the driver 202. Then ST1
Return to processing.

【0048】これに対し、ST1でX秒の期間内に伝文
を受信し、ST4でその受信伝文が前記ループチェック
用伝文の場合には、ST5でその受信したループチェッ
ク用伝文に自己のTM番号を付加した後、そのループチ
ェック用伝文をドライバ202を介して下流側のSDL
C回線3bに送信する。その後、ST1の処理に戻る。
On the other hand, if a message is received within X seconds in ST1, and the received message is the loop check message in ST4, the received loop check message is added in ST5. After adding its own TM number, the loop check message is sent to the SDL on the downstream side via the driver 202.
Send to C line 3b. Then, the process returns to ST1.

【0049】また、ST1でX秒の期間内に伝文を受信
し、ST4でその受信伝文が前記ループチェック用伝文
でなく、ST6で前記回線異常伝文の場合には、ST7
でその受信した回線異常伝文をそのままドライバ202
を介して下流側のSDLC回線3bに送信する。その
後、ST1の処理に戻る。
If a message is received within X seconds in ST1, the received message is not the loop check message in ST4, and the line abnormality message is in ST6, ST7 is received.
Then, the received line error message is directly sent to the driver 202.
Via the SDLC line 3b on the downstream side. Then, the process returns to ST1.

【0050】ここに、各POSターミナル2-1,2-2,
…,2-nのCPU21は、ST1及びST2の処理で前
記ファイルプロセッサ1から周期的に送信されるループ
チェック用伝文を前記SDLC回線3に接続された信号
入力部204を介して受信する伝文受信手段と、前記フ
ァイルプロセッサ1から周期的に送信されるループチェ
ック用伝文の受信無しを検出する無受信検出手段を構成
する。
Here, each POS terminal 2-1, 2-2,
The 2-n CPU 21 receives the loop check message periodically transmitted from the file processor 1 in the processes of ST1 and ST2 via the signal input unit 204 connected to the SDLC line 3. The sentence receiving means and the non-reception detecting means for detecting no reception of the loop check message periodically transmitted from the file processor 1 are configured.

【0051】またCPU21は、ST3の処理で上記無
受信検出手段によりループチェック用伝文の受信無しが
検出されると該当POSターミナルに割当てられたTM
番号を所定の回線異常伝文に組込みその回線異常伝文を
前記SDLC回線3を介して前記ファイルプロセッサ1
へ送信する回線異常伝文送信手段を構成する。
When the non-reception detecting means detects that no loop check message has been received, the CPU 21 assigns the TM to the corresponding POS terminal.
A number is incorporated in a predetermined line abnormality message, and the line abnormality message is transmitted via the SDLC line 3 to the file processor 1
It constitutes a line abnormality message transmission means for transmitting to.

【0052】さらにCPU21は、前記伝文受信手段に
よりループチェック用伝文を受信するとその伝文に該当
POSターミナルに割当てられたTM番号を付加して前
記SDLC回線3に接続された信号出力部205を介し
て下流側へ送信するチェック伝文送信手段を構成する。
Further, when the CPU 21 receives the loop check message by the message receiving means, the CPU 21 adds the TM number assigned to the corresponding POS terminal to the message and outputs the signal output section 205 connected to the SDLC line 3. The check message transmitting means for transmitting the check message to the downstream side via the.

【0053】前記ストアプロセッサ5は、特に図8に示
す処理を実行するようにプログラム制御されている。す
なわち、ST1で前記ファイルプロセッサ1から送信さ
れる伝文を通信コントローラ54で受信するのを待機し
ており、ST2で前記回線異常通知伝文を受信した場合
には、ブザー57aを鳴動させるとともに、受信伝文中
のTM番号と正常TM番号列とを表示部56aに表示さ
せる。
The store processor 5 is program-controlled to execute the processing shown in FIG. That is, in ST1, the communication controller 54 waits for the message transmitted from the file processor 1 to be received, and in ST2, when the line abnormality notification message is received, the buzzer 57a is sounded and The TM number in the received message and the normal TM number string are displayed on the display unit 56a.

【0054】また、ST3で前記ターミナル異常通知伝
文を受信した場合には、ブザー57aを鳴動させるとと
もに、受信伝文中のTM番号と正常TM番号列とを表示
部56aに表示させる。
When the terminal abnormality notification message is received in ST3, the buzzer 57a is sounded and the TM number and the normal TM number string in the received message are displayed on the display unit 56a.

【0055】なお、ストアプロセッサ5がプリンタを有
する場合には、受信伝文中のTM番号と正常TM番号列
とを該プリンタにより記録紙に印字出力するようにして
もよい。
When the store processor 5 has a printer, the TM number and the normal TM number sequence in the received message may be printed out on the recording paper by the printer.

【0056】このように構成された本実施例において
は、ファイルプロセッサ1及び各POSターミナル2-
1,2-2,…,2-nの電源が投入され、SDLC回線3
による閉ループが確立されると、ファイルプロセッサ1
はループチェック用伝文を上流のPOSターミナル2-1
から下流のPOSターミナルへ順送りに送信する。
In the present embodiment configured as described above, the file processor 1 and each POS terminal 2-
The power of 1, 2-2, ..., 2-n is turned on, and the SDLC line 3
When the closed loop is established by the file processor 1,
Sends the loop check message to the upstream POS terminal 2-1
To send to the downstream POS terminal in order.

【0057】このループチェック用伝文を受信したPO
Sターミナル2-1,2-2,…,2-nは、それぞれ自己に
割り当てられた固有のTM番号を上記ループチェック用
伝文に付加してさらに下流側に送信する。
PO receiving this loop check message
Each of the S terminals 2-1, 2-2, ..., 2-n adds a unique TM number assigned to itself to the loop check message and transmits it further downstream.

【0058】従って、このループチェック用伝文は閉ル
ープを形成する各POSターミナル2-1,2-2,…,2
-nのTM番号#1,#2,…,#nが最上流のターミナ
ルのものから順に付加されて、最下流のPOSターミナ
ル2-nからファイルプロセッサ1に戻される。そこで、
ファイルプロセッサ1はそのTM番号列をRAM13の
正常順序エリア13aに格納する。
Therefore, this loop check message is used for each POS terminal 2-1, 2-2, ..., 2 forming a closed loop.
The TM numbers # 1, # 2, ..., #n of -n are added in order from the most upstream terminal, and returned to the file processor 1 from the most downstream POS terminal 2-n. Therefore,
The file processor 1 stores the TM number string in the normal order area 13a of the RAM 13.

【0059】その後、ファイルプロセッサ1からは60
秒の周期で上記ループチェック用伝文が上記と同様にし
て繰り返し送信される。
After that, 60 from the file processor 1
The loop check message is repeatedly transmitted in the same manner as above at a cycle of seconds.

【0060】ここで、閉ループを形成するSDLC回線
3に断線等の通信異常が発生しておらず、かつ各POS
ターミナル2-1,2-2,…,2-nも故障等によってSD
LC回線3から切り離されていない場合には、各POS
ターミナル2-1,2-2,…,2-nのTM番号#1,#
2,…,#nが最上流のターミナルのものから順に付加
されたループチェック用伝文が最下流のPOSターミナ
ル2-nからファイルプロセッサ1に返信される。
Here, no communication abnormality such as disconnection has occurred in the SDLC line 3 forming a closed loop, and each POS
Terminals 2-1, 2-2, ..., 2-n are also SD due to failure etc.
If not disconnected from the LC line 3, each POS
TM numbers # 1 and # of terminals 2-1, 2-2, ..., 2-n
A loop check message in which 2, ..., #n are sequentially added from the most upstream terminal is returned from the most downstream POS terminal 2-n to the file processor 1.

【0061】このとき、今回順序エリア13bの内容と
正常順序エリア13aの内容とは一致するので、ターミ
ナル異常通知伝文がストアプロセッサ5に送信されるこ
とはない。また、各POSターミナル2-1,2-2,…,
2-nから回線異常伝文が送信されることもないので、回
線異常通知伝文がストアプロセッサ5に送信されること
もない。
At this time, since the contents of the current order area 13b and the contents of the normal order area 13a match, the terminal abnormality notification message is not sent to the store processor 5. In addition, each POS terminal 2-1, 2-2, ...,
Since the line abnormality message is not transmitted from 2-n, the line abnormality notification message is not transmitted to the store processor 5.

【0062】これに対し、SDLC回線3に断線等の通
信異常が発生して閉ループが形成されなくなった場合に
は、その異常発生箇所よりも上流側のPOSターミナル
ではファイルプロセッサ1から周期的に送信されるルー
プチェック用伝文を所定時間X秒内に受信できるが、下
流側のPOSターミナルでは上記ループチェック用伝文
を受信できなくなる。
On the other hand, when a communication abnormality such as a disconnection occurs in the SDLC line 3 and the closed loop is not formed, the file processor 1 periodically transmits the POS terminal upstream of the abnormality occurrence point. The loop check message can be received within a predetermined time X seconds, but the loop check message cannot be received at the downstream POS terminal.

【0063】これにより、そのループチェック用伝文を
受信できなくなったPOSターミナルからは自己のTM
番号をセットした回線異常伝文がそれより下流側に送信
される。ただし、異常発生箇所に最も近い下流側POS
ターミナルが回線異常伝文を送信すると、それより下流
側のPOSターミナルでは所定時間X秒内に上記回線異
常伝文を受信するので、回線異常伝文は異常発生箇所に
最も近い下流側POSターミナルからのみ送信されるこ
とになる。
As a result, from the POS terminal that cannot receive the loop check message, the TM of its own is received.
The line error message with the set number is sent to the downstream side. However, the downstream POS closest to the location where the abnormality occurred
When the terminal sends a line error message, the POS terminal on the downstream side receives the line error message within a predetermined time X seconds, so the line error message is sent from the downstream POS terminal closest to the location where the error occurred. Will only be sent.

【0064】こうして、異常発生箇所に最も近い下流側
POSターミナルから自己のTM番号をセットした回線
異常伝文が下流側に送信されると、この回線異常伝文は
ファイルプロセッサ1にて受信される。これにより、フ
ァイルプロセッサ1からストアプロセッサ5に回線異常
通知が行われ、ストアプロセッサ5では回線異常を知ら
せるブザーが鳴動するとともに、異常発生箇所に最も近
い下流側POSターミナルのTM番号と正常時のTM番
号列とが表示または印字出力される。
In this way, when the line abnormality message in which the own TM number is set is transmitted to the downstream side from the downstream POS terminal closest to the location where the abnormality has occurred, this line abnormality message is received by the file processor 1. .. As a result, the file processor 1 notifies the store processor 5 of a line abnormality, and in the store processor 5, a buzzer for notifying the line abnormality sounds, and the TM number of the downstream POS terminal closest to the location where the abnormality occurs and the TM at normal time. The number string and is displayed or printed out.

【0065】例えば、最上流のPOSターミナル2-1と
次段のPOSターミナル2-2との間で断線が発生する
と、POSターミナル2-2からTM番号#2がセットさ
れた回線異常伝文がファイルプロセッサ1に送信され、
さらにストアプロセッサ5に回線異常通知が行われて、
ストアプロセッサ5の表示部56aにPOSターミナル
2-2のTM番号#2等が表示される。これにより、本部
で待機していたシステム管理担当者は、表示内容からP
OSターミナル2-2の上流側で断線等に起因する回線異
常が発生したことを認識できる。
For example, when a disconnection occurs between the most upstream POS terminal 2-1 and the next POS terminal 2-2, a line error message with the TM number # 2 set from the POS terminal 2-2. Sent to file processor 1,
Furthermore, a line abnormality notification is sent to the store processor 5,
The TM number # 2 or the like of the POS terminal 2-2 is displayed on the display section 56a of the store processor 5. As a result, the person in charge of system management who was on standby at the headquarters could change from the displayed content to P
It is possible to recognize that a line abnormality has occurred due to a disconnection or the like on the upstream side of the OS terminal 2-2.

【0066】また、あるPOSターミナルで伝文を受信
したにも関わらずその受信伝文に対応する応答を出力で
きず、該ターミナルの送信異常検出回路203により送
信異常が検出された場合には、この検出回路203の異
常検出出力に応動して該ターミナルのリレー回路29の
各切換スイッチ29a,29bがそれぞれ常閉側b側か
ら常開側a側に切換わる。これにより、該ターミナルは
自動的にSDLC回線3から切り離され、SDLC回線
3による閉ループは保持される。
When a message is received at a certain POS terminal but a response corresponding to the received message cannot be output and the transmission error detection circuit 203 of the terminal detects a transmission error, In response to the abnormality detection output of the detection circuit 203, each changeover switch 29a, 29b of the relay circuit 29 of the terminal is switched from the normally closed side b side to the normally opened side a side. As a result, the terminal is automatically disconnected from the SDLC line 3 and the closed loop by the SDLC line 3 is maintained.

【0067】従って、ファイルプロセッサ1から周期的
に送信されるループチェック伝文は最下流のPOSター
ミナル側からファイルプロセッサ1に戻されるが、この
ときのループチェック伝文に付加されたTM番号列から
は、正常順序エリア13aに格納されているTM番号列
と比較して、切り離されたPOSターミナルのTM番号
が抜けたものとなる。
Therefore, the loop check message periodically transmitted from the file processor 1 is returned to the file processor 1 from the POS terminal on the most downstream side. From the TM number string added to the loop check message at this time, Indicates that the TM number of the separated POS terminal is missing as compared with the TM number string stored in the normal order area 13a.

【0068】このとき、ファイルプロセッサ1からスト
アプロセッサ5に対して番号抜けのTM番号がセットさ
れたターミナル異常通知伝文が送信され、ストアプロセ
ッサ5ではターミナル異常を知らせるブザーが鳴動する
とともに、切り離されたPOSターミナルのTM番号と
正常時のTM番号列とが表示または印字出力される。
At this time, the file processor 1 transmits to the store processor 5 the terminal abnormality notification message in which the missing TM number is set, and the store processor 5 sounds a buzzer for notifying the terminal abnormality and disconnects it. The TM number of the POS terminal and the TM number string in the normal state are displayed or printed out.

【0069】例えば、POSターミナル2-2で送信異常
が検出されてSDLC回線3から切り離されると、その
直後にファイルプロセッサ1から送信されたループチェ
ック用伝文はPOSターミナル2-2のTM番号#2が付
加されずにファイルプロセッサ1に返信され、ストアプ
ロセッサ5にターミナル異常通知が行われて、ストアプ
ロセッサ5の表示部56aにPOSターミナル2-2のT
M番号#2が表示される。これにより、本部で待機して
いたシステム管理担当者は、表示内容からPOSターミ
ナル2-2が故障によりSDLC回線3から切り離された
ことを認識できる。
For example, when the POS terminal 2-2 detects a transmission error and disconnects from the SDLC line 3, the loop check message transmitted from the file processor 1 immediately after that is the TM number # of the POS terminal 2-2. 2 is returned to the file processor 1 without being added, the store processor 5 is notified of a terminal abnormality, and the T of the POS terminal 2-2 is displayed on the display portion 56a of the store processor 5.
The M number # 2 is displayed. As a result, the system administrator in standby at the headquarters can recognize from the displayed contents that the POS terminal 2-2 has been disconnected from the SDLC line 3 due to a failure.

【0070】なお、前記実施例では回線異常発生時また
はターミナル異常発生時にファイルプロセッサ1がスト
アプロセッサ5に異常通知伝文を送信することにより異
常通知を行う例を示したが、ファイルプロセッサ1に表
示部,プリンタ等の出力機器を設けた場合には、その出
力機器を用いて異常通知を行うようにしてもよい。
In the above embodiment, an example in which the file processor 1 sends an error notification message to the store processor 5 when a line error occurs or a terminal error occurs to give an error notification, is displayed on the file processor 1. When an output device such as a printer and a printer is provided, the abnormality notification may be performed using the output device.

【0071】また、前記実施例では回線の断線等に起因
して閉ループが形成されなくなった場合には、その異常
発生箇所の直後に位置するPOSターミナルからのみ回
線異常伝文を送信するようにしたが、異常発生箇所より
下流側に位置する全てのPOSターミナルから回線異常
伝文を送信するものとし、ファイルプロセッサ1におい
て最も上流側のPOSターミナルから送信された回線異
常伝文を抽出してストアプロセッサ5に異常通知するよ
うにしてもよい。この他、本発明の要旨を逸脱しない範
囲で種々変形実施可能であるのは勿論である。
Further, in the above embodiment, when the closed loop is not formed due to the disconnection of the line or the like, the line abnormality message is transmitted only from the POS terminal located immediately after the abnormal point. However, it is assumed that the line abnormality message is transmitted from all the POS terminals located on the downstream side of the abnormality occurrence point, and the line abnormality message transmitted from the most upstream POS terminal in the file processor 1 is extracted and stored in the store processor. 5 may be notified of the abnormality. Of course, various modifications can be made without departing from the scope of the present invention.

【0072】[0072]

【発明の効果】以上詳述したように請求項1対応の発明
によれば、伝送回線の断線等により閉ループが形成され
ず通信異常を来した場合にはその異常発生箇所を上位プ
ロセッサ側で容易に特定することができる商品販売デー
タ処理装置を提供できる。
As described in detail above, according to the invention according to claim 1, when a closed loop is not formed due to a disconnection of a transmission line or the like and a communication abnormality occurs, the location where the abnormality occurs can be easily performed on the upper processor side. It is possible to provide a product sales data processing device which can be specified as follows.

【0073】また請求項2対応の発明によれば、閉ルー
プを形成していた端末機が故障等に起因して伝送回線か
ら切り離された場合にはその異常端末機を上位プロセッ
サ側で容易に特定することができる商品販売データ処理
装置を提供できる。
According to the second aspect of the invention, when the terminal forming the closed loop is disconnected from the transmission line due to a failure or the like, the abnormal terminal can be easily identified by the upper processor side. It is possible to provide a merchandise sales data processing device.

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

【図1】 本発明の一実施例であるPOSシステムの全
体図。
FIG. 1 is an overall view of a POS system that is an embodiment of the present invention.

【図2】 同実施例におけるストアプロセッサの構成を
示すブロック図。
FIG. 2 is a block diagram showing a configuration of a store processor in the embodiment.

【図3】 同実施例におけるファイルプロセッサの構成
を示すブロック図。
FIG. 3 is a block diagram showing a configuration of a file processor in the embodiment.

【図4】 前記ファイルプロセッサのRAMに形成され
る主要なメモリ構成を示す図。
FIG. 4 is a diagram showing a main memory configuration formed in a RAM of the file processor.

【図5】 同実施例におけるPOSターミナルの構成を
示すブロック図。
FIG. 5 is a block diagram showing the configuration of a POS terminal in the same embodiment.

【図6】 前記ファイルプロセッサのCPUが実行する
要部処理を示す流れ図。
FIG. 6 is a flowchart showing the main processing executed by the CPU of the file processor.

【図7】 前記POSターミナルのCPUが実行する要
部処理を示す流れ図。
FIG. 7 is a flowchart showing main processing executed by the CPU of the POS terminal.

【図8】 前記ストアプロセッサのCPUが実行する要
部処理を示す流れ図。
FIG. 8 is a flowchart showing main processing executed by the CPU of the store processor.

【符号の説明】 1…ファイルプロセッサ、2-1〜2-n…POSターミナ
ル、3…SDLC回線、5…ストアプロセッサ、13a
…正常順序エリア、13b…今回順序エリア、203…
送信異常検出回路。
[Explanation of Codes] 1 ... File processor, 2-1 to 2-n ... POS terminal, 3 ... SDLC line, 5 ... Store processor, 13a
... Normal order area, 13b ... Current order area, 203 ...
Transmission error detection circuit.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04L 12/42 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical indication H04L 12/42

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 それぞれに固有の端末機番号が割当てら
れた複数台の商品販売データ登録用端末機と1台の上位
プロセッサとを伝送回線でもって閉ループに接続し、上
位プロセッサから送出されたデータを上流の端末機から
下流の端末機へ順送りに送信し、最下流の端末機から前
記上位プロセッサへ返信する商品販売データ処理装置に
おいて、 前記上位プロセッサは、所定周期で前記上流の端末機か
ら下流の端末機へ順送りにループチェック用伝文を送信
するチェック伝文送信手段と、この送信手段によりルー
プチェック用伝文を送信する毎に前記最下流の端末機か
らのデータ受信を待機する受信待機手段と、この待機手
段により受信待機中に前記最下流の端末機から回線異常
伝文を受信するとその受信伝文に組み込まれた端末機番
号に基づいて回線異常を通知する回線異常通知手段とを
具備し、 前記各端末機は、前記上位プロセッサから周期的に送信
されるループチェック用伝文の受信無しを検出する無受
信検出手段と、この検出手段によりループチェック用伝
文の受信無しが検出されると該当端末機に割当てられた
前記端末機番号を所定の回線異常伝文に組込みその回線
異常伝文を前記伝送回線を介して前記上位プロセッサへ
送信する回線異常伝文送信手段とを具備したことを特徴
とする商品販売データ処理装置。
1. Data sent from a host processor in which a plurality of product sales data registration terminals, each of which is assigned a unique terminal number, and a host processor are connected in a closed loop via a transmission line. In the product sales data processing device for sequentially transmitting from the upstream terminal to the downstream terminal, and returning from the most downstream terminal to the upper processor, the upper processor is a predetermined cycle from the upstream terminal to the downstream. Check message sending means for sending the loop check message to the terminal in sequence, and waiting to receive data from the most downstream terminal every time the loop check message is sent by this sending means. Means for receiving the line abnormality message from the most downstream terminal device while waiting for reception by this means, based on the terminal number incorporated in the received message. A line-abnormality notifying means for notifying a line abnormality by means of the non-reception detecting means for detecting no reception of the loop check message periodically transmitted from the upper processor, When the reception of the loop check message is detected by the means, the terminal number assigned to the corresponding terminal is incorporated into a predetermined line error message, and the line error message is passed through the transmission line to the upper processor. A product sales data processing device, comprising: a line abnormality message sending means for sending to
【請求項2】 それぞれに固有の端末機番号が割当てら
れた複数台の商品販売データ登録用端末機と1台の上位
プロセッサとを伝送回線でもって閉ループに接続し、上
位プロセッサから送出されたデータを上流の端末機から
下流の端末機へ順送りに送信し、最下流の端末機から前
記上位プロセッサへ返信する商品販売データ処理装置に
おいて、 前記上位プロセッサは、各端末機にそれぞれ割当てられ
た端末機番号を記憶する端末機番号記憶手段と、所定周
期で前記上流の端末機から下流の端末機へ順送りにルー
プチェック用伝文を送信するチェック伝文送信手段と、
この送信手段によりループチェック用伝文を送信する毎
に前記最下流の端末機からのデータ受信を待機する受信
待機手段と、この待機手段により受信待機中に前記最下
流の端末機から前記ループチェック用伝文を受信すると
その受信伝文に付加された端末機番号と前記記憶手段に
より記憶された端末機番号とを比較する番号比較手段
と、この比較手段により受信伝文に付加されていない端
末機番号を検出するとその端末機番号が割当てられた端
末機の異常発生を通知する端末機異常通知手段とを具備
し、 前記各端末機は、前記上位プロセッサから周期的に送信
されるループチェック用伝文を前記伝送回線に接続され
た信号入力部を介して受信する伝文受信手段と、この受
信手段によりループチェック用伝文を受信するとその伝
文に該当端末機に割当てられた前記端末機番号を付加し
て前記伝送回線に接続された信号出力部を介して下流側
へ送信するチェック伝文送信手段と、前記信号出力部を
介して送信する送信信号の異常を検出する送信異常検出
手段と、この送信異常検出手段による異常検出出力によ
り前記信号入力部と信号出力部との間を短絡して該当端
末機を前記伝送回線から切離すオフライン手段とを具備
したことを特徴とする商品販売データ処理装置。
2. Data sent from a host processor by connecting a plurality of product sales data registration terminals to which a unique terminal number is assigned and one host processor in a closed loop with a transmission line. In the product sales data processing device for sequentially transmitting from the upstream terminal to the downstream terminal, and returning from the most downstream terminal to the upper processor, the upper processor is a terminal assigned to each terminal. A terminal number storage means for storing a number, and a check message transmission means for sequentially transmitting a loop check message from the upstream terminal to the downstream terminal at a predetermined cycle,
Each time the transmission means transmits a loop check message, the reception standby means waits for data reception from the most downstream terminal, and the standby means performs the loop check from the most downstream terminal while waiting for reception. Number comparison means for comparing the terminal number added to the received message with the terminal number stored by the storage means when the message is received, and the terminal not added to the received message by this comparing means And a terminal abnormality notifying means for notifying an abnormality occurrence of the terminal to which the terminal number is assigned when the terminal number is detected, and each terminal is for loop check periodically transmitted from the upper processor. A message receiving means for receiving a message via a signal input unit connected to the transmission line, and a terminal corresponding to the message when a loop check message is received by this receiving means. Check message transmitting means for adding the terminal number assigned to the transmission line to the downstream side through the signal output unit connected to the transmission line, and an abnormality in the transmission signal transmitted through the signal output unit The transmission abnormality detecting means for detecting the error, and the off-line means for disconnecting the terminal from the transmission line by short-circuiting the signal input portion and the signal output portion by the abnormality detection output by the transmission abnormality detecting means. A product sales data processing device characterized by the above.
JP12745092A 1992-05-20 1992-05-20 Merchandise sale data processor Pending JPH05324513A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12745092A JPH05324513A (en) 1992-05-20 1992-05-20 Merchandise sale data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12745092A JPH05324513A (en) 1992-05-20 1992-05-20 Merchandise sale data processor

Publications (1)

Publication Number Publication Date
JPH05324513A true JPH05324513A (en) 1993-12-07

Family

ID=14960229

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12745092A Pending JPH05324513A (en) 1992-05-20 1992-05-20 Merchandise sale data processor

Country Status (1)

Country Link
JP (1) JPH05324513A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017034590A (en) * 2015-08-05 2017-02-09 株式会社デンソー Communication network and relay device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017034590A (en) * 2015-08-05 2017-02-09 株式会社デンソー Communication network and relay device

Similar Documents

Publication Publication Date Title
US5079740A (en) System and method of providing an automatic back-up primary terminal for a cluster of secondary terminals
JPH03288297A (en) Transaction processor
JPH05324513A (en) Merchandise sale data processor
US5058057A (en) Link control system communicating between terminals
JPS62226271A (en) Automatic switching device for pos loop
JP2883790B2 (en) Terminal failure information notification device
WO1998052124A1 (en) Point-of-sale system and distributed computer network for same
JP2578208B2 (en) Product sales data processing device
JP3413312B2 (en) Wireless data communication system
JPH05108928A (en) Sales information management device for automatic vending machine
JP2000207250A (en) Information processing system
JPH07104887B2 (en) POS system
JP2528507B2 (en) POS system
JP2792179B2 (en) Online system for cash transactions
JP5876331B2 (en) Printer device, printer control program, and order management system
JPH07107181A (en) Data processing terminal equipment
JP2993798B2 (en) Information processing device
JPH01130276A (en) Pos system
JPH0716190B2 (en) Communication error monitoring device for communication system
JPH0650066Y2 (en) Keyboard for POS system
JPH10222766A (en) Article sales data processor
JPH04284560A (en) Communication control system and switching unit used for the same
JP2000261453A (en) Commodity sales data processing system
JP3169022B2 (en) Data transmission equipment
JPH01176135A (en) Method and system for connecting automatic backup primary terminals to secondary terminals group