JPH0362752A - Communication system - Google Patents

Communication system

Info

Publication number
JPH0362752A
JPH0362752A JP1198454A JP19845489A JPH0362752A JP H0362752 A JPH0362752 A JP H0362752A JP 1198454 A JP1198454 A JP 1198454A JP 19845489 A JP19845489 A JP 19845489A JP H0362752 A JPH0362752 A JP H0362752A
Authority
JP
Japan
Prior art keywords
data block
station
error
master station
data
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
JP1198454A
Other languages
Japanese (ja)
Inventor
Hideo Aizawa
相沢 英夫
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 Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1198454A priority Critical patent/JPH0362752A/en
Publication of JPH0362752A publication Critical patent/JPH0362752A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain effective error check by returning a negative reply to a main station when an error is detected by a check of a received data block, returning the received data block to the master station and displaying the data block returned and a data block sent precedingly onto the master station. CONSTITUTION:When an error is detected in the parity check, a slave station sends a NAK message to a master station and returns the received data block to the master station as it is. Upon the receipt of the data block returned from the slave station, the master station displays the data block together with the data block sent precedingly onto the same screen of a display device 9. Thus, the operator compares the data blocks on the display screen to analyze the causes to the error.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は、回線を通して複数の通信端末間でデータ伝送
を行う通(Zシステムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Purpose of the Invention (Industrial Application Field) The present invention relates to a Z system for transmitting data between a plurality of communication terminals through a line.

(従来の技術) 従来から、通信端末間でデータ伝送を行う方法として、
払本形データ伝送制御手順、二進ブタ同期通信(B S
 C)手順等がよく知られている。
(Conventional technology) Traditionally, as a method of transmitting data between communication terminals,
Data transmission control procedure, binary pig synchronous communication (B S
C) The procedures etc. are well known.

これらのデータ伝送方式では、主局(データ送信側)か
ら従局(データ受信側)にブロック単位のデータ(デー
タブロック)が伝送されると、従局は、まずこの受信デ
ータのパリティチェックを行い、エラーか検出されなけ
ればACK (肯定応答)メツセージを、エラーが検出
されればNAK (否定応答)メツセージを主局に対し
返送する。そして主局はACKメツセージを受信したと
き、次のデータブロックを従局に送信し、NAKメツセ
ージを受信したとき、再度向しデータブロックを従局に
送信する。
In these data transmission methods, when a block of data (data block) is transmitted from the master station (data transmitting side) to the slave station (data receiving side), the slave station first performs a parity check on this received data to detect errors. If an error is not detected, an ACK (acknowledgement) message is sent back to the master station, and if an error is detected, a NAK (negative acknowledgment) message is sent back to the master station. When the master station receives the ACK message, it transmits the next data block to the slave station, and when it receives the NAK message, it transmits the next data block to the slave station again.

ところで、このようなデータf云送においてエラが多発
することは、主局のデータ再送信処理を繰返すことにな
るため、データ伝送幼牛上極めて好ましくない事である
。そこで、テストブログラムを用いたエラー調査が一般
に行われている。
Incidentally, the frequent occurrence of errors in such data transmission is extremely undesirable in terms of data transmission, since the main station's data retransmission process is repeated. Therefore, error investigation using test programs is generally performed.

しかしながら、この方法では、単にテストデータについ
ての結果が得られるたけであるため、その結果から必す
しも実際の運用時に発生したエラの原因が解明されると
は限らながった。このことから、通常の運用状態におい
て伝送されるブタブロックを、従局側においてオンライ
ンスコプ等を用いて監視することにより、エラーか検出
されたデータブロックを取得するという手法がしばしば
用いられている。
However, with this method, only results regarding test data are obtained, and the results do not necessarily reveal the cause of errors that occur during actual operation. For this reason, a method is often used in which data blocks in which errors have been detected are obtained by monitoring pig blocks transmitted under normal operating conditions on the slave station side using an online scope or the like.

しかし、この方法では、伝送されたデータブロックを長
持間監視していなければならず、エラーが検出されたデ
ータブロックを確実に取得することは非常に難しかった
。また、従局側でこれを確実に取得できたとしても、根
本的なエラーの原因を解明するには不十分てあった。さ
らに調査に際し、遠隔地へオンラインスコープを運ばな
ければならない事も多々あった。
However, with this method, transmitted data blocks must be monitored for a long time, and it is very difficult to reliably retrieve data blocks in which errors have been detected. Furthermore, even if the subordinate station were able to reliably obtain this information, it would not be sufficient to uncover the fundamental cause of the error. Furthermore, during investigations, it was often necessary to transport online scopes to remote locations.

(発明が解決しようとする課題) 本発明はこのような課題を解決するためのもので、通常
の運用状態で、エラーの検出されたブタブロックを主局
において容易に取得でき、より有効なエラー調査の実施
を図ることのできる通信システムの堤供を目的としてい
る。
(Problems to be Solved by the Invention) The present invention is intended to solve such problems, and allows the main station to easily obtain the pig block in which an error has been detected in normal operating conditions, and to more effectively resolve the error. The purpose is to provide a communication system that will allow for the implementation of investigations.

「発明の構成] (課題を解決するための手段) 本発明の通信システムは上記に1的を達成するために、
回線を通して主局がらubにデータブロックを送信し、
従局は、受信したデータブロックのチェックを行って、
エラーが検出されれば、否定応答を主局に返送するよう
なされた通信システムにおいて、否定応答を主局に返送
した後、受信したデータブロックを主局に返送する手段
と、この手段により返送されたデータブロックを主局が
送信したデータブロックとともに表示する手段とを具備
したものである。
"Structure of the Invention" (Means for Solving the Problems) In order to achieve the above object, the communication system of the present invention has the following features:
Sends a data block from the main station to UB through the line,
The slave station checks the received data block and
In a communication system configured to send a negative response back to the master station when an error is detected, a means for returning the received data block to the master station after returning the negative response to the master station; and means for displaying the data blocks transmitted by the main station together with the data blocks transmitted by the main station.

(作 用) 本発明の通信システムでは、従局において、受信したデ
ータブロックのチェックでエラーを検出したな11ば、
否定応答を主j1−6に逗Jした後、受信したデータブ
ロックを主局に返送する。主局は、返送されたデータブ
ロックを該主局が先に送伝したデータブロックとともに
表・」くする。
(Function) In the communication system of the present invention, if an error is detected in the slave station when checking a received data block,
After sending a negative response to the master station j1-6, the received data block is returned to the master station. The master station displays the returned data block along with the data blocks it previously transmitted.

したがって、この発明によれば、通常の運用状態で、エ
ラーの検出されたデータブロックを主局で容易に取得で
き、しかもこのデータブロックと先に主局が送信したデ
ータブロックとを比較検証することができるので、より
(−j効なエラー調査を行うことが可能となる。
Therefore, according to the present invention, a data block in which an error has been detected can be easily obtained by the main station under normal operating conditions, and this data block can be compared and verified with a data block previously transmitted by the main station. This makes it possible to perform more effective error investigation.

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

第1図は本発明に係る一実施例の通信システムにおける
各通信端末(主局、従局)の構成を説明するためのブロ
ック図である。
FIG. 1 is a block diagram for explaining the configuration of each communication terminal (master station, slave station) in a communication system according to an embodiment of the present invention.

同図において、1は通信端末全体の制御を統括的に行う
中央処理装置(CP’U)、2は中央処理装置1で実行
されるブログフムや、送信データおよび受信データを保
管するメf1.lである。また3は通信端末と回線4と
のインタフェースをとる四線インタフェース、5は、i
jア)l −j’  夕の入出力手順を制御するシリア
ル入出力部である。さらに6は通信端末の動作モー 1
・を通′次の動作モードとテストモードとの間で切替え
るためのスイッチ、7はスイッチbの状態を示す情報を
システムハス8に送出するための内部バスドライバであ
る。また9はエラーか検出されたデータブロックを表示
するためのデイスプレィ装置、10はデイスプレィ装置
9の表示動作を制に…するデイスプレ・rコントローラ
である。
In the figure, reference numeral 1 denotes a central processing unit (CP'U) that performs overall control of the entire communication terminal, and reference numeral 2 denotes a blog server executed by the central processing unit 1, and a memory f1. It is l. Further, 3 is a four-wire interface that interfaces the communication terminal and line 4, and 5 is an i
a) l −j' This is a serial input/output unit that controls the evening input/output procedure. Furthermore, 6 is the operation mode of the communication terminal 1
7 is an internal bus driver for sending information indicating the state of switch b to the system bus 8; Further, 9 is a display device for displaying a data block in which an error has been detected, and 10 is a display controller that controls the display operation of the display device 9.

次にこの通信システムの動作を第2図から第4図を用い
て説明する。
Next, the operation of this communication system will be explained using FIGS. 2 to 4.

なお7、第2図は主局から従局1こ送伝さイ′またデー
タにエラーが検出さ才また場8の各局間のデータの流れ
を示している7、第3図はその場合の主局の処理の流れ
を示1〜でいる。第4r?1は同じく従局の処理の流れ
を示している。
7. Figure 2 shows the flow of data between each station when an error is detected in the data being transmitted from the master station to the slave station 8. Figure 3 shows the flow of data between the stations in that case The processing flow of the station is shown in 1-. 4th r? 1 also shows the processing flow of the slave station.

ます通常の動作モードからテストモード・\の切換えを
行うべく、主従各局の通信端末におけるスイッチ6の助
換えを所定の操作によりijう。このスイッチ6の扶!
歴をホず情報は、内部バスドライバフを通してシステム
バス8に送出されることにより中央処理装置1において
解釈される。これにより各局においてテストモードによ
る処理動作か開始される。
In order to switch from the normal operation mode to the test mode, the switches 6 in the communication terminals of the master and slave stations are changed by a predetermined operation. This switch 6 support!
The history information is interpreted in the central processing unit 1 by being sent to the system bus 8 through an internal bus driver buffer. As a result, processing operations in test mode are started in each station.

まずデータイ云送に先立ち、各局の通信条件であるデー
タビット数およびパリティビットをそれぞれ設定する(
ステップ31.41)。なお、ここでの各局の通信条件
は、それぞれデータビット;N1パリティビット;1と
する。
First, before transmitting data, set the number of data bits and parity bit, which are the communication conditions for each station (
Step 31.41). Note that the communication conditions for each station here are data bit: N1 parity bit: 1.

次に主局から従局にデータブロックを送信する(ステッ
プ32)。従局は、このデータブロックを受信すると(
ステップ42)、当該データブロックのパリティチェッ
クを開始する(ステップ43)。ここでパリティエラー
が検出されなければ、従局は、主局に&・ILAcKメ
ツセージを返送する(ステップ44)。主局は、このメ
ツセージを受信すると(ステップ33)、肯定応答を判
断して(ステップ34)、従局に対する次のデータブロ
ックの送信を行う(ステップ32)。またパリティチェ
ックにおいてエラーか検出された場合、R局は主局にN
AKメツセージを返送しくステップ45)、自局の通信
条件を、データビット;N+1、パリティビット:0に
切換える(ステップ46)。
Next, the data block is transmitted from the master station to the slave station (step 32). When the slave station receives this data block, (
Step 42), and a parity check of the data block is started (Step 43). If no parity error is detected here, the slave station returns a &.ILAcK message to the master station (step 44). When the master station receives this message (step 33), it determines an acknowledgment (step 34) and transmits the next data block to the slave station (step 32). Also, if an error is detected in the parity check, the R station will send the N
The AK message is returned (step 45), and the communication conditions of the own station are changed to data bit: N+1, parity bit: 0 (step 46).

一方、 NAKメツセージを受信した主局も、このメツ
セージから否定応答を判断しくステップ34)、自局の
通信条件を従局の通信条件と等しくなるよう切換える(
ステップ35)。
On the other hand, the master station that received the NAK message also determines a negative response from this message (step 34), and switches its own communication conditions to be equal to the slave station's communication conditions (step 34).
Step 35).

次に従局は、主局側のデータ受は入れ体勢が整うのを待
って(ステップ47)、受信したデータブロックをその
まま主局に返送する(ステップ48)。ここで、各局の
通信架(’I−は、それぞれブタビット; N + 1
、パリティビット;0に切換えられているので、パリテ
ィビットもデータの一部として返送されることになる。
Next, the slave station waits until the master station is ready to receive data (step 47), and then returns the received data block as is to the master station (step 48). Here, each station's communication rack ('I- is a pig bit; N + 1
, parity bit: Since it is switched to 0, the parity bit will also be returned as part of the data.

そして主局へのデータブロックの返送を終えると、従局
の通信条件が元の内容に復帰される(ステップ49)。
When the return of the data block to the master station is completed, the communication conditions of the slave station are restored to their original contents (step 49).

一方、主局は、従局から返送されたデータブロックを受
信すると(ステップ36)、この返送されたデータブロ
ックを先に送信したデータブロックとともにデイスプレ
ィ装置9の同一画面上に表示する(ステップ37)。こ
れによりオペレータは、その表示画面から各データブロ
ックを比較し、エラー原因の解明を行う。この後、主局
の通信条件も元の内容に復帰される(ステップ38)。
On the other hand, when the master station receives the data block sent back from the slave station (step 36), it displays this returned data block on the same screen of the display device 9 together with the previously sent data block (step 37). This allows the operator to compare each data block from the display screen and find the cause of the error. Thereafter, the communication conditions of the main station are also restored to their original contents (step 38).

かくしてこの実施例の通信システムによれば、通常の運
用状悪においてエラーの検出されたブタブロックを主局
側で容易に取得することかでき、しかもこのデータブロ
ックと先に主局が送信したデータブロックとを比較検証
することかできるので、より有効なエラー調査を行うこ
とが可能となる。
Thus, according to the communication system of this embodiment, the main station can easily acquire a pig block in which an error has been detected under normal operating conditions, and furthermore, this data block and the data previously transmitted by the main station can be easily obtained. Since it is possible to compare and verify the blocks, it is possible to conduct more effective error investigation.

なお、上述の実施例では、エラーが検出されたデータブ
ロックをデイスプレィ装置で表示してエラー調査を行う
ようにしたが、エラーか検出されたデータブロックを、
例えばプリンタ等より出力して表示するようにしてもよ
い。また所定の記録媒体1こd己録するよう1こしても
よい。
In the above embodiment, the data block in which an error has been detected is displayed on the display device to investigate the error.
For example, it may be output from a printer or the like and displayed. Alternatively, the information may be recorded on a predetermined recording medium.

[発明の効果] 以上説明したように本発明の通信システムによれば、通
常の運用状悪で、エラーの検出されたデ−タブロックを
主局側において容易に取得てき、しかもこのデータブロ
ックを先に主局か送信し、たデータブロックと比較検証
することができるので、より有効なエラー調査の実施を
図ることかできる。
[Effects of the Invention] As explained above, according to the communication system of the present invention, a data block in which an error has been detected can be easily acquired on the main station side under normal operating conditions, and this data block can be easily acquired. Since the data block can be compared and verified with the data block previously transmitted by the main station, more effective error investigation can be carried out.

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

第1図は本発明に係る一吏施例の通信システムにおける
各通信端末の構成を説明するためのブロック図、第2図
は本史施例システムにおける各局のデータの流れを示す
図、第3図は本実施例システムにおける主周の処理の流
れを示すフローチャI・、第4図は同しく uL h”
r5の処理の流れを示すフローチャー1・である。 ]・・・CPU、2・・・メモリ、3・・同線インタフ
ニス、4・・・回線、5・・・シリアル人出力部、6・
スイッチ、7・−内部バスドライバ、8・−・システム
ハス、9−デイスプレィ装置、IQ  デイスプレィコ
ントローラ。
FIG. 1 is a block diagram for explaining the configuration of each communication terminal in the communication system of the first example according to the present invention, FIG. 2 is a diagram showing the data flow of each station in the system of the present example, and FIG. The figure shows flowchart I, which shows the flow of main circumferential processing in the system of this embodiment, and FIG.
This is a flowchart 1 showing the process flow of r5. ]...CPU, 2...Memory, 3...Same line interface, 4...Line, 5...Serial output unit, 6...
switch, 7--internal bus driver, 8--system bus, 9-display device, IQ display controller.

Claims (1)

【特許請求の範囲】 回線を通して主局から従局にデータブロックを送信し、
前記従局は、受信したデータブロックのチェックを行っ
て、エラーが検出されれば、否定応答を前記主局に返送
するようなされた通信システムにおいて、 前記否定応答を前記主局に返送した後、前記受信したデ
ータブロックを前記主局に返送する手段と、 前記手段により返送されたデータブロックを前記主局が
送信したデータブロックとともに表示する手段とを具備
したことを特徴とする通信システム。
[Claims] Sending a data block from a master station to a slave station through a line,
In a communication system in which the slave station checks the received data block and, if an error is detected, returns a negative response to the master station, after returning the negative response to the master station, A communication system comprising: means for returning a received data block to the main station; and means for displaying the data block returned by the means together with the data block transmitted by the main station.
JP1198454A 1989-07-31 1989-07-31 Communication system Pending JPH0362752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1198454A JPH0362752A (en) 1989-07-31 1989-07-31 Communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1198454A JPH0362752A (en) 1989-07-31 1989-07-31 Communication system

Publications (1)

Publication Number Publication Date
JPH0362752A true JPH0362752A (en) 1991-03-18

Family

ID=16391375

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1198454A Pending JPH0362752A (en) 1989-07-31 1989-07-31 Communication system

Country Status (1)

Country Link
JP (1) JPH0362752A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200458147Y1 (en) * 2008-11-10 2012-01-20 김철호 Belt
KR20160091152A (en) * 2015-01-23 2016-08-02 편도균 Decoration buckle for leather belt

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR200458147Y1 (en) * 2008-11-10 2012-01-20 김철호 Belt
KR20160091152A (en) * 2015-01-23 2016-08-02 편도균 Decoration buckle for leather belt

Similar Documents

Publication Publication Date Title
JPH0362752A (en) Communication system
KR100533968B1 (en) System for testing communication between servers in automization system to produce semiconductor
JP3245552B2 (en) Transfer control system
JP2557127B2 (en) Transmission terminal equipment
JPS63211451A (en) Inter-cpu communication controller
KR20010059644A (en) Method for Overcoming disagreement in state and failure contents of Porcessor and device of base station or base station controller in Mobile Communication system
KR100432193B1 (en) Method for monitoring data of a trunk interface card, especially regarding to monitoring data for a channel designated in a specific e1 line in an e1 interface card used in cas
JP2507969B2 (en) Parity error detection method test method
JPS59221131A (en) Data transmission station
JP2855768B2 (en) Message transfer test method
CN117271246A (en) I2C equipment debugging method
JPS6065642A (en) Redundant data communication system
JPS61262343A (en) Remote supervisory and controlling equipment
JPS5853265A (en) Facsimile operation test system
JPS62202251A (en) Data retry transfer system
JPH0298711A (en) Numerical control data transfer checking system
JPH01313772A (en) Fault diagnosis supporting device for electronic device for automobile
JPH039439A (en) Diagnostic control system
JPH01216646A (en) Test system for data transmission system
JPH10301861A (en) Bus control circuit and method for testing the same
JPH1093539A (en) Anomaly confiramation system in transmission data
JPH04183046A (en) Bus fault detecting system
JPH022259A (en) Local area network
JPH043699B2 (en)
JPH04346145A (en) Information processor