JPH04129445A - System and method for detecting error of transmission line - Google Patents

System and method for detecting error of transmission line

Info

Publication number
JPH04129445A
JPH04129445A JP2251278A JP25127890A JPH04129445A JP H04129445 A JPH04129445 A JP H04129445A JP 2251278 A JP2251278 A JP 2251278A JP 25127890 A JP25127890 A JP 25127890A JP H04129445 A JPH04129445 A JP H04129445A
Authority
JP
Japan
Prior art keywords
frame
transmission path
node
error detection
transmission line
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
JP2251278A
Other languages
Japanese (ja)
Inventor
Osamu Nakamura
修 中村
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 JP2251278A priority Critical patent/JPH04129445A/en
Publication of JPH04129445A publication Critical patent/JPH04129445A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To surely specify a transmission line with an error caused therein by generating and checking an error check code for specifying a transmission line for each node, adding the code to a frame and sending the resulting frame to a succeeding node. CONSTITUTION:An optional communication node 1i receives a frame from other communication node, a transfer medium access section 2i decodes the frame, transmission specifying error check code generation check sections 3i, 4i generate an error check code for specifying the transmission line from the frame. Then the check code is compared with an error check code for specifying the transmission line generated by an upperstream communication node, and when they are dissident, the occurrence of an error is recorded, and the error check code for specifying the transmission line generated by its own node 1i is added to the frame in place of the check code generated at the upperstream and the result is sent to a lowerstream communication node via an active system transmission line 5i and a standby system transmission line 6i. Thus, a transmission block in which an error of transmission line is caused is discriminated.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術 (第7 (a) 、第8図)発明が解決し
ようとする課題 (第8,9図)課題を解決するための
手段 (第1i2図)作用 (第1i2図) 実施例 (第3.4,5,6.7 (b)図)発明の効
果 (概要) リング状に複数の通信ノードを順次接続する現用系伝送
路及び、現用系伝送路に障害が発生した場合に使用する
予備系伝送路を介して上流側の通信ノードからフレーム
を受信すると、当該フレームを伝送路に合致したフォー
マット形式に合せて解読し、当該フレームに含有した誤
り検出コードの検査及び当該フレームの宛先が自己の7
ノードであるか否かに基づいて対応する処理を行うとと
もに、伝送路に合致したフォーマット形式にフレームを
変換して下流側の通信ノードに対し送信を行うリングネ
ットワークの伝送路上に発生したエラーを検出する伝送
路エラー検出方式及び方法に関し、 各通信ノードに単に伝送路エラーが発生したことを検出
するだけでなく、伝送路エラーの発生する伝送路を確実
に判別することができる伝送路エラー検出方式及び方法
を提供することを目的とし、 自己通信ノードが受信したフレームについて伝送路特定
用誤り検出コードを作成し、自己通信ノードが作成した
フレームと受信したフレームに付加された上流側ノード
で作成された伝送路特定用誤り検出コードとを比較し、
一致または不一致にしたがって対応する処理を行い、上
流側の通信ノードで作成された伝送路特定用誤り検出コ
ードを、自己通信ノードで作成した伝送路特定用誤り検
出コードで置き換え、下流側の次の通信ノードに当該フ
レームを送信する構成である。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Prior Art (Fig. 7 (a), Fig. 8) Problems to be solved by the invention (Figs. 8, 9) Problems to be solved by the invention Means (Fig. 1i2) Effect (Fig. 1i2) Example (Fig. 3.4, 5, 6.7 (b)) Effects of the invention (Summary) Working system transmission that sequentially connects multiple communication nodes in a ring shape When a frame is received from an upstream communication node via the transmission line and the protection transmission line used in the event of a failure in the active transmission line, the frame is decoded into a format that matches the transmission line, and Inspecting the error detection code contained in the frame and confirming that the destination of the frame is the own 7
Detects errors that occur on the transmission path of the ring network, which performs corresponding processing based on whether it is a node or not, converts the frame into a format that matches the transmission path, and sends it to the downstream communication node. Regarding a transmission line error detection system and method, a transmission line error detection method that not only detects the occurrence of a transmission line error in each communication node but also reliably identifies the transmission line where a transmission line error occurs is provided. The purpose of this paper is to create a transmission path identification error detection code for frames received by a self-communicating node, and to create a transmission path identification error detection code for frames created by the self-communicating node and codes created by an upstream node added to the received frame. compared with the error detection code for specifying the transmission path.
Corresponding processing is performed according to the match or mismatch, and the transmission path identification error detection code created by the upstream communication node is replaced with the transmission path identification error detection code created by the own communication node, and the next downstream communication node The configuration is such that the frame is transmitted to a communication node.

〔産業上の利用分野〕[Industrial application field]

本発明はリングネットワークにおける伝送路エラー検出
方式及び方法に係り、特に、リング状に複数の通信ノー
ドを順次接続する現用系伝送路及び、現用系伝送路に障
害が発生した場合に使用する予備系伝送路を介して他の
通信ノードからフレームを受信すると、当該フレームを
伝送路に合致したフォーマット形式に合せて解読し、当
該フレームに含有した誤り検出コードの検査及び当該フ
レームの宛先が自己ノードであるか否かに基づいて対応
する処理を行うとともに、伝送路に合致したフォーマッ
ト形式にフレームを変換して下流側の通信ノードに対し
送信を行うリングネットワークの伝送路上に発生したエ
ラーを検出する伝送路エラー検出方式及び方法に関する
The present invention relates to a system and method for detecting transmission path errors in a ring network, and in particular to an active transmission path that sequentially connects a plurality of communication nodes in a ring, and a backup system that is used when a failure occurs in the active transmission path. When a frame is received from another communication node via a transmission path, the frame is decoded according to a format that matches the transmission path, the error detection code contained in the frame is checked, and the destination of the frame is determined by the own node. Transmission that detects errors that occur on the transmission path of the ring network, which performs corresponding processing based on whether or not there is a ring network, converts the frame into a format that matches the transmission path, and transmits it to the downstream communication node. The present invention relates to a road error detection system and method.

(従来の技術) 従来、第8図に示すように、複数のノードがリング上に
接続されたリングネットワークがあった。
(Prior Art) Conventionally, as shown in FIG. 8, there has been a ring network in which a plurality of nodes are connected on a ring.

当該リングネットワークを構成する各通信ノード71 
t ;igl、2,3.4は同図に示すように、通常時
に用いる現用系伝送路75i、及び当該現用系伝送路7
5□に障害が発生した場合に使用する予備系伝送路76
、とを有し、当該各伝送路75i。
Each communication node 71 configuring the ring network
t ; igl, 2, 3.4 are the active transmission line 75i used in normal times and the active transmission line 7
Backup transmission line 76 used in case a failure occurs in 5□
, and each transmission path 75i.

76、に対し、当該伝送路に合致したフォーマット形式
にフレームを変換して送信を行い、受信したフレームを
当該フォーマット形式に合せて解読し、当該フレームに
含有したCRCの検査(cyclicredundan
cy check巡回冗長検査;誤り検出のために巡回
符号を用いる冗長検査)等の処理を行う伝送媒体アクセ
ス部(M A C; Media AccessCon
troler) 12.と、伝送路からのフレームの受
信を行う伝送路受信部(RV)17iと、伝送路へのフ
レームの送信を行う伝送路送信部(DV)18iと、が
設けられたものである。
76, the frame is converted into a format that matches the transmission path and transmitted, the received frame is decoded according to the format, and the CRC contained in the frame is inspected (cyclic redundant).
A transmission medium access unit (MAC) that performs processing such as cy check (cyclic redundancy check; redundancy check that uses cyclic codes for error detection).
troller) 12. A transmission line receiving unit (RV) 17i that receives frames from the transmission line, and a transmission line transmitting unit (DV) 18i that transmits frames to the transmission line are provided.

また、前記現用系及び予備系伝送路は通常ループバック
によるリング回復を図るため、相反する伝播方向をとる
こととしている。
Further, the working and protection transmission lines are designed to take opposite propagation directions in order to achieve ring recovery by normal loopback.

第7図(a)はノード間のデータ転送単位であるフレー
ムフォーマットを示す。当該フレームフォーマットは開
始デリミタ“SD”で始まり、終了デリミタ゛’ED”
で終了する。その間にフレームの宛先を示すノードアゾ
レスII DA T1、送信ノードアドレス“SA” 
、実データ゛’INFO” 、エラー検出コート“CR
C”が入る。
FIG. 7(a) shows a frame format which is a unit of data transfer between nodes. The frame format starts with a start delimiter "SD" and an end delimiter "'ED".
It ends with. Meanwhile, the node Azores II DA T1 indicating the destination of the frame, the sending node address “SA”
, Actual data “INFO”, Error detection code “CR”
C” is entered.

従来、伝送路エラーを検出するには、当該フレーム自体
内るCRCによって、当該フレームを受信したノードが
エラーの発生を認識することになっていた。
Conventionally, in order to detect a transmission path error, a node receiving the frame must recognize the occurrence of an error based on the CRC within the frame itself.

(発明が解決しようとする課題) ところで、以上説明したように、伝送路の障害は、フレ
ーム内にあるCRCによって、当該フレームを受信した
ノードがエラーの発生を知ることができるのみであり、
当該エラーが発生した伝送路区間を知るには当該エラー
を検出したノードからリングを遡って当該フレームを送
信するノードを順次替えていき、エラーが検出される区
間を割り出すようにしていた。
(Problem to be Solved by the Invention) By the way, as explained above, when there is a failure in the transmission path, the node receiving the frame can only know the occurrence of the error by the CRC in the frame.
In order to find out the transmission line section where the error occurred, the node that transmits the frame is sequentially changed from the node where the error is detected up the ring, and the section where the error is detected is determined.

特に、現用系伝送路75□及び予備系用伝送路76□上
に障害が発生した場合には第9図に示すようにリングル
ープバックとなり、フレームが予備系伝送路76を使っ
て折り返される場合、予備系伝送路76上にはフレーム
自体の誤りチエツクを行うMACが存在しない。
In particular, if a failure occurs on the active transmission line 75□ and the protection transmission line 76□, a link loopback occurs as shown in FIG. 9, and the frame is looped back using the protection transmission line 76. , there is no MAC on the protection transmission line 76 that checks the frame itself for errors.

そのため、エラーが発生すると送信ノードまたはループ
バックポイントを1つずつ変えていく必要があり、その
作業はネットワーク作業が大規模になるにつれその作業
の繁雑さは増加し、また、その調査に要する時間も増え
るという問題点を有していた。
Therefore, when an error occurs, it is necessary to change the transmitting node or loopback point one by one, and the complexity of this work increases as the scale of network work increases, and the time required to investigate it. There was a problem in that the amount of water increased.

そこで、本発明は各通信ノードに単に伝送路エラーが発
生したことを検出するたけでなく、伝送路エラーの発生
した伝送区間を判別することができる伝送路エラー検出
方式及び方法を提供することを目的としてなされたもの
である。
Therefore, it is an object of the present invention to provide a transmission line error detection system and method that can not only detect the occurrence of a transmission line error in each communication node, but also determine the transmission section in which a transmission line error has occurred. It was done for a purpose.

(課題を解決するための手段) 以上の技術的課題を解決するため、第一の発明は第1図
に示すように、伝送路に合致したフォーマット形式にフ
レームを変換して現用系伝送路5iを介して送信を行い
、受信したフレームを当該フォーマット形式に合せて解
読し、フレームに含有した誤り検出コードの検査及び宛
先が自己ノードであるか否かに基づく対応処理を行う伝
送媒体アクセス部2iを有する複数の通信ノード1、と
、各通信ノード1.をリング状に順次接続する現用系伝
送路5iと、当該伝送路5iにエラーが発生した場合に
使用する予備系伝送路61とを有するリングネットワー
クの伝送路上に発生した障害の検出を行う伝送路エラー
検出方式において、各前記通信ノード1iに、上流側の
通信ノード1jから受信したフレームについて伝送路特
定用誤り検出コードを作成し、上流側の通信ノード1j
により作成された伝送路特定用誤り検出コートとを比較
し、一致していない場合にはエラーが発生した旨を記録
し、上流側の通信ノード1jにより作成された伝送路特
定用誤り検出コードに代えて自己ノード1iで作成され
た伝送路特定用誤り検出コードをフレームに付加して現
用系伝送路5i及び予備系伝送路61を介して下流側の
通信ノードに送信する伝送路特定用誤り検出コード作成
・検査部3..4.を設けたものである。
(Means for Solving the Problems) In order to solve the above technical problems, the first invention, as shown in FIG. 1, converts frames into a format that matches the transmission path and a transmission medium access unit 2i that transmits the received frame via the frame, decodes the received frame according to the format, checks the error detection code contained in the frame, and performs corresponding processing based on whether the destination is the own node or not. a plurality of communication nodes 1, each communication node 1. A transmission line for detecting a failure occurring on the transmission line of a ring network, which has a working transmission line 5i that sequentially connects the transmission line 5i in a ring shape, and a protection transmission line 61 that is used when an error occurs in the transmission line 5i. In the error detection method, each communication node 1i creates a transmission path identification error detection code for a frame received from the upstream communication node 1j, and the upstream communication node 1j
If they do not match, it is recorded that an error has occurred, and the transmission path identification error detection code created by the upstream communication node 1j is Instead, a transmission path identification error detection code created by the own node 1i is added to the frame and transmitted to the downstream communication node via the working transmission path 5i and the protection transmission path 61. Code creation/inspection department 3. .. 4. It has been established.

一方、第2の発明は第2図に示すように、リング状に複
数の通信ノードを順次接続する現用系伝送路及び、現用
系伝送路に障害が発生した場合に使用する予備系伝送路
を介して上流側の通信ノードからフレームを受信すると
、当該フレームを伝送路に合致したフォーマット形式に
合せて解読し、当該フレームに含有した誤り検出コード
の検査及び当該フレームの宛先が自己ノードであるか否
かに基づいて対応する処理を行うとともに、伝送路に合
致したフォーマット形式にフレームを変換して下流側の
通信ノードに対し送信(S4)を行うリングネットワー
クの伝送路上に発生したエラーを検出する伝送路エラー
検出方法において、自己通信ノードが受信したフレーム
について伝送路特定用誤り検出コートを作成する過程(
S1)と、自己通信ノードが作成したフレームと受信し
たフレームに付加された上流側ノードで作成された伝送
路特定用誤り検出コードとを比較し、一致または不一致
にしたがって対応する処理を行う過程($2)と、上流
側の通信ノードで作成された伝送路特定用誤り検出コー
ドを、自己通信ノードで作成した伝送路特定用誤り検出
コートで置き換える過程(S3)と、下流側の次の通信
ノードに当該フレームを送信する過程(S4)とを有す
るものである。
On the other hand, as shown in FIG. 2, the second invention includes a working transmission line that sequentially connects a plurality of communication nodes in a ring shape, and a backup transmission line that is used when a failure occurs in the working transmission line. When a frame is received from an upstream communication node via a communication node, the frame is decoded according to a format that matches the transmission path, and the error detection code contained in the frame is checked and whether the destination of the frame is the own node. Detects errors that occur on the transmission path of the ring network, which performs corresponding processing based on whether or not the error occurs, converts the frame into a format that matches the transmission path, and transmits it to the downstream communication node (S4). In the transmission path error detection method, the process of creating a transmission path identification error detection code for frames received by the self-communication node (
S1) and the process of comparing the frame created by the self-communicating node and the transmission path identification error detection code created by the upstream node added to the received frame, and performing corresponding processing according to the match or mismatch ( $2), the process of replacing the transmission path identification error detection code created by the upstream communication node with the transmission path identification error detection code created by the own communication node (S3), and the process of replacing the transmission path identification error detection code created by the upstream communication node with the transmission path identification error detection code created by the self communication node (S3), and the process of replacing the transmission path identification error detection code created by the upstream communication node with the transmission path identification error detection code created by the own communication node This includes a step (S4) of transmitting the frame to the node.

(作用) 本(第−及び第二の)発明の詳細な説明する。(effect) Detailed explanation of the present (first and second) inventions.

ステップS1で任意の通信ノード1、が他の通信ノード
からフレームを受信して、伝達媒体アクセス部2.によ
りフレームを解読し、当該フレームの通信相手の宛先の
ノードが自己の通信ノード1iか否かに基づいて対応す
る処理を行ったり、自己の通信ノード1iから伝送路に
フレームを送信するために当該伝送路に合致したフォー
マット形式に変換した場合には、ステップS1で、前記
伝送路特定用誤り検出コード作成・検査部3.は当該フ
レームから伝送路特定用誤り検出コードを作成する。
In step S1, any communication node 1 receives a frame from another communication node, and the transmission medium access unit 2. to decode the frame and perform corresponding processing based on whether the destination node of the communication partner of the frame is the own communication node 1i, or to send the frame from the own communication node 1i to the transmission path. If the format has been converted to match the transmission path, in step S1, the transmission path identification error detection code creation/inspection section 3. creates a transmission path identification error detection code from the frame.

ステップS2で上流側のノード1jにより作成されて当
該フレームに付加された伝送路特定用誤り検出コードと
比較される。
In step S2, it is compared with the transmission path identification error detection code created by the upstream node 1j and added to the frame.

ステップS2では、これらのコードが一致するか一致し
ないかにしたがって対応する処理が行われることになる
In step S2, corresponding processing is performed depending on whether these codes match or do not match.

例えば、ステップS2で一致しないと判断された場合に
は、自己の通信ノードと上流側のノードとの間の伝送路
においてエラーが発生したことを記録する処理が行われ
る。
For example, if it is determined in step S2 that they do not match, a process is performed to record that an error has occurred in the transmission path between the own communication node and the upstream node.

ステップS3では、自己の通信ノード1iで作成した伝
送路特定用誤り検出コードを、上流側のノードで作成及
び付加した伝送路特定用誤り検出コードと置き換えて付
加し、ステップS4へ進み下流側の次のノード1にへ当
該フレームを送信することになる。
In step S3, the transmission path identification error detection code created by the own communication node 1i is added in place of the transmission path identification error detection code created and added by the upstream node. The frame will be transmitted to the next node 1.

ここで、「伝送路特定用誤り検出コード」とは1つのノ
ードと次のノードとにより区切られた伝送路区間にエラ
ーが発生したか否かの検出を行うために使用する誤り検
出用コードであり、例えば、パリティやCRCコード等
がある。
Here, the "transmission path identification error detection code" is an error detection code used to detect whether an error has occurred in the transmission path section separated by one node and the next node. For example, there are parity codes, CRC codes, etc.

尚、ステップS2の伝送路特定用誤り検出コードの比較
を行う過程とステップS3の自己の通信ノード作成誤り
検出コートと上流側ノードで作成された検出コードとの
置換えを行う過程との時間的な順序は当該順序に限られ
るものではなく、同時にまたは逆の順序で行っても良い
It should be noted that the time difference between the process of comparing the error detection code for specifying the transmission path in step S2 and the process of replacing the error detection code created by the own communication node with the detection code created by the upstream node in step S3 is The order is not limited to this order, and may be performed simultaneously or in the reverse order.

〔実施例〕〔Example〕

続いて、本発明の実施例について説明する。 Next, examples of the present invention will be described.

本実施例に係るリングネットワークは、第3図に示すよ
うに、4つの通信ノード、すなわち、ノード#1i1.
.ノード#21i□、ノード#31i3.ノード#41
i4を各々現用系伝送路15i及び当該現用系伝送路1
5に障害が発生した場合に使用する相反する方向に伝播
する予備系伝送路16□;i=1.2,3.4で接続し
たものである。
As shown in FIG. 3, the ring network according to this embodiment includes four communication nodes, namely nodes #1i1.
.. Node #21i□, node #31i3. Node #41
i4 respectively to the working transmission line 15i and the working transmission line 1.
A standby transmission line 16□ which propagates in the opposite direction and is used when a failure occurs in the transmission line 5; i=1.2, 3.4 is connected.

また、各通信ノード1i.は、伝送路に合致したフォー
マット形式にフレームを変換して現用系伝送路15.に
対し送信を行い、受信したフレームを当該フォーマット
形式に合せて解読し、当該フレームに含有した誤りコー
ドの検査等の処理を行う伝送媒体アクセス部21として
のMAC(media access control
er) 121 、伝送路からのフレームの受信を行う
伝送路受信部17゜及び伝送路へのフレームの送信を行
う伝送路送信部18、を宥するものである。
Moreover, each communication node 1i. converts the frame into a format that matches the transmission path and sends it to the active transmission path 15. A MAC (media access control) serves as a transmission medium access unit 21 that performs processing such as transmitting a received frame to the relevant frame, decoding the received frame according to the relevant format, and inspecting the error code contained in the relevant frame.
er) 121, a transmission line receiving unit 17° that receives frames from the transmission line, and a transmission line transmitting unit 18 that transmits frames to the transmission line.

さらに、本実施例に係る各通信ノード1i.には、上流
側の通信ノード1ijから受信されたフレームから伝送
路特定用誤り検出コードとしてのパリティ・ビットを作
成し、上流側の通信ノード1i.により作成された伝送
路特定用誤り検出コードとしてのパリティ・ビットを比
較し、一致していない場合にはエラーとして記録し、上
流側の通信ノード1iJにより作成された伝送路特定用
誤り検出コードとしてのパリティ・ビットに代えて自己
のコード1i.で作成された伝送路特定用誤り検出コー
ドとしてのパリティ・ビットをフレームに付加して下流
側に送出する伝送路特定用誤り検出コード作成・検査部
3iとしてのFP回路13.;i・1i2,3.4  
を前記現有系伝送路15□に設け、FP回路14 、;
i=1.2,3.4を前記予備系伝送路16.に設けた
ものである。
Furthermore, each communication node 1i. , a parity bit is created as an error detection code for specifying a transmission path from the frame received from the upstream communication node 1ij, and the parity bit is sent to the upstream communication node 1i. The parity bits are compared as the transmission path identification error detection code created by own code 1i.instead of the parity bit of 1i. FP circuit 13 as a transmission path identification error detection code creation/inspection unit 3i that adds parity bits as the transmission path identification error detection code created in 1 to the frame and sends it to the downstream side. ;i・1i2,3.4
are provided on the existing transmission line 15□, and the FP circuit 14;
i=1.2, 3.4 as the backup transmission line 16. It was established in

さらに、第4図には前記FP回路13□14□を示す。Further, FIG. 4 shows the FP circuit 13□14□.

当該FP回路13i、14iは同図に示すように、フレ
ームから前記伝送区間特定用パリティの導出を行うパリ
ティ演算回路(PG)132゜と、当該フレームの開始
/終了及びFPビットのタイミングを識別するタイミン
グ回路133□と、前記パリティ演算回路132iで自
己の通信ノード1i□が得たパリティと上流側のノード
により作成され付加されたパリティとの比較を行う比較
回路(CMP)134j と、当該ノードが受信したフ
レーム、または、前記パリティ演算回路1321で作成
されたパリティとの選択を行うマルチプレクサ131i
とを有するものである。
As shown in the figure, the FP circuits 13i and 14i identify the parity calculation circuit (PG) 132° that derives the transmission section identification parity from the frame, the start/end of the frame, and the timing of the FP bit. A timing circuit 133□, a comparison circuit (CMP) 134j that compares the parity obtained by the own communication node 1i□ with the parity calculation circuit 132i and the parity created and added by the upstream node; A multiplexer 131i that selects between the received frame and the parity created by the parity calculation circuit 1321.
It has the following.

第4図で、1glN1iとはフレーム入力線を表し、O
UT ”はフレームの出力線を表し、“5END”は自
己ノードのMAC12,がフレームを送信していること
を示す信号であり、当該MAC12□が出力されるもの
であり、“Err”は比較回路134iの比較結果(一
致/不一致)を示し、エラーの発生したことを上位装置
等に輻告して記録するための信号であり、“PE”は前
記パリティ演算回路1321にパリティ演算を実行させ
る信号であってIN入力線にDA−CRCが入力されて
いる期間に出力され、1(PW$IはFPビットタイミ
ングを示す信号であって、前記マルチプレクサ131i
は当該タイミングでパリティ演算回路132iの演算結
果をOUT線へ出力し、pc”は前記パリティ演算回路
1321の演算結果とIN入力線上のFPビットを比較
することを示す信号、PC信号は自己モードのMACか
らの送信フレームの場合には、出力されない信号である
In Figure 4, 1glN1i represents the frame input line, and O
"UT" represents the output line of the frame, "5END" is a signal indicating that the MAC12 of the own node is transmitting a frame, which is what the MAC12□ is output from, and "Err" is the signal from the comparison circuit. 134i comparison result (match/mismatch), and is a signal for notifying and recording the occurrence of an error to a higher-level device, etc., and "PE" is a signal for causing the parity calculation circuit 1321 to execute parity calculation. is output during the period when DA-CRC is input to the IN input line, and 1 (PW$I is a signal indicating the FP bit timing, and the multiplexer 131i
outputs the calculation result of the parity calculation circuit 132i to the OUT line at the relevant timing, pc'' is a signal indicating that the calculation result of the parity calculation circuit 1321 is compared with the FP bit on the IN input line, and the PC signal is the self-mode signal. In the case of a transmission frame from the MAC, this is a signal that is not output.

続いて、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

第6図の流れ図に示すように、ステップSJIで、ノー
ド井1i1iの上位装置から他のノード、例えば、ノー
ド#31i3へのフレームの送信の指示がMAC12□
にあり、ステップSJ2で、当該MAC12,により、
当該伝送路に合致したフォーマット形式へ変換等の処理
が行われた後、当該フレームが当該MAC12,から出
力されると、ステップSJ3に進み、自己のノード#1
による伝送路特定用誤り検出コードとしてのパリティの
作成及びフレームへの付加が行われることになる。
As shown in the flowchart of FIG. 6, in step SJI, an instruction to transmit a frame from the upper level device of the node 1i1i to another node, for example, node #31i3, is sent to the MAC 12□
, and in step SJ2, the MAC12,
After processing such as conversion to a format that matches the transmission path, when the frame is output from the MAC 12, the process proceeds to step SJ3, and the frame is sent to its own node #1.
Parity is created as an error detection code for specifying a transmission path and added to the frame.

ここで、第7図(b)に、本実施例に係るフレーム構成
図を示す。本実施例に係るフレームは同図(a)に示す
従来例に係るフレームと異なり、従来例に係るフレーム
の最後尾にある’ED”の後に伝送路特定用検出コード
としてのパリティggFpHを付加したものである。
Here, FIG. 7(b) shows a frame configuration diagram according to this embodiment. The frame according to this embodiment is different from the frame according to the conventional example shown in FIG. It is something.

各FP回路13.における動作については第4図及び第
5図に基づき詳細に後で説明する。
Each FP circuit 13. The operation will be explained in detail later based on FIGS. 4 and 5.

ステップSJ3に進み、パリティを付加されたフレーム
は次のノード#21i□へ前記伝送路送信部16□を介
して送信する。
Proceeding to step SJ3, the parity-added frame is transmitted to the next node #21i□ via the transmission path transmitter 16□.

ステップSJ4で当該フレームを受信した当該ノード#
21i□のMAC12□は当該フレームを当該伝送路に
対応するフォーマット形式に合せて解読し、当該フレー
ムに包含されたCRC検査を行う。
The node # that received the frame in step SJ4
The MAC 12□ of the 21i□ decodes the frame in accordance with the format corresponding to the transmission path, and performs a CRC check included in the frame.

ステップSJ5で当該CRC検査に異常があると判断さ
れた場合にはステップSJ6に進み当該異常をログ情報
として記録する。
If it is determined in step SJ5 that there is an abnormality in the CRC test, the process advances to step SJ6 and the abnormality is recorded as log information.

一方、ステップSJ5で異常がないと判断された場合及
びステップSJ6でエラーの記録がされた場合にはステ
ップSJ7に進み、当該フレームの宛先等の解読を行う
On the other hand, if it is determined in step SJ5 that there is no abnormality, or if an error is recorded in step SJ6, the process proceeds to step SJ7 and the destination of the frame is deciphered.

ステップSJ7で、当該宛先が自己のノード#1である
と判断した場合にはステップSJ8に進み、受信した当
該フレームを上位装置へ送る。
If it is determined in step SJ7 that the destination is its own node #1, the process proceeds to step SJ8, and the received frame is sent to the higher-level device.

但し本例では宛先はノード#3であり、当該宛先が自己
のノード#1への宛先でないと判断することにな。
However, in this example, the destination is node #3, and it is determined that the destination is not the destination for own node #1.

次に、ステップSJ9に進み、前記FP回路13□は後
述するように、自己のノード#2で作成したパリティと
上流側のノード#で1で作成されたパリティとの比較を
行う。
Next, proceeding to step SJ9, the FP circuit 13□ compares the parity created at its own node #2 with the parity created at upstream node #1, as will be described later.

ステップ5JIIでこれらのパリティが一致しない場合
には、ステップ5J12に進み、エラーが発生した旨が
記録される。
If these parities do not match in step 5JII, the process proceeds to step 5J12, where it is recorded that an error has occurred.

こうして、当該パリティが一致した場合及び不一致の場
合に、当該フレームに包含されたパリティを自己のノー
ド#1で作成したパリティと置き換える。
In this way, when the parities match and when they do not match, the parity included in the frame is replaced with the parity created by its own node #1.

パリティの置換えを行った後、ステップ5J12に進み
、下流側の次ノード1#31i3へ当該フレームを送信
が完了することになる。
After replacing the parity, the process proceeds to step 5J12, and the transmission of the frame to the downstream next node 1#31i3 is completed.

以上の手順は当該リングネットワークに接続されている
全ノードについてステップ5J13で、当該フレームが
最初のノード井1i1iに一巡して戻るまで行う。
The above procedure is performed for all nodes connected to the ring network in step 5J13 until the frame returns to the first node 1i1i.

その際、第3図に、ノード井2とノード井3との間の伝
送路区間でエラーが発生した場合には、ノード#3のF
P回路は自分で作成したパリティとフレームに付加され
たパリティとが不一致であるため、エラーを検出する。
At that time, as shown in Fig. 3, if an error occurs in the transmission line section between node well 2 and node well 3, the F of node #3
The P circuit detects an error because the parity it created and the parity added to the frame do not match.

また、ノード#3のMACは自分宛のフレームを受けと
ると同時にフレームの中継を行うことになる。
Further, the MAC of node #3 will relay the frame at the same time as it receives the frame addressed to itself.

尚、ノード#4のFP回路はノード井3とノード#4の
区間ではエラーが発生していないため、エラーの検出は
行われないがフレームそのものはエラーを含むため当該
ノード#4のMACのCRC検査により検出される。フ
レームが一巡した場合には、ステップ5J14で当該ノ
ード#1i1゜は自己が送信したフレームを破棄するこ
とになる。
Note that since no error has occurred in the FP circuit of node #4 in the section between node #3 and node #4, no error is detected, but since the frame itself contains an error, the CRC of the MAC of node #4 is Detected by inspection. If the frame has completed one cycle, the node #1i1° discards the frame it transmitted in step 5J14.

次に、前記ステップSJ2及びステップSJ9で述べた
前記FP回路13.14の動作について、第4図及び第
5図に基づいて詳しく説明する。
Next, the operation of the FP circuits 13 and 14 described in steps SJ2 and SJ9 will be explained in detail based on FIGS. 4 and 5.

第5図のタイミングチャートは、FP回路13、(14
、)の前記IN入力線から他ノードから送信されたフレ
ーム(既にFPビットが付加されている)及び、それに
引き続き自己の通信ノード1i、のMAC12,から他
のノードへ向けて送出されたフレーム(まだFPビット
が付加されていない)が入力した場合のFP回路の動作
を示すものである。
The timing chart in FIG. 5 shows the FP circuits 13, (14
, ) is transmitted from another node from the IN input line (to which the FP bit has already been added), and a frame subsequently transmitted from the MAC 12 of its own communication node 1i to another node ( This shows the operation of the FP circuit when the FP bit is input (no FP bit has been added yet).

最初に、受信された他ノードからのフレームがIN入力
線に入力すると、前記タイミング回路133iは当該フ
レームを認識し、DA−CRCの期間、PE信号をON
状態にする。パリティ演算回路132iはPE信号がO
N状態にある期間だけIN入力線上の信号に対してパリ
ティ演算を実行し、PE信号がOFF状態となったとき
、P信号線には前記パリティ演算部132iの演算結果
が出力されている。
First, when a received frame from another node is input to the IN input line, the timing circuit 133i recognizes the frame and turns on the PE signal during the DA-CRC period.
state. The parity calculation circuit 132i
Parity calculation is performed on the signal on the IN input line only during the period in the N state, and when the PE signal is in the OFF state, the calculation result of the parity calculation unit 132i is output to the P signal line.

このPW倍信号よって前記マルチプレクサ131□はパ
リティ演算部1321の出力Pを選択し、新しいFPビ
ットとしてOUT信号線に出力する。また、前記タイミ
ング回路133五はPW倍信号同時にPC信号を出力す
る。前記比較回路はPC信号が出力されたとき。IN入
力線上のFPビット(上流側通信ノードで付加された)
とPG演算結果Pとを比較し、不一致であればエラー信
号を出力する。
Based on this PW multiplied signal, the multiplexer 131□ selects the output P of the parity calculation unit 1321 and outputs it to the OUT signal line as a new FP bit. Further, the timing circuit 1335 outputs the PC signal simultaneously with the PW multiplied signal. When the comparison circuit outputs the PC signal. FP bit on IN input line (added by upstream communication node)
and the PG calculation result P, and if they do not match, an error signal is output.

次に自己のノードのMAC12□がフレームを他の通信
ノードへ送信する場合にFP回路13□のIN入力線に
当該フレームが入力した場合を説明する。
Next, a case where the frame is input to the IN input line of the FP circuit 13□ when the MAC 12□ of its own node transmits a frame to another communication node will be described.

当該場合が他ノードから送信されて当該ノードに受信さ
れたフレームに対する処理と違うのは、自己の通信ノー
ド1i1のMAC12□から出力され、当該FP回路に
入力されるフレームにはFPビットがまだ付加されてい
ないため、FPビットの比較を行わないことである。
The difference in this case from processing a frame sent from another node and received by the node is that the FP bit is still added to the frame output from the MAC 12□ of the own communication node 1i1 and input to the FP circuit. Therefore, the FP bits should not be compared.

自己のノードのMACからのフレーム送信状態は5EN
D信号によってFP回路に示される。
Frame transmission status from own node's MAC is 5EN
It is indicated to the FP circuit by the D signal.

前記タイミング回路133.は5END信号によって、
PC信号を抑制する。その他の動きは前述した他のノー
ドからの送信フレームの場合と同様である。
The timing circuit 133. is by the 5END signal,
Suppress PC signals. The other operations are the same as in the case of frames transmitted from other nodes described above.

フレームがリングを一巡すると、各ノードのFP回路の
エラー検出状況を見ることにより、エラー発生伝送路を
知ることができる。この場合、エラーが発生した伝送路
よりデータを受けると、ノード#3のみがエラーを検出
し、他はエラーを検出しない。その結果、エラーを検出
したノードの入力側伝送路上においてエラーが発生した
ことがわかる。複数区間でエラーが発生した場合にも同
様にFP回路のエラーを見ることによりエラー発生区間
を識別可能である。
When the frame goes around the ring, the error detection status of the FP circuit of each node can be checked to determine the transmission path where the error occurred. In this case, when receiving data from the transmission path where the error has occurred, only node #3 detects the error, and the others do not. As a result, it can be seen that an error has occurred on the input side transmission path of the node where the error has been detected. Even when an error occurs in multiple sections, the section in which the error has occurred can be identified by looking at the error in the FP circuit.

以上説明したように、本実施例では、第9図に示すよう
な伝送路障害が発生して予備系伝送路を使用して通信を
行った場合に、MACが設けられていない予備系伝送路
上に発生した伝送路障害の発生した伝送路を特定する場
合に有効である。
As explained above, in this embodiment, when a transmission path failure as shown in FIG. 9 occurs and communication is performed using the protection transmission path, the This is effective when identifying a transmission line where a transmission line fault has occurred.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明に係る伝送路エラー検出方
式及び方法では、伝送路特定用誤り検出コードを各ノー
ド毎に作成及び検査を行い、フレームに付加して次のノ
ードに送信するようにしている。
As explained above, in the transmission path error detection system and method according to the present invention, a transmission path identification error detection code is created and checked for each node, added to a frame, and transmitted to the next node. ing.

したがって、本発明により、エラーが発生した伝送路を
確実に特定して伝送路に生じた障害に迅速に対処して、
信頼性のある通信を行うことができることになる。
Therefore, according to the present invention, it is possible to reliably identify the transmission line in which an error has occurred and quickly deal with the failure occurring in the transmission line.
This means that reliable communication can be performed.

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

第1図は第一の発明の原理ブロック図、第2図は第二の
発明に係る原理流れ図、第3図は実施例に係るリングネ
ットワークを示すブロック図、第4図は実施例に係るF
P回路を示すブロック図、第5図は実施例に係るFPu
路の動作を示すタイミングチャート、第6図は実施例に
係る処理流れ図、第7図は従来例(a)及び実施例(b
)に係るフレーム構成図、第8図は従来例に係るリング
ネットワークを示すブロック図、及び第9図は従来例に
係るループバックを示すブロック図である。 1、.1i□・・・通信ノード 、12i・・・伝送媒体アクセス部 (MAC) (13□+14i)・・・伝送路特定用誤り検出コート
作成・検査部 (FP回路) 、15i・・・現用系伝送路 、16.・・・予備系伝送路 1−の発明の1!、捏ブロッ71!1 第1図 場二の発明し二赤)虎理九理流れ凹 第 図 従来例(a)及び実施例 第7 (b)に係るフレーム構成図 図
FIG. 1 is a principle block diagram of the first invention, FIG. 2 is a principle flowchart according to the second invention, FIG. 3 is a block diagram showing a ring network according to an embodiment, and FIG. 4 is a block diagram of a ring network according to an embodiment.
A block diagram showing the P circuit, FIG. 5 is the FPU according to the embodiment.
6 is a processing flowchart according to the embodiment, and FIG. 7 is a timing chart showing the operation of the conventional example (a) and the embodiment (b).
), FIG. 8 is a block diagram showing a ring network according to a conventional example, and FIG. 9 is a block diagram showing a loopback according to a conventional example. 1. 1i□...Communication node, 12i...Transmission medium access unit (MAC) (13□+14i)...Error detection code creation/inspection unit for transmission path identification (FP circuit), 15i...Active system transmission Road, 16. ...Invention 1 of protection transmission line 1-! , Kakeru Block 71! 1 Figure 1 Figure 2 Invention 2 Red) Torari Kuri Flow Concave Diagram Frame configuration diagram according to conventional example (a) and embodiment 7 (b)

Claims (2)

【特許請求の範囲】[Claims] (1)伝送路に合致したフォーマット形式にフレームを
変換して現用系伝送路(5_i)を介して送信を行い、
受信したフレームを当該フォーマット形式に合せて解読
し、フレームに含有した誤り検出コードの検査及び宛先
が自己ノードであるか否かに基づく対応処理を行う伝送
媒体アクセス部(2_i)を有する複数の通信ノード(
1_i)と、各通信ノード(1_i)をリング状に順次
接続する現用系伝送路(5_i)と、当該伝送路(5_
i)に障害が発生した場合に使用する予備系伝送路(6
_i)とを有するリングネットワークの伝送路上に発生
したエラーの検出を行う伝送路エラー検出方式において
、 各前記ノード(1_i)に、上流側の通信ノード(1_
j)から受信したフレームについて伝送路特定用誤り検
出コードを作成し、上流側の通信ノード(1_j)によ
り作成された伝送路特定用誤り検出コードとを比較し、
一致していない場合にはエラーが発生した旨を記録し、
上流側の通信ノード(1_j)により作成された伝送路
特定用誤り検出コードに代えて自己ノード(1_i)で
作成された伝送路特定用誤り検出コードをフレームに 付加して現用系伝送路(5_i)及び予備系伝送路(6
_i)を介して下流側の通信ノードに送信する伝送路特
定用誤り検出コード作成・検査部 (3_i、4_i)を設けたことを特徴とする伝送路エ
ラー検出方式。
(1) Convert the frame to a format that matches the transmission path and transmit it via the active transmission path (5_i),
A plurality of communication devices having a transmission medium access unit (2_i) that decodes a received frame according to the format, inspects an error detection code contained in the frame, and performs corresponding processing based on whether the destination is its own node or not. node(
1_i), an active transmission line (5_i) that sequentially connects each communication node (1_i) in a ring shape, and the transmission line (5_i).
i) Backup transmission line (6) to be used in the event of a failure
In a transmission path error detection method for detecting an error occurring on a transmission path of a ring network having an upstream communication node (1_i), each node (1_i)
Create a transmission path identification error detection code for the frame received from j), compare it with the transmission path identification error detection code created by the upstream communication node (1_j),
If they do not match, record that an error has occurred, and
Instead of the transmission path identification error detection code created by the upstream communication node (1_j), the transmission path identification error detection code created by the own node (1_i) is added to the frame and the active transmission path (5_i ) and standby transmission line (6
A transmission path error detection method characterized by comprising a transmission path identification error detection code creation/inspection unit (3_i, 4_i) that is transmitted to a downstream communication node via a transmission line error detection code (3_i, 4_i).
(2)リング状に複数の通信ノードを順次接続する現用
系伝送路及び、現用系伝送路に障害が発生した場合に使
用する予備系伝送路を介して他の通信ノードからフレー
ムを受信すると、当該フレームを伝送路に合致したフォ
ーマット形式に合せて解読し、当該フレームに含有した
誤り検出コードの検査及び当該フレームの宛先が自己ノ
ードであるか否かに基づいて対応する処理を行うととも
に、伝送路に合致したフォーマット形式にフレームを変
換して下流側の通信ノードに対し送信(S4)を行うリ
ングネットワークの伝送路上に発生したエラーを検出す
る伝送路エラー検出方法において、 自己通信ノードが受信したフレームについて伝送路特定
用誤り検出コードを作成する過程 (S1)と、 自己通信ノードが作成したフレームと受信したフレーム
に付加されていた上流側ノードで作成された伝送路特定
用誤り検出コードとを比較し、一致または不一致にした
がって対応する処理を行う過程(S2)と、 上流側の通信ノードで作成された伝送路特定用誤り検出
コードを、自己通信ノードで作成した伝送路特定用誤り
検出コードで置き換える過程(S3)と、 下流側の次の通信ノードに当該フレームを送信する過程
(S4)とを有することを特徴とする伝送路エラー検出
方法。
(2) When a frame is received from another communication node via a working transmission line that sequentially connects multiple communication nodes in a ring shape and a protection transmission line that is used in the event of a failure on the working transmission line, The frame is decoded according to the format that matches the transmission path, the error detection code contained in the frame is checked, and corresponding processing is performed based on whether the destination of the frame is the own node, and the frame is transmitted. In a transmission path error detection method that detects an error that occurs on the transmission path of a ring network, the frame is converted into a format that matches the transmission path and transmitted to the downstream communication node (S4). The process (S1) of creating a transmission path identification error detection code for a frame, and the transmission path identification error detection code created by the upstream node that was added to the frame created by the self-communication node and the received frame. A process (S2) of comparing the transmission path identification error detection code created by the upstream communication node and performing corresponding processing according to the match or mismatch; and the transmission path identification error detection code created by the own communication node A transmission path error detection method comprising: a step of replacing the frame with (S3); and a step of transmitting the frame to the next communication node on the downstream side (S4).
JP2251278A 1990-09-20 1990-09-20 System and method for detecting error of transmission line Pending JPH04129445A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2251278A JPH04129445A (en) 1990-09-20 1990-09-20 System and method for detecting error of transmission line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2251278A JPH04129445A (en) 1990-09-20 1990-09-20 System and method for detecting error of transmission line

Publications (1)

Publication Number Publication Date
JPH04129445A true JPH04129445A (en) 1992-04-30

Family

ID=17220422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2251278A Pending JPH04129445A (en) 1990-09-20 1990-09-20 System and method for detecting error of transmission line

Country Status (1)

Country Link
JP (1) JPH04129445A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006121014A1 (en) * 2005-05-09 2006-11-16 Mitsubishi Denki Kabushiki Kaisha Communication apparatus and switching apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006121014A1 (en) * 2005-05-09 2006-11-16 Mitsubishi Denki Kabushiki Kaisha Communication apparatus and switching apparatus
KR100940423B1 (en) * 2005-05-09 2010-02-02 미쓰비시덴키 가부시키가이샤 Communication apparatus and switching apparatus
US7738461B2 (en) 2005-05-09 2010-06-15 Mitsubishi Electric Corporation Communication apparatus and switching device

Similar Documents

Publication Publication Date Title
JP4308297B2 (en) Communication device and switch processing device
US6601210B1 (en) Data integrity verification in a switching network
JP2017151496A (en) Safety monitoring device, network system, and safety monitoring method
JPH04129445A (en) System and method for detecting error of transmission line
JP4455393B2 (en) Programmable logic controller
KR101149697B1 (en) High-speed digital communication interface module and methdo that support full-duplex and unidirectional communication for nuclear power plant safety system
JP4954249B2 (en) Electronic terminal device and electronic interlocking device
JPS5833330A (en) Checking system for cable transmission line
KR100419150B1 (en) Test Appratus For Active/Standby U Link In Switching System
KR100468887B1 (en) Monitoring System of Serial Data Communication for Signal System of Rail Road
JP3549702B2 (en) Bus control circuit and test method thereof
JP2606160B2 (en) Failure detection method for parity check circuit
JPH0435251A (en) Fault monitor system for ring network
JP2591455B2 (en) Communication device
JP2954027B2 (en) Time division multiplex relay system
JP2006270211A (en) Serial signal transmission system
JPH02305037A (en) Abnormality detecting system for data transmission system
JP2023104668A (en) Inspection apparatus and inspection method
TW521509B (en) Data integrity verification in a switching network
JPS5940338B2 (en) Digital signal reception processing device
IL148262A (en) Data integrity verification in a switching network
JPS60140A (en) Packet communication system
JPS6010939A (en) Data transmission equipment
WO2001018974A1 (en) Data integrity verification in a switching network
JPH0787462B2 (en) Bus type redundant transmission device