[go: up one dir, main page]

JPH08125679A - Ring network reception status determination method and transmission device - Google Patents

Ring network reception status determination method and transmission device

Info

Publication number
JPH08125679A
JPH08125679A JP6255392A JP25539294A JPH08125679A JP H08125679 A JPH08125679 A JP H08125679A JP 6255392 A JP6255392 A JP 6255392A JP 25539294 A JP25539294 A JP 25539294A JP H08125679 A JPH08125679 A JP H08125679A
Authority
JP
Japan
Prior art keywords
sequence number
indicated
sequence
previous
reception
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
JP6255392A
Other languages
Japanese (ja)
Other versions
JP3431310B2 (en
Inventor
Kenji Taniguchi
賢次 谷口
Hidetoshi Amari
英敏 甘利
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 JP25539294A priority Critical patent/JP3431310B2/en
Publication of JPH08125679A publication Critical patent/JPH08125679A/en
Application granted granted Critical
Publication of JP3431310B2 publication Critical patent/JP3431310B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

(57)【要約】 【目的】本発明はリング型ネットワーク伝送装置などに
関し、データの重複受信等を防止することを目的とす
る。 【構成】送信ノードは、受信ノードに向けて順次に送信
するデータ単位の各々に送信順序を示す順序番号を付加
する順序番号付加手段101を備え、受信ノードは、受
信したデータ単位に対して前回受信したデータ単位の前
回順序番号と現在受信処理中のデータ単位の今回順序番
号とを比較し、その比較結果が、該今回順序番号の示す
順序が該前回順序番号の示す順序と同一または小さくな
っている場合に、現在受信処理中のデータ単位が重複受
信であると判定する比較手段102と、比較手段102
で重複受信であると判定されたデータ単位を廃棄する廃
棄手段103と、比較手段102で重複受信あると判定
されたときに前回順序番号の更新を停止する手段104
とを備える。
(57) [Summary] [Object] The present invention relates to a ring type network transmission device and the like, and an object thereof is to prevent duplicate reception of data. A transmitting node includes a sequence number adding means 101 for adding a sequence number indicating a transmission sequence to each of the data units to be sequentially transmitted to the receiving node, and the receiving node sets the received data unit to the previous one. The previous sequence number of the received data unit and the current sequence number of the data unit currently undergoing the reception process are compared, and the comparison result shows that the sequence indicated by the current sequence number is the same as or smaller than the sequence indicated by the previous sequence number. If it is, the comparison unit 102 that determines that the data unit currently undergoing the reception process is the duplicate reception, and the comparison unit 102.
Discarding means 103 for discarding the data unit determined to be redundantly received in step 104, and means 104 for stopping the updating of the previous sequence number when the comparing means 102 determines that there is duplicated reception.
With.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はリング型ネットワークの
データ受信状態判定方法、リング型ネットワーク伝送装
置、並びにリング型ネットワークのノード装置の構成に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for determining a data reception state of a ring network, a ring network transmission device, and a node device of the ring network.

【0002】リング型LANでは送受信ノードの障害あ
るいは二重伝送路の方路切替えなどによって、受信デー
タの欠落あるいは同一データの重複受信などが生じる場
合がある。現在、受信データの欠落に対してはソフトウ
ェア的に対処法がなされているが、データ重複受信に対
しては有効な対処がなされていないため、かかるデータ
重複受信に対する対策が必要とされる。
In a ring LAN, there may be a case in which received data is lost or duplicate reception of the same data occurs due to a failure of a transmitting / receiving node or switching of routes of a dual transmission path. Currently, software measures are taken to deal with the loss of received data, but effective measures have not been taken to duplicate data reception, so measures against such duplicate data reception are required.

【0003】[0003]

【従来の技術】図7には高信頼化を図るためリング型伝
送路を二重化したリング型LANが示される。以下、こ
の従来例を説明する。図6において、ノード#1〜#4
がリング型に結線されてリング型伝送路を形成してお
り、ノード間はそれぞれが互いに逆方向の伝送方向とな
るような二重のリング型伝送路I、IIで接続される。送
信元のノードはこの二重化されたリング型伝送路に同一
データを右回りと左回りにそれぞれ送出しており、従っ
て、一方の伝送路に障害が発生した場合にも他方の伝送
路によってデータ通信を継続することができる。このよ
うに伝送路を冗長構成とすることで高信頼化を図ってい
る。
2. Description of the Related Art FIG. 7 shows a ring-type LAN in which a ring-type transmission line is duplicated in order to improve reliability. Hereinafter, this conventional example will be described. In FIG. 6, nodes # 1 to # 4
Are connected in a ring form to form a ring type transmission line, and the nodes are connected by double ring type transmission lines I and II in which transmission directions are opposite to each other. The source node sends the same data clockwise and counterclockwise to this duplicated ring type transmission line. Therefore, even if a failure occurs in one transmission line, data communication is performed by the other transmission line. Can continue. In this way, by making the transmission line redundant, high reliability is achieved.

【0004】図8にはリング型伝送路を伝送する信号の
フォーマットが示される。図示のように、1フレームが
複数のタイムスロットTS−1、TS−2・・・に分割
され、各タイムスロットが伝送路上の各ノードに割り当
てられて、各ノードは自身に割り当てられたタイムスロ
ットを用いて通信を行う。各タイムスロットはデータと
そのデータのビット誤り検出のためのパリティビットか
らなる。
FIG. 8 shows a format of a signal transmitted through the ring type transmission line. As shown in the figure, one frame is divided into a plurality of time slots TS-1, TS-2, ..., Each time slot is assigned to each node on the transmission path, and each node is assigned its own time slot. Use to communicate. Each time slot consists of data and a parity bit for detecting a bit error of the data.

【0005】このリング型LANにおけるノード間での
伝送フレームの送受信は以下のようにして行う。送信元
のノード(以下、送信ノードと称する)から送出された
伝送フレームは伝送路の下流に隣接するノードに受信さ
れ、そのノードでは伝送フレーム中の自分に割り当てら
れたタイムスロットからデータを取り出し、また送信デ
ータがある場合にはその送信データを当該タイムスロッ
トに挿入してさらに下流のノードに向けて送出する。こ
れを各ノードが順次に繰り返すことにより、伝送フレー
ムがリング型伝送路を一周する。その際、送信ノードが
そのデータ送信先のノード(以下、受信ノードと称す
る)に送信したタイムスロットデータ(以下、TSデー
タと略する)は、その受信ノードにて受け取られて消去
されることになる。
Transmission and reception of a transmission frame between nodes in this ring LAN are performed as follows. A transmission frame transmitted from a transmission source node (hereinafter referred to as a transmission node) is received by a node adjacent to a transmission path downstream, and the node extracts data from a time slot assigned to itself in the transmission frame, If there is transmission data, the transmission data is inserted in the time slot and sent to the node further downstream. By repeating this in sequence by each node, the transmission frame goes around the ring type transmission path. At that time, the time slot data (hereinafter, abbreviated as TS data) transmitted by the transmitting node to the data destination node (hereinafter, referred to as a receiving node) is received by the receiving node and erased. Become.

【0006】なお、通常、各ノードでは伝送フレームの
受信位相と送信位相を吸収するためにフレームアライナ
を用いているため、伝送フレームが一つのノードを通過
するのに要する中継遅延時間は1フレーム周期時間以上
であるので、伝送フレームがリング型伝送路を一周する
のに要する総中継遅延時間は、(伝送路上のノード数×
1フレーム周期)以上となる。
Since each node normally uses a frame aligner to absorb the reception phase and the transmission phase of the transmission frame, the relay delay time required for the transmission frame to pass through one node is one frame cycle. Since it is longer than the time, the total relay delay time required for a transmission frame to go around the ring type transmission line is (number of nodes on the transmission line x
1 frame period) or more.

【0007】一方、一つの送信ノードから複数の受信ノ
ードに向けて同一データを同時的に配信する同報通信の
場合は以下のように行う。すなわち、送信ノードは同報
通信するTSデータを伝送フレームの所定のタイムスロ
ットに挿入して伝送路に送出する。この送出された伝送
フレームはリング型伝送路上の各受信ノードに上述のよ
うにして順次に受信されるが、各受信ノードは同報通信
TSデータを受け取ってもそれを消去することなく同じ
タイムスロットに入れたまま下流のノードに送出する。
したがって同報通信TSデータはリング型伝送路を一周
して元の送信ノードに戻ってくるので、送信ノード自身
がその同報通信TSデータを消去する。
On the other hand, in the case of the broadcast communication in which the same data is simultaneously delivered from one transmitting node to a plurality of receiving nodes, it is performed as follows. That is, the transmitting node inserts the TS data for broadcast communication into a predetermined time slot of the transmission frame and sends it out to the transmission line. The transmitted transmission frame is sequentially received by each receiving node on the ring type transmission line as described above. However, even if each receiving node receives the broadcast TS data, it does not erase the same time slot. It is sent to the downstream node while being put in.
Therefore, the broadcast TS data goes around the ring type transmission path and returns to the original transmitting node, and the transmitting node itself erases the broadcast TS data.

【0008】次に、二重化されたリング型伝送路のうち
いずれの方路を選択するかは以下のようにして行う。各
ノードは右回りと左回りの両方路から受信したTSデー
タについてパリティチェックをそれぞれ行い、正常な側
の方路のTSデータを受信データとして採用する。この
選択のアルゴリズムとしては、両方の方路とも正常な場
合と、現在選択している方路が正常でかつ選択していな
い方路が異常な場合と、両方の方路が異常な場合は、現
在選択している方路を継続して選択し、現在選択してい
る方路が異常でかつ選択していない方路が正常である場
合は、正常な方路を選択するように切り替える。
Next, which route of the duplicated ring type transmission line is selected is performed as follows. Each node performs a parity check on the TS data received from both the clockwise and counterclockwise paths, and adopts the TS data on the normal path as the received data. As an algorithm for this selection, if both routes are normal, if the currently selected route is normal and the unselected route is abnormal, or if both routes are abnormal, The currently selected route is continuously selected, and when the currently selected route is abnormal and the unselected route is normal, the normal route is selected.

【0009】[0009]

【発明が解決しようとする課題】上述のリング型LAN
では、以下のような理由により、受信ノードに同一デー
タが重複して受信されるなどの問題がある。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
Then, there is a problem that the same data is received in duplicate at the receiving node for the following reasons.

【0010】伝送路上の各ノードはバイパス機能を備え
ており、このバイパス機能は、自局の障害発生時あるい
は保守時などに、上流の伝送路から受信した伝送フレー
ムをバイパス経路を通してそのままバイパスさせて下流
の伝送路に中継する。これによりノード障害発生時にも
その障害が他ノードへ波及することを防ぐことができ
る。
Each node on the transmission line is provided with a bypass function. This bypass function allows a transmission frame received from an upstream transmission line to be bypassed through the bypass route as it is when a failure occurs in the local station or at the time of maintenance. Relay to the downstream transmission line. As a result, even when a node failure occurs, the failure can be prevented from spreading to other nodes.

【0011】ところが、受信ノードが障害等によりバイ
パス状態になると、送信ノードから送出したTSデータ
はその受信ノードを単にバイパスするだけであるため、
当該受信ノードによって消去されない。この結果、その
TSデータはリング型伝送路を一周して送信ノードに戻
ってくるが、送信ノードはそのTSデータに対してビッ
ト誤り検出等を行って異常がなければ、自身に宛てられ
た正常なTSデータと判定して、取り込んで処理を行っ
てしまう。
However, when the receiving node enters a bypass state due to a failure or the like, the TS data sent from the transmitting node simply bypasses the receiving node.
Not erased by the receiving node. As a result, the TS data makes a round around the ring type transmission line and returns to the transmitting node. However, if the transmitting node performs bit error detection and the like on the TS data, and if there is no abnormality, it is addressed to itself. It is determined that the TS data is different, and the data is taken in and processed.

【0012】この対策として、タイムスロット送信時に
方向ビットとして1ビット分の制御ビットをTSデータ
に付加し、この方向ビットの値として、送受に対向して
いるノード間で、一方のノードに“1”、他方のノード
に“0”をそれぞれ固定的に割り当て、それにより受信
したTSデータが相手ノードからのTSデータか、ある
いは伝送路を一周してきた自身のTSデータかを判別で
きるようにし、後者の場合には戻ってきたTSデータを
廃棄するようにしている。
As a countermeasure against this, a 1-bit control bit is added to TS data as a directional bit at the time of time slot transmission, and as a value of this directional bit, "1" is added to one node between nodes facing transmission and reception. , "0" is fixedly assigned to the other node so that it is possible to determine whether the received TS data is the TS data from the partner node or the own TS data that has gone around the transmission path, the latter. In this case, the returned TS data is discarded.

【0013】また、送信ノードが障害等によりバイパス
状態になった場合には、同報通信時に以下のような不都
合が生じる。すなわち、送信ノードが同報通信TSデー
タを送信した直後に障害等によりバイパス状態になる
と、その同報通信TSデータが伝送路を一周して送信ノ
ードに戻ってきても、その送信ノードはバイパスされて
しまうため、当該同報通信TSデータを消去することが
できない。この結果、その同報通信TSデータはリング
型伝送路上を何度も周回し続けることになる。よって同
報通信対象の受信ノードは同じTSデータを何度も重複
して受信することになるが、その場合でもビット誤り検
出の結果が正常であれば正常な受信TSデータとして取
り扱われてしまう。
Further, when the transmitting node is in a bypass state due to a failure or the like, the following inconvenience occurs during the broadcast communication. That is, when the transmitting node enters a bypass state due to a failure or the like immediately after transmitting the broadcast TS data, even if the broadcast TS data goes around the transmission line and returns to the transmitting node, the transmitting node is bypassed. Therefore, the broadcast TS data cannot be erased. As a result, the broadcast TS data continuously circulates on the ring type transmission line many times. Therefore, the receiving node targeted for the broadcast communication receives the same TS data repeatedly, but even in that case, if the result of the bit error detection is normal, it is treated as normal received TS data.

【0014】さらに、二重化伝送路の方路切換えによっ
ても同一データの二重受信やデータ欠落が生じる。すな
わち、図7(A)に示されるように、いま、送信ノード
#1がTSデータ、、、・・・の列を受信ノー
ド#4に送信するものとする。このとき、TSデータ
、、、・・・をフレーム周期毎に順次に左回り
(時計回り)の方路Iに送出したとすると、それと全く
同じ内容のTSデータ’、’、’、’・・・を
右回り(反時計回り)の方路IIにも送出する。
Furthermore, double reception of the same data or loss of data may occur even if the route of the duplex transmission line is switched. That is, as shown in FIG. 7A, it is assumed that the transmitting node # 1 now transmits the sequence of TS data, ... To the receiving node # 4. At this time, if the TS data, ... Are sequentially transmitted to the counterclockwise (clockwise) route I for each frame period, the TS data ',', ',' ...・ Send to the right (counterclockwise) direction II.

【0015】一方、受信ノード#4における両方路I、
IIからのTSデータの受信タイミングは、ノード#1と
#4間の伝送路長が両方路で異なるため、図7(B)に
示すように時間差が生じ、当然ながら遠い方路Iから受
信したTSデータ、、、・・・は近い方路IIか
ら受信したTSデータ’、’、’、’・・・よ
りも受信タイミングが遅れ、この例では3フレーム周期
分の遅延が生じている。
On the other hand, both paths I in the receiving node # 4,
Regarding the reception timing of the TS data from II, since the transmission path length between the nodes # 1 and # 4 is different on both paths, there is a time difference as shown in FIG. The reception timing of the TS data, ... Is delayed compared to the TS data ',', ',' ... received from the near route II, and in this example, a delay of three frame periods occurs.

【0016】いま、受信ノード#4が右回り方路IIを正
常な方路として選択しており、この状態でTSデータ
’、’、’を受信した時点でノード#1と#4間
の右回り方路IIに障害が発生したものとする。受信ノー
ド#4は障害を検知すると、方路を右回り方路IIから左
回り方路Iに切り替える。これにより以降はこの左回り
方路IからTSデータを受信することになるが、この左
回り方路Iの受信データは右回り方路の受信データより
も3フレーム周期分遅延しているため、方路切換え後に
はTSデータから受信されることになる。したがっ
て、受信ノードが受信するTSデータは、’、’、
’、、、・・・となり、TSデータとが重
複して受信されることなるが、これらのデータはビット
誤り検査等では正常なデータと判定されて取り扱われて
しまう。
Now, the receiving node # 4 has selected the clockwise route II as a normal route, and when TS data ',', 'is received in this state, the right route between the nodes # 1 and # 4 is received. It is assumed that there is a failure in the route II. When receiving node # 4 detects a failure, it switches the route from the clockwise route II to the counterclockwise route I. As a result, the TS data is received from the counterclockwise route I thereafter, but the received data of the counterclockwise route I is delayed by three frame periods from the received data of the clockwise route, After switching the route, the data will be received from the TS data. Therefore, the TS data received by the receiving node is ',',
, And so on, and the TS data is received in duplicate, but these data are handled as being judged as normal data by the bit error check or the like.

【0017】一方、受信ノード#4が左回り方路Iを正
常な方路として選択した状態からTSデータ受信時点
で右回り方路に選択切換えした場合には、受信ノードが
受信するTSデータ列は、、、’、’・・・
となり、TSデータ、が欠落することになる。
On the other hand, when the receiving node # 4 selects and switches the counterclockwise route I as the normal route to the clockwise route at the time of receiving TS data, the TS data string received by the receiving node is received. Is ... ',' ...
Therefore, TS data will be lost.

【0018】従来、このようなデータ受信誤りに対し
て、後者のデータ欠落に対してはノード端末側の上位ア
プリケーションソフトウェアで対応していたが、前者の
データ二重受信に対しては特別には対策がされておら
ず、行うとすれば、かかる方路切り替え時にシステムを
一時的に停止させるようにしていた。
Conventionally, such a data reception error has been dealt with by the higher-order application software on the node terminal side for the latter data loss. If no measures were taken, and if it was done, the system would be temporarily stopped at the time of such route switching.

【0019】本発明は以上に説明したような技術的諸問
題に鑑みてなされたものであり、デーの誤受信、とりわ
けデータの重複受信を防止することを目的とする。
The present invention has been made in view of the technical problems described above, and it is an object of the present invention to prevent erroneous reception of data, particularly duplicate reception of data.

【0020】[0020]

【課題を解決するための手段および作用】図1は本発明
に係る原理説明図である。上述の課題を解決するため
に、本発明においては、複数のノードをリング状に接続
したリング型ネットワーク伝送装置であって、送信ノー
ドは、受信ノードに向けて順次に送信するデータ単位の
各々に送信順序を示す順序番号を付加する順序番号付加
手段101を備え、受信ノードは、受信したデータ単位
に対して前回受信したデータ単位の前回順序番号と現在
受信処理中のデータ単位の今回順序番号とを比較し、そ
の比較結果が、該今回順序番号の示す順序が該前回順序
番号の示す順序と同一または小さくなっている場合に、
現在受信処理中のデータ単位が重複受信であると判定す
る比較手段102と、比較手段102で重複受信である
と判定されたデータ単位を廃棄する廃棄手段103と、
比較手段102で重複受信あると判定されたときに前回
順序番号の更新を停止する手段104とを備えたリング
型ネットワーク伝送装置か提供される。
FIG. 1 is an explanatory view of the principle according to the present invention. In order to solve the above-mentioned problems, in the present invention, a ring type network transmission device in which a plurality of nodes are connected in a ring shape, wherein a transmitting node is provided for each data unit to be sequentially transmitted toward a receiving node. The reception node includes a sequence number adding unit 101 for adding a sequence number indicating a transmission sequence, and the receiving node has a previous sequence number of a data unit received last time and a current sequence number of a data unit currently undergoing reception processing with respect to the received data unit. When the order indicated by the current sequence number is the same as or smaller than the sequence indicated by the previous sequence number,
A comparing unit 102 that determines that the data unit currently undergoing the reception process is duplicate reception; a discarding unit 103 that discards the data unit that the comparing unit 102 has determined to be duplicate reception;
There is provided a ring type network transmission device including a means 104 for stopping the update of the previous sequence number when the comparison means 102 determines that there is duplicate reception.

【0021】このリング型ネットワーク伝送装置では、
送信ノードは順序番号付加手段によって受信ノードに向
けて順次に送信するデータ単位の各々に送信順序を示す
順序番号を付加して送信する。受信ノードでは比較手段
102によって、受信したデータ単位に対して前回受信
したデータ単位の前回順序番号と現在受信処理中のデー
タ単位の今回順序番号とを比較する。この比較結果が、
該今回順序番号の示す順序が該前回順序番号の示す順序
と同一または小さくなっている場合には、現在受信処理
中のデータ単位が重複受信であると判定する。このとき
には廃棄手段103により、重複受信であると判定され
たデータ単位を廃棄するなどの処理を行う。またこのと
きには前回順序番号の更新を停止する。
In this ring type network transmission device,
The sending node adds the order number indicating the sending order to each of the data units to be sequentially sent to the receiving node by the order number adding means and sends the data unit. In the receiving node, the comparing means 102 compares the previous sequence number of the data unit received last time with the current sequence number of the data unit currently undergoing the reception process with respect to the received data unit. The result of this comparison is
If the sequence indicated by the current sequence number is the same as or smaller than the sequence indicated by the previous sequence number, it is determined that the data unit currently undergoing the reception process is duplicate reception. At this time, the discarding unit 103 performs processing such as discarding the data unit determined to be the duplicate reception. At this time, the update of the previous sequence number is stopped.

【0022】上述のリング型ネットワーク伝送装置にお
いては、比較結果が、今回順序番号の示す順序が前回順
序番号の示す順序よりも2番以上大きい場合に、前回順
序番号のデータ単位と今回順序番号のデータ単位の間に
データ単位の受信欠落があると判定するように構成する
ことができる。
In the ring-type network transmission device described above, when the comparison result indicates that the sequence indicated by the current sequence number is larger than the sequence indicated by the previous sequence number by two or more, the data unit of the previous sequence number and the current sequence number are compared. It may be configured to determine that there is a data unit reception loss between the data units.

【0023】また、上述のリング型ネットワーク伝送装
置においては、比較手段102による今回順序番号の示
す順序が前回順序番号の示す順序と同じとの比較結果が
2回以上連続したときに、送信ノードでの順序番号付加
機能または受信ノードでの比較機能に異常があると判定
する異常検出手段と、異常検出手段で異常が検出された
ときに廃棄手段103の廃棄機能を無効化する無効化手
段とを更に備えるよう構成してもよい。
Further, in the above ring type network transmission device, when the comparison result by the comparing means 102 that the order indicated by the current sequence number is the same as the order indicated by the previous sequence number is repeated two or more times, the transmitting node An abnormality detecting unit that determines that there is an abnormality in the sequence number addition function or the receiving node comparison function, and an invalidating unit that invalidates the discarding function of the discarding unit 103 when the abnormality detecting unit detects an abnormality. You may comprise further.

【0024】また上述のリング型ネットワーク伝送装置
においては、比較手段102による該今回順序番号の示
す順序が該前回順序番号の示す順序よりも2番以上大き
いとの比較結果が2回以上連続したときに、該送信ノー
ドでの順序番号付加機能または該受信ノードでの比較機
能に異常があると判定する第2の異常検出手段と、第2
の異常検出手段で異常が検出されたときに廃棄手段10
3の廃棄機能を無効化する第2の無効化手段とを更に備
えるよう構成してもよい。
Further, in the above ring-type network transmission device, when the comparison result that the order indicated by the current order number by the comparing means 102 is larger than the order indicated by the previous order number by two or more times consecutively, two or more times. Second abnormality detecting means for determining that there is an abnormality in the sequence number adding function at the transmitting node or the comparing function at the receiving node;
When the abnormality is detected by the abnormality detecting means, the discarding means 10
It may be configured to further include a second invalidating unit that invalidates the discarding function of No. 3.

【0025】また、上述のリング型ネットワーク伝送装
置においては、ノード間を接続するリング状伝送路が二
重化されるよう構成してもよい。
Further, in the above ring type network transmission device, the ring transmission lines connecting the nodes may be duplicated.

【0026】また、本発明においては、送信側回路に、
受信ノードに向けて順次に送信するデータ単位の各々に
送信順序を示す順序番号を付加する順序番号付加手段を
備え、受信側回路に、ネットワークから前回受信したデ
ータ単位の順序番号を前回順序番号として保持する順序
番号格納手段と、現在受信処理中のデータ単位の順序番
号を今回順序番号として該順序番号格納部の前回順序番
号と比較し、その比較結果を、該今回順序番号の示す順
序が該前回順序番号の示す順序よりも1番大きい場合、
該今回順序番号の示す順序が該前回順序番号の示す順序
よりも2番以上大きい場合、および該今回順序番号の示
す順序が該前回順序番号の示す順序と同一または小さく
なっている場合に分けて検出する順序番号比較手段と、
比較手段の比較結果が該今回順序番号の示す順序が該前
回順序番号の示す順序よりも1番以上大きい場合であっ
たときに該今回順序番号によって該順序番号格納手段の
前回順序番号を更新する更新手段と、比較手段の比較結
果が該今回順序番号の示す順序が該前回順序番号の示す
順序と同一または小さくなっている場合であったときに
現在受信処理中のデータ単位を重複受信データとして廃
棄する廃棄手段とを備えたリング型ネットワークのノー
ド装置が提供される。
Further, in the present invention, the transmitting side circuit is
A sequence number adding means for adding a sequence number indicating the transmission sequence to each of the data units sequentially transmitted to the receiving node is provided, and the sequence number of the data unit previously received from the network is set as the previous sequence number in the receiving side circuit. The sequence number storage means to hold and the sequence number of the data unit currently undergoing the reception process are compared as the current sequence number with the previous sequence number in the sequence number storage unit, and the comparison result indicates that the sequence indicated by the current sequence number is If it is the largest than the order indicated by the previous order number,
When the sequence indicated by the current sequence number is greater than the sequence indicated by the previous sequence number by 2 or more, and when the sequence indicated by the current sequence number is the same as or smaller than the sequence indicated by the previous sequence number, Sequence number comparing means for detecting,
When the comparison result of the comparison means is that the order indicated by the current order number is larger than the order indicated by the previous order number by one or more, the previous order number of the order number storage means is updated by the current order number. When the comparison result of the update means and the comparison means is that the order indicated by the current sequence number is the same as or smaller than the order indicated by the previous sequence number, the data unit currently undergoing the reception process is regarded as the duplicate reception data. Provided is a ring-type network node device having a discarding means for discarding.

【0027】このノード装置は、該比較手段による該今
回順序番号の示す順序が該前回順序番号の示す順序と同
じとの比較結果が2回以上連続したとき、あるいは該比
較手段による該今回順序番号の示す順序が該前回順序番
号の示す順序よりも2番以上大きいとの比較結果が2回
以上連続したときに、送信ノードでの順序番号付加機能
または該受信ノードでの順序番号比較機能に異常がある
と判定する異常検出手段と、該異常検出手段で異常が検
出されたときに該廃棄手段の廃棄機能を無効化する無効
化手段とを更に備えるよう構成してもよい。
In this node device, when the comparison result that the order indicated by the current sequence number by the comparing means is the same as the sequence indicated by the previous sequence number is consecutive two or more times, or the current sequence number by the comparing means. When the comparison result that the order indicated by is greater than the order indicated by the previous order number is two or more times consecutively, the order number addition function at the sending node or the order number comparison function at the receiving node is abnormal. It may be configured to further include an abnormality detection unit that determines that there is an abnormality, and an invalidation unit that invalidates the discarding function of the discarding unit when the abnormality detection unit detects an abnormality.

【0028】[0028]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図2には本発明の実施例が示される。この実施例
は説明の簡略化のために4局のノードで伝送路が二重化
されたリング型LANを構成した場合のものであるが、
実際のシステムはノードが例えば64局程度で構成され
る。また、図中にはノード#3の内部構成のみを示して
あるが、他のノード#1、#2、#4も同一の構成とな
っている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 shows an embodiment of the present invention. For simplification of description, this embodiment is a case where a ring LAN in which transmission lines are duplicated by nodes of four stations is configured.
In an actual system, nodes are composed of about 64 stations, for example. Although only the internal configuration of the node # 3 is shown in the figure, the other nodes # 1, # 2, and # 4 have the same configuration.

【0029】図2において、上流の伝送路から受信した
伝送フレームは伝送路インタフェース1、回線交換部
(TSW)2、信号処理部9を介して端末に送られ、ま
た端末からの送信データは逆の経路を辿って下流の伝送
路に送出される。このノード内においても各回路1、
2、9は高信頼化のためにそれぞれ二重化されており、
信号処理部9のパリティ付加回路3からの送信TSデー
タは二重化された回線交換部2の双方に入力され、また
回線交換部2の双方でそれぞれ受信されたTSデータは
信号処理部9の受信方路選択回路4にそれぞれ入力され
る。
In FIG. 2, the transmission frame received from the upstream transmission line is sent to the terminal via the transmission line interface 1, the circuit switching unit (TSW) 2 and the signal processing unit 9, and the transmission data from the terminal is reversed. And is sent to the downstream transmission line. Even in this node, each circuit 1,
2 and 9 are duplicated for high reliability,
The transmission TS data from the parity adding circuit 3 of the signal processing unit 9 is input to both of the duplicated circuit switching units 2, and the TS data received by both of the circuit switching units 2 are received by the signal processing unit 9. It is input to each of the route selection circuits 4.

【0030】回線交換部2は受信した伝送フレームから
自局宛てのタイムスロットデータを抜き出し、また自局
の送信データを伝送フレーム中の自局に割り当てられた
タイムスロットに挿入する。伝送路インタフェース1は
例えば光ネットワークの場合には伝送路上の光信号とノ
ード内部の電気信号との間で相互変換を行うなど、伝送
路とノード間の信号インタフェースを行う回路である。
The circuit switching unit 2 extracts time slot data addressed to the own station from the received transmission frame and inserts the transmission data of the own station into the time slot assigned to the own station in the transmission frame. In the case of an optical network, the transmission line interface 1 is a circuit that performs a signal interface between the transmission line and the node, such as performing mutual conversion between an optical signal on the transmission line and an electric signal inside the node.

【0031】図5には本実施例装置で伝送路上を伝送す
るフレームの構成例が示される。図示のように、1フレ
ームは複数のタイムスロットTS−1、TS−2・・・
に分割され、伝送路上の各ノードにはそれぞれ別々のタ
イムスロットが通信用に割り当てられる。1フレーム周
期は例えば125μs に設定される。各タイムスロット
のデータは、図示するうように、8ビットのデータ領域
と7ビットの順序番号領域とパリティビットとの合計2
バイトからなる。
FIG. 5 shows a structural example of a frame transmitted on the transmission line by the apparatus of this embodiment. As shown, one frame has a plurality of time slots TS-1, TS-2 ...
Each node on the transmission line is assigned a different time slot for communication. One frame period is set to 125 μs, for example. As shown in the figure, the data of each time slot has a total of 2 bits including an 8-bit data area, a 7-bit sequence number area, and a parity bit.
It consists of bytes.

【0032】信号処理部9は、送信側回路が端末インタ
フェース7、順序番号付加回路5、パリティ付加回路3
を含み構成され、また受信側回路が受信方路選択回路
4、順序違反判定回路6、端末インタフェース8を含み
構成される。
In the signal processing unit 9, the transmitting side circuit has a terminal interface 7, a sequence number adding circuit 5, and a parity adding circuit 3.
Further, the receiving side circuit includes the receiving route selection circuit 4, the order violation determination circuit 6, and the terminal interface 8.

【0033】順序番号付加回路5は自局からの送信デー
タに順序番号Sを付加する回路である。この順序番号S
は図5のタイムスロット構成の順序番号領域S0〜S6
に格納する情報であり、この順序番号Sは単調増加によ
り0〜Smax 間を循環する値、すなわち、S=0、1、
2、3、・・・、Smax 、0、1、2・・・というよう
に循環する数列であり、送信データ列の各データ(8ビ
ット単位)のそれぞれに、番号が順次に増加するように
して、付加する。
The sequence number adding circuit 5 is a circuit for adding the sequence number S to the transmission data from the own station. This sequence number S
Is the sequence number area S0 to S6 of the time slot configuration of FIG.
This sequence number S is a value that circulates between 0 and S max due to a monotonic increase, that is, S = 0, 1,
It is a cyclic sequence such as 2, 3, ..., S max , 0, 1, 2, ..., and the number is sequentially increased for each data (8-bit unit) of the transmission data sequence. And add.

【0034】この順序番号Sの最大値Smax の決め方と
しては、リング型伝送路の最大中継遅延時間をMフレー
ム周期とすれば、 Smax =2n −1≧2M−1 となるように値を決定する。例えば、最大中継遅延時間
Mが64(=26 )フレーム周期以下ならば、順序番号
として付加する情報は、n=7bit となり、順序番号は
S=0〜127を循環する数列となる。
As a method of determining the maximum value S max of the sequence number S, if the maximum relay delay time of the ring type transmission line is M frame periods, S max = 2 n -1 ≧ 2M-1 To decide. For example, if the maximum relay delay time M is 64 (= 2 6 ) frame periods or less, the information added as a sequence number is n = 7 bits, and the sequence number is a sequence of numbers S = 0 to 127.

【0035】図3にはこの順序番号付加回路5の構成例
が示される。順序番号S=0〜Sma x を循環してカウン
トするカウンタ(モジュロSmax カウンタ)31と、こ
のカウンタ31出力の順序番号Sと端末インタフェース
7からのデータとを交互に切り替えるセレクタ32とか
らなり、カウンタ31は伝送フレームのフレームパルス
毎(すなわち1フレーム周期毎)にそのカウント値を単
調増加して順序番号Sとして出力する。セレクタ32は
端末からのデータ(本例では8ビット単位)の後にこの
順序番号を付加するよう切り替えを行って、その出力信
号をパリティ付加回路3に出力する。
FIG. 3 shows a configuration example of the sequence number adding circuit 5. A counter (modulo S max counter) 31 for counting circulating the sequence number S = 0~S ma x, consists selector 32 for switching between data from the sequence number S and the terminal interface 7 of the counter 31 alternately outputs The counter 31 monotonically increases the count value for each frame pulse of the transmission frame (that is, for each frame period) and outputs it as the sequence number S. The selector 32 switches so as to add this sequence number after the data from the terminal (8-bit unit in this example), and outputs the output signal to the parity adding circuit 3.

【0036】パリティ付加回路3は順序番号付加回路5
からの出力信号に対してパリティを演算し、図5に示す
ようにTSデータの最後にパリティビットを付加して出
力する回路である。
The parity addition circuit 3 is a sequence number addition circuit 5
Is a circuit for calculating a parity with respect to the output signal from, and adding a parity bit to the end of the TS data as shown in FIG.

【0037】受信方路選択回路4は二つの回線交換部2
から受け取った左回り方路Iと右回り方路IIの受信TS
データのうちから正常な方の方路の受信データを選択す
る回路であり、受信TSデータのビット誤り検出を行っ
て従来技術で述べたアルゴリズムに従って正常と判断さ
れた方路のTSデータを選択して順序違反判定回路6に
送る。
The receiving route selection circuit 4 includes two circuit switching units 2
Received TS for left-handed route I and right-handed route II received from
A circuit for selecting the received data of the normal path from the data, performing bit error detection of the received TS data and selecting the TS data of the path determined to be normal according to the algorithm described in the prior art. And sends it to the order violation judgment circuit 6.

【0038】順序違反判定回路6は順次に受信される受
信TSデータの順序番号を検査して順序番号違反がある
か否か、すなわちデータの重複受信や欠落があるか否か
を検出し、重複受信データに対してはそれを廃棄するも
のであり、処理された信号は端末インタフェース8を介
して端末へ送られる。
The order violation judgment circuit 6 checks the order numbers of the sequentially received TS data to detect whether there is a order number violation, that is, whether there is duplicate reception or loss of data, and the duplication. The received data is discarded, and the processed signal is sent to the terminal via the terminal interface 8.

【0039】図4には順序違反判定回路6の詳細な構成
例が示される。図4において、順序番号格納回路12
は、前回に受信したTSデータの前回順序番号Sp を格
納するレジスタである。順序番号比較回路10は、受信
方路選択回路4から今回受信したTSデータの今回順序
番号Sr と順序番号格納回路12に格納された前回順序
番号Sp とを比較して順序違反があるか否か、また違反
があればどのような態様の違反か(重複受信、欠落な
ど)を検出する回路である。
FIG. 4 shows a detailed configuration example of the order violation determination circuit 6. In FIG. 4, the sequence number storage circuit 12
Is a register for storing the previous sequence number Sp of the TS data received last time. The sequence number comparison circuit 10 compares the current sequence number Sr of the TS data received this time from the reception route selection circuit 4 with the previous sequence number Sp stored in the sequence number storage circuit 12 to determine whether there is a sequence violation. If there is a violation, it is a circuit that detects what kind of violation (duplicate reception, missing, etc.).

【0040】この順序番号比較回路10は順序番号抽出
回路11と、符号無し2進数減算回路13、符号ビット
検査回路14を含み構成される。順序番号抽出回路11
は受信TSデータから順序番号Sとパリティビットを取
り出し、残りのデータD1〜D8をセレクタ21の0系
入力端子に送るとともに、取り出した順序番号Sを今回
順序番号Sr として減算回路13と順序番号格納回路1
2に送る回路である。
The sequence number comparison circuit 10 comprises a sequence number extraction circuit 11, an unsigned binary number subtraction circuit 13, and a sign bit check circuit 14. Sequence number extraction circuit 11
Extracts the sequence number S and the parity bit from the received TS data, sends the remaining data D1 to D8 to the 0-system input terminal of the selector 21, and stores the extracted sequence number S as the current sequence number Sr and the subtraction circuit 13 and the sequence number. Circuit 1
It is a circuit to send to 2.

【0041】減算回路13は順序番号抽出回路11から
の今回順序番号Sr と順序番号格納回路12からの前回
順序番号Sp に対して、符号無し2進数で、 Sa =Sr −Sp の演算を行い、その演算結果Sa を出力する回路であ
る。この処理により、順序番号の折返し点でのSa の演
算においても、0−127=1を得ることができる。
The subtraction circuit 13 performs an arithmetic operation of Sa = Sr-Sp with an unsigned binary number for the current sequence number Sr from the sequence number extraction circuit 11 and the previous sequence number Sp from the sequence number storage circuit 12, This is a circuit that outputs the calculation result Sa. By this processing, 0-127 = 1 can be obtained even in the operation of Sa at the turnaround point of the sequence number.

【0042】符号ビット検査回路14は減算回路13か
らの演算結果Sa を符号付き2進数として取り扱い(す
なわち演算結果Sa の最上位ビットMSBを符号ビット
として取り扱い)、この演算結果Sa が、Sa >1、S
a =1、Sa =0、Sa <0、の4つの態様のいずれに
相当するかを検出する回路である。ここで、Sa >1は
前回順序番号Sp よりも今回順序番号Sr が1以上離れ
ている場合であり、これは例えば二重伝送路が送信ノー
ドから遠距離の方路から近距離の方路に切り替わったた
めにデータ欠落を起こした状態に対応する。Sa =1は
前回順序番号Sp に対して今回順序番号Sr が一つずつ
単調増加していることを示しており、データが正常受信
されている状態に対応する。Sa =0は前回順序番号S
p と今回順序番号Sr とが同じであることを、またSa
<0は前回順序番号Sp に対して逆に今回順序番号Sr
が減少していることを示し、この場合は伝送路上を繰り
返し周回しているTSデータがあったり二重伝送路が近
距離方路から遠距離方路に切り替わったために、データ
の重複受信が生じている状態に対応する。
The sign bit check circuit 14 handles the operation result Sa from the subtraction circuit 13 as a signed binary number (that is, handles the most significant bit MSB of the operation result Sa as a sign bit), and the operation result Sa is Sa> 1. , S
It is a circuit that detects which of the four modes a = 1, Sa = 0, Sa <0. Here, Sa> 1 is a case where the current sequence number Sr is 1 or more away from the previous sequence number Sp, which means that, for example, the duplex transmission line is changed from the long distance route to the short distance route from the transmitting node. It corresponds to the state where data loss occurs due to switching. Sa = 1 indicates that the current sequence number Sr monotonically increases by one with respect to the previous sequence number Sp, and corresponds to the state in which the data is normally received. Sa = 0 is the previous sequence number S
If p and the current sequence number Sr are the same, Sa
<0 is the sequence number Sr of this time, contrary to the sequence number Sp of the previous time.
Indicates that there is a decrease in the transmission rate. In this case, there is TS data that repeatedly circulates on the transmission path or the double transmission path is switched from the short-distance route to the long-distance route, resulting in duplicate reception of data. Corresponding to the state.

【0043】ここで、演算結果Sa は、伝送路を一周し
て戻ってきたTSデータをSa <0として判別できるよ
うにし、かつ、システム全体のなかで、最も中継遅延時
間の大きい方路から最も小さい方路へ切り替わった場合
でもSa >1となるようにする必要があり、また符号無
し2進数演算での演算結果Sa の演算にあたって演算結
果Sa が正負いずれの場合でも正しく演算できるように
するために、順序番号Sの最大値Smax は、前述したと
おり最大中継遅延時間をMフレーム周期とするならば、 Smax =2n −1≧2M−1 となるようにして、順序番号のビット数nを決定する。
Here, the calculation result Sa makes it possible to discriminate TS data that has returned around the transmission path as Sa <0, and is the highest in the whole system from the path with the longest relay delay time. It is necessary to make Sa> 1 even when switching to a smaller route, and in order to correctly calculate whether the calculation result Sa is positive or negative when calculating the calculation result Sa in unsigned binary number calculation. In addition, the maximum value S max of the sequence number S is such that S max = 2 n −1 ≧ 2M−1 if the maximum relay delay time is M frame periods as described above, and the number of bits of the sequence number S Determine n.

【0044】順序番号格納回路12は符号ビット検査回
路14の判定がSr >Sp (すなわちSa =1およびS
a >1)のときに順序番号抽出回路11からの今回順序
番号Sr を取り込んで、それを次回のTSデータの順序
番号と比較するために前回順序番号Sp として保持す
る。一方、Sr ≦Sp (すなわちSa =0およびSa <
0)のときは順序番号格納回路12に記憶されている前
回順序番号Sp は更新されない。この動作を行うため
に、符号ビット検査回路14のSa =1とSa >1の出
力信号がオア回路15を通り、さらにフレームパルスで
開閉されるアンド回路16を通って順序番号格納回路1
2のクロック端子CLKに入力されている。このよう
に、本実施例回路では、Sa =1の正常受信のときだけ
でなく、Sa >1すなわちデータ欠落を起こした場合も
一応は正常受信であると見なしており、後者に対しては
従来技術で述べたように後処理工程で上位アプリケーシ
ョンソフトウェアにより対応するようにしている。
In the sequence number storage circuit 12, the judgment of the sign bit inspection circuit 14 is Sr> Sp (that is, Sa = 1 and S).
When a> 1), the current sequence number Sr from the sequence number extraction circuit 11 is fetched and held as the previous sequence number Sp for comparison with the sequence number of the next TS data. On the other hand, Sr ≤ Sp (that is, Sa = 0 and Sa <
In the case of 0), the previous sequence number Sp stored in the sequence number storage circuit 12 is not updated. In order to perform this operation, the output signal of Sa = 1 and Sa> 1 of the sign bit inspection circuit 14 passes through the OR circuit 15, and further passes through the AND circuit 16 which is opened / closed by the frame pulse and the sequence number storage circuit 1
It is input to the second clock terminal CLK. As described above, the circuit of the present embodiment considers not only the normal reception of Sa = 1 but also the normal reception of Sa ≧ 1, that is, the data loss. As described in the technology, higher-level application software is used in the post-processing process.

【0045】異常検出回路18は符号ビット検査回路1
4の値に基づいて順序番号比較回路10自体の動作異常
を検出する回路である。異常検出回路18はそのFd 入
力が符号ビット検査回路14のSa >1を示す出力に接
続され、そのFe 入力がビット検査回路14のSa =0
を示す出力に接続される。すなわち、符号ビット検査回
路14のSa >1出力は、順序番号が不連続に増加した
ことを示すが、この状態は二重化伝送路が遠距離方路か
ら近距離方路に切り替えられたときのデータ欠落を表し
ている。従って、異常検出回路18のFd 入力が2回以
上連続して入力されることは遠距離方路から近距離方路
への切り替えが2回以上続けて行われたことを意味し、
理論上は有り得ないことである。また、符号ビット検査
回路14のSa =0出力は、前回のフレームと同じ順序
番号を受信したことを示すが、この状態は遠距離方路の
遅延量が近距離方路に対して1フレーム分だけ多い場合
に近距離方路から遠距離方路に切り替えられたことを表
している。従って、異常検出回路18のFe 入力が2回
以上連続して入力されることは、近距離方路から遠距離
方路への切替えが2回以上続けて行われたことを意味
し、理論上は有り得ないことである。
The abnormality detection circuit 18 is the sign bit inspection circuit 1.
This is a circuit for detecting an abnormal operation of the sequence number comparison circuit 10 itself based on the value of 4. The abnormality detection circuit 18 has its Fd input connected to the output of the sign bit check circuit 14 indicating Sa> 1, and its Fe input is Sa = 0 of the bit check circuit 14.
Connected to the output indicating. That is, the Sa> 1 output of the sign bit check circuit 14 indicates that the sequence number has increased discontinuously, but this state indicates that the data when the duplex transmission path is switched from the long-distance path to the short-distance path. It represents a lack. Therefore, the fact that the Fd input of the abnormality detection circuit 18 is continuously input twice or more means that the switching from the long-distance route to the short-distance route is continuously performed twice or more,
That is impossible in theory. Further, the Sa = 0 output of the sign bit check circuit 14 indicates that the same sequence number as that of the previous frame has been received. In this state, the delay amount of the long-distance route corresponds to one frame for the short-distance route. When the number is large, it means that the short-distance route is switched to the long-distance route. Therefore, the fact that the Fe input of the abnormality detection circuit 18 is continuously input twice or more means that the switching from the short-distance route to the long-distance route is continuously performed twice or more, and theoretically. Is impossible.

【0046】つまり、これらのFd 入力またはFe 入力
が2回以上連続する場合には、送信ノード側の順序番号
付加回路に動作異常があるか、あるいは受信ノード側の
順序違反判定回路自体に動作異常があると推定すること
ができる。従って、異常検出回路18はこれらのFd 入
力またはFe 入力がそれぞれ2周期以上連続してセット
されたことを検知し、その場合には順序違反判定回路等
の異常としてアラーム信号ALM(異常時に“1”)を
出力するように構成されている。このアラーム信号AL
Mはアンド回路19の反転入力端子に入力され、それに
より、順序違反判定回路等の異常時にはアンド回路19
が閉じられるようになっている。
That is, when these Fd inputs or Fe inputs continue twice or more, there is an operation abnormality in the sequence number addition circuit on the transmitting node side or an operation abnormality in the order violation judging circuit itself on the receiving node side. It can be estimated that there is. Therefore, the abnormality detection circuit 18 detects that the Fd input or the Fe input is continuously set for two cycles or more, and in that case, an alarm signal ALM ("1" at the time of abnormality is detected as an abnormality of the order violation determination circuit or the like). )) Is output. This alarm signal AL
M is input to the inverting input terminal of the AND circuit 19, so that the AND circuit 19 is activated when the order violation determination circuit or the like is abnormal.
Is designed to be closed.

【0047】図6にはこの異常検出回路18の構成例が
示される。Fe 入力はD形フリップフロップ41により
前回の状態を保持される。このD形フリップフロップ4
1の出力信号とFe 入力をアンド回路45により論理積
をとることにより、前回と今回の2回連続してFe 入力
がセットされている場合に、D形フリップフロップ42
の出力信号が“1”にセットされる。前回または今回の
いずれかのFe 入力がリセットされていた場合には、D
形フリップフロップ42の出力信号が“0”にリセット
される。Fd 入力とD形フリップフロップ43、44お
よびアンド回路46も同様に構成されており、前回と今
回の2回連続してFd 入力がセットされている場合に、
D形フリップフロップ44の出力信号が“1”にセット
され、前回または今回のいずれかのFd 入力がリセット
されていた場合には、D形フリップフロップ44の出力
信号が“0”にリセットされる。このD形フリップフロ
ップ42の出力信号と44の出力信号をオア回路27で
論理和をとって、アラーム出力信号ALMを生成する。
このように異常検出回路18を構成することにより、2
回以上連続してFe 入力がセットされているか、または
2回以上連続してFd 入力がセットされていることを検
出する。
FIG. 6 shows an example of the configuration of the abnormality detecting circuit 18. The Fe input is held in the previous state by the D flip-flop 41. This D flip-flop 4
By logically ANDing the output signal of No. 1 and the Fe input by the AND circuit 45, when the Fe input is set twice in the last time and this time, the D-type flip-flop 42
The output signal of is set to "1". If the previous or current Fe input was reset, D
The output signal of the flip-flop 42 is reset to "0". The Fd input, the D-type flip-flops 43 and 44, and the AND circuit 46 are also configured in the same manner, and when the Fd input is set twice in succession, the previous time and this time,
If the output signal of the D-type flip-flop 44 is set to "1" and the Fd input of either the previous time or this time is reset, the output signal of the D-type flip-flop 44 is reset to "0". . The OR circuit 27 ORs the output signal of the D-type flip-flop 42 and the output signal of 44 to generate an alarm output signal ALM.
By configuring the abnormality detection circuit 18 in this way,
It is detected that the Fe input has been set continuously more than once or the Fd input has been set more than once consecutively.

【0048】セレクタ21はその0系入力端子に順序番
号抽出回路11からの受信データが、1系入力端子にダ
ミーTS生成回路22からのダミーTSデータに入力さ
れ、その選択端子SELに入力される選択信号に応じ
て、選択信号が“0”のときは0系入力端子側の入力信
号を、“1”のときは1系入力端子側の入力信号を選択
し、端末インタフェース8に送出する。選択端子SEL
に入力される選択信号は、符号ビット検査回路14から
のSa =0とSa <0の出力信号をオア回路20とアン
ド回路19を通すことで生成している。
The selector 21 receives the received data from the sequence number extraction circuit 11 at its 0-system input terminal, the dummy TS data from the dummy TS generation circuit 22 at its 1-system input terminal and its selection terminal SEL. According to the selection signal, when the selection signal is “0”, the input signal on the 0-system input terminal side is selected, and when it is “1”, the input signal on the 1-system input terminal side is selected and sent to the terminal interface 8. Select terminal SEL
The selection signal to be input to is generated by passing the output signals of Sa = 0 and Sa <0 from the sign bit check circuit 14 through the OR circuit 20 and the AND circuit 19.

【0049】よって、セレクタ21は、順序番号が正常
受信されたとき(Sa =1)、データ欠落受信されたと
き(Sa >1)、および順序違反判定回路の動作異常が
検出されたとき(アラーム=1)に、受信されたデータ
をそのまま端末インタフェース側に送り、一方、データ
重複受信されたとき(Sa =0、Sa <0)には当該重
複受信データに換えてダミーTS生成回路22で生成し
たダミーTSデータを端末インタフェース側に送るよう
選択をする。なお、このダミーTSデータとしては、T
Sデータ領域が全て“1”となっているようなデータを
用いることができる。
Therefore, the selector 21 receives the sequence number normally (Sa = 1), receives the missing data (Sa> 1), and detects the operation abnormality of the order violation judgment circuit (alarm). = 1), the received data is sent to the terminal interface side as it is, and when data duplication reception is performed (Sa = 0, Sa <0), the duplication TS generation circuit 22 generates the duplication reception data instead of the duplication reception data. The dummy TS data is selected to be sent to the terminal interface side. The dummy TS data is T
Data in which the S data area is all "1" can be used.

【0050】以下、この実施例装置の動作を説明する。
まず、リング型LANが正常動作している間、TSデー
タに付加した順序番号Sはフレーム周期毎に一つずつ単
調増加するから、順序番号比較回路10での前回順序番
号Sp と今回順序番号Sr の比較結果は、常にSa =S
r −Sp =1である。この場合、セレクタ21は0系入
力端子の入力信号すなわち受信方路選択回路4からの受
信データを選択して端末インタフェース8側に出力して
いる。
The operation of the apparatus of this embodiment will be described below.
First, while the ring LAN is operating normally, the sequence number S added to the TS data monotonically increases by one every frame period, so that the previous sequence number Sp and the current sequence number Sr in the sequence number comparison circuit 10 are increased. The comparison result is always Sa = S
r −Sp = 1. In this case, the selector 21 selects the input signal of the 0-system input terminal, that is, the received data from the receiving route selection circuit 4, and outputs it to the terminal interface 8 side.

【0051】次に、例えば同報通信において送信ノード
がバイパス状態となったため同一TSデータが消去され
ることなくリング型伝送路上を何度も周回した場合につ
いて説明する。前述したように、このTSデータ(ここ
では周回TSデータと称する)を受信したときには、そ
の順序番号は前回順序番号Sp よりも小さい値となるよ
うに順序番号の最大値Smax が設定されている。よっ
て、あるノードが周回TSデータを受信後、その周回T
Sデータがさらに伝送路を一周して戻ってくる間(伝送
路1周分の遅延時間の間)、当該ノードにおいて受信デ
ータの順序番号は単調増加していくが、周回TSデータ
を再び受信したときにはその順序番号Srが前回順序番
号Sp より小さくなるという現象が繰り返される。この
周回TSデータの受信時には、常にSr ≦Sp となるの
で、順序番号比較回路10はこれを検出して重複受信に
よる順序違反と判定し、符号ビット検査回路14からS
=0またはS<0の出力信号を出力してセレクタ21を
1系入力端子側に切り替える。よって、端末インタフェ
ース8側にはダミーTS生成回路22からのダミーTS
データが送られ、受信した周回TSデータは廃棄される
ことになる。
Next, a case will be described in which the same TS data is repeatedly circulated on the ring type transmission line without being erased because the transmission node is in a bypass state in the broadcast communication. As described above, when this TS data (herein referred to as “circulating TS data”) is received, the maximum value S max of the sequence number is set so that the sequence number is smaller than the previous sequence number Sp. . Therefore, after a certain node receives the circulating TS data,
While the S data makes another round of the transmission line and returns (during the delay time of one round of the transmission line), the sequence number of the received data monotonically increases at the node, but the round TS data is received again. Sometimes the phenomenon that the sequence number Sr becomes smaller than the previous sequence number Sp is repeated. Since Sr ≤ Sp is always satisfied at the time of receiving the circulating TS data, the sequence number comparison circuit 10 detects this and determines that it is an order violation due to duplicate reception.
An output signal of = 0 or S <0 is output to switch the selector 21 to the 1-system input terminal side. Therefore, the dummy TS from the dummy TS generation circuit 22 is provided on the terminal interface 8 side.
The data is sent and the received circular TS data is discarded.

【0052】次に、伝送路の劣化あるいは障害などによ
り、受信する方路が切り替わった場合について説明す
る。まず、送信ノードから遠距離の方路から近距離の方
路に切り替わった場合、切り替え時点でデータの二重受
信が起こる。すなわち、順序番号比較回路10での比較
結果は、切替え後、両方路の伝送遅延時間の差分にあた
る期間(二重受信している期間)にわたってSr ≦Sp
となって(同期間中は順序番号格納回路12に格納した
前回順序番号Sp は更新されないため)、符号ビット検
査回路14から出力されたS=0またはS<0の出力信
号でセレクタ21が1系入力端子側に切り替わり、ダミ
ーTSデータが端末インタフェース8に送られ、受信し
た二重受信TSデータは廃棄されることになる。この伝
送遅延時間の差分時間が過ぎると、順序番号格納回路1
2に格納した前回順序番号Sp より受信TSデータの今
回順序番号Sr が大きくなるから、順序番号格納回路1
2の前回順序番号Sp はタイムスロット受信のつど更新
されるようになり、従って常にSr −Sp =1となるの
で,セレクタ21は0系入力端子側を選択して受信した
TSデータを端末インタフェース8に送出する。
Next, a case where the receiving route is switched due to deterioration or failure of the transmission line will be described. First, when a long-distance route is switched from the transmission node to a short-distance route, double reception of data occurs at the time of switching. That is, the comparison result in the sequence number comparison circuit 10 shows that after switching, Sr≤Sp during the period corresponding to the difference in transmission delay time of both paths (duplex reception period).
Then (because the previous sequence number Sp stored in the sequence number storage circuit 12 is not updated during the synchronization), the selector 21 is set to 1 by the output signal S = 0 or S <0 output from the sign bit check circuit 14. Switching to the system input terminal side, the dummy TS data is sent to the terminal interface 8, and the received double received TS data is discarded. When the difference time of this transmission delay time passes, the sequence number storage circuit 1
Since the current sequence number Sr of the received TS data is larger than the previous sequence number Sp stored in 2, the sequence number storage circuit 1
The previous sequence number Sp of 2 is updated each time a time slot is received, and therefore Sr-Sp is always 1, so that the selector 21 selects the 0 system input terminal side and receives the received TS data from the terminal interface 8 Send to.

【0053】一方、二重化伝送路が近距離の方路から遠
距離の方路に切り替わった場合、受信データの欠落が起
こることなり、この場合、順序番号比較回路10での比
較結果は、Sa =Sr −Sp >1となる。しかしこの場
合でも、本実施例装置はこの状態を取りあえず正常な状
態と見なし、セレタク21が0系入力端子側を選択する
ようにして、受信したTSデータを端末インタフェース
8に送出する。そして欠落データに対する処置は端末側
の上位アプリケーションソフトウェアで行う。この場
合、伝送路遅延時間の差分期間が過ぎると、順序番号比
較回路10での比較結果においてSa =Sr −Sp =1
となり、正常動作に復帰する。
On the other hand, when the duplexed transmission path is switched from the short-distance path to the long-distance path, the received data will be lost. In this case, the comparison result in the sequence number comparison circuit 10 is Sa = Sr-Sp> 1. However, even in this case, the apparatus of the present embodiment considers this state as a normal state for the time being, and the select 21 selects the 0-system input terminal side, and sends the received TS data to the terminal interface 8. Then, the processing for the missing data is performed by the upper application software on the terminal side. In this case, when the difference period of the transmission path delay time has passed, Sa = Sr-Sp = 1 in the comparison result of the sequence number comparison circuit 10.
Then, normal operation is restored.

【0054】また、二重化伝送路の送信ノードからの伝
送路距離が等しい場合、方路切替えを行っても、順序番
号比較回路10での比較結果は、Sa =Sr −Sp =1
となり、方路切替えの影響はない。
Further, when the transmission line distances from the transmission nodes of the duplicated transmission line are equal, the comparison result in the sequence number comparison circuit 10 is Sa = Sr -Sp = 1 even if the routes are switched.
Therefore, there is no influence of the route switching.

【0055】次に、送信ノードの順序番号付加回路また
は受信ノードの順序違反判定回路自身に異常がある場合
について説明する。本実施例装置では、回線交換部2で
回線交換を行うために伝送フレームを1フレーム以上蓄
積するので、いずれのノードも最低1フレーム周期以上
の伝送遅延時間を持つ。このため、たとえ送信ノードが
バイパス状態になっている場合でも、伝送路上には必ず
2個以上の伝送フレーム(従ってTSデータ)が存在し
ている。この結果、送信ノードが消し残した周回TSデ
ータがある場合でも、その周回TSデータだけが伝送路
上を周回することはないので、順序番号比較回路10で
Sr =Sp と判定されることが2フレーム周期以上(つ
まり2タイムスロット以上)連続して検出されることは
ない。ゆえに、順序番号比較回路10においてSr =S
p という状態が2周期連続して検出された場合には、異
常検出回路18はそれをFe 入力の2回連続セットによ
って検出し、順序番号付与回路または順序違反判定回路
の異常と判断する。順序番号付与回路または順序違反判
定回路の異常時に受信データを廃棄することは不合理で
あるから、異常検出回路18はアラーム信号ALMを出
力してアンド回路19を閉じ、それによりセレクタ21
は常に0系入力端子側すなわち受信TSデータを選択し
て端末インタフェース8に出力する。
Next, a case will be described in which the order number adding circuit of the transmitting node or the order violation determining circuit of the receiving node itself is abnormal. In the device of the present embodiment, one or more transmission frames are stored for circuit switching in the circuit switching unit 2, so that any node has a transmission delay time of at least one frame period or more. Therefore, even if the transmitting node is in the bypass state, there are always two or more transmission frames (hence TS data) on the transmission path. As a result, even if there is revolving TS data left unerased by the transmitting node, only the revolving TS data does not circulate on the transmission path. Therefore, the sequence number comparison circuit 10 may determine that Sr = Sp in two frames. It is not detected continuously for more than the period (that is, more than 2 time slots). Therefore, in the sequence number comparison circuit 10, Sr = S
When the state of p is detected for two consecutive cycles, the anomaly detection circuit 18 detects it by two consecutive sets of Fe inputs, and determines that the sequence number assigning circuit or the order violation determining circuit is abnormal. Since it is unreasonable to discard the received data when the sequence number assigning circuit or the order violation determining circuit is abnormal, the abnormality detecting circuit 18 outputs the alarm signal ALM and closes the AND circuit 19, thereby causing the selector 21 to operate.
Always selects the 0-system input terminal side, that is, the received TS data and outputs it to the terminal interface 8.

【0056】また、異常検出回路18のFd 入力が2回
連続してセットされた場合には、遠距離の方路から近距
離の方路への切替えが2回連続して行われたことを意味
するが、これは理論的に有り得ないことなので、この場
合も異常検出回路18は順序番号付与回路または順序違
反判定回路の異常と判断し、その時には異常検出回路1
8はアラーム信号ALMを出力してアンド回路19を閉
じ、セレクタ21が常に受信TSデータを選択するよう
にする。このように順序違反判定回路等の異常が検出さ
れた場合には、順序違反判定回路による受信TSデータ
の廃棄機能は無効とされる。
When the Fd input of the abnormality detection circuit 18 is set twice in succession, it means that the switch from the long-distance route to the short-distance route is performed twice in succession. This means that this is theoretically impossible. Therefore, also in this case, the abnormality detection circuit 18 determines that the sequence number assignment circuit or the order violation determination circuit is abnormal, and at that time, the abnormality detection circuit 1
8 outputs the alarm signal ALM to close the AND circuit 19 so that the selector 21 always selects the received TS data. In this way, when an abnormality is detected in the order violation determination circuit or the like, the function of discarding the received TS data by the order violation determination circuit is invalidated.

【0057】[0057]

【発明の効果】以上に説明したように、本発明によれ
ば、送信ノードのバイパス時あるいは受信ノードでの方
路切替え発生時などにも、受信データの重複受信を防止
でき、しかも、システムを一時的にせよ止める必要もな
いので、システムの信頼性向上に寄与することが大き
い。また、送信ノードの順序番号付加回路と受信ノード
の順序違反判定回路の異常を検出して二重受信データの
廃棄機能を無効とすることが可能になり、これも信頼性
の向上に寄与する。
As described above, according to the present invention, it is possible to prevent duplicate reception of received data even when the transmitting node is bypassed or when the receiving node is switched to another route. Since it is not necessary to stop even temporarily, it greatly contributes to the improvement of system reliability. Further, it becomes possible to detect the abnormality in the order number addition circuit of the transmitting node and the order violation judging circuit of the receiving node to invalidate the function of discarding double received data, which also contributes to the improvement of reliability.

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

【図1】本発明に係る原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の実施例装置を示す図である。FIG. 2 is a diagram showing an apparatus according to an embodiment of the present invention.

【図3】実施例装置における順序番号付加回路の構成例
を示す図である。
FIG. 3 is a diagram showing a configuration example of a sequence number adding circuit in the apparatus of the embodiment.

【図4】実施例装置における順序違反判定回路の構成例
を示す図である。
FIG. 4 is a diagram illustrating a configuration example of an order violation determination circuit in the device of the embodiment.

【図5】実施例装置における伝送フレームの構成例を示
す図である。
FIG. 5 is a diagram showing a configuration example of a transmission frame in the device of the embodiment.

【図6】実施例装置における異常検出回路の構成例を示
す図である。
FIG. 6 is a diagram showing a configuration example of an abnormality detection circuit in the apparatus of the embodiment.

【図7】従来の二重化伝送路形態のリング型LANを説
明する図である。
FIG. 7 is a diagram illustrating a conventional ring-type LAN having a duplicated transmission path configuration.

【図8】従来のリング型LANにおける伝送フレームの
構成例を示す図である。
FIG. 8 is a diagram showing a configuration example of a transmission frame in a conventional ring LAN.

【符号の説明】[Explanation of symbols]

1 伝送路インタフェース 2 回線交換部 3 パリティ付加回路 4 受信方路選択回路 5 順序番号付加回路 6 順序違反判定回路 7、8 端末インタフェース 10 順序番号比較回路 11 順序番号抽出回路 12 順序番号格納回路 13 減算回路 14 符号ビット検査回路 15、20、47 オア回路 16、19、45、46 アンド回路 21 セレクタ 22 ダミーTS生成回路 41、42、43、44 D形フリップフロップ 1 Transmission Line Interface 2 Circuit Switching Unit 3 Parity Addition Circuit 4 Reception Route Selection Circuit 5 Sequence Number Addition Circuit 6 Sequence Violation Judgment Circuit 7, 8 Terminal Interface 10 Sequence Number Comparison Circuit 11 Sequence Number Extraction Circuit 12 Sequence Number Storage Circuit 13 Subtraction Circuit 14 Sign bit inspection circuit 15, 20, 47 OR circuit 16, 19, 45, 46 AND circuit 21 Selector 22 Dummy TS generation circuit 41, 42, 43, 44 D-type flip-flop

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】複数のノードをリング状に接続したリング
型ネットワークの受信状態判定方法であって、 送信ノードでは受信ノードに向けて順次に送信するデー
タ単位の各々に送信順序を示す順序番号を付加して送信
し、 受信ノードでは受信したデータ単位に対して前回受信し
たデータ単位の前回順序番号と現在受信処理中のデータ
単位の今回順序番号とを比較し、その比較結果が、該今
回順序番号の示す順序が該前回順序番号の示す順序と同
一または小さくなっている場合に、現在受信処理中のデ
ータ単位が重複受信であると判定するとともに前回順序
番号の更新を停止するようにしたリング型ネットワーク
の受信状態判定方法。
1. A method for determining a reception state of a ring network in which a plurality of nodes are connected in a ring, wherein a transmitting node assigns a sequence number indicating a transmission sequence to each data unit to be sequentially transmitted to the receiving node. At the receiving node, the receiving node compares the previous sequence number of the previously received data unit with the current sequence number of the data unit currently undergoing reception processing, and the comparison result indicates that A ring configured to determine that the data unit currently undergoing the reception process is duplicate reception and stop updating the previous sequence number when the sequence indicated by the number is the same as or smaller than the sequence indicated by the previous sequence number. Method for determining reception status of type network.
【請求項2】該比較結果が、該今回順序番号の示す順序
が該前回順序番号の示す順序よりも2番以上大きい場合
に、該前回順序番号のデータ単位と該今回順序番号のデ
ータ単位の間にデータ単位の受信欠落があると判定する
ようにした請求項1記載のリング型ネットワークの受信
状態判定方法。
2. If the comparison result shows that the sequence indicated by the current sequence number is greater than the sequence indicated by the previous sequence number by 2 or more, the data unit of the previous sequence number and the data unit of the current sequence number are The method according to claim 1, wherein it is determined that there is a reception loss of a data unit between them.
【請求項3】該今回順序番号の示す順序が該前回順序番
号の示す順序と同じとの比較結果が2回以上連続したと
きに、該送信ノードでの順序番号付加機能または該受信
ノードでの比較機能に異常があると判定する請求項1ま
たは2記載のリング型ネットワークの受信状態判定方
法。
3. A sequence number addition function in the transmitting node or a receiving node in the receiving node when the result of comparison that the sequence indicated by the current sequence number is the same as the sequence indicated by the previous sequence number is repeated two or more times. The method for judging the reception state of a ring network according to claim 1, wherein it is judged that the comparison function is abnormal.
【請求項4】該今回順序番号の示す順序が該前回順序番
号の示す順序よりも2番以上大きいとの比較結果が2回
以上連続したときに、該送信ノードでの順序番号付加機
能または該受信ノードでの比較機能に異常があると判定
する請求項1〜3のいずれかに記載のリング型ネットワ
ークの受信状態判定方法。
4. A sequence number addition function at the transmitting node or the sequence number addition function at the transmitting node when the result of comparison that the sequence indicated by the current sequence number is greater than the sequence indicated by the previous sequence number by two or more consecutive times 4. The reception status determination method for a ring network according to claim 1, wherein the comparison function of the reception node is determined to be abnormal.
【請求項5】ノード間を接続するリング状伝送路が二重
化されていてるリング型ネットワークの請求項1〜4の
いずれかに記載の受信状態判定方法。
5. The reception state determination method according to any one of claims 1 to 4, wherein the ring type transmission line connecting the nodes is duplicated in a ring network.
【請求項6】複数のノードをリング状に接続したリング
型ネットワーク伝送装置であって、 送信ノードは、受信ノードに向けて順次に送信するデー
タ単位の各々に送信順序を示す順序番号を付加する順序
番号付加手段を備え、 受信ノードは、受信したデータ単位に対して前回受信し
たデータ単位の前回順序番号と現在受信処理中のデータ
単位の今回順序番号とを比較し、その比較結果が、該今
回順序番号の示す順序が該前回順序番号の示す順序と同
一または小さくなっている場合に、現在受信処理中のデ
ータ単位が重複受信であると判定する比較手段と、該比
較手段で重複受信であると判定されたデータ単位を廃棄
する廃棄手段と、該比較手段で重複受信あると判定され
たときに前回順序番号の更新を停止する手段とを備えた
リング型ネットワーク伝送装置。
6. A ring-type network transmission device in which a plurality of nodes are connected in a ring shape, wherein a transmitting node adds a sequence number indicating a transmission sequence to each data unit to be sequentially transmitted to a receiving node. The receiving node is provided with a sequence number adding means, and the receiving node compares the previous sequence number of the previously received data unit with the current sequence number of the data unit currently undergoing the reception process for the received data unit, and the comparison result indicates that If the sequence indicated by the current sequence number is the same as or smaller than the sequence indicated by the previous sequence number, the comparison unit that determines that the data unit currently undergoing the reception process is the duplicate reception, and the comparison unit determines that the duplicate reception is performed. A ring type network having a discarding means for discarding the data unit determined to be present and a means for stopping the updating of the previous sequence number when the comparison means determines that there is duplicate reception. Work transmission equipment.
【請求項7】該比較結果が、該今回順序番号の示す順序
が該前回順序番号の示す順序よりも2番以上大きい場合
に、該前回順序番号のデータ単位と該今回順序番号のデ
ータ単位の間にデータ単位の受信欠落があると判定する
ようにした請求項6記載のリング型ネットワーク伝送装
置。
7. If the comparison result shows that the sequence indicated by the current sequence number is greater than the sequence indicated by the previous sequence number by two or more, the data unit of the previous sequence number and the data unit of the current sequence number are 7. The ring type network transmission device according to claim 6, wherein it is determined that there is a reception loss of a data unit between them.
【請求項8】該比較手段による該今回順序番号の示す順
序が該前回順序番号の示す順序と同じとの比較結果が2
回以上連続したときに、該送信ノードでの順序番号付加
機能または該受信ノードでの比較機能に異常があると判
定する異常検出手段と、 該異常検出手段で異常が検出されたときに該廃棄手段の
廃棄機能を無効化する無効化手段とを更に備えた請求項
6または7記載のリング型ネットワーク伝送装置。
8. The result of comparison by the comparing means in which the order indicated by the current sequence number is the same as the sequence indicated by the previous sequence number is 2
Abnormality detection means for determining that there is an abnormality in the sequence number addition function at the transmission node or the comparison function at the reception node when the abnormality detection means detects the abnormality when the abnormality detection means detects the abnormality. 8. The ring type network transmission device according to claim 6, further comprising invalidating means for invalidating the discarding function of the means.
【請求項9】該比較手段による該今回順序番号の示す順
序が該前回順序番号の示す順序よりも2番以上大きいと
の比較結果が2回以上連続したときに、該送信ノードで
の順序番号付加機能または該受信ノードでの比較機能に
異常があると判定する第2の異常検出手段と、 該第2の異常検出手段で異常が検出されたときに該廃棄
手段の廃棄機能を無効化する無効化手段とを更に備えた
請求項6〜8のいずれかに記載のリング型ネットワーク
伝送装置。
9. The sequence number at the transmitting node when the comparison result by the comparing means that the sequence indicated by the current sequence number is greater than the sequence indicated by the previous sequence number by two or more consecutive times. Second abnormality detecting means for determining that the additional function or the comparing function at the receiving node has an abnormality, and invalidating the discarding function of the discarding means when the second abnormality detecting means detects an abnormality. 9. The ring network transmission device according to claim 6, further comprising invalidating means.
【請求項10】ノード間を接続するリング状伝送路が二
重化されていてる請求項6〜9のいずれかに記載のリン
グ型ネットワーク伝送装置。
10. The ring-type network transmission device according to claim 6, wherein the ring-shaped transmission line connecting the nodes is duplicated.
【請求項11】送信側回路に、受信ノードに向けて順次
に送信するデータ単位の各々に送信順序を示す順序番号
を付加する順序番号付加手段を備え、 受信側回路に、 ネットワークから前回受信したデータ単位の順序番号を
前回順序番号として保持する順序番号格納手段と、 現在受信処理中のデータ単位の順序番号を今回順序番号
として該順序番号格納部の前回順序番号と比較し、その
比較結果を、該今回順序番号の示す順序が該前回順序番
号の示す順序よりも1番大きい場合、該今回順序番号の
示す順序が該前回順序番号の示す順序よりも2番以上大
きい場合、および該今回順序番号の示す順序が該前回順
序番号の示す順序と同一または小さくなっている場合に
分けて検出する順序番号比較手段と、 該比較手段の比較結果が該今回順序番号の示す順序が該
前回順序番号の示す順序よりも1番以上大きい場合であ
ったときに該今回順序番号によって該順序番号格納手段
の前回順序番号を更新する更新手段と、 該比較手段の比較結果が該今回順序番号の示す順序が該
前回順序番号の示す順序と同一または小さくなっている
場合であったときに現在受信処理中のデータ単位を重複
受信データとして廃棄する廃棄手段とを備えたリング型
ネットワークのノード装置。
11. The transmission side circuit is provided with a sequence number adding means for adding a sequence number indicating a transmission order to each of the data units to be sequentially transmitted to the reception node, and the reception side circuit previously received from the network. A sequence number storage means for holding the sequence number of the data unit as the previous sequence number, and the sequence number of the data unit currently undergoing the reception process as the current sequence number are compared with the previous sequence number in the sequence number storage section, and the comparison result is compared. , If the sequence indicated by the current sequence number is the largest than the sequence indicated by the previous sequence number, if the sequence indicated by the current sequence number is larger than the sequence indicated by the previous sequence number by 2 or more, and the current sequence is The sequence number comparing means for separately detecting when the sequence indicated by the number is the same as or smaller than the sequence indicated by the previous sequence number, and the comparison result of the comparing means is the current sequence number. When the order indicated by is larger than the order indicated by the previous sequence number by at least one, the updating means for updating the previous sequence number of the sequence number storage means by the current sequence number, and the comparison result of the comparing means. Is a ring having a discarding unit that discards the data unit currently undergoing reception processing as duplicate reception data when the sequence indicated by the current sequence number is the same as or smaller than the sequence indicated by the previous sequence number. Type node device.
【請求項12】該比較手段による該今回順序番号の示す
順序が該前回順序番号の示す順序と同じとの比較結果が
2回以上連続したとき、あるいは該比較手段による該今
回順序番号の示す順序が該前回順序番号の示す順序より
も2番以上大きいとの比較結果が2回以上連続したとき
に、送信ノードでの順序番号付加機能または該受信ノー
ドでの順序番号比較機能に異常があると判定する異常検
出手段と、 該異常検出手段で異常が検出されたときに該廃棄手段の
廃棄機能を無効化する無効化手段とを更に備えた請求項
11記載のリング型ネットワークのノード装置。
12. When the comparison result that the order indicated by the current sequence number by the comparing means is the same as the sequence indicated by the previous sequence number is consecutive two or more times, or the sequence indicated by the current sequence number by the comparing means. Is larger than the sequence indicated by the previous sequence number by two or more consecutive times, and the sequence number adding function at the transmitting node or the sequence number comparing function at the receiving node is abnormal. 12. The node device of the ring network according to claim 11, further comprising: an abnormality detecting unit for determining; and an invalidating unit for invalidating the discarding function of the discarding unit when the abnormality detecting unit detects an abnormality.
JP25539294A 1994-10-20 1994-10-20 Ring state reception method and transmission apparatus for ring network Expired - Fee Related JP3431310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25539294A JP3431310B2 (en) 1994-10-20 1994-10-20 Ring state reception method and transmission apparatus for ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25539294A JP3431310B2 (en) 1994-10-20 1994-10-20 Ring state reception method and transmission apparatus for ring network

Publications (2)

Publication Number Publication Date
JPH08125679A true JPH08125679A (en) 1996-05-17
JP3431310B2 JP3431310B2 (en) 2003-07-28

Family

ID=17278131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25539294A Expired - Fee Related JP3431310B2 (en) 1994-10-20 1994-10-20 Ring state reception method and transmission apparatus for ring network

Country Status (1)

Country Link
JP (1) JP3431310B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009077399A (en) * 2007-09-20 2009-04-09 Fujitsu Ltd Broadcast signal transmission system and method
US7965658B2 (en) 2008-02-04 2011-06-21 Nec Corporation Shortening of communication cutoff time
JP2015228631A (en) * 2014-06-03 2015-12-17 株式会社日立製作所 Distributed control device
CN112532421A (en) * 2020-10-27 2021-03-19 南京国电南自电网自动化有限公司 FPGA-based channel state online sensing and multiplexing unit, device and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6606565B2 (en) 2018-01-18 2019-11-13 本田技研工業株式会社 Ring network and robot equipped with the same

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009077399A (en) * 2007-09-20 2009-04-09 Fujitsu Ltd Broadcast signal transmission system and method
US7965658B2 (en) 2008-02-04 2011-06-21 Nec Corporation Shortening of communication cutoff time
JP2015228631A (en) * 2014-06-03 2015-12-17 株式会社日立製作所 Distributed control device
CN112532421A (en) * 2020-10-27 2021-03-19 南京国电南自电网自动化有限公司 FPGA-based channel state online sensing and multiplexing unit, device and method
CN112532421B (en) * 2020-10-27 2023-12-22 南京国电南自电网自动化有限公司 Channel state on-line sensing and multiplexing unit, device and method based on FPGA

Also Published As

Publication number Publication date
JP3431310B2 (en) 2003-07-28

Similar Documents

Publication Publication Date Title
KR100216857B1 (en) Content Address Memory Device
US5790799A (en) System for sampling network packets by only storing the network packet that its error check code matches with the reference error check code
US5768300A (en) Interconnect fault detection and localization method and apparatus
JPS60148249A (en) Message removing method
EP3994849B1 (en) Packet or frame replication and elimination with explicit or implicit notification to reset sequence number recovery
EP0469812A1 (en) Detection of duplicate alias addresses
CN101611615B (en) Redundant frame filtering in network nodes
WO1984002243A1 (en) Speed independent selector switch employing m-out-of-n codes
CA2708737A1 (en) Method of and device for recovering from a root bridge failure
KR20130108879A (en) Method for protection switching in ethernet ring network
US7020809B2 (en) System and method for utilizing spare bandwidth to provide data integrity over a bus
CN101180838B (en) Communication device and switching processing device
JP2017118438A (en) Packet transmission program, information processing device and failure detection method
US20030023921A1 (en) Variable width parallel cyclical redundancy check
CN111756588B (en) Communication link detection method and related device
JP3431310B2 (en) Ring state reception method and transmission apparatus for ring network
US20040243729A1 (en) Network processor having cyclic redundancy check implemented in hardware
JP2521031B2 (en) Message communication method
CN113660677A (en) Maximum error independent path calculation method of weighted time-varying network under consumption limit
JP3263307B2 (en) Parity bit match adjustment method and apparatus
CN103684719A (en) Network dual-redundancy hot swap method independent of platforms
CN109495311B (en) Network fault detection method and device
EP4277206A1 (en) Securing network access using dynamically generated baud-rates
CN109450765A (en) A kind of collection method and device of topology information
CN113542012B (en) Fault detection method, fault detection device and electronic equipment

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030506

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080523

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090523

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090523

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100523

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100523

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees