JPH03190333A - Data abnormality detection system for parallel data communication - Google Patents

Data abnormality detection system for parallel data communication

Info

Publication number
JPH03190333A
JPH03190333A JP33007189A JP33007189A JPH03190333A JP H03190333 A JPH03190333 A JP H03190333A JP 33007189 A JP33007189 A JP 33007189A JP 33007189 A JP33007189 A JP 33007189A JP H03190333 A JPH03190333 A JP H03190333A
Authority
JP
Japan
Prior art keywords
parallel
data
check code
error check
ecc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP33007189A
Other languages
Japanese (ja)
Other versions
JPH0756977B2 (en
Inventor
Mitsuaki Endo
遠藤 充昭
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1330071A priority Critical patent/JPH0756977B2/en
Publication of JPH03190333A publication Critical patent/JPH03190333A/en
Publication of JPH0756977B2 publication Critical patent/JPH0756977B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To attain the detection of a fault surely by adding an error check code and an inverted error check code inverting the logic of the error check code to a parallel data string at the sender side, transferring the result in parallel and detecting a fault of a transfer data at a receiver side based on the error check code and the inverted error check code. CONSTITUTION:A sender side adds an error check code ECC such as a block check character BCC and an inverted error check code *ECC resulting from inverting the logic of the said error check code to a parallel data string, and transfers the result in parallel in the parallel data communication system in which the parallel data string is transferred in parallel between equipments 11, 12 via a parallel signal line 13 in plural bits. Then the receiver side detects a fault of the transfer data based on the error check code ECC and the error check code *ECC. The receiver side uses not only the error check code ECC by the inverted error check code *ECC to check the data error and the detection of a fault bit such as fixed '0' or fixed '1' is attained.

Description

【発明の詳細な説明】 し概要] プロセッサ間あるいはプロセッサ・I10装置間などで
並列データをビットパラレルに転送する並列データ通信
システムにおいて、障害により転送データに異常が発生
したか否かを検出するデータ異常検出方式に関し。
[Detailed Description of the Invention] Summary] Data for detecting whether or not an abnormality has occurred in transferred data due to a failure in a parallel data communication system that transfers parallel data bit-parallel between processors or between a processor and an I10 device. Regarding the abnormality detection method.

障害ビットが“O”固定あるいは°゛1”固定になるよ
うな障害に対しても、確実に障害検出を行えるようにす
ることを目的とし。
The purpose of this invention is to ensure failure detection even for failures in which the failure bit is fixed to "O" or fixed to "1".

並列データ列を複数ビットの並列信号線を介して装置間
で逐次に並列転送する並列データ通信システムにおいて
、送信側ではこれら並列データ列にその誤り検出コード
とこの誤り検出コードの論理を反転させた反転誤り検出
コードとを付加して並列転送し、受信側ではこの誤り検
出コードと反転誤り検出コードに基づいて転送データの
異常検出を行うように構成される。
In a parallel data communication system in which parallel data strings are sequentially transferred in parallel between devices via multiple-bit parallel signal lines, the transmitting side uses error detection codes for these parallel data strings and inverts the logic of this error detection code. An inverted error detection code is added and transferred in parallel, and the receiving side is configured to detect an abnormality in the transferred data based on this error detection code and the inverted error detection code.

[産業上の利用分野] 本発明は、プロセッサ間あるいはプロセッサ・I10装
置間などで並列データをビットパラレルに転送する並列
データ通信システムにおいて、障害により転送データに
異常が発生したか否かを検出するデータ異常検出方式に
関する。
[Industrial Application Field] The present invention detects whether an abnormality has occurred in transferred data due to a failure in a parallel data communication system that transfers parallel data bit-parallel between processors or between a processor and an I10 device. Related to data anomaly detection method.

例えば複数プロセッサを有する装置内のプロセッサ間に
おいてのデータ通信は、ビットパラレルのインタフェー
スが用いられる。この通信データの良否判定には一般に
ブロック検査文字BCC(Block Check C
haracter :全データの排他的論理和)を用い
てのチエツクが行われているが。
For example, a bit parallel interface is used for data communication between processors in a device having multiple processors. Block check characters BCC (Block Check C) are generally used to determine the quality of this communication data.
haracter (exclusive OR of all data) is used.

データ異常の態様によってはこのブロック検査文字BC
Cでもハードウェア障害の検出ができない場合がある。
Depending on the data abnormality, this block check character BC
Even with C, hardware failures may not be detected.

従っていかなるデータ異常に対してもそれを確実に検出
できるようにして、データ異常検出の信頼性を向上でき
ることが必要とされている。
Therefore, there is a need to be able to reliably detect any data anomaly and improve the reliability of data anomaly detection.

[従来の技術] 第7図には、二つのプロセッサ間で並列データを並列転
送するシステムが示される。図中、プロセッサ1.2間
には並列データの8ビツトに対応する8本の並列信号線
bo−b7が設けられており、この信号線bo−b7を
介して並列データ列Di、D2.  ・・・Dnが順次
に転送され、最後にこれら並列データ列のブロック検出
文字BCCが付加されて転送される。
[Prior Art] FIG. 7 shows a system for transferring parallel data between two processors in parallel. In the figure, eight parallel signal lines bo-b7 corresponding to 8 bits of parallel data are provided between processors 1 and 2, and parallel data strings Di, D2, . ...Dn are sequentially transferred, and finally the block detection characters BCC of these parallel data strings are added and transferred.

[発明が解決しようとする課題] 従来の並列データ通信システムでは、並列信号線bo−
b7の何れかがオーブン(ルベル)あるいはショート(
0レベル)モードで障害が発生した場合で以下のような
時には障害を発見できない。
[Problem to be solved by the invention] In the conventional parallel data communication system, the parallel signal line bo-
Either b7 is oven (lebel) or short (
When a failure occurs in 0 level) mode, the failure cannot be discovered in the following cases.

■障害を起こしたビット線が“0”固定あるいは°°1
″′固定のデータしか送信しない場合、これが障害であ
るか否か判別できない。
■The faulty bit line is fixed at “0” or °°1
If only fixed data is sent, it cannot be determined whether this is a failure or not.

■障害ビットに該当するビットの“1”の数が奇数また
は偶数で常に変わらない場合、ブロック検査文字BCC
コードDでも障害を検出できない。
■If the number of “1” bits corresponding to the fault bit is an odd or even number and does not change, the block check character BCC
No fault can be detected even with code D.

何れにしても、ブロック検査文字BCCではデータの異
常をチエツクできない場合があるので、かかる障害モー
ドに対しても確実に異常検出できるようにすることが必
要となってくる。
In any case, since it may not be possible to check for data abnormalities using the block check character BCC, it is necessary to be able to reliably detect abnormalities even in such failure modes.

したがって本発明の目的は、障害ビットが0”固定ある
いは“1“固定になるような障害に対しても、確実に障
害検出を行えるようにすることにある。
Therefore, an object of the present invention is to enable reliable failure detection even for failures in which the failure bit is fixed at 0 or 1.

[課題を解決するための手段] 第1図は本発明に係る原理説明図である。[Means to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.

本発明に係る並列データ通信のデータ異常検出方式は、
@列データ列を複数ビットの並列信号線13を介して装
置11.12間で順次に並列転送する並列データ通信シ
ステムにおいて、送信側ではこれら並列データ列にブロ
ック検査文字BCGなどの誤り検出コードECCとこの
誤り検出コードの論理を反転させた反転誤り検出コード
*ECCとを付加して並列転送し、受診側ではこの誤り
検出コードECCと反転誤り検出コード*ECCに基づ
いて転送データの異常検出を行うように構成される。
The data abnormality detection method for parallel data communication according to the present invention is as follows:
In a parallel data communication system in which @ column data strings are sequentially transferred in parallel between devices 11 and 12 via multi-bit parallel signal lines 13, on the transmitting side, error detection codes such as block check characters BCG and ECC are added to these parallel data strings. and an inverted error detection code *ECC, which is the logic of this error detection code inverted, are added and transferred in parallel, and the receiving side detects abnormalities in the transferred data based on this error detection code ECC and inverted error detection code *ECC. configured to do so.

[作用] 転送する並列データ列PDTに従来の誤り検出コードE
CCを付加し、さらにこの誤り検出コードECCの各ビ
ットの論理を反転させて作成した反転誤り検出コード*
ECCを付は加えて受信側に送る。受診側では誤り検出
コードECCだけでなく、この反転誤り検出コード*E
CCも用いてデータ異常の検出を行うことにより、°゛
O”固定あるいは“l”固定等の障害ビットの検出も可
能になる。
[Operation] The conventional error detection code E is applied to the parallel data string PDT to be transferred.
An inverted error detection code created by adding CC and further inverting the logic of each bit of this error detection code ECC *
Add ECC and send to the receiving side. On the receiving side, not only the error detection code ECC but also this inverted error detection code *E
By also using CC to detect data abnormalities, it is also possible to detect faulty bits such as fixed to °O or fixed to l.

[実施例] 以下9図面を参照して本発明の詳細な説明する。[Example] The present invention will be described in detail below with reference to nine drawings.

第2図には9本発明の一実施例としての並列データ通信
のデータ異常検出方式を用いた装置間並列データ通信シ
ステムが示される。図において、1と2はプロセッサで
あり、このプロセッサ1.2間は8ビツトの並列信号線
bO−b7で相互に接続されている。
FIG. 2 shows an inter-device parallel data communication system using a data abnormality detection method for parallel data communication as an embodiment of the present invention. In the figure, 1 and 2 are processors, and the processors 1 and 2 are interconnected by 8-bit parallel signal lines bO-b7.

第3図には、プロセッサ1.2間で転送される通信デー
タのフォーマットが示される。図示の如く、並列転送デ
ータ列DI、D2・・・Dnの各データは8ビット並列
データからなり、これらのデータ列DI、  ・・・D
nの終わりには誤り検出コードとしてブロック検査文字
BCCが付加され、さらにその後にこのブロック検査文
字BCCの各ビットの論理(l”と°0”)を反転させ
た反転ブロック検査文字*BCCが付加される。
FIG. 3 shows the format of communication data transferred between processors 1.2. As shown in the figure, each data in the parallel transfer data strings DI, D2...Dn consists of 8-bit parallel data, and these data strings DI, ...D
At the end of n, a block check character BCC is added as an error detection code, and then an inverted block check character *BCC, which is the inversion of the logic (l" and °0") of each bit of this block check character BCC, is added. be done.

第4図にはデータ送信側のプロセッサ1におけるデータ
転送処理手順が示され、また第5図にはデータ受信側の
プロセッサ2におけるデータ転送処理手順が示される。
FIG. 4 shows a data transfer processing procedure in the data transmitting side processor 1, and FIG. 5 shows a data transfer processing procedure in the data receiving side processor 2.

以下、これらの図面を参照して実施例のデータ異常検出
方式が説明される。
Hereinafter, the data anomaly detection method of the embodiment will be explained with reference to these drawings.

まず、送信側プロセッサ1では、送信データ列DI  
−Dnを順次にセットしくステップS2)、これら送信
データ列DI  −Dnのブロック検査文字BCCを作
成しつつ(ステップS3)、これらの送信データ列D1
・・・Dnを並列信号線bo−b7を介してプロセッサ
2側へ逐次に転送する(ステップ82〜S5)。
First, in the sending processor 1, the sending data string DI
-Dn are set sequentially (step S2), and while creating block check characters BCC for these transmission data strings DI -Dn (step S3), these transmission data strings D1
. . . Dn is sequentially transferred to the processor 2 side via the parallel signal line bo-b7 (steps 82 to S5).

全送信データ列Di・・・Dnの送信が終了したならば
(ステップ55)9次には、これらの送信データ列D1
・・・Dnから作成したブロック検査文字BCCにより
その各ビットの論理値を反転して反転ブロック検査文字
*BCCを作成しくステップS6)、このブロック作成
文字BCCとと反転ブロック検査文字*BCCとを第3
図に示されるように送信データ列DI、D2・・・Dn
の後に続けてプロセッサ2側に転送する。
When the transmission of all the transmission data strings Di...Dn is completed (step 55)9, next, these transmission data strings D1
... Create an inverted block check character *BCC by inverting the logical value of each bit using the block check character BCC created from Dn (step S6), and combine this block creation character BCC and the inverted block check character *BCC. Third
As shown in the figure, transmission data strings DI, D2...Dn
After that, the data is transferred to the processor 2 side.

受信側のプロセッサ2では、送信側プロセッサ1から送
られてくるデータを、ブロック検査文字BCCおよび反
転ブロック検査文字*BCCを含めて一旦全て受信しく
ステップS12,513)、それが終了したならば、受
信したデータ列DI、D2.   ・・Dnから受信側
で新たにブロック検査文字BCCRを作成しくステップ
516)、この受信側で作成したブロック検査文字l3
OCRとプロセッサl側から受信したブロック検査文字
BCCとを比較し、データに異常があるか否かをチエツ
クする。そして異常があれば受信データ異常処理を行う
(ステップ518)。
The receiving processor 2 once receives all the data sent from the transmitting processor 1, including the block check character BCC and inverted block check character *BCC (steps S12, 513), and once this is completed, The received data string DI, D2. ...From Dn, the receiving side creates a new block check character BCCR (Step 516), and the block check character l3 created on this receiving side
The OCR is compared with the block check character BCC received from the processor I side to check whether there is any abnormality in the data. If there is an abnormality, a received data abnormality process is performed (step 518).

一方、このブロック検査文字BCCによっては異常が検
出されなかった場合には、このブロック検査文字BCC
から反転ブロック検査文字*BCCRを受信側で作成し
くステップ516)、これとプロセッサ1側から受信し
た反転ブロック検査文字*BCCとを比較することでデ
ータ異常のチエツクを行う(ステップ517)。このチ
エツクの結果、異常があれば受信データ異常処理を行い
(ステップ518)、異常が無ければ受信データ処理を
行う(ステップ519)。
On the other hand, if no abnormality is detected by this block check character BCC, this block check character BCC
An inverted block check character *BCCR is created on the receiving side (step 516), and data abnormality is checked by comparing this with the inverted block check character *BCC received from the processor 1 side (step 517). As a result of this check, if there is an abnormality, the received data is processed for abnormality (step 518), and if there is no abnormality, the received data is processed (step 519).

このように送信側からブロック検査文字BCCだけでな
く反転ブロック検査文字*BCCも併せて送信し、受信
側においてはブロック検査文字BCCによるだけでな(
反転ブロック検査文字*BCCによってもデータ異常の
チエツクを行うようにすれば、並列信号線の障害ビット
の“O”固定あるいは°゛l”固定のハードウェア障害
が生じているような場合でも、この障害を確実に検出す
ることが可能になる。
In this way, the sending side sends not only the block check character BCC but also the inverted block check character *BCC, and the receiving side sends not only the block check character BCC but also the inverted block check character *BCC (
If data abnormalities are also checked using the inverted block check character *BCC, this problem can be avoided even if there is a hardware failure in which the failure bit of the parallel signal line is fixed to "O" or "l". It becomes possible to detect failures reliably.

例えば第2図に示されるように、ビット線b4の“1”
固定とビット線b5の“0”固定の障害が発生した場合
には、従来のブロック検査文字BCCによるだけのデー
タ異常検出では障害を検出することができないが9反転
ブロック検査文字*BCCを伴せ用いてデータ異常検出
を行うことにより障害検出が可能となる。
For example, as shown in FIG. 2, "1" on bit line b4
If a fault occurs where bit line b5 is fixed to "0", the fault cannot be detected by conventional data abnormality detection using only the block check character BCC. By using this method to detect data anomalies, it becomes possible to detect failures.

第6図には本発明のデータ異常検出方式が通信システム
の多重端局装置に適用された場合の例が示される。図に
おいて、11は多重化バスコントローラ、12はそれぞ
れI10インタフェースであり、これら多重化バスコン
トローラ11とI10インタフェース12はそれぞれマ
イクロプロセッサを搭載しており、これらの間はバス1
3で結合されてデータ転送が行われるようになっている
FIG. 6 shows an example in which the data anomaly detection method of the present invention is applied to a multiplex terminal device of a communication system. In the figure, 11 is a multiplexed bus controller, 12 is an I10 interface, and each of these multiplexed bus controller 11 and I10 interface 12 is equipped with a microprocessor.
3 to perform data transfer.

14はこのシステムの状態を監視するための監視制御部
であり、この監視制御部14と多重化バスコントローラ
11およびI10インタフェース12の間は監視制御バ
ス15によって接続されている。
Reference numeral 14 denotes a supervisory control unit for monitoring the state of this system, and a supervisory control bus 15 connects this supervisory control unit 14 to the multiplexed bus controller 11 and I10 interface 12.

ここで上述の本発明のデータ異常検出方式は。Here, the data abnormality detection method of the present invention described above is as follows.

多重化バスコントローラ11の各I10インタフェース
12が監視制御バス15を介して監視制御部部14に監
視データを転送する際に、その転送データのデータ異常
検出に用いられるものである。
When each I10 interface 12 of the multiplexed bus controller 11 transfers monitoring data to the monitoring control section 14 via the monitoring control bus 15, it is used to detect data abnormality in the transferred data.

[発明の効果] 本発明によれば、従来検出することができない場合もあ
った並列信号線等の障害ビットの°°O”固定あるいは
°l”固定等により生じるデータ異常も確実に検出する
ことができるようになり、これにより誤ったデータ処理
により重大な障害が誘発されることを防止でき、システ
ムの信頼性向上に寄与するところ大である。
[Effects of the Invention] According to the present invention, it is possible to reliably detect data abnormalities caused by fixing °°O" or °l" of faulty bits in parallel signal lines, etc., which could not be detected conventionally. This makes it possible to prevent serious failures caused by erroneous data processing, and greatly contributes to improving system reliability.

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

第1図は本発明に係る原理説明図。 第2図は本発明の一実施例としての並列データ通信のデ
ータ異常検出方式を用いたプロセッサ間データ通信シス
テムを示すブロック図。 第3図は実施例システムで転送されるデータ列のフォー
マットを示す図。 第4図は実施例システムにおける送信側プロセッサでの
データ転送処理手順を示す流れ図。 第5図は実施例システムにおける受信側プロセッサでの
データ転送処理手順を示す流れ図。 第6図は本発明方式の適用例システムを示すブロック図
、および。 第7図は従来のデータ異常検出方式を説明するための図
である。 図において。 1.2・・・プロセッサ 11・・・多重化バスコントローラ 12・・・I10インタフェース 13・・・バス 14・・・監視制御部 15・・・監視制御バス
FIG. 1 is a diagram explaining the principle of the present invention. FIG. 2 is a block diagram showing an inter-processor data communication system using a data abnormality detection method for parallel data communication as an embodiment of the present invention. FIG. 3 is a diagram showing the format of a data string transferred in the embodiment system. FIG. 4 is a flowchart showing the data transfer processing procedure in the transmitting processor in the embodiment system. FIG. 5 is a flowchart showing the data transfer processing procedure in the receiving processor in the embodiment system. FIG. 6 is a block diagram showing an example system to which the method of the present invention is applied. FIG. 7 is a diagram for explaining a conventional data abnormality detection method. In fig. 1.2... Processor 11... Multiplexed bus controller 12... I10 interface 13... Bus 14... Supervisory control section 15... Supervisory control bus

Claims (1)

【特許請求の範囲】 並列データ列を複数ビットの並列信号線(13)を介し
て装置(11、12)間で逐次に並列転送する並列デー
タ通信システムにおいて、送信側ではこれら並列データ
列にその誤り検出コード(ECC)と該誤り検出コード
の論理を反転させた反転誤り検出コード(*ECC)と
を付加して並列転送し、 受信側では該誤り検出コード(ECC)と該反転誤り検
出コード(*ECC)とに基づいて転送データの異常検
出を行うように構成された並列データ通信のデータ異常
検出方式。
[Claims] In a parallel data communication system in which parallel data strings are sequentially transferred in parallel between devices (11, 12) via multi-bit parallel signal lines (13), on the transmitting side, these parallel data strings are An error detection code (ECC) and an inverted error detection code (*ECC), which is the logic of the error detection code inverted, are added and transferred in parallel, and the receiving side receives the error detection code (ECC) and the inverted error detection code. A data abnormality detection method for parallel data communication configured to detect abnormalities in transferred data based on (*ECC).
JP1330071A 1989-12-20 1989-12-20 Data anomaly detection method for parallel data communication Expired - Fee Related JPH0756977B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1330071A JPH0756977B2 (en) 1989-12-20 1989-12-20 Data anomaly detection method for parallel data communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1330071A JPH0756977B2 (en) 1989-12-20 1989-12-20 Data anomaly detection method for parallel data communication

Publications (2)

Publication Number Publication Date
JPH03190333A true JPH03190333A (en) 1991-08-20
JPH0756977B2 JPH0756977B2 (en) 1995-06-14

Family

ID=18228458

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1330071A Expired - Fee Related JPH0756977B2 (en) 1989-12-20 1989-12-20 Data anomaly detection method for parallel data communication

Country Status (1)

Country Link
JP (1) JPH0756977B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5825740A (en) * 1981-08-08 1983-02-16 Fujitsu Ltd Encoding system for transmission line

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5825740A (en) * 1981-08-08 1983-02-16 Fujitsu Ltd Encoding system for transmission line

Also Published As

Publication number Publication date
JPH0756977B2 (en) 1995-06-14

Similar Documents

Publication Publication Date Title
JPH03190333A (en) Data abnormality detection system for parallel data communication
JPH0535616A (en) Data transfer system
JP2000349792A (en) Data transmission device
JP2559531B2 (en) Redundant system error check circuit
JPH04305748A (en) Highly reliable bus
JP2600021B2 (en) Time slot indication check processing method
JP2645021B2 (en) Bus abnormality inspection system
JP2606160B2 (en) Failure detection method for parity check circuit
JPH01277951A (en) Data transfer equipment
JP2004234183A (en) Bus check method and system for computer controller
JPS62208152A (en) Redundancy parallel transmission equipment
JPH04346145A (en) Information processor
JPH113295A (en) Data transmitter-receiver
JPH1115698A (en) Method for reporting failure and mechanism therefor
JPH02305037A (en) Abnormality detecting system for data transmission system
JPS61245730A (en) Data transmission and reception system
JPH08251145A (en) System of checking transfer data between processors
JPH03257635A (en) Data transmission processing method
JPH01273450A (en) Test system for data error detecting circuit
JPH03222597A (en) Remote controller
JPH02171845A (en) Bus system
JPH06291745A (en) Method and system for detecting errors of transfer data
JPH08167886A (en) Data error detection device for data transmission line
JPH02189665A (en) Bus system
JPS63225844A (en) Bus diagnosing system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees