JPH02305037A - Abnormality detecting system for data transmission system - Google Patents

Abnormality detecting system for data transmission system

Info

Publication number
JPH02305037A
JPH02305037A JP1125304A JP12530489A JPH02305037A JP H02305037 A JPH02305037 A JP H02305037A JP 1125304 A JP1125304 A JP 1125304A JP 12530489 A JP12530489 A JP 12530489A JP H02305037 A JPH02305037 A JP H02305037A
Authority
JP
Japan
Prior art keywords
buffer
circuit
data
abnormality
transmission
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
JP1125304A
Other languages
Japanese (ja)
Inventor
Takeshi Ote
大手 健史
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 JP1125304A priority Critical patent/JPH02305037A/en
Publication of JPH02305037A publication Critical patent/JPH02305037A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To more narrowly specify a hardware abnormality generation range and to quickly cope with the generation of abnormality by connecting a testing buffer in parallel through a switching circuit to a transmission buffer and a reception buffer, respectively. CONSTITUTION:Each testing buffer 23, 25 is connected in parallel through each switching circuit 21a, 21b, 24a and 24b to a transmission buffer 1 and a reception buffer 8. In this state, in the case results of operation of both arithmetic circuits 11, 16, 13 and 17 do not coincide, the generation of abnormality is confirmed, and in this case, the switching circuits 21a, 21b, 24a and 24b are switched to the testing buffers 23, 25, and by these testing buffers 23, 25, monitoring of abnormality of a hardware is performed. Subsequently, when the results of operation do not coincide again, it is judged that abnormality is generated on the side of arithmetic circuits 11, 16, 13 and 17. On the other hand, when the results of operation coincide, it is judged that the transmission buffer 1 or the reception buffer 8 switched to the testing buffers 23, 25 is abnormal. In such a way, a hardware abnormality generation range is specified more narrowly, and it is possible to cope quickly with the generation of abnormality.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は送信バッファと受信バッファとを用いてデータ
伝送を行うデータ伝送システムにおける各バッファを含
むハードウェア部材の異常を検出するデータ伝送システ
ムの異常検出方式に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention detects abnormalities in hardware components including each buffer in a data transmission system that transmits data using a transmission buffer and a reception buffer. This invention relates to an abnormality detection method for a data transmission system.

(従来の技術) デジタルデータを伝送するデータ伝送システムにおいて
は、データ伝送速度があまりにも高速になると、送信側
及び受信側の各データ処理装置におけるCPU (中央
処理装置)の処理速度が伝送速度に追いつかなくなる。
(Prior Art) In a data transmission system that transmits digital data, when the data transmission speed becomes too high, the processing speed of the CPU (central processing unit) in each data processing device on the sending and receiving sides becomes faster than the transmission speed. I can't catch up.

このような不都合を解消するために、一般に、第2図に
示すように、受信バッファと送信バッファとを使用する
データ伝送システムが採用されている。
In order to eliminate such inconveniences, a data transmission system using a receiving buffer and a transmitting buffer, as shown in FIG. 2, is generally adopted.

すなわち、第2図において、データを送信する場合にお
いては、図示しない送信側のデータ処理装置から送出さ
れた送信データaは一旦送信バッファ1に蓄えられる。
That is, in FIG. 2, when transmitting data, transmission data a sent from a data processing device on the transmission side (not shown) is temporarily stored in the transmission buffer 1.

送信バッファ1に蓄えられた送信データaはP/S変換
回路2にて読出されてパラレルデータからシリアルデー
タに変換された後、CRC生成回路3にて生成されたC
RCチェックコードが付加され、さらに送信出力回路4
にてレベル変換、符号化、変調等が施された後伝送ライ
ン5へ送出される。
The transmission data a stored in the transmission buffer 1 is read out by the P/S conversion circuit 2 and converted from parallel data to serial data, and then converted to the CRC generated by the CRC generation circuit 3.
An RC check code is added, and the transmission output circuit 4
After being subjected to level conversion, encoding, modulation, etc., the signal is sent to the transmission line 5.

また、データを受信する場合においては、伝送ライン5
から受信されたシリアルデータは受信入力回路6にて受
信され、レベル変換、復号化、復調等が施された後、S
/P変換回路7で元のパラレルデータに変換され、受信
バッファ8に一旦蓄えられる。そして、図示いない受信
側のデータ処理装置にて受信バッファ8に記憶された受
信データbが読取られて所定のデータ処理が行われる。
In addition, when receiving data, the transmission line 5
The serial data received from the S
The data is converted into the original parallel data by the /P conversion circuit 7 and temporarily stored in the reception buffer 8. Then, the received data b stored in the receive buffer 8 is read by a data processing device on the receiving side (not shown) and predetermined data processing is performed.

なお、受信入力回路6から出力されたシリアルデータは
S/P変換回路7に送出されるとともにCRCチェック
回路9へ入力される。このCRCチェック回路9は、受
信したシリアルデータに付加されたCRCチェックコー
ドを検出して、受信データに異常(エラー)が発生した
か否かを判断する。そして、異常が検出されると、受信
側のデータ処理装置へ異常検出信号Cを送出する。
The serial data output from the reception input circuit 6 is sent to the S/P conversion circuit 7 and is also input to the CRC check circuit 9. The CRC check circuit 9 detects a CRC check code added to the received serial data and determines whether an abnormality (error) has occurred in the received data. When an abnormality is detected, an abnormality detection signal C is sent to the data processing device on the receiving side.

しかし、この異常検出方式であると、送信出力回路4.
伝送ライン5及び受信入力回路6に何等かの異常が生じ
たことを検出できるが、送信バッファ1.受信バッファ
8及びP/S変換回路2゜S/P変換回路7等に異常か
生じていた場合には各データ処理装置においては、その
異常を検出できない問題がある。
However, with this abnormality detection method, the transmission output circuit 4.
Although it is possible to detect that some abnormality has occurred in the transmission line 5 and the reception input circuit 6, the transmission buffer 1. If an abnormality occurs in the reception buffer 8, the P/S conversion circuit 2, the S/P conversion circuit 7, etc., there is a problem in that each data processing device cannot detect the abnormality.

このような不都合を解消するために、送信バッファと受
信バッファの前後に演算回路を設け、各バッファにデー
タを格納、読出する時点でそれぞれ所定の演算を行い、
両演算結果を比較することで、各バッファの異常を検出
する異常検出方式を発明者等にて提唱した(特願昭63
−77087号)。
In order to eliminate such inconveniences, arithmetic circuits are provided before and after the transmission buffer and reception buffer, and predetermined calculations are performed at the time of storing and reading data in each buffer.
The inventors proposed an abnormality detection method that detects abnormalities in each buffer by comparing the results of both calculations (Patent Application No. 1983).
-77087).

この異常検出方式においては、第3図に示すように、送
信側のデータ処理装置から出力された送信データaは送
信バッファlへ蓄えられると同時にサム生成保存回路1
1へ入力され、このサム生成保存回路11にてチェック
サム演算が実施され、演算結果が保存される。
In this abnormality detection method, as shown in FIG.
1, checksum calculation is performed in this sum generation storage circuit 11, and the calculation result is stored.

また、P/S変換回路2にてシリアルデータに変換され
た送信データは送信出力回路4及びCRC生成回路3へ
送出されるとともに、S/P変換回路12へ入力され、
元のバラレデータに変換される。そして、このパラレル
データは次のサム生成照合回路13へ入力され、チ& 
ツクサム演算が実施され、演算結果が前記サム生成保存
回路11に保存されている演算結果と比較対照される。
Further, the transmission data converted into serial data by the P/S conversion circuit 2 is sent to the transmission output circuit 4 and the CRC generation circuit 3, and is also input to the S/P conversion circuit 12.
Converted to the original data. Then, this parallel data is input to the next sum generation and verification circuit 13, and the
The sum calculation is performed and the calculation result is compared and contrasted with the calculation result stored in the sum generation storage circuit 11.

そして、各演算結果が一致しておれば、送信バッファ1
及びP/S変換回路2は異常がないと判断する。各演算
結果が一致しなければ、送信バッファ1及びP/S変換
回路2に何等かの異常が生じたので、送信側のデータ処
理装置に対して異常検出比信号dを送出する。また、異
常が検出されると必要に応じて、アボート回路14から
送信出力回路4から出力されるCRCチェックコードが
付された送信データに対してさらに無効コードを付加す
る。すると、受信側のデータ処理装置は受信データbか
らその無効コードを検出することによって、該当受信デ
ータbの無効を把握できる。
If the results of each calculation match, the transmission buffer 1
It is determined that there is no abnormality in the P/S conversion circuit 2. If the calculation results do not match, it means that some abnormality has occurred in the transmission buffer 1 and the P/S conversion circuit 2, and an abnormality detection ratio signal d is sent to the data processing device on the transmission side. Further, when an abnormality is detected, an invalid code is further added from the abort circuit 14 to the transmission data to which the CRC check code is attached, which is output from the transmission output circuit 4, as necessary. Then, by detecting the invalidation code from the received data b, the data processing device on the receiving side can determine whether the corresponding received data b is invalid.

受信側においても、受信入力回路6にて受信したシリア
ルデータはS/P変換回路7及びCRC−チェック回路
9へ送出されるとともに、S/P変換回路15へ入力さ
れ、元のパラレルデータに変換される。そして、パラレ
ルデータに変換された受信データは次のサム生成保存回
路16でもって、チェックサム演算が実施され、演算結
果が保存される。
On the receiving side, the serial data received by the reception input circuit 6 is sent to the S/P conversion circuit 7 and the CRC-check circuit 9, and is also input to the S/P conversion circuit 15, where it is converted into the original parallel data. be done. Then, the received data converted into parallel data is subjected to a checksum calculation by the next sum generation/storage circuit 16, and the calculation result is stored.

また、S/P変換回路7で元のパラレルデータに変換さ
れた受信データは受信バッファ8に一旦蓄えられた後に
、受信側のデータ処理装置にて読出されるが、読出され
た受信データbはデータ処理装置へ送信されるとともに
サム生成照合回路17へ入力される。そして、受信デー
タbはチェツクサム演算が実施され、演算結果が前記サ
ム生成保存回路16に保存されている演算結果と比較対
照される。そして、各演算結果が一致しておれば、受信
バッファ8及びS/P変換回路7は異常がないと判断す
る。各演算結果が一致しなければ、送信バッファ8及び
S/P変換回路7に何等かの異常が生じたので、受信側
のデータ処理装置に対して異常検出信号eを送出する。
Further, the received data converted into the original parallel data by the S/P conversion circuit 7 is once stored in the receiving buffer 8 and then read out by the data processing device on the receiving side, but the read received data b is It is transmitted to the data processing device and input to the sum generation and verification circuit 17. Then, a checksum operation is performed on the received data b, and the result of the operation is compared with the result of the operation stored in the sum generation/storage circuit 16. If the calculation results match, it is determined that there is no abnormality in the reception buffer 8 and the S/P conversion circuit 7. If the calculation results do not match, some kind of abnormality has occurred in the transmission buffer 8 and the S/P conversion circuit 7, and an abnormality detection signal e is sent to the data processing device on the receiving side.

このような異常検出方式であれば、前述した送信中に生
じた異常に加えて、送信出力回路4以前のハードウェア
部材、又は受信入力回路6以降のハードウェア部材の異
常発生を確実に検出できる。
With such an abnormality detection method, in addition to the abnormality that occurs during transmission as described above, it is possible to reliably detect abnormalities in hardware components before the transmission output circuit 4 or hardware components after the reception input circuit 6. .

しかしながら、このようなに構成された異常検出方式に
おいてもまだ次のような課題があった。
However, even with the abnormality detection method configured in this way, the following problems still exist.

すなわち、各データ処理装置としては、各異常検出信号
d、eを受領すると、送信出力回路4以前又は受信入力
回路7以降のハードウェア異常に何等可の異常が生じた
事を確認できるが、その異常発生範囲を送信バッファ1
.受信バッファ8側か、又はサム生成保存回路11.1
6及びサム生成照合回路13.17側かを判断すること
ができない。よって、さらに限定された異常発生範囲を
特定することができない不都合があった。
In other words, when each data processing device receives each of the abnormality detection signals d and e, it can confirm that some kind of abnormality has occurred in the hardware before the transmission output circuit 4 or after the reception input circuit 7. Send error range to buffer 1
.. Receive buffer 8 side or sum generation storage circuit 11.1
6 and the sum generation/verification circuit 13. It is not possible to determine whether it is the 17 side. Therefore, there is a problem in that it is not possible to specify a more limited range of abnormality occurrence.

また、第3図に示した送受信の回路を1個の集積回路に
組込む場合においては、製造上の不具合による動作不良
を除くために、意図的にサム生成保存回路の演算結果と
サム生成照合回路における各サムチェック演算結果を故
意に不一致にして、異常検出信号d、eを出力させて、
サム生成保存回路及びサム生成照合回路の動作確認を行
う必要が生じるが、第3図の異常検出方式であれば、意
図的にチェックサム演算結果の不一致を生じさせる術が
なく、より完全な製品検査を実施できない問題もある。
In addition, when the transmitting and receiving circuit shown in Figure 3 is incorporated into one integrated circuit, in order to eliminate malfunctions due to manufacturing defects, it is necessary to intentionally combine the calculation results of the sum generation and storage circuit with the sum generation and verification circuit. intentionally make the respective sum check calculation results inconsistent and output abnormality detection signals d and e,
It is necessary to check the operation of the sum generation/storage circuit and the sum generation/verification circuit, but with the abnormality detection method shown in Figure 3, there is no way to intentionally cause discrepancies in the checksum calculation results, resulting in a more perfect product. There are also problems in which testing cannot be carried out.

(発明が解決しようとする課題) このように、第3図に示した異常検出方式においても、
異常発生範囲をさらに限定することができず、また、こ
の送受信回路を1個の集積回路に組込んだ場合には、サ
ム生成保存回路及びサム生成照合回路の動作確認を含む
より完全な製品検査を実施できない課題がある。
(Problem to be solved by the invention) In this way, even in the abnormality detection method shown in FIG.
If it is not possible to further limit the range of abnormality occurrence, and if this transmitter/receiver circuit is integrated into one integrated circuit, a more complete product inspection including operation confirmation of the sum generation storage circuit and the sum generation verification circuit is required. There are some issues that make it impossible to implement.

本発明はこのような事情に鑑みてなされたものであり、
送信バッファ及び受信バッファに対してそれぞれ切換回
路を介して並列に試験用バッファを接続することによっ
て、各演算結果に不一致が生じた場合にその異常が演算
回路に生じたものか各バッファに生じたものかを特定で
き、結果としてハードウェア異常発生範囲をより狭く特
定でき、異常発生の対応を迅速に実施できる共に、製造
時の製品検査を含む各ハト−ウェア部材の機能チェック
をより能率的に実施できるデータ伝送システムの異常検
出方式を提供することを目的とする。
The present invention was made in view of these circumstances, and
By connecting test buffers in parallel to the transmitting buffer and receiving buffer through respective switching circuits, if a discrepancy occurs in each calculation result, it is possible to determine whether the abnormality occurred in the calculation circuit or in each buffer. As a result, it is possible to narrow down the scope of occurrence of hardware abnormalities, quickly respond to abnormalities, and more efficiently check the functionality of each hardware component, including product inspection during manufacturing. The purpose of this paper is to provide a method for detecting abnormalities in data transmission systems that can be implemented.

[発明の構成] (課題を解決するための手段) 上記課題を解消するために本発明のデータ伝送システム
の異常検出方式は、送信すべきデータを一旦送信バッフ
7に格納した後伝送ラインへ送出し、伝送ラインから受
信したデータを一旦受信バッファに格納した後この受信
バッファから読出すデータ伝送システムにおいて、 送信バッファ及び受信バッファの各バッファへ入力され
るデータに対して所定の演算を行う演算回路と各バッフ
ァから出力されるデータに対して所定の演算を行う演算
回路とを設け、両演算回路の演算結果の比較により前記
各バッファを含むハードウェア異常を監視し、 各バッファに対して各切換回路を介して並列に各試験用
バッファを接続し、両演算回路の演算結−果が一致しな
かった場合、切換回路を試験用バッファ側に切換えて、
この試験用バッファを用いて再度前記ハードウェア異常
監視を行うことによって、ハードウェア異常発生範囲を
特定するものである。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the abnormality detection method of the data transmission system of the present invention is such that data to be transmitted is temporarily stored in the transmission buffer 7 and then sent to the transmission line. In a data transmission system in which data received from a transmission line is temporarily stored in a reception buffer and then read from the reception buffer, an arithmetic circuit that performs a predetermined operation on data input to each buffer of the transmission buffer and the reception buffer. and an arithmetic circuit that performs predetermined arithmetic operations on the data output from each buffer. By comparing the arithmetic results of both arithmetic circuits, abnormalities in the hardware including each of the buffers are monitored, and each switching is performed for each buffer. Connect each test buffer in parallel through the circuit, and if the calculation results of both calculation circuits do not match, switch the switching circuit to the test buffer side,
By monitoring the hardware abnormality again using this test buffer, the range in which the hardware abnormality occurs is specified.

(作用) このように構成されたデータ伝送システムの異常検出方
式によれば、例えば送信バッファや受信バッファ、各演
算回路等のハードウェア部材に何等かの異常が発生する
と、各バッファに入力されるデータと各バッファから出
力されるデータとの演算結果が一致しなくなるので、異
常発生が確認される。
(Function) According to the abnormality detection method of the data transmission system configured as described above, for example, when an abnormality occurs in a hardware component such as a transmission buffer, a reception buffer, or each arithmetic circuit, an error is detected that is input to each buffer. Since the calculation results between the data and the data output from each buffer no longer match, the occurrence of an abnormality is confirmed.

そして、異常発生が確認されると、切換回路を試験用バ
ッファ側に切換えて、この試験用バッファを用いて上述
したハードウェアの異常監視を実施する。そして、上述
と同様に再度演算結果が一致しなければ、演算回路側に
異常が生じたと判断できる。また、演算結果が一致する
と試験用バッファに切換えた送信バッファ又は受信バッ
ファが異常であると判断できる。
When the occurrence of an abnormality is confirmed, the switching circuit is switched to the test buffer side, and the above-mentioned hardware abnormality monitoring is performed using this test buffer. Then, as described above, if the calculation results do not match again, it can be determined that an abnormality has occurred on the calculation circuit side. Furthermore, if the calculation results match, it can be determined that the transmission buffer or reception buffer switched to the test buffer is abnormal.

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

第1図は実施例の異常検出方式を採用したデータ伝送シ
ステムを示すブロック図である。第3図と同一部分には
同一符号を付して重膜する説明を省略する。
FIG. 1 is a block diagram showing a data transmission system employing the abnormality detection method of the embodiment. Components that are the same as those in FIG. 3 are given the same reference numerals, and redundant explanations will be omitted.

この実施例においては、送信バッファ1の入出力信号路
にそれぞれ切換回路21a、21bが介挿されており、
各切換回路21a、21bの常閉端子に送信バッファ1
が接続され、常開端子に送信バッファ1と同一構成の試
験用バッファ23が接続されている。そして、各切換回
路21a。
In this embodiment, switching circuits 21a and 21b are inserted in the input and output signal paths of the transmission buffer 1, respectively.
Transmission buffer 1 is connected to the normally closed terminal of each switching circuit 21a, 21b.
is connected, and a test buffer 23 having the same configuration as the transmission buffer 1 is connected to the normally open terminal. And each switching circuit 21a.

21bは送信側のデータ処理装置からの切換信号fにて
同時に切換制御される。そして、通常動作状態時におい
ては、切換回路21a、21bは常閉端子側、すなわち
送信バッファ1側に切換接続されている。
21b is simultaneously switched and controlled by a switching signal f from the data processing device on the transmitting side. In the normal operating state, the switching circuits 21a and 21b are switched and connected to the normally closed terminal side, that is, to the transmission buffer 1 side.

受信側においても、送信側と同様に、受信バッファ8の
人出力信号路にそれぞれ切換回路24a。
On the receiving side, similarly to the transmitting side, switching circuits 24a are provided in the human output signal paths of the receiving buffer 8, respectively.

24bが介挿されており、各切換回路24a。24b is inserted, and each switching circuit 24a.

24bの常閉端子に受信バッファ8が接続され、常開端
子に送信バッファ8と同一構成の試験用バッファ25が
接続されぞいる。そして、各切換回路24a、24bは
送信側のデータ処理装置からの切換信号gにて同時に切
換制御される。そして、通常動作状態時においては、切
換回路24a。
The receiving buffer 8 is connected to the normally closed terminal of 24b, and the test buffer 25 having the same configuration as the transmitting buffer 8 is connected to the normally open terminal. The switching circuits 24a and 24b are simultaneously controlled to be switched by a switching signal g from a data processing device on the transmitting side. In the normal operating state, the switching circuit 24a.

24bは常閉端子側、すなわち受信バッファ8側に切換
接続されている。
24b is switched and connected to the normally closed terminal side, that is, to the receiving buffer 8 side.

次に、このように構成されたデータ伝送システムの異常
検出方式の動作を説明する。まず、正常状態においては
、各切換回路21a、21b。
Next, the operation of the abnormality detection method of the data transmission system configured as described above will be explained. First, in a normal state, each switching circuit 21a, 21b.

23a、23bは各データ処理装置からの切換信号f、
gにて常閉端子側、すなわち、送信バッファ1、受信バ
ッファ8側に接続されている。
23a and 23b are switching signals f from each data processing device;
g is connected to the normally closed terminal side, that is, the transmission buffer 1 and reception buffer 8 sides.

そして、図示しない送信側のデータ処理装置からパラレ
ルの送信データaが入力されると、その送信データaは
送信バッファ1に一旦蓄えられた後P/S変換回路2で
シリアルのデータに変換される。また、データ処理装置
から入力した送信データaはサム生成保存回路11にて
チェックサム演算が実施され、演算結果が保存される。
When parallel transmission data a is input from a data processing device on the transmission side (not shown), the transmission data a is temporarily stored in a transmission buffer 1 and then converted into serial data by a P/S conversion circuit 2. . Further, the transmission data a inputted from the data processing device is subjected to checksum calculation in the sum generation storage circuit 11, and the calculation result is stored.

また、P/S変換回路2にてシリアルデータに変換され
た送信データはCRC生成回路3でCRCチェックデー
タが付されて、送信出力回路4を経て伝送ライン5へ送
出される。また、P/S変換回路2にてシリアルデータ
に変換された送信データはS/P変換回路12で元のパ
ラレルデータに変換される。そして、このパラレルデー
タは次のサム生成照合回路13にてチェックサム演算が
実施され、演算結果が前記サム生成保存回路11に保存
されている演算結果と比較対照される。そして、各演算
結果が一致しておれば、送信バッファ1及びP/S変換
回路2は異常がないと判断する。各演算結果が一致しな
ければ、送信バッファ1及びP/S変換回路2に同等か
の異常が生じたので、送信側のデータ処理装置に対して
異常検出信号dを送出する。また、異常が検出されると
必要に応して、アボート回路〕4にて送信出力回路4か
ら出力されるCRCチェックコードが付された送信デー
タに対してさらに無効コードを付加する。
Further, the transmission data converted into serial data by the P/S conversion circuit 2 is attached with CRC check data by the CRC generation circuit 3, and is sent to the transmission line 5 via the transmission output circuit 4. Furthermore, the transmission data converted into serial data by the P/S conversion circuit 2 is converted into original parallel data by the S/P conversion circuit 12. Then, this parallel data is subjected to checksum calculation in the next sum generation/verification circuit 13, and the calculation result is compared and contrasted with the calculation result stored in the sum generation/storage circuit 11. If the calculation results match, it is determined that there is no abnormality in the transmission buffer 1 and the P/S conversion circuit 2. If the calculation results do not match, it means that a similar or similar abnormality has occurred in the transmission buffer 1 and the P/S conversion circuit 2, and therefore an abnormality detection signal d is sent to the data processing device on the transmission side. Further, when an abnormality is detected, an abort circuit 4 further adds an invalid code to the transmission data to which the CRC check code is attached, which is output from the transmission output circuit 4, as necessary.

さて、異常検出信号dを受領した送信側のデータ処理装
置は、切換信号Cのレベルを反転して、切換回路21a
、21bを試験用バッファ23側へ切換える。そして、
前述と同一の送信データaを出力する。データ処理装置
から入力された送信データaは今度は試験用バッファ2
3に一旦蓄えられた後P/S変換回路2へ送出されシリ
アルデータに変換される。また、入力された送信データ
aはサム生成保存回路11でチェックサム演算される。
Now, upon receiving the abnormality detection signal d, the data processing device on the transmitting side inverts the level of the switching signal C and outputs the signal to the switching circuit 21a.
, 21b to the test buffer 23 side. and,
The same transmission data a as described above is output. The transmission data a input from the data processing device is now transferred to the test buffer 2.
3 and then sent to the P/S conversion circuit 2 where it is converted into serial data. Further, the input transmission data a is subjected to a checksum calculation in the sum generation/storage circuit 11.

そして、試験用バッファ23から出力された出力された
送信データaに対するチェックサム’fanかサム生成
照合回路13で実施され、再度サム生成保存囲路11に
て算出されたチェックサム演算結果と比較対照される。
Then, the checksum 'fan' for the output transmission data a output from the test buffer 23 is performed in the sum generation verification circuit 13 and compared with the checksum calculation result calculated in the sum generation storage circuit 11 again. be done.

そして、演算結果が一致すれば、異常検出信号dは出力
されないので、送信側のデータ処理装置は送信バッファ
1が異常であると判断できる。
If the calculation results match, the abnormality detection signal d is not output, so the data processing device on the transmitting side can determine that the transmitting buffer 1 is abnormal.

また、a′!J結果が一致しなければ、再度異常検出色
好dが出力されるので、送信側のデータ処理装置は送信
バッファ1は正常であり、サム生成保存回路11叉はサ
ム生成照合回路13等の演算回路が異常であると判断で
きる。
Also, a′! If the J results do not match, the abnormality detection value d is output again, so the data processing device on the sending side determines that the sending buffer 1 is normal and the calculations of the sum generation storage circuit 11 or the sum generation collation circuit 13 etc. It can be determined that the circuit is abnormal.

すなわち、データ処理装置は送信バッファ1゜サム生成
保存回路11.サム生成照合回路13等のハードウェア
部材の異常発生範囲を、送信バッファ側か演算回路側か
まで特定することができる。
That is, the data processing device includes a transmission buffer 1° sum generation storage circuit 11. It is possible to specify the range in which an abnormality occurs in hardware components such as the sum generation and verification circuit 13, whether it is on the transmission buffer side or on the arithmetic circuit side.

受信側についても送信側とほぼ同様の手順にてハードウ
ェア部材の異常発生範囲を特定できる。
On the receiving side, the range in which an abnormality has occurred in the hardware member can be identified using almost the same procedure as on the transmitting side.

すなわち、受信入力回路6から入力されたシリアルの受
信データは、まず、CRCチェック回路9で伝送ライン
5および送信出力回路4.受信入力回路6における異常
の有無が検出される。次に、−サム生成保存回路16の
チェックサム演算結果と受信バッファ8を介したサム生
成照合回路17のチェックサム演算結果との一致、不一
致が判定され、不一致の場合は異常検出信号eが受信側
のデータ処理装置へ送出される。
That is, serial reception data input from the reception input circuit 6 is first passed through the CRC check circuit 9 to the transmission line 5 and the transmission output circuit 4. The presence or absence of an abnormality in the receiving input circuit 6 is detected. Next, it is determined whether the checksum calculation result of the -sum generation storage circuit 16 and the checksum calculation result of the sum generation collation circuit 17 via the reception buffer 8 match or do not match, and if they do not match, an abnormality detection signal e is received. The data is sent to the data processing device on the side.

そして、異常検出信号eを受領した受信側のデータ処理
装置は、切損信号gのレベルを反転して、切換回路24
a、24bを試験用バッファ25側へ切換える。そして
、次の受信データが受信入力回路6へ入力されるのを待
つ。そして、受信データが受信入力回路6から入力され
ると、前述と同様に、サム生成保存回路16のチェック
サム演算結果と試験用バッファ25を介したサム生成照
合回路17のチェックサム演算結果との一致、不一致か
判定される。
Then, the data processing device on the receiving side that has received the abnormality detection signal e inverts the level of the disconnection signal g and outputs it to the switching circuit 24.
Switch a and 24b to the test buffer 25 side. Then, it waits for the next received data to be input to the reception input circuit 6. Then, when the received data is input from the reception input circuit 6, the checksum calculation result of the sum generation storage circuit 16 and the checksum calculation result of the sum generation collation circuit 17 via the test buffer 25 are combined as described above. It is determined whether there is a match or a mismatch.

演算結果が一致した場合には、異常検出信号eは出力さ
れないので、受信側のデータ処理装置は受信バッファ8
が異常であると判断できる。
If the calculation results match, the abnormality detection signal e is not output, so the data processing device on the receiving side uses the receiving buffer 8.
can be determined to be abnormal.

また、演算結果が一致しなければ、再度異常検出信号e
が出力されるので、受信バッファ8は正常であり、サム
生成保存回路16又はサム生成照合回路17等の演算回
路が異常であると判断できる。
In addition, if the calculation results do not match, the abnormality detection signal e is sent again.
Since this is output, it can be determined that the reception buffer 8 is normal and that the calculation circuits such as the sum generation/storage circuit 16 or the sum generation/verification circuit 17 are abnormal.

すなわち、データ処理装置は受信バッファ8゜サム生成
保存回路16.サム生成照合回路17等のハードウェア
部材の異常発生範囲を、受信バッファ側か演算回路側か
まで特定することができる。
That is, the data processing device includes a reception buffer 8 degrees, a sum generation storage circuit 16. It is possible to specify the range in which an abnormality occurs in hardware components such as the sum generation and verification circuit 17, whether it is on the receiving buffer side or on the arithmetic circuit side.

よって、このような異常検出方式を採用したデータ伝送
システムにおいては、ハードウェア部材に異常が発生し
た場合には、その異常発生ハードウェア部材の範囲を迅
速に特定でき、異常発生に対する復旧措置を迅速に実行
することができる。
Therefore, in a data transmission system that adopts such an abnormality detection method, if an abnormality occurs in a hardware component, the range of the hardware component where the abnormality occurs can be quickly identified, and recovery measures can be taken quickly in response to the occurrence of the abnormality. can be executed.

また、送信バッファ1又は試験用バッファ23゜受信バ
ッファ8又は試験用バッファ25のうちのいずれか一方
のバッファを故意に故障させたものを接続することより
、サム生成照合回路13゜17に比較不一致による異常
検出信号d、eを出力させることができる。よって、サ
ム生成保存回路11.16、サム生成照合回路13.1
7の動作確認を実行できる。
In addition, by connecting either one of the transmission buffer 1 or the test buffer 23°, the reception buffer 8, or the test buffer 25 that is intentionally malfunctioning, a comparison discrepancy can be generated in the sum generation verification circuit 13°17. It is possible to output abnormality detection signals d and e. Therefore, the sum generation/storage circuit 11.16 and the sum generation/verification circuit 13.1
7 operation check can be performed.

したがって、このような送受信の回路を1個の集積回路
に組込む場合においては、製造上の不具合による動作不
良を、除くために、意図的にサム生成保存回路の演算結
果とサム生成照合回路における各サムチェック/fr″
!5結果を故意に不一致にして、異常検出信号d、eを
出力させて、サム生成保存回路及びサム生成照合回路の
動作確認を行う必要が生じるが、第1図の異常検出方式
であれば、意図的にチェックサム演算結果の不一致を生
じさせることが口J能となり、より完全な製品検査を実
施できる。
Therefore, when such a transmission/reception circuit is incorporated into a single integrated circuit, in order to eliminate malfunctions due to manufacturing defects, the calculation results of the sum generation storage circuit and each of the sum generation and verification circuits are intentionally Sum check/fr″
! 5. It is necessary to intentionally make the results inconsistent and output the abnormality detection signals d and e to check the operation of the sum generation storage circuit and the sum generation verification circuit. However, if the abnormality detection method shown in Fig. 1 is used, It becomes easy to intentionally cause discrepancies in checksum calculation results, and more complete product inspection can be performed.

[発明の効果] 以」−説明したように本発明のデータ伝送システムの異
常検出方式によれば、送信バッファ及び受信バッファに
対してそれぞれ切換回路を介して並列に試験用バッファ
を接続している。したがって、各演算結果に不一致が生
じた場合にその異常が演算回路に生じたものか各バッフ
ァに生じたものかを特定でき、結果としてハードウウア
異常発生範囲をより狭く特定でき、異常発生の対応を迅
速に実施できる。また、故意に故障した試験用バッファ
を接続することによって、製造時の製品検査を含む各ハ
ト−ウェア部材の機能チェックをより能率的に実施でき
る。
[Effects of the Invention] As explained above, according to the abnormality detection method of the data transmission system of the present invention, test buffers are connected in parallel to the transmitting buffer and the receiving buffer through respective switching circuits. . Therefore, when a discrepancy occurs in each calculation result, it is possible to identify whether the abnormality occurred in the calculation circuit or each buffer, and as a result, the range of hardware abnormality occurrence can be narrower, and the response to the abnormality occurrence can be determined. Can be implemented quickly. Furthermore, by connecting a test buffer that has intentionally failed, it is possible to more efficiently check the functionality of each hardware component, including product inspection during manufacturing.

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

第1図は実施例の異常検出方式を採用したデータ伝送シ
ステムを示すブロック図、第2図は従来のデータ伝送シ
ステムを示すブロック図、第3図はこの出願前に出・願
した異常検出方式を採用したデータ伝送システムを示す
ブロック図である。 1・・・送信バッファ、4・・・送信出力回路、5・・
・伝送ライン、6・・・受信入力回路、8・・・受信バ
ッファ、11.16・・・サム生成保存回路(演算回路
)、13.17・・・サム生成照合回路(演算回路)、
21a、21b、24a、24b−・・切換回路、23
.2.5・・・試験用バッファ、a・・・送信データ、
b・・受信データ、d、e・・・異常検出信号、f、 
 g・・・しJ換信号。
Fig. 1 is a block diagram showing a data transmission system adopting the abnormality detection method of the embodiment, Fig. 2 is a block diagram showing a conventional data transmission system, and Fig. 3 is an abnormality detection method filed and applied for before this application. 1 is a block diagram illustrating a data transmission system employing the above. 1... Transmission buffer, 4... Transmission output circuit, 5...
- Transmission line, 6... Reception input circuit, 8... Reception buffer, 11.16... Sum generation storage circuit (arithmetic circuit), 13.17... Sum generation verification circuit (arithmetic circuit),
21a, 21b, 24a, 24b--switching circuit, 23
.. 2.5... Test buffer, a... Transmission data,
b... Received data, d, e... Abnormality detection signal, f,
g...J change signal.

Claims (1)

【特許請求の範囲】 送信すべきデータを一旦送信バッファに格納した後伝送
ラインへ送出し、伝送ラインから受信したデータを一旦
受信バッファに格納した後この受信バッファから読出す
データ伝送システムにおいて、 前記送信バッファ及び受信バッファの各バッファへ入力
されるデータに対して所定の演算を行う演算回路と前記
各バッファから出力されるデータに対して前記所定の演
算を行う演算回路とを設け、両演算回路の演算結果の比
較により前記各バッファを含むハードウェア異常を監視
し、 前記各バッファに対して各切換回路を介して並列に各試
験用バッファを接続し、前記両演算回路の演算結果が一
致しなかった場合、前記切換回路を前記試験用バッファ
側に切換えて、この試験用バッファを用いて再度前記ハ
ードウェア異常監視を行うことによって、ハードウェア
異常発生範囲を特定することを特徴とするデータ伝送シ
ステムの異常検出方式。
[Scope of Claims] A data transmission system in which data to be transmitted is once stored in a transmission buffer and then sent to a transmission line, and data received from the transmission line is once stored in a reception buffer and then read from the reception buffer, comprising: An arithmetic circuit that performs a predetermined arithmetic operation on data input to each buffer of a transmitting buffer and a receiving buffer, and an arithmetic circuit that performs the predetermined arithmetic operation on data output from each of the buffers, and both arithmetic circuits are provided. monitor the hardware including the buffers for abnormalities by comparing the calculation results, connect each test buffer in parallel to each buffer via each switching circuit, and check that the calculation results of both calculation circuits match. If not, the switching circuit is switched to the test buffer side, and the hardware abnormality monitoring is performed again using the test buffer, thereby specifying the hardware abnormality occurrence range. System anomaly detection method.
JP1125304A 1989-05-18 1989-05-18 Abnormality detecting system for data transmission system Pending JPH02305037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1125304A JPH02305037A (en) 1989-05-18 1989-05-18 Abnormality detecting system for data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1125304A JPH02305037A (en) 1989-05-18 1989-05-18 Abnormality detecting system for data transmission system

Publications (1)

Publication Number Publication Date
JPH02305037A true JPH02305037A (en) 1990-12-18

Family

ID=14906778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1125304A Pending JPH02305037A (en) 1989-05-18 1989-05-18 Abnormality detecting system for data transmission system

Country Status (1)

Country Link
JP (1) JPH02305037A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009286380A (en) * 2008-06-02 2009-12-10 Honda Motor Co Ltd On-vehicle electronic control device and vehicle with fuel cell
JP2015146554A (en) * 2014-02-04 2015-08-13 富士通株式会社 Information processor, information processing system and fault detection method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009286380A (en) * 2008-06-02 2009-12-10 Honda Motor Co Ltd On-vehicle electronic control device and vehicle with fuel cell
JP2015146554A (en) * 2014-02-04 2015-08-13 富士通株式会社 Information processor, information processing system and fault detection method

Similar Documents

Publication Publication Date Title
JPH01284035A (en) Data transmission equipment
JPH02305037A (en) Abnormality detecting system for data transmission system
JP2827713B2 (en) Redundant device
JPS5833330A (en) Checking system for cable transmission line
JPS62109441A (en) Data transmission system
CN112291128B (en) Bus-based communication system, system on chip and method therefor
KR100468887B1 (en) Monitoring System of Serial Data Communication for Signal System of Rail Road
JPH05204692A (en) Failure detecting/separating system for information processor
JP3166135B2 (en) Redundant system
JP2737294B2 (en) Duplex receiver
JP2970164B2 (en) Switching circuit
JP3549702B2 (en) Bus control circuit and test method thereof
JPH1168802A (en) Faulty environment supervisory system
JP2606134B2 (en) Failure detection method
JP2859086B2 (en) Path monitoring device
JPH08163153A (en) Bus type duplex transmission device
JPS6051136B2 (en) Data error detection method
JPH11338594A (en) Defective contact detecting circuit
JP2606160B2 (en) Failure detection method for parity check circuit
JPH04365156A (en) Data transmission error detection circuit
JPS5819057A (en) Constitution controller for loop data transmission system
JPH04245748A (en) Control congestion detecting device for transmission line
JPS62235833A (en) Standby system self-diagnosis system in duplicated transmitter
JPH05244128A (en) Communication duplex device
JPS63299423A (en) System for relieving fault in loop shape transmission processing system