[go: up one dir, main page]

JP2003234747A - Duplex ring network system and ring selecting method - Google Patents

Duplex ring network system and ring selecting method

Info

Publication number
JP2003234747A
JP2003234747A JP2002224983A JP2002224983A JP2003234747A JP 2003234747 A JP2003234747 A JP 2003234747A JP 2002224983 A JP2002224983 A JP 2002224983A JP 2002224983 A JP2002224983 A JP 2002224983A JP 2003234747 A JP2003234747 A JP 2003234747A
Authority
JP
Japan
Prior art keywords
ring
node
health check
data packet
rings
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
JP2002224983A
Other languages
Japanese (ja)
Other versions
JP3983621B2 (en
Inventor
Keiichi Soda
圭一 曽田
Katsuyoshi Takahashi
克佳 高橋
Yasutaka Nekado
康隆 根角
Toshihiro Shikama
敏弘 鹿間
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2002224983A priority Critical patent/JP3983621B2/en
Publication of JP2003234747A publication Critical patent/JP2003234747A/en
Application granted granted Critical
Publication of JP3983621B2 publication Critical patent/JP3983621B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To switch a ring for transmission or reception at high speed for the purpose of avoiding the fault of a transmission line or the like in a plurality of nodes comprising a duplex ring network. <P>SOLUTION: In a plurality of nodes 2-1 to 2-n, a health check packet recorded with a remaining time is periodically transmitted to both rings and repeated along with the rings after subtracting the remaining time of a health check packet arriving from the other node. In the process discarding the health check packet arriving from the present node, on the other hand, the arrival/non-arrival of the health check packet from the other node is monitored for each transmission source node and when the packets arrive from both rings, the ring with the arriving health check packet having a longer remaining time is selected as a receiving ring. When the packet arrives from only one ring, the relevant one ring is selected as the receiving ring. Thus, the relationship of the receiving ring to the transmission source node is found and held to be updated and according to these held contents, data packets are transmitted and received. <P>COPYRIGHT: (C)2003,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、相反する方向性
を持つ1次リングと2次リングの二重リングからなる伝
送媒体または回線を介して複数のノードが接続される二
重リングネットワークシステムおよび複数のノードが伝
送路等の障害を検出し、障害を回避するために、送信ま
たは受信するリングを切り替えるリング選択方法に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. The present invention relates to a ring selection method in which a plurality of nodes detect a failure such as a transmission path and switch a ring for transmission or reception in order to avoid the failure.

【0002】[0002]

【従来の技術】相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムとしては、従来、例えば特開平8−181710
号公報(リング型ATMネットワークシステム)に開示
されたものが知られている。以下、図34、図35を参
照して概要を説明する。なお、図34は、従来の二重リ
ングネットワークシステムの構成例である。図35は、
図34に示す従来のノードの内部構成を示すブロック図
である。
2. Description of the Related Art Conventionally, for example, a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions has been known. Kaihei 8-181710
The one disclosed in Japanese Laid-Open Patent Publication (ring type ATM network system) is known. The outline will be described below with reference to FIGS. 34 and 35. Note that FIG. 34 is a configuration example of a conventional dual ring network system. FIG. 35 shows
It is a block diagram which shows the internal structure of the conventional node shown in FIG.

【0003】図34において、二重リングネットワーク
システムは、相反する方向性を持つ1次リング151と
2次リング152とからなる二重リング153と、二重
リング153を伝送媒体または回線として相互間が接続
される複数のノード154−1〜154−nとで構成さ
れる。この従来の二重リングネットワークシステムで
は、任意のノード間で、1次リング151または2次リ
ング152を介して、データパケットの送受が行われる
ようになっている。
In FIG. 34, the dual ring network system includes a dual ring 153 composed of a primary ring 151 and a secondary ring 152 having opposite directions, and the dual ring 153 as a transmission medium or line. Are connected to a plurality of nodes 154-1 to 154-n. In this conventional dual ring network system, data packets are transmitted and received between arbitrary nodes via the primary ring 151 or the secondary ring 152.

【0004】図35に示すように、ノード200は、リ
ングインタフェース部(リングI/F部)201,20
2とスイッチ部203とデータパケット処理部204と
を備えている。リングI/F部201,202は、リン
グポート205,206に接続されるリング回線(1次
リング151と2次リング152)を終端する。データ
パケット処理部204は、スイッチ部203から渡され
たデータパケットを処理し、またスイッチ部203に渡
すデータパケットを処理する。
As shown in FIG. 35, the node 200 includes a ring interface section (ring I / F section) 201, 20.
2, a switch unit 203, and a data packet processing unit 204. The ring I / F units 201 and 202 terminate the ring lines (the primary ring 151 and the secondary ring 152) connected to the ring ports 205 and 206. The data packet processing unit 204 processes the data packet passed from the switch unit 203, and also processes the data packet passed to the switch unit 203.

【0005】スイッチ部203は、データパケットに記
された宛先ノードIDを参照し、以下に示す(1)〜
(3)のようにパケット交換を行う。(1)リングI/
F部201,202から到着したデータパケットが自ノ
ード宛の場合、データパケット処理部204に渡す。
(2)リングI/F部201,202の一方から到着し
たデータパケットが他ノード宛の場合、リングI/F部
201,202の他方に渡す。つまり、中継する。
(3)データパケット処理部204から到着したデータ
パケットをリングI/F部201,202に渡し、二重
リング153に送出させる。
The switch unit 203 refers to the destination node ID described in the data packet, and the following (1) to
Packet exchange is performed as in (3). (1) Ring I /
When the data packet arriving from the F units 201 and 202 is addressed to its own node, it is passed to the data packet processing unit 204.
(2) When a data packet arriving from one of the ring I / F units 201 and 202 is addressed to another node, it is passed to the other of the ring I / F units 201 and 202. That is, relay it.
(3) The data packet arriving from the data packet processing unit 204 is passed to the ring I / F units 201 and 202 and sent to the dual ring 153.

【0006】従来では、各ノードは、リング上のノード
接続順序と自ノードの位置を記したデータベースを備え
ている。そして、各ノードは、そのデータベースに基づ
き、ノードの組み合わせ毎に、例えば、経由ノード数
(以下、「ホップ数」という)の少ないリングを記した
送信リング選択テーブルを予め構築するようにしてい
る。
[0006] Conventionally, each node has a database in which the node connection order on the ring and the position of its own node are described. Then, based on the database, each node preliminarily constructs, for each combination of nodes, a transmission ring selection table in which a ring with a small number of transit nodes (hereinafter, referred to as “hop number”) is described.

【0007】次に、動作を説明する。両リングが共に正
常である場合には、各送信元ノードは、送信リング選択
テーブルに基づき一方のリングにデータパケットを送出
する。そして、伝送路または隣接ノードの障害を検出し
たノードは、ネットワーク管理パケットを他の全ノード
に通知する。このネットワーク管理パケットを受け取っ
た各送信元ノードは、障害を回避するように送信リング
選択テーブルを書き換えることを行い、それに基づき一
方のリングにデータパケットを送出するようにしてい
る。
Next, the operation will be described. When both rings are normal, each source node sends a data packet to one ring based on the transmission ring selection table. Then, the node that has detected the failure of the transmission path or the adjacent node notifies the network management packet to all the other nodes. Each transmission source node that has received this network management packet rewrites the transmission ring selection table so as to avoid a failure, and based on this, sends the data packet to one ring.

【0008】[0008]

【発明が解決しようとする課題】しかし、従来の二重リ
ングネットワークシステムでのリング選択方法では、以
下の(1)〜(3)の問題があるので、ハードウェア処
理による高速化が困難である。
However, the conventional ring selection method in the dual ring network system has the following problems (1) to (3), so that it is difficult to increase the speed by hardware processing. .

【0009】(1)各ノードに、リング上のノード接続
順序と自ノードの位置を記したデータベースを予め設定
しておく必要があるので、ノードの移設、増設、削除等
の都度、各ノードのデータベースを手動で更新しなけれ
ばならない。
(1) Since it is necessary to preset in each node a database in which the node connection order on the ring and the position of the own node are set in advance, each time the node is relocated, added or deleted, etc. You have to manually update the database.

【0010】(2)ホップ数の少ないリングを選択して
送出する場合に、各ノードは、ノードの組み合わせ毎
に、ホップ数の少ないリングを記した送信リング選択テ
ーブルを予め生成しておく必要があるので、ノードの移
設、増設、削除等の際、送信リング選択テーブルの更新
が複雑である。
(2) When selecting and transmitting a ring with a small number of hops, each node needs to previously generate a transmission ring selection table in which a ring with a small number of hops is described for each combination of nodes. Therefore, updating the transmission ring selection table is complicated when the nodes are relocated, added or deleted.

【0011】(3)ネットワーク管理パケットの到着に
より、伝送路またはノードの障害を認識した各ノード
は、上記データベースを参照し、影響のある経路を抽出
し、リング選択テーブルに反映する必要があり、処理が
複雑である。
(3) Each node recognizing a failure of the transmission line or the node due to the arrival of the network management packet needs to refer to the above-mentioned database, extract the affected path, and reflect it in the ring selection table. Processing is complicated.

【0012】以上のように、従来のリング選択方法で
は、データベースや送信リング選択テーブルの更新は複
雑であり、ソフトウェア処理が適切であるので、ハード
ウェア処理による高速化が困難である。
As described above, in the conventional ring selection method, updating of the database and the transmission ring selection table is complicated, and the software processing is appropriate, so that it is difficult to speed up by the hardware processing.

【0013】この発明は上記に鑑みてなされたもので、
伝送路等の障害が発生した場合に、各ノードが送信また
は受信するリングを高速に切り替える機構を備えた二重
リングネットワークシステムおよびリング選択方法を得
ることを目的とする。
The present invention has been made in view of the above,
An object of the present invention is to obtain a dual ring network system and a ring selection method which are provided with a mechanism for rapidly switching the ring that each node transmits or receives when a failure occurs in a transmission line or the like.

【0014】[0014]

【課題を解決するための手段】上記の目的を達成するた
めに、この発明にかかる二重リングネットワークシステ
ムは、相反する方向性を持つ1次リングと2次リングの
二重リングからなる伝送媒体または回線を介して複数の
ノードが接続される二重リングネットワークシステムに
おいて、前記複数のノードは、残存時間を記したヘルス
チェックパケットを両リングに周期的に送信し、到着し
た他ノード発ヘルスチェックパケットの残存時間を減算
してリングに沿って中継する一方、到着した自ノード発
ヘルスチェックパケットを廃棄するヘルスチェックパケ
ット送受信手段と、前記ヘルスチェックパケットが送受
信される過程で、送信元ノード毎に他ノード発ヘルスチ
ェックパケットの到着/未着を監視し、両リングから到
着した場合には、残存時間のより多いヘルスチェックパ
ケットが到着したリングを前記他ノード発データパケッ
トの受信リングとして選択し、一方のリングのみから到
着した場合には、当該一方のリングを前記他ノード発デ
ータパケットの受信リングとして選択することにより、
送信元ノードに対する受信リングの関係を求め更新可能
に保持する受信リング選択手段と、データパケットを両
リングに送信し、到着した他ノード宛データパケットを
リングに沿って中継する一方、到着した自ノード宛デー
タパケットを前記受信リング選択手段の保持内容に基づ
き受信または廃棄するデータパケット送受信手段とを備
えたことを特徴とする。
In order to achieve the above object, a dual ring network system according to the present invention is a transmission medium comprising a dual ring of a primary ring and a secondary ring having opposite directions. Alternatively, in a double ring network system in which a plurality of nodes are connected via a line, the plurality of nodes periodically transmits a health check packet indicating the remaining time to both rings, and a health check originating from another node arrives. While subtracting the remaining time of the packet and relaying along the ring, the health check packet transmitting / receiving means for discarding the health check packet originating from the own node, and the process of transmitting / receiving the health check packet, for each source node The arrival / non-arrival of health check packets originating from other nodes is monitored, and when they arrive from both rings, When the health check packet with a longer lifetime arrives, the ring is selected as the receiving ring for the data packet originating from the other node, and if it arrives from only one ring, that one ring receives the data packet originating from the other node. By choosing as a ring,
Receiving ring selecting means for determining the relationship of the receiving ring with respect to the source node and holding it updatable, transmitting data packets to both rings, relaying data packets addressed to other nodes along the rings, and arriving at its own node Data packet transmitting / receiving means for receiving or discarding the addressed data packet based on the contents held in the receiving ring selecting means.

【0015】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信手段にて、残存時間を記したヘ
ルスチェックパケットが両リングに周期的に送信され、
到着した他ノード発ヘルスチェックパケットは残存時間
を減算してリングに沿って中継される一方、到着した自
ノード発ヘルスチェックパケットは廃棄することが行わ
れる。このようなヘルスチェックパケットが送受信され
る過程で、受信リング選択手段にて、送信元ノード毎に
他ノード発ヘルスチェックパケットの到着/未着を監視
し、両リングから到着した場合には、残存時間のより多
いヘルスチェックパケットが到着したリングを前記他ノ
ード発データパケットの受信リングとして選択し、一方
のリングのみから到着した場合には、当該一方のリング
を前記他ノード発データパケットの受信リングとして選
択することにより、送信元ノードに対する受信リングの
関係が求められ更新可能に保持される。この状態で、デ
ータパケット送受信手段にて、データパケットが両リン
グに送信され、到着した他ノード宛データパケットがリ
ングに沿って中継される一方、到着した自ノード宛デー
タパケットが前記受信リング選択手段の保持内容に基づ
き受信または廃棄することが行われる。
According to the present invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet indicating the remaining time to both rings,
The arrived health check packet originating from another node is relayed along the ring after subtracting the remaining time, while the health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the receiving ring selection means monitors the arrival / non-arrival of the health check packet originating from another node for each source node, and when it arrives from both rings, it remains. The ring in which the health check packet with a longer time arrives is selected as the receiving ring for the data packet originating from the other node, and when it arrives from only one ring, the one ring is the receiving ring for the data packet originating from the other node. By selecting as, the relationship of the receiving ring with respect to the source node is obtained and held so that it can be updated. In this state, the data packet transmitting / receiving means transmits the data packet to both rings, and the arriving data packet addressed to another node is relayed along the ring, while the arriving data packet addressed to the own node is transmitted to the receiving ring selecting means. It is received or abandoned based on the content held in.

【0016】つぎの発明にかかる二重リングネットワー
クシステムは、相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、前記複数のノードは、ヘルスチェック
パケットを両リングに周期的に送信し、到着した他ノー
ド発ヘルスチェックパケットをリングに沿って中継する
一方、到着した自ノード発ヘルスチェックパケットを廃
棄するヘルスチェックパケット送受信手段と、前記ヘル
スチェックパケットが送受信される過程で、送信元ノー
ド毎に他ノード発ヘルスチェックパケットの到着/未着
を監視し、両リングから到着した場合には、ヘルスチェ
ックパケットが先に到着したリングを前記他ノード発デ
ータパケットの受信リングとして選択し、一方のリング
のみから到着した場合には、当該一方のリングを前記他
ノード発データパケットの受信リングとして選択するこ
とにより、送信元ノードに対する受信リングの関係を求
め更新可能に保持する受信リング選択手段と、データパ
ケットを両リングに送信し、到着した他ノード宛データ
パケットをリングに沿って中継する一方、到着した自ノ
ード宛データパケットを前記受信リング選択手段の保持
内容に基づき受信または廃棄するデータパケット送受信
手段とを備えたことを特徴とする。
A dual ring network system according to the next invention is a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. In the ring network system, the plurality of nodes periodically transmits a health check packet to both rings, relays the arrived health check packet from another node along the ring, and receives the arrived health check packet from its own node. In the process of transmitting / receiving the health check packet with the discarding health check packet transmitting / receiving means, arrival / non-arrival of the health check packet originating from another node is monitored for each source node, and when the health check packet arrives from both rings, The ring in which the check packet arrived first received the data packet originating from the other node. When it is selected as a ring and arrives from only one ring, the one ring is selected as a receiving ring of the data packet originating from the other node, and the relationship of the receiving ring with respect to the transmission source node is obtained and held as updatable. Receiving ring selecting means for transmitting data packets to both rings and relaying the arriving data packet addressed to another node along the ring, while arriving the data packet addressed to its own node based on the content held by the receiving ring selecting means. And a data packet transmitting / receiving unit for receiving or discarding.

【0017】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信手段にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットがリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、受信リング選択手段にて、
送信元ノード毎に他ノード発ヘルスチェックパケットの
到着/未着を監視し、両リングから到着した場合には、
ヘルスチェックパケットが先に到着したリングを前記他
ノード発データパケットの受信リングとして選択し、一
方のリングのみから到着した場合には、当該一方のリン
グを前記他ノード発データパケットの受信リングとして
選択することにより、送信元ノードに対する受信リング
の関係が求められ更新可能に保持される。この状態で、
データパケット送受信手段にて、データパケットが両リ
ングに送信され、到着した他ノード宛データパケットは
リングに沿って中継される一方、到着した自ノード宛デ
ータパケットは前記受信リング選択手段の保持内容に基
づき受信または廃棄することが行われる。
According to the present invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the receiving ring selecting means,
The arrival / non-arrival of health check packets originating from other nodes is monitored for each source node, and when they arrive from both rings,
The ring in which the health check packet arrives first is selected as the receiving ring for the data packet originating from the other node, and when it arrives from only one ring, the one ring is selected as the receiving ring for the data packet originating from the other node. By doing so, the relationship of the receiving ring with respect to the transmission source node is obtained and held so that it can be updated. In this state,
The data packet transmitting / receiving means transmits the data packet to both rings, and the arriving data packet addressed to another node is relayed along the ring, while the arriving data packet addressed to the own node is stored in the receiving ring selection means. It is received or discarded based on the above.

【0018】つぎの発明にかかる二重リングネットワー
クシステムは、相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、前記複数のノードは、残存時間を記し
たヘルスチェックパケットを両リングに周期的に送信
し、到着した他ノード発ヘルスチェックパケットの残存
時間を減算してリングに沿って中継する一方、到着した
自ノード発ヘルスチェックパケットを廃棄するヘルスチ
ェックパケット送受信手段と、前記ヘルスチェックパケ
ットが送受信される過程で、送信元ノード毎にヘルスチ
ェックパケットの到着/未着を監視し、自ノード発ヘル
スチェックパケットが両リングから到着した場合には、
送信ノード毎に残存時間のより少ないヘルスチェックパ
ケットが到着したリングを前記他ノードが宛先ノードで
あるデータパケットの送信リングとして選択し、一方の
リングのみから到着した場合には、当該一方のリングを
全宛先ノードに共通の送信リングとして選択し、両リン
グから到着しない場合には、両リングを全宛先ノードに
共通の送信リングとして選択することにより、宛先ノー
ドに対する送信リングの関係を求め更新可能に保持する
送信リング選択手段と、データパケットを前記送信リン
グ選択手段の保持内容に基づき両リングに送信し、到着
した他ノード宛データパケットをリングに沿って中継す
る一方、到着した自ノード宛データパケットを受信する
データパケット送受信手段とを備えたことを特徴とす
る。
A dual ring network system according to the next invention is a dual ring network system in which a plurality of nodes are connected via a transmission medium or line consisting of a primary ring and a secondary ring having opposite directions. In the ring network system, the plurality of nodes periodically transmit a health check packet indicating the remaining time to both rings, subtract the remaining time of the arrived health check packet from another node, and relay the health check packet along the ring. On the other hand, the arrival / non-arrival of the health check packet is monitored for each source node in the process of transmitting / receiving the health check packet with the health check packet transmitting / receiving means for discarding the health check packet originating from the own node. If the outgoing health check packet arrives from both rings,
The ring where the health check packet with less remaining time arrives for each sending node is selected as the sending ring of the data packet whose other node is the destination node, and when it arrives from only one ring, the other ring is selected. If it is selected as the transmission ring common to all destination nodes and if it does not arrive from both rings, both rings are selected as the transmission ring common to all destination nodes, and the relationship of the transmission ring to the destination node can be obtained and updated. A transmission ring selecting means to hold and a data packet are transmitted to both rings based on the contents held by the transmission ring selecting means, and a arriving data packet addressed to another node is relayed along the ring, while a arriving data packet addressed to its own node. And a data packet transmitting / receiving unit for receiving the packet.

【0019】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信手段にて、残存時間を記したヘ
ルスチェックパケットが両リングに周期的に送信され、
到着した他ノード発ヘルスチェックパケットは残存時間
を減算してリングに沿って中継される一方、到着した自
ノード発ヘルスチェックパケットは廃棄することが行わ
れる。このようなヘルスチェックパケットが送受信され
る過程で、テーブル生成手段にて、送信元ノード毎にヘ
ルスチェックパケットの到着/未着を監視し、自ノード
発ヘルスチェックパケットが両リングから到着した場合
には、送信ノード毎に残存時間のより少ないヘルスチェ
ックパケットが到着したリングを前記他ノードが宛先ノ
ードである送信リングとして選択し、一方のリングのみ
から到着した場合には、当該一方のリングを前記他ノー
ドが宛先ノードである送信リングとして選択し、両リン
グから到着しない場合には、両リングを全宛先ノードに
共通の送信リングとして選択することにより、宛先ノー
ドに対する送信リングの関係が求められ更新可能に保持
される。この状態で、データパケット送受信手段にて、
データパケットが前記送信リング選択手段の保持内容に
基づき両リングに送信され、到着した他ノード宛データ
パケットはリングに沿って中継される一方、到着した自
ノード宛データパケットは受信される。
According to the present invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet indicating the remaining time to both rings,
The arrived health check packet originating from another node is relayed along the ring after subtracting the remaining time, while the health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the table generation means monitors the arrival / non-arrival of the health check packet for each source node, and when the health check packet originating from the own node arrives from both rings. Selects a ring on which a health check packet with a shorter remaining time arrives for each transmission node as the transmission ring whose other node is the destination node, and when it arrives from only one ring, the one ring is If another node selects the transmission ring as the destination node and does not arrive from both rings, select both rings as the transmission ring common to all destination nodes, and the relationship of the transmission ring to the destination node is obtained and updated. Retained as possible. In this state, the data packet transmitting / receiving means
The data packet is transmitted to both rings based on the content held by the transmission ring selection means, and the arrived data packet addressed to another node is relayed along the ring, while the arrived data packet addressed to its own node is received.

【0020】つぎの発明にかかる二重リングネットワー
クシステムは、相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、前記複数のノードは、ヘルスチェック
パケットを両リングに周期的に送信し、到着した他ノー
ド発ヘルスチェックパケットをリングに沿って中継する
一方、到着した自ノード発ヘルスチェックパケットを廃
棄するヘルスチェックパケット送受信手段と、前記ヘル
スチェックパケットが送受信される過程で、送信元ノー
ド毎にヘルスチェックパケットの到着/未着を監視し、
自ノード発ヘルスチェックパケットが両リングから到着
した場合には、送信ノード毎にヘルスチェックパケット
が後に到着したリングを前記他ノードが宛先ノードであ
るデータパケットの送信リングとして選択し、一方のリ
ングのみから到着した場合には、当該一方のリングを全
宛先ノードに共通の送信リングとして選択し、両リング
から到着しない場合には、両リングを全宛先ノードに共
通の送信リングとして選択することにより、宛先ノード
に対する送信リングの関係を求め更新可能に保持する送
信リング選択手段と、データパケットを前記送信リング
選択手段の保持内容に基づき両リングに送信し、到着し
た他ノード宛データパケットをリングに沿って中継する
一方、到着した自ノード宛データパケットを受信するデ
ータパケット送受信手段とを備えたことを特徴とする。
A dual ring network system according to the next invention is a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. In the ring network system, the plurality of nodes periodically transmits a health check packet to both rings, relays the arrived health check packet from another node along the ring, and receives the arrived health check packet from its own node. The arrival / non-arrival of the health check packet is monitored for each source node in the process of transmitting and receiving the health check packet to be discarded and the health check packet.
When the health check packet originated from the own node arrives from both rings, the ring where the health check packet arrives later for each transmitting node is selected as the transmitting ring of the data packet whose destination node is the other node, and only one ring is selected. If it arrives from, select the one ring as a transmission ring common to all destination nodes, and if it does not arrive from both rings, by selecting both rings as a transmission ring common to all destination nodes, A transmission ring selection unit that obtains the relationship of the transmission ring with respect to the destination node and holds it so that it can be updated, and a data packet is transmitted to both rings based on the contents held by the transmission ring selection unit. Data packet transmission / reception that receives data packets addressed to its own node while relaying Characterized by comprising a means.

【0021】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信手段にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットはリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、送信リング選択手段にて、
送信元ノード毎にヘルスチェックパケットの到着/未着
を監視し、自ノード発ヘルスチェックパケットが両リン
グから到着した場合には、送信ノード毎にヘルスチェッ
クパケットが後に到着したリングを自ノード発前記他ノ
ード宛データパケットの送信リングとして選択し、一方
のリングのみから到着した場合には、当該一方のリング
を全宛先ノードに共通の送信リングとして選択し、両リ
ングから到着しない場合には、両リングを全宛先ノード
に共通の送信リングとして選択することにより、宛先ノ
ードに対する送信リングの関係が求められ更新可能に保
持される。この状態で、データパケット送受信手段に
て、データパケットが前記送信リング選択手段の保持内
容に基づき両リングに送信され、到着した他ノード宛デ
ータパケットはリングに沿って中継される一方、到着し
た自ノード宛データパケットは受信される。
According to the present invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means
The arrival / non-arrival of the health check packet is monitored for each source node. If it is selected as a transmission ring for data packets addressed to another node and arrives from only one ring, that one ring is selected as a transmission ring common to all destination nodes. By selecting the ring as the transmission ring common to all destination nodes, the relationship of the transmission ring to the destination node is determined and maintained updatable. In this state, the data packet transmitting / receiving means transmits the data packet to both rings based on the content held by the transmission ring selecting means, and the arriving data packet addressed to the other node is relayed along the ring, while the arriving self packet arrives. The data packet addressed to the node is received.

【0022】つぎの発明にかかる二重リングネットワー
クシステムは、上記の発明において、前記データパケッ
ト送受信手段は、両リングに送信するデータパケットに
連続番号を付加する番号付加手段と、両リングから到着
したデータパケットが、同一ノード発かつ同一番号であ
り、自ノード宛データパケットであるときは、一方のリ
ングから到着したデータパケットのみを受信する選択受
信手段とを備えたことを特徴とする。
In the dual ring network system according to the next invention, in the above invention, the data packet transmitting / receiving means arrives from both rings and a number adding means for adding a serial number to a data packet to be transmitted to both rings. When the data packet originates from the same node and has the same number and is a data packet addressed to its own node, it is provided with a selective receiving means for receiving only the data packet arriving from one ring.

【0023】この発明によれば、上記の発明において、
データパケット送受信手段では、番号付加手段にて、両
リングに送信するデータパケットに連続番号が付加され
る。そして、選択受信手段にて、両リングから到着した
データパケットが、同一ノード発かつ同一番号であり、
自ノード宛データパケットであるときは、一方のリング
から到着したデータパケットのみが受信される。
According to this invention, in the above invention,
In the data packet transmitting / receiving means, the serial number is added to the data packets to be transmitted to both rings by the number adding means. Then, in the selective receiving means, the data packets arriving from both rings originate from the same node and have the same number,
When it is the data packet addressed to the own node, only the data packet arriving from one ring is received.

【0024】つぎの発明にかかる二重リングネットワー
クシステムは、上記の発明において、前記ヘルスチェッ
クパケットが送受信される過程で、送信元ノード毎にヘ
ルスチェックパケットの到着状況を監視し、ヘルスチェ
ックパケットの到着状況に変化があるとき、一定期間の
データパケット受信禁止期間を設定する受信禁止期間設
定手段と、前記データパケット送受信手段の動作過程に
おいて、前記データパケット受信禁止期間内に両リング
から到着した自ノード宛データパケットは、廃棄する廃
棄手段とを備えたことを特徴とする。
In the dual ring network system according to the next invention, in the above invention, the arrival status of the health check packet is monitored for each source node in the process of transmitting and receiving the health check packet, When there is a change in the arrival status, a reception prohibition period setting means for setting a data packet reception prohibition period for a certain period, and an operation that the data packet transmission / reception means operate to receive from both rings within the data packet reception prohibition period. The data packet addressed to the node is provided with a discarding means for discarding.

【0025】この発明によれば、上記の発明において、
前記ヘルスチェックパケットが送受信される過程で、受
信禁止期間設定手段にて、送信元ノード毎にヘルスチェ
ックパケットの到着状況が監視され、ヘルスチェックパ
ケットの到着状況に変化があるとき、一定期間のデータ
パケット受信禁止期間が設定される。そして、前記デー
タパケット送受信手段の動作過程において、廃棄手段に
て、前記データパケット受信禁止期間内に両リングから
到着した自ノード宛データパケットは、廃棄される。
According to this invention, in the above invention,
In the process of transmitting and receiving the health check packet, the reception prohibition period setting means monitors the arrival status of the health check packet for each source node, and when the arrival status of the health check packet changes, data for a certain period A packet reception prohibited period is set. Then, in the operation process of the data packet transmitting / receiving means, the discarding means discards the data packet addressed to the own node which has arrived from both rings within the data packet reception prohibited period.

【0026】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、相反する方向性
を持つ1次リングと2次リングの二重リングからなる伝
送媒体または回線を介して複数のノードが接続される二
重リングネットワークシステムにおけるリング選択方法
あって、前記複数のノード側は、残存時間を記したヘル
スチェックパケットを両リングに周期的に送信し、到着
した他ノード発ヘルスチェックパケットの残存時間を減
算してリングに沿って中継する一方、到着した自ノード
発ヘルスチェックパケットを廃棄するヘルスチェックパ
ケット送受信工程と、前記ヘルスチェックパケットが送
受信される過程で、送信元ノード毎に他ノード発ヘルス
チェックパケットの到着/未着を監視し、両リングから
到着した場合には、残存時間のより多いヘルスチェック
パケットが到着したリングを前記他ノード発データパケ
ットの受信リングとして選択し、一方のリングのみから
到着した場合には、当該一方のリングを前記他ノード発
データパケットの受信リングとして選択することによ
り、送信元ノードに対する受信リングの関係を求め更新
可能に保持する受信リング選択工程と、データパケット
を両リングに送信し、到着した他ノード宛データパケッ
トをリングに沿って中継する一方、到着した自ノード宛
データパケットを前記受信リング選択工程での保持内容
に基づき受信または廃棄するデータパケット送受信工程
とを含むことを特徴とする。
In the ring selection method in the dual ring network system according to the next invention, a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. In the ring selection method in the dual ring network system described above, the plurality of nodes periodically transmit a health check packet indicating the remaining time to both rings, and the remaining time of the health check packet originating from another node arrives. While sending and receiving along with the ring, the health check packet transmission / reception process of discarding the health check packet originating from its own node and the process of transmitting / receiving the health check packet. The arrival / non-arrival of check packets is monitored, and if they arrive from both rings, The ring on which the health check packet with more remaining time arrives is selected as the receiving ring for the data packet originating from the other node, and when it arrives from only one ring, the one ring receives the data packet originating from the other node. By selecting the ring, the receiving ring selection step of obtaining the relationship of the receiving ring with respect to the source node and holding it updatable, and transmitting the data packet to both rings, and relaying the arriving data packet addressed to another node along the ring On the other hand, the data packet transmission / reception step of receiving or discarding the arrived data packet addressed to the own node based on the content held in the reception ring selection step is included.

【0027】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信工程にて、残存時間を記したヘ
ルスチェックパケットが両リングに周期的に送信され、
到着した他ノード発ヘルスチェックパケットは残存時間
を減算してリングに沿って中継される一方、到着した自
ノード発ヘルスチェックパケットは廃棄することが行わ
れる。このようなヘルスチェックパケットが送受信され
る過程で、受信リング選択工程にて、送信元ノード毎に
他ノード発ヘルスチェックパケットの到着/未着を監視
し、両リングから到着した場合には、残存時間のより多
いヘルスチェックパケットが到着したリングを前記他ノ
ード発データパケットの受信リングとして選択し、一方
のリングのみから到着した場合には、当該一方のリング
を前記他ノード発データパケットの受信リングとして選
択することにより、送信元ノードに対する受信リングの
関係が求められ更新可能に保持される。この状態で、デ
ータパケット送受信工程にて、データパケットが両リン
グに送信され、到着した他ノード宛データパケットがリ
ングに沿って中継される一方、到着した自ノード宛デー
タパケットが前記受信リング選択テーブルの設定に基づ
き受信または廃棄することが行われる。
According to the present invention, in each node, in the health check packet transmitting / receiving step, the health check packet indicating the remaining time is periodically transmitted to both rings,
The arrived health check packet originating from another node is relayed along the ring after subtracting the remaining time, while the health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, arrival / non-arrival of the health check packet originating from another node is monitored for each source node in the receiving ring selection step, and when the packet arrives from both rings, it remains. The ring in which the health check packet with a longer time arrives is selected as the receiving ring of the data packet originating from the other node, and when it arrives from only one ring, the one ring is the receiving ring of the data packet originating from the other node. By selecting as, the relationship of the receiving ring with respect to the source node is obtained and held so that it can be updated. In this state, in the data packet transmission / reception step, the data packet is transmitted to both rings, and the arrived data packet addressed to the other node is relayed along the ring, while the arrived data packet addressed to the own node is transmitted to the reception ring selection table. It is received or discarded based on the setting.

【0028】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、相反する方向性
を持つ1次リングと2次リングの二重リングからなる伝
送媒体または回線を介して複数のノードが接続される二
重リングネットワークシステムにおけるリング選択方法
であって、前記複数のノード側は、ヘルスチェックパケ
ットを両リングに周期的に送信し、到着した他ノード発
ヘルスチェックパケットをリングに沿って中継する一
方、到着した自ノード発ヘルスチェックパケットを廃棄
するヘルスチェックパケット送受信工程と、前記ヘルス
チェックパケットが送受信される過程で、送信元ノード
毎に他ノード発ヘルスチェックパケットの到着/未着を
監視し、両リングから到着した場合には、ヘルスチェッ
クパケットが先に到着したリングを前記他ノード発デー
タパケットの受信リングとして選択し、一方のリングの
みから到着した場合には、当該一方のリングを前記他ノ
ード発データパケットの受信リングとして選択すること
により、送信元ノードに対する受信リングの関係を求め
更新可能に保持する受信リング選択工程と、データパケ
ットを両リングに送信し、到着した他ノード宛データパ
ケットをリングに沿って中継する一方、到着した自ノー
ド宛データパケットを前記受信リング選択工程での保持
内容に基づき受信または廃棄するデータパケット送受信
工程とを含むことを特徴とする。
In the ring selection method in the dual ring network system according to the next invention, a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. A method of selecting a ring in a dual ring network system, wherein the plurality of nodes periodically transmits a health check packet to both rings, and relays a health check packet originating from another node along the ring. On the other hand, in the health check packet transmitting / receiving step of discarding the health check packet originating from the own node and in the process of transmitting / receiving the health check packet, arrival / non-arrival of the health check packet originating from another node is monitored for each source node. , If it arrives from both rings, the health check packet arrives first. The selected ring is selected as the receiving ring for the data packet originating from the other node, and when the ring arrives from only one ring, the source node is selected by selecting the one ring as the receiving ring for the data packet originating from the other node. Receiving ring selection step of obtaining the relationship of the receiving ring with respect to and holding it in an updatable manner, transmitting the data packet to both rings, relaying the arriving data packet addressed to another node along the ring, and arriving the own node addressed data packet And a data packet transmitting / receiving step of receiving or discarding the packet based on the contents held in the receiving ring selecting step.

【0029】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信工程にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットがリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、受信リング選択工程にて、
送信元ノード毎に他ノード発ヘルスチェックパケットの
到着/未着を監視し、両リングから到着した場合には、
ヘルスチェックパケットが先に到着したリングを前記他
ノード発データパケットの受信リングとして選択し、一
方のリングのみから到着した場合には、当該一方のリン
グを前記他ノード発データパケットの受信リングとして
選択することにより、送信元ノードに対する受信リング
の関係が求められ更新可能に保持される。この状態で、
データパケット送受信工程にて、データパケットが両リ
ングに送信され、到着した他ノード宛データパケットは
リングに沿って中継される一方、到着した自ノード宛デ
ータパケットは前記受信リング選択テーブルの設定に基
づき受信または廃棄することが行われる。
According to the present invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of receiving and selecting such a health check packet, in the receiving ring selection step,
The arrival / non-arrival of health check packets originating from other nodes is monitored for each source node, and when they arrive from both rings,
The ring in which the health check packet arrives first is selected as the receiving ring for the data packet originating from the other node, and when it arrives from only one ring, the one ring is selected as the receiving ring for the data packet originating from the other node. By doing so, the relationship of the receiving ring with respect to the transmission source node is obtained and held so that it can be updated. In this state,
In the data packet transmitting / receiving step, the data packet is transmitted to both rings, and the arrived data packet addressed to the other node is relayed along the ring, while the arrived data packet addressed to the own node is based on the setting of the reception ring selection table. It is received or discarded.

【0030】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、相反する方向性
を持つ1次リングと2次リングの二重リングからなる伝
送媒体または回線を介して複数のノードが接続される二
重リングネットワークシステムにおけるリング選択方法
であって、前記複数のノード側は、残存時間を記したヘ
ルスチェックパケットを両リングに周期的に送信し、到
着した他ノード発ヘルスチェックパケットのリングに沿
って中継する一方、到着した自ノード発ヘルスチェック
パケットを廃棄するヘルスチェックパケット送受信工程
と、前記ヘルスチェックパケットが送受信される過程
で、送信元ノード毎にヘルスチェックパケットの到着/
未着を監視し、自ノード発ヘルスチェックパケットが両
リングから到着した場合には、送信ノード毎に残存時間
のより少ないヘルスチェックパケットが到着したリング
を前記他ノードが宛先ノードであるデータパケットの送
信リングとして選択し、一方のリングのみから到着した
場合には、当該一方のリングを全宛先ノードに共通の送
信リングとして選択し、両リングから到着しない場合に
は、両リングを全宛先ノードに共通の送信リングとして
選択することにより、宛先ノードに対する送信リングの
関係を求め更新可能に保持する送信リング選択工程と、
データパケットを前記送信リング選択工程での保持内容
に基づき両リングに送信し、到着した他ノード宛データ
パケットのリングに沿って中継する一方、到着した自ノ
ード宛データパケットを受信するデータパケット送受信
工程とを含むことを特徴とする。
In the ring selection method in the dual ring network system according to the next invention, a plurality of nodes are connected via a transmission medium or line composed of a primary ring and a secondary ring having opposite directions. A method of selecting a ring in a dual ring network system according to claim 1, wherein the plurality of nodes periodically send a health check packet indicating the remaining time to both rings, and the ring of the health check packet originating from another node arrives. The health check packet transmission / reception process of discarding the health check packet originating from its own node while relaying along the health check packet and the process of transmitting / receiving the health check packet.
When non-arrival is monitored and the health check packet originating from the own node arrives from both rings, the ring where the health check packet with a shorter remaining time arrives for each sending node is transferred to the data packet whose other node is the destination node. If it is selected as the transmission ring and arrives from only one ring, it is selected as the common transmission ring for all destination nodes, and if it does not arrive from both rings, both rings are designated as the destination nodes. By selecting as a common transmission ring, the transmission ring selection step of obtaining the relationship of the transmission ring with respect to the destination node and holding it updatable,
A data packet transmission / reception step of transmitting a data packet to both rings based on the contents held in the transmission ring selection step and relaying it along the ring of the data packet addressed to another node while receiving the data packet addressed to its own node It is characterized by including and.

【0031】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信工程にて、残存時間を記したヘ
ルスチェックパケットが両リングに周期的に送信され、
到着した他ノード発ヘルスチェックパケットはリングに
沿って中継される一方、到着した自ノード発ヘルスチェ
ックパケットは廃棄することが行われる。このようなヘ
ルスチェックパケットが送受信される過程で、送信リン
グ選択工程にて、送信元ノード毎にヘルスチェックパケ
ットの到着/未着を監視し、自ノード発ヘルスチェック
パケットが両リングから到着した場合には、送信ノード
毎に残存時間のより少ないヘルスチェックパケットが到
着したリングを自ノード発前記他ノード宛データパケッ
トの送信リングとして選択し、一方のリングのみから到
着した場合には、当該一方のリングを全宛先ノードに共
通の送信リングとして選択し、両リングから到着しない
場合には、両リングを全宛先ノードに共通の送信リング
として選択することにより、宛先ノードに対する送信リ
ングの関係が送信リング選択テーブルに設定される。こ
の状態で、データパケット送受信工程にて、データパケ
ットが前記送信リング選択工程での保持内容に基づき両
リングに送信され、到着した他ノード宛データパケット
はリングに沿って中継される一方、到着した自ノード宛
データパケットは受信される。
According to the present invention, in each node, in the health check packet transmitting / receiving step, the health check packet indicating the remaining time is periodically transmitted to both rings,
The arrived health check packet originated from another node is relayed along the ring, while the arrived health check packet originated from the own node is discarded. When such a health check packet is transmitted and received, the arrival / non-arrival of the health check packet is monitored for each source node in the transmission ring selection step, and the health check packet originating from the own node arrives from both rings. , The ring on which the health check packet with less remaining time arrives for each sending node is selected as the sending ring for the data packet destined for the other node destined for the own node. If the ring is selected as the common transmission ring for all destination nodes and if it does not arrive from both rings, both rings are selected as the common transmission ring for all destination nodes so that the relationship of the transmission ring to the destination node is the transmission ring. It is set in the selection table. In this state, in the data packet transmission / reception step, the data packet is transmitted to both rings based on the contents held in the transmission ring selection step, and the arrived data packet addressed to another node is relayed along the ring and arrived. The data packet addressed to the own node is received.

【0032】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、相反する方向性
を持つ1次リングと2次リングの二重リングからなる伝
送媒体または回線を介して複数のノードが接続される二
重リングネットワークシステムにおけるリング選択方法
であって、前記複数のノード側は、ヘルスチェックパケ
ットを両リングに周期的に送信し、到着した他ノード発
ヘルスチェックパケットをリングに沿って中継する一
方、到着した自ノード発ヘルスチェックパケットを廃棄
するヘルスチェックパケット送受信工程と、前記ヘルス
チェックパケットが送受信される過程で、送信元ノード
毎にヘルスチェックパケットの到着/未着を監視し、自
ノード発ヘルスチェックパケットが両リングから到着し
た場合には、送信ノード毎にヘルスチェックパケットが
後に到着したリングを前記他ノードが宛先ノードである
データパケットの送信リングとして選択し、一方のリン
グのみから到着した場合には、当該一方のリングを全宛
先ノードに共通の送信リングとして選択し、両リングか
ら自ノード発ヘルスチェックパケットが到着しない場合
には、両リングを全宛先ノードに共通の送信リングとし
て選択することにより、宛先ノードに対する送信リング
の関係を求め更新可能に保持する送信リング選択工程
と、データパケットを前記送信リング選択工程での保持
内容に基づき両リングに送信し、到着した他ノード宛デ
ータパケットのリングに沿って中継する一方、到着した
自ノード宛データパケットを受信するデータパケット送
受信工程とを含むことを特徴とする。
In the ring selection method in the dual ring network system according to the next invention, a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. A method of selecting a ring in a dual ring network system, wherein the plurality of nodes periodically transmits a health check packet to both rings, and relays a arrived health check packet originating from another node along the ring. On the other hand, in the health check packet transmitting / receiving step of discarding the health check packet originating from the own node and in the process of transmitting / receiving the health check packet, arrival / non-arrival of the health check packet is monitored for each source node, If the outgoing health check packet arrives from both rings, For each packet, the ring where the health check packet arrives later is selected as the transmission ring of the data packet whose other node is the destination node, and if it arrives from only one ring, that one ring is common to all the destination nodes. If the health check packets originating from the local node do not arrive from both rings, select both rings as common transmission rings to all destination nodes, and obtain the relationship between the transmission rings for the destination nodes and update. A transmission ring selection step that holds the data packet as possible, and a data packet is transmitted to both rings based on the content held in the transmission ring selection step and relayed along the ring of the data packet addressed to another node that has arrived And a data packet transmitting / receiving step of receiving the addressed data packet.

【0033】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信工程にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットはリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、送信リング選択工程にて、
送信元ノード毎にヘルスチェックパケットの到着/未着
を監視し、自ノード発ヘルスチェックパケットが両リン
グから到着した場合には、送信ノード毎にヘルスチェッ
クパケットが後に到着したリングを自ノード発前記他ノ
ード宛データパケットの送信リングとして選択し、一方
のリングのみから到着した場合には、当該一方のリング
を全宛先ノードに共通の送信リングとして選択し、両リ
ングから到着しない場合には、両リングを全宛先ノード
に共通の送信リングとして選択することにより、宛先ノ
ードに対する送信リングの関係が求められ更新可能に保
持される。この状態で、データパケット送受信工程に
て、データパケットが前記送信リング選択工程での保持
内容に基づき両リングに送信され、到着した他ノード宛
データパケットはリングに沿って中継される一方、到着
した自ノード宛データパケットは受信される。
According to the present invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, in the transmission ring selection step,
The arrival / non-arrival of the health check packet is monitored for each source node. If it is selected as a transmission ring for data packets addressed to another node and arrives from only one ring, that one ring is selected as a transmission ring common to all destination nodes. By selecting the ring as the transmission ring common to all destination nodes, the relationship of the transmission ring to the destination node is determined and maintained updatable. In this state, in the data packet transmission / reception step, the data packet is transmitted to both rings based on the contents held in the transmission ring selection step, and the arrived data packet addressed to another node is relayed along the ring and arrived. The data packet addressed to the own node is received.

【0034】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、上記の発明にお
いて、前記データパケット送受信工程は、両リングに送
信するデータパケットに連続番号を付加する番号付加工
程と、両リングから到着したデータパケットが、同一ノ
ード発かつ同一番号であり、自ノード宛データパケット
であるときは、一方のリングから到着したデータパケッ
トのみを受信する選択受信工程とを含むことを特徴とす
る。
In the ring selection method in the dual ring network system according to the next invention, in the above invention, the data packet transmitting / receiving step includes a number adding step of adding a serial number to data packets to be transmitted to both rings, and When the data packet arriving from the ring is the data packet originating from the same node and having the same number and addressed to the own node, a selective receiving step of receiving only the data packet arriving from one ring is included. .

【0035】この発明によれば、上記の発明において、
データパケット送受信工程では、番号付加工程にて、両
リングに送信するデータパケットに連続番号が付加され
る。そして、選択受信工程にて、両リングから到着した
データパケットが、同一ノード発かつ同一番号であり、
自ノード宛データパケットであるときは、一方のリング
から到着したデータパケットのみが受信される。
According to this invention, in the above invention,
In the data packet transmission / reception process, a serial number is added to the data packets to be transmitted to both rings in the number addition process. Then, in the selective reception step, the data packets arriving from both rings originate from the same node and have the same number,
When it is the data packet addressed to the own node, only the data packet arriving from one ring is received.

【0036】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、上記の発明にお
いて、前記ヘルスチェックパケットが送受信される過程
で、送信元ノード毎にヘルスチェックパケットの到着状
況を監視し、ヘルスチェックパケットの到着状況に変化
があるとき、一定期間のデータパケット受信禁止期間を
設定する受信禁止期間設定工程と、前記データパケット
送受信工程において、前記データパケット受信禁止期間
内に両リングから到着した自ノード宛データパケット
は、廃棄する廃棄工程とを含むことを特徴とする。
In the ring selection method in the dual ring network system according to the next invention, in the above invention, the arrival status of the health check packet is monitored for each source node in the process of transmitting and receiving the health check packet, When there is a change in the arrival status of the health check packet, in the reception prohibited period setting step of setting a data packet reception prohibited period for a certain period and in the data packet transmission / reception step, the data arrives from both rings within the data packet reception prohibited period. The data packet addressed to its own node is characterized by including a discarding step of discarding.

【0037】この発明によれば、上記の発明において、
前記ヘルスチェックパケットが送受信される過程で、受
信禁止期間設定工程にて、送信元ノード毎にヘルスチェ
ックパケットの到着状況が監視され、ヘルスチェックパ
ケットの到着状況に変化があるとき、一定期間のデータ
パケット受信禁止期間が設定される。そして、前記デー
タパケット送受信工程の動作過程において、廃棄工程に
て、前記データパケット受信禁止期間内に両リングから
到着した自ノード宛データパケットは、廃棄される。
According to this invention, in the above invention,
In the process of transmitting / receiving the health check packet, the arrival status of the health check packet is monitored for each source node in the reception prohibition period setting step, and when the arrival status of the health check packet changes, data for a certain period A packet reception prohibited period is set. Then, in the operation process of the data packet transmission / reception process, in the discarding process, the data packet addressed to the own node which has arrived from both rings within the data packet reception prohibited period is discarded.

【0038】つぎの発明にかかる二重リングネットワー
クシステムは、相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、前記複数のノードは、ヘルスチェック
パケットを両リングに周期的に送信し、到着した他ノー
ド発ヘルスチェックパケットをリングに沿って中継する
一方、到着した自ノード発ヘルスチェックパケットを廃
棄するヘルスチェックパケット送受信手段と、前記ヘル
スチェックパケットが送受信される過程で、送信元ノー
ド毎に自ノード発ヘルスチェックパケットの到着/未着
を監視し、両リングから到着した場合には、送信するユ
ニキャストデータパケットの宛先ノード識別子の所定ビ
ット位置のビットの論理値に応じて定められたリングを
送信リングとして選択し、一方のリングのみから到着し
た場合には、当該一方のリングを送信リングとして選択
し、両方のリングから到着しない場合は、両方のリング
を送信リングとして選択する送信リング選択手段と、ユ
ニキャストデータパケットを前記選択結果に基づくリン
グに送信し、到着した他ノード宛ユニキャストデータパ
ケットをリングに沿って中継し、到着した自ノード宛ユ
ニキャストデータパケットを受信処理するデータパケッ
ト送受信手段とを備えたことを特徴とする。
A dual ring network system according to the next invention is a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. In the ring network system, the plurality of nodes periodically transmits a health check packet to both rings, relays the arrived health check packet from another node along the ring, and receives the arrived health check packet from its own node. In the process of transmitting / receiving the health check packet to / from the discarding health check packet transmitting / receiving means, arrival / non-arrival of the health check packet originating from the own node is monitored for each source node, and if arrival from both rings, transmission is performed. Bit at the specified bit position of the destination node identifier of the unicast data packet Select the ring defined by the logical value as the transmission ring, select one ring as the transmission ring if it arrives from only one ring, or both rings if it does not arrive from both rings. And a unicast data packet transmitted to the ring based on the selection result, the unicast data packet arriving at another node is relayed along the ring, and the unicast data packet arriving at the own node is transmitted. And a data packet transmitting / receiving means for receiving and processing the cast data packet.

【0039】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信手段にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットはリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、送信リング選択手段にて、
送信元ノード毎に自ノード発ヘルスチェックパケットの
到着/未着が監視される。そして、両リングから到着し
た場合には、送信するユニキャストデータパケットの宛
先ノード識別子の所定ビット位置のビットの論理値に応
じて定められたリングが送信リングとして選択され、一
方のリングのみから到着した場合には、当該一方のリン
グが送信リングとして選択され、両方のリングから到着
しない場合は、両方のリングが送信リングとして選択さ
れる。その結果、データパケット送受信手段にて、ユニ
キャストデータパケットが前記選択結果に基づくリング
に送信される。そして、到着した他ノード宛ユニキャス
トデータパケットはリングに沿って中継される。また、
到着した自ノード宛ユニキャストデータパケットは受信
処理される。
According to the present invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means
Arrival / non-arrival of the health check packet originating from the own node is monitored for each source node. Then, when arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination node identifier of the unicast data packet to be transmitted is selected as the transmission ring and arrives from only one ring. If so, one of the rings is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, the data packet transmitting / receiving means transmits the unicast data packet to the ring based on the selection result. Then, the arrived unicast data packet addressed to another node is relayed along the ring. Also,
The unicast data packet addressed to its own node is received and processed.

【0040】つぎの発明にかかる二重リングネットワー
クシステムは、相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、前記複数のノードは、ヘルスチェック
パケットを両リングに周期的に送信し、到着した他ノー
ド発ヘルスチェックパケットをリングに沿って中継する
一方、到着した自ノード発ヘルスチェックパケットを廃
棄するヘルスチェックパケット送受信手段と、前記ヘル
スチェックパケットが送受信される過程で、送信元ノー
ド毎に自ノード発ヘルスチェックパケットの到着/未着
を監視し、両リングから到着した場合には、送信するマ
ルチキャストデータパケットの複数の宛先ノードのグル
ープを識別する宛先ノードグループ識別子の所定ビット
位置のビットの論理値に応じて定められたリングを送信
リングとして選択し、一方のリングのみから到着した場
合には、当該一方のリングを送信リングとして選択し、
両方のリングから到着しない場合は、両方のリングを送
信リングとして選択する送信リング選択手段と、マルチ
キャストデータパケットを前記選択結果に基づくリング
に送信し、到着した他ノード発マルチキャストデータパ
ケットをリングに沿って中継するとともに、受信処理を
行い、到着した自ノード発マルチキャストデータパケッ
トを廃棄処理するデータパケット送受信手段とを備えた
ことを特徴とする。
A dual ring network system according to the next invention is a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. In the ring network system, the plurality of nodes periodically transmits a health check packet to both rings, relays the arrived health check packet from another node along the ring, and receives the arrived health check packet from its own node. In the process of transmitting / receiving the health check packet to / from the discarding health check packet transmitting / receiving means, arrival / non-arrival of the health check packet originating from the own node is monitored for each source node, and if arrival from both rings, transmission is performed. To identify a group of multiple destination nodes for a multicast data packet Select the ring defined in accordance with the logical values of bits of a predetermined bit position of the node group identifier as the transmission ring, when arriving from only one ring, select the one of the ring as the transmission ring,
When not arriving from both rings, transmission ring selection means for selecting both rings as transmission rings, and transmitting the multicast data packet to the ring based on the selection result, and arriving the multicast data packet originating from another node along the ring. And a data packet transmitting / receiving unit that performs a reception process and discards the arrived multicast data packet originating from the own node.

【0041】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信手段にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットはリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、送信リング選択手段にて、
送信元ノード毎に自ノード発ヘルスチェックパケットの
到着/未着が監視される。そして、両リングから到着し
た場合には、送信するマルチキャストデータパケットの
複数の宛先ノードのグループを識別する宛先ノードグル
ープ識別子の所定ビット位置のビットの論理値に応じて
定められたリングが送信リングとして選択され、一方の
リングのみから到着した場合には、当該一方のリングが
送信リングとして選択され、両方のリングから到着しな
い場合は、両方のリングが送信リングとして選択され
る。その結果、データパケット送受信手段にて、マルチ
キャストデータパケットが前記選択結果に基づくリング
に送信される。そして、到着した他ノード発マルチキャ
ストデータパケットはリングに沿って中継されるととも
に、受信処理が行われる。また、到着した自ノード発マ
ルチキャストデータパケットは廃棄される。
According to the present invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means
Arrival / non-arrival of the health check packet originating from the own node is monitored for each source node. Then, when arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination node group identifier that identifies the group of the plurality of destination nodes of the multicast data packet to be transmitted is the transmission ring. If one ring is selected and arrives from only one ring, the one ring is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, the data packet transmitting / receiving means transmits the multicast data packet to the ring based on the selection result. Then, the arrived multi-node originated multicast data packet is relayed along the ring and received. In addition, the arrived multicast data packet originating from the own node is discarded.

【0042】つぎの発明にかかる二重リングネットワー
クシステムは、相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、前記複数のノードは、ヘルスチェック
パケットを両リングに周期的に送信し、到着した他ノー
ド発ヘルスチェックパケットをリングに沿って中継する
一方、到着した自ノード発ヘルスチェックパケットを廃
棄するヘルスチェックパケット送受信手段と、前記ヘル
スチェックパケットが送受信される過程で、送信元ノー
ド毎にヘルスチェックパケットの到着/未着を監視し、
自ノード発ヘルスチェックパケットが両リングから到着
した場合には、送信するユニキャストデータパケットの
宛先端末識別子の所定ビット位置のビットの論理値に応
じて定められたリングを送信リングとして選択し、一方
のリングのみから到着した場合には、当該一方のリング
を送信リングとして選択し、両方のリングから到着しな
い場合は、両方のリングを送信リングとして選択する送
信リング選択手段と、収容する端末から送られてきたユ
ニキャストデータパケットを前記選択結果に基づくリン
グに送信し、到着した他ノード発ユニキャストデータパ
ケットをリングに沿って中継するとともに、自ノードが
収容する端末宛であるときはそのユニキャストデータパ
ケットを当該収容端末に中継し、到着した自ノード発ユ
ニキャストデータパケットを廃棄処理するデータパケッ
ト送受信手段とを備えたことを特徴とする。
A dual ring network system according to the next invention is a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. In the ring network system, the plurality of nodes periodically transmits a health check packet to both rings, relays the arrived health check packet from another node along the ring, and receives the arrived health check packet from its own node. The arrival / non-arrival of the health check packet is monitored for each source node in the process of sending and receiving the health check packet with the discarding health check packet transmitting / receiving means.
When the health check packet originated from the own node arrives from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal identifier of the unicast data packet to be transmitted is selected as the transmission ring, and If it arrives from only one ring, it selects one of the rings as the transmission ring, and if it does not arrive from both rings, it selects both rings as the transmission ring and the transmission ring selection means and the transmission from the accommodating terminal. The received unicast data packet is transmitted to the ring based on the selection result, the unicast data packet arriving from another node is relayed along the ring, and the unicast is sent to the terminal accommodated by the own node. Unicast data originating from the local node that arrived after relaying the data packet to the corresponding terminal Characterized in that a data packet transmission and reception means for disposing of packets.

【0043】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信手段にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットはリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、送信リング選択手段にて、
送信元ノード毎に自ノード発ヘルスチェックパケットの
到着/未着が監視される。そして、両リングから到着し
た場合には、送信するユニキャストデータパケットの宛
先端末識別子の所定ビット位置のビットの論理値に応じ
て定められたリングが送信リングとして選択され、一方
のリングのみから到着した場合には、当該一方のリング
が送信リングとして選択され、両方のリングから到着し
ない場合は、両方のリングが送信リングとして選択され
る。その結果、データパケット送受信手段にて、収容す
る端末から送られてきたユニキャストデータパケットが
前記選択結果に基づくリングに送信される。そして、到
着した他ノード発ユニキャストデータパケットはリング
に沿って中継されるとともに、自ノードが収容する端末
宛であるときはそのユニキャストデータパケットが当該
収容端末に中継される。また、到着した自ノード発ユニ
キャストデータパケットは廃棄処理される。
According to the present invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means
Arrival / non-arrival of the health check packet originating from the own node is monitored for each source node. When arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal identifier of the unicast data packet to be transmitted is selected as the transmission ring and arrives from only one ring. If so, one of the rings is selected as the transmitting ring, and if no ring arrives from both rings, both rings are selected as the transmitting rings. As a result, the data packet transmitting / receiving means transmits the unicast data packet sent from the accommodated terminal to the ring based on the selection result. Then, the unicast data packet arriving from another node is relayed along the ring, and when the unicast data packet is addressed to the terminal accommodated by the own node, the unicast data packet is relayed to the accommodated terminal. Further, the unicast data packet originating from the own node that has arrived is discarded.

【0044】つぎの発明にかかる二重リングネットワー
クシステムは、相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、前記複数のノードは、ヘルスチェック
パケットを両リングに周期的に送信し、到着した他ノー
ド発ヘルスチェックパケットをリングに沿って中継する
一方、到着した自ノード発ヘルスチェックパケットを廃
棄するヘルスチェックパケット送受信手段と、前記ヘル
スチェックパケットが送受信される過程で、送信元ノー
ド毎にヘルスチェックパケットの到着/未着を監視し、
自ノード発ヘルスチェックパケットが両リングから到着
した場合には、送信するマルチキャストデータパケット
の複数の宛先端末のグループを識別する宛先端末グルー
プ識別子の所定ビット位置のビットの論理値に応じて定
められたリングを送信リングとして選択し、一方のリン
グのみから到着した場合には、当該一方のリングを送信
リングとして選択し、両方のリングから到着しない場合
は、両方のリングを送信リングとして選択する送信リン
グ選択手段と、収容する端末から送られてきたマルチキ
ャストデータパケットを前記選択結果に基づくリングに
送信し、到着した他ノード発マルチキャストデータパケ
ットをリングに沿って中継するとともに、自ノードが収
容する端末宛であるときはそのマルチキャストデータパ
ケットを当該収容端末に中継し、到着した自ノード発マ
ルチキャストデータパケットを廃棄処理するデータパケ
ット送受信手段とを備えたことを特徴とする。
A dual ring network system according to the next invention is a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. In the ring network system, the plurality of nodes periodically transmits a health check packet to both rings, relays the arrived health check packet from another node along the ring, and receives the arrived health check packet from its own node. The arrival / non-arrival of the health check packet is monitored for each source node in the process of transmitting and receiving the health check packet transmitting / receiving means to be discarded
When the health check packet originating from the own node arrives from both rings, it is determined according to the logical value of the bit at the predetermined bit position of the destination terminal group identifier that identifies the group of multiple destination terminals of the multicast data packet to be transmitted. Select a ring as the transmit ring, select one ring as the transmit ring if it arrives from only one ring, or select both rings as the transmit ring if it does not arrive from both rings The selecting means and the multicast data packet sent from the accommodating terminal are transmitted to the ring based on the selection result, and the arrived multicast data packet originating from another node is relayed along the ring and addressed to the terminal accommodated by the own node. If the multicast data packet is Relaying the end, characterized in that the self-node onset multicast data packets arriving with a data packet transmission and reception means for disposal.

【0045】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信手段にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットはリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、送信リング選択手段にて、
送信元ノード毎に自ノード発ヘルスチェックパケットの
到着/未着が監視される。そして、両リングから到着し
た場合には、送信するマルチキャストデータパケットの
複数の宛先端末のグループを識別する宛先端末グループ
識別子の所定ビット位置のビットの論理値に応じて定め
られたリングが送信リングとして選択され、一方のリン
グのみから到着した場合には、当該一方のリングが送信
リングとして選択され、両方のリングから到着しない場
合は、両方のリングが送信リングとして選択される。そ
の結果、データパケット送受信手段にて、収容する端末
から送られてきたマルチキャストデータパケットが前記
選択結果に基づくリングに送信される。そして、到着し
た他ノード発マルチキャストデータパケットはリングに
沿って中継されるとともに、自ノードが収容する端末宛
であるときはそのマルチキャストデータパケットが当該
収容端末に中継される。また、到着した自ノード発マル
チキャストデータパケットは廃棄される。
According to the present invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means
Arrival / non-arrival of the health check packet originating from the own node is monitored for each source node. When arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal group identifier that identifies the group of the plurality of destination terminals of the multicast data packet to be transmitted is the transmission ring. If one ring is selected and arrives from only one ring, the one ring is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, the data packet transmitting / receiving means transmits the multicast data packet transmitted from the terminal to be accommodated to the ring based on the selection result. Then, the arrived multicast data packet originating from another node is relayed along the ring, and when it is addressed to the terminal accommodated by the own node, the multicast data packet is relayed to the accommodated terminal. In addition, the arrived multicast data packet originating from the own node is discarded.

【0046】つぎの発明にかかる二重リングネットワー
クシステムは、上記の発明において、前記送信リング選
択手段は、自ノード発ヘルスチェックパケットが両リン
グから到着した場合において、前記識別子の一部または
全部に対して所定の計算を実施してランダムなビット値
を求める手段を備え、そのビット値に応じて定められた
リングを送信リングとして選択することを特徴とする。
In the dual ring network system according to the next invention, in the above invention, the transmission ring selection means has a part or all of the identifier when a health check packet originated from its own node arrives from both rings. On the other hand, it is characterized in that a means for carrying out a predetermined calculation to obtain a random bit value is provided, and a ring defined according to the bit value is selected as a transmission ring.

【0047】この発明によれば、上記の発明において、
送信リング選択手段では、自ノード発ヘルスチェックパ
ケットが両リングから到着した場合において、前記識別
子の一部または全部に対して所定の計算を実施してラン
ダムなビット値が求められ、そのビット値に応じて定め
られたリングが送信リングとして選択される。
According to this invention, in the above invention,
In the transmission ring selection means, when the health check packet originated from the own node arrives from both rings, a random calculation is performed on a part or all of the identifier to obtain a random bit value, and the bit value is The ring determined accordingly is selected as the transmission ring.

【0048】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、相反する方向性
を持つ1次リングと2次リングの二重リングからなる伝
送媒体または回線を介して複数のノードが接続される二
重リングネットワークシステムにおけるリング選択方法
であって、前記複数のノード側は、ヘルスチェックパケ
ットを両リングに周期的に送信し、到着した他ノード発
ヘルスチェックパケットをリングに沿って中継する一
方、到着した自ノード発ヘルスチェックパケットを廃棄
するヘルスチェックパケット送受信工程と、前記ヘルス
チェックパケットが送受信される過程で、送信元ノード
毎に自ノード発ヘルスチェックパケットの到着/未着を
監視し、両リングから到着した場合には、送信するユニ
キャストデータパケットの宛先ノード識別子の所定ビッ
ト位置のビットの論理値に応じて定められたリングを送
信リングとして選択し、一方のリングのみから到着した
場合には、当該一方のリングを送信リングとして選択
し、両方のリングから到着しない場合は、両方のリング
を送信リングとして選択する送信リング選択工程と、ユ
ニキャストデータパケットを前記選択結果に基づくリン
グに送信し、到着した他ノード宛ユニキャストデータパ
ケットをリングに沿って中継し、到着した自ノード宛ユ
ニキャストデータパケットを受信処理するデータパケッ
ト送受信工程とを含むことを特徴とする。
In the ring selection method in the dual ring network system according to the next invention, a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. A method of selecting a ring in a dual ring network system, wherein the plurality of nodes periodically transmits a health check packet to both rings, and relays a health check packet originating from another node along the ring. On the other hand, in the health check packet transmitting / receiving step of discarding the health check packet originating from the own node and the process of transmitting / receiving the health check packet, arrival / non-arrival of the health check packet originating from the own node is monitored for each source node. , Unicast data packet to be sent when arriving from both rings Select a ring defined according to the logical value of the bit at the predetermined bit position of the destination node identifier of the destination ring as the transmission ring, and when arriving from only one ring, select the one ring as the transmission ring, If it does not arrive from both rings, the transmission ring selection step of selecting both rings as transmission rings, and the unicast data packet is transmitted to the ring based on the selection result, and the arrived unicast data packet addressed to another node is ringed. And a data packet transmitting / receiving step of receiving and processing the unicast data packet addressed to the own node which is relayed along the line.

【0049】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信工程にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットはリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、送信リング選択工程にて、
送信元ノード毎に自ノード発ヘルスチェックパケットの
到着/未着が監視される。そして、両リングから到着し
た場合には、送信するユニキャストデータパケットの宛
先ノード識別子の所定ビット位置のビットの論理値に応
じて定められたリングが送信リングとして選択され、一
方のリングのみから到着した場合には、当該一方のリン
グが送信リングとして選択され、両方のリングから到着
しない場合は、両方のリングが送信リングとして選択さ
れる。その結果、データパケット送受信工程にて、ユニ
キャストデータパケットが前記選択結果に基づくリング
に送信される。そして、到着した他ノード宛ユニキャス
トデータパケットはリングに沿って中継される。また、
到着した自ノード宛ユニキャストデータパケットは受信
処理される。
According to the present invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, in the transmission ring selection step,
Arrival / non-arrival of the health check packet originating from the own node is monitored for each source node. Then, when arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination node identifier of the unicast data packet to be transmitted is selected as the transmission ring and arrives from only one ring. If so, one of the rings is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, in the data packet transmitting / receiving step, the unicast data packet is transmitted to the ring based on the selection result. Then, the arrived unicast data packet addressed to another node is relayed along the ring. Also,
The unicast data packet addressed to its own node is received and processed.

【0050】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、相反する方向性
を持つ1次リングと2次リングの二重リングからなる伝
送媒体または回線を介して複数のノードが接続される二
重リングネットワークシステムにおいて、前記複数のノ
ード側は、ヘルスチェックパケットを両リングに周期的
に送信し、到着した他ノード発ヘルスチェックパケット
をリングに沿って中継する一方、到着した自ノード発ヘ
ルスチェックパケットを廃棄するヘルスチェックパケッ
ト送受信工程と、前記ヘルスチェックパケットが送受信
される過程で、送信元ノード毎に自ノード発ヘルスチェ
ックパケットの到着/未着を監視し、両リングから到着
した場合には、送信するマルチキャストデータパケット
の複数の宛先ノードのグループを識別する宛先ノードグ
ループ識別子の所定ビット位置のビットの論理値に応じ
て定められたリングを送信リングとして選択し、一方の
リングのみから到着した場合には、当該一方のリングを
送信リングとして選択し、両方のリングから到着しない
場合は、両方のリングを送信リングとして選択する送信
リング選択工程と、マルチキャストデータパケットを前
記選択結果に基づくリングに送信し、到着した他ノード
発マルチキャストデータパケットをリングに沿って中継
するとともに、受信処理を行い、到着した自ノード発マ
ルチキャストデータパケットを廃棄処理するデータパケ
ット送受信工程とを含むことを特徴とする。
In the ring selection method in the dual ring network system according to the next invention, a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. In the dual ring network system described above, the plurality of nodes periodically transmits health check packets to both rings and relays the health check packets originating from other nodes along the rings while arriving at its own node. During the health check packet transmission / reception process of discarding the originating health check packet and the process of transmitting / receiving the health check packet, arrival / non-arrival of the own node originating health check packet is monitored for each source node and arrives from both rings. If you send multiple multicast data packets to multiple destination The ring determined according to the logical value of the bit at the predetermined bit position of the destination node group identifier that identifies the group is selected as the transmission ring, and if only one ring arrives, the one ring is transmitted. , And if it does not arrive from both rings, the transmission ring selection step of selecting both rings as transmission rings, and the multicast data packet that has arrived by transmitting the multicast data packet to the ring based on the selection result and has arrived And a data packet transmitting / receiving step of performing a reception process and discarding the arrived multicast data packet originated from its own node.

【0051】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信工程にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットはリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、送信リング選択工程にて、
送信元ノード毎に自ノード発ヘルスチェックパケットの
到着/未着が監視される。そして、両リングから到着し
た場合には、送信するマルチキャストデータパケットの
複数の宛先ノードのグループを識別する宛先ノードグル
ープ識別子の所定ビット位置のビットの論理値に応じて
定められたリングが送信リングとして選択され、一方の
リングのみから到着した場合には、当該一方のリングが
送信リングとして選択され、両方のリングから到着しな
い場合は、両方のリングが送信リングとして選択され
る。その結果、データパケット送受信工程にて、マルチ
キャストデータパケットが前記選択結果に基づくリング
に送信される。そして、到着した他ノード発マルチキャ
ストデータパケットはリングに沿って中継されるととも
に、受信処理が行われる。また、到着した自ノード発マ
ルチキャストデータパケットは廃棄される。
According to the present invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, in the transmission ring selection step,
Arrival / non-arrival of the health check packet originating from the own node is monitored for each source node. Then, when arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination node group identifier that identifies the group of the plurality of destination nodes of the multicast data packet to be transmitted is the transmission ring. If one ring is selected and arrives from only one ring, the one ring is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, in the data packet transmitting / receiving step, the multicast data packet is transmitted to the ring based on the selection result. Then, the arrived multi-node originated multicast data packet is relayed along the ring and received. In addition, the arrived multicast data packet originating from the own node is discarded.

【0052】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、相反する方向性
を持つ1次リングと2次リングの二重リングからなる伝
送媒体または回線を介して複数のノードが接続される二
重リングネットワークシステムにおいて、前記複数のノ
ード側は、ヘルスチェックパケットを両リングに周期的
に送信し、到着した他ノード発ヘルスチェックパケット
をリングに沿って中継する一方、到着した自ノード発ヘ
ルスチェックパケットを廃棄するヘルスチェックパケッ
ト送受信工程と、前記ヘルスチェックパケットが送受信
される過程で、送信元ノード毎にヘルスチェックパケッ
トの到着/未着を監視し、自ノード発ヘルスチェックパ
ケットが両リングから到着した場合には、送信するユニ
キャストデータパケットの宛先端末識別子の所定ビット
位置のビットの論理値に応じて定められたリングを送信
リングとして選択し、一方のリングのみから到着した場
合には、当該一方のリングを送信リングとして選択し、
両方のリングから到着しない場合は、両方のリングを送
信リングとして選択する送信リング選択工程と、収容す
る端末から送られてきたユニキャストデータパケットを
前記選択結果に基づくリングに送信し、到着した他ノー
ド発ユニキャストデータパケットをリングに沿って中継
するとともに、自ノードが収容する端末宛であるときは
そのユニキャストデータパケットを当該収容端末に中継
し、到着した自ノード発ユニキャストデータパケットを
廃棄処理するデータパケット送受信工程とを含むことを
特徴とする。
In the ring selection method in the dual ring network system according to the next invention, a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. In the dual ring network system described above, the plurality of nodes periodically transmits a health check packet to both rings and relays a health check packet originating from another node along the ring while arriving at its own node. In the process of transmitting / receiving the health check packet for discarding the source health check packet and in the process of transmitting / receiving the health check packet, arrival / non-arrival of the health check packet is monitored for each source node and If it arrives from the ring, it will send the unicast data The ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal identifier of the packet is selected as the transmission ring, and if the ring arrives from only one ring, the one ring is selected as the transmission ring. ,
If it does not arrive from both rings, the transmission ring selection step of selecting both rings as the transmission ring, and the unicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result and arrived. It relays the unicast data packet originating from the node along the ring, and when it is addressed to the terminal accommodated by its own node, relays the unicast data packet to the accommodating terminal and discards the unicast data packet originating from the own node. And a data packet transmitting / receiving step for processing.

【0053】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信工程にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットはリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、送信リング選択工程にて、
送信元ノード毎に自ノード発ヘルスチェックパケットの
到着/未着が監視される。そして、両リングから到着し
た場合には、送信するユニキャストデータパケットの宛
先端末識別子の所定ビット位置のビットの論理値に応じ
て定められたリングが送信リングとして選択され、一方
のリングのみから到着した場合には、当該一方のリング
が送信リングとして選択され、両方のリングから到着し
ない場合は、両方のリングが送信リングとして選択され
る。その結果、データパケット送受信工程にて、収容す
る端末から送られてきたユニキャストデータパケットが
前記選択結果に基づくリングに送信される。そして、到
着した他ノード発ユニキャストデータパケットはリング
に沿って中継されるとともに、自ノードが収容する端末
宛であるときはそのユニキャストデータパケットが当該
収容端末に中継される。また、到着した自ノード発ユニ
キャストデータパケットは廃棄処理される。
According to the present invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, in the transmission ring selection step,
Arrival / non-arrival of the health check packet originating from the own node is monitored for each source node. When arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal identifier of the unicast data packet to be transmitted is selected as the transmission ring and arrives from only one ring. If so, one of the rings is selected as the transmitting ring, and if no ring arrives from both rings, both rings are selected as the transmitting rings. As a result, in the data packet transmitting / receiving step, the unicast data packet transmitted from the accommodating terminal is transmitted to the ring based on the selection result. Then, the unicast data packet arriving from another node is relayed along the ring, and when the unicast data packet is addressed to the terminal accommodated by the own node, the unicast data packet is relayed to the accommodated terminal. Further, the unicast data packet originating from the own node that has arrived is discarded.

【0054】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、相反する方向性
を持つ1次リングと2次リングの二重リングからなる伝
送媒体または回線を介して複数のノードが接続される二
重リングネットワークシステムにおいて、前記複数のノ
ード側は、ヘルスチェックパケットを両リングに周期的
に送信し、到着した他ノード発ヘルスチェックパケット
をリングに沿って中継する一方、到着した自ノード発ヘ
ルスチェックパケットを廃棄するヘルスチェックパケッ
ト送受信工程と、前記ヘルスチェックパケットが送受信
される過程で、送信元ノード毎にヘルスチェックパケッ
トの到着/未着を監視し、自ノード発ヘルスチェックパ
ケットが両リングから到着した場合には、送信するマル
チキャストデータパケットの複数の宛先端末のグループ
を識別する宛先端末グループ識別子の所定ビット位置の
ビットの論理値に応じて定められたリングを送信リング
として選択し、一方のリングのみから到着した場合に
は、当該一方のリングを送信リングとして選択し、両方
のリングから到着しない場合は、両方のリングを送信リ
ングとして選択する送信リング選択工程と、収容する端
末から送られてきたマルチキャストデータパケットを前
記選択結果に基づくリングに送信し、到着した他ノード
発マルチキャストデータパケットをリングに沿って中継
するとともに、自ノードが収容する端末宛であるときは
そのマルチキャストデータパケットを当該収容端末に中
継し、到着した自ノード発マルチキャストデータパケッ
トを廃棄処理するデータパケット送受信工程とを含むこ
とを特徴とする。
In the ring selection method in the dual ring network system according to the next invention, a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. In the dual ring network system described above, the plurality of nodes periodically transmits health check packets to both rings and relays the health check packets originating from other nodes along the rings while arriving at its own node. In the process of transmitting / receiving the health check packet for discarding the source health check packet and in the process of transmitting / receiving the health check packet, arrival / non-arrival of the health check packet is monitored for each source node and Multicast data to send when arriving from the ring A ring selected according to the logical value of the bit at the predetermined bit position of the destination terminal group identifier that identifies a group of a plurality of destination terminals of a packet is selected as the transmission ring, and if it arrives from only one ring, If one ring is selected as the transmission ring and it does not arrive from both rings, the transmission ring selection step of selecting both rings as the transmission ring and the multicast data packet sent from the accommodating terminal as the selection result. Based on this, the multicast data packet originating from another node is relayed along the ring, and when it is addressed to the terminal accommodated by the own node, the multicast data packet is relayed to the accommodated terminal and the arrived own node Data packet transmission / reception that discards outgoing multicast data packets Characterized in that it comprises a step.

【0055】この発明によれば、各ノードでは、ヘルス
チェックパケット送受信工程にて、ヘルスチェックパケ
ットが両リングに周期的に送信され、到着した他ノード
発ヘルスチェックパケットはリングに沿って中継される
一方、到着した自ノード発ヘルスチェックパケットは廃
棄することが行われる。このようなヘルスチェックパケ
ットが送受信される過程で、送信リング選択工程にて、
送信元ノード毎に自ノード発ヘルスチェックパケットの
到着/未着が監視される。そして、両リングから到着し
た場合には、送信するマルチキャストデータパケットの
複数の宛先端末のグループを識別する宛先端末グループ
識別子の所定ビット位置のビットの論理値に応じて定め
られたリングが送信リングとして選択され、一方のリン
グのみから到着した場合には、当該一方のリングが送信
リングとして選択され、両方のリングから到着しない場
合は、両方のリングが送信リングとして選択される。そ
の結果、データパケット送受信工程にて、収容する端末
から送られてきたマルチキャストデータパケットが前記
選択結果に基づくリングに送信される。そして、到着し
た他ノード発マルチキャストデータパケットはリングに
沿って中継されるとともに、自ノードが収容する端末宛
であるときはそのマルチキャストデータパケットが当該
収容端末に中継される。また、到着した自ノード発マル
チキャストデータパケットは廃棄される。
According to the present invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, in the transmission ring selection step,
Arrival / non-arrival of the health check packet originating from the own node is monitored for each source node. When arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal group identifier that identifies the group of the plurality of destination terminals of the multicast data packet to be transmitted is the transmission ring. If one ring is selected and arrives from only one ring, the one ring is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, in the data packet transmission / reception step, the multicast data packet transmitted from the accommodating terminal is transmitted to the ring based on the selection result. Then, the arrived multicast data packet originating from another node is relayed along the ring, and when it is addressed to the terminal accommodated by the own node, the multicast data packet is relayed to the accommodated terminal. In addition, the arrived multicast data packet originating from the own node is discarded.

【0056】つぎの発明にかかる二重リングネットワー
クシステムにおけるリング選択方法は、上記の発明にお
いて、前記送信リング選択工程は、自ノード発ヘルスチ
ェックパケットが両リングから到着した場合において、
前記識別子の一部または全部に対して所定の計算を実施
してランダムなビット値を求める工程を含み、そのビッ
ト値に応じて定められたリングを送信リングとして選択
することを特徴とする。
In the ring selection method in the dual ring network system according to the next invention, in the above invention, in the transmission ring selection step, when the health check packet originated from the own node arrives from both rings,
The method is characterized by including a step of performing a predetermined calculation on a part or all of the identifier to obtain a random bit value, and selecting a ring determined according to the bit value as a transmission ring.

【0057】この発明によれば、上記の発明において、
送信リング選択工程では、自ノード発ヘルスチェックパ
ケットが両リングから到着した場合において、前記識別
子の一部または全部に対して所定の計算を実施してラン
ダムなビット値が求められ、そのビット値に応じて定め
られたリングが送信リングとして選択される。
According to this invention, in the above invention,
In the transmission ring selection step, when the health check packet originating from the own node arrives from both rings, a random bit value is obtained by performing a predetermined calculation on a part or all of the identifier, and the bit value is set to the bit value. The ring determined accordingly is selected as the transmission ring.

【0058】[0058]

【発明の実施の形態】以下に添付図面を参照して、この
発明にかかる二重リングネットワークシステムおよびリ
ング選択方法の好適な実施の形態を詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Preferred embodiments of a dual ring network system and a ring selection method according to the present invention will be described in detail below with reference to the accompanying drawings.

【0059】実施の形態1.図1は、この発明の実施の
形態1である二重リングネットワークシステムの全体構
成を示すブロック図である。図1において、二重リング
ネットワークシステムは、相反する方向性を持つ1次リ
ング11と2次リング12とからなる二重リング1と、
二重リング1を伝送媒体または回線として相互間が接続
される複数のノード2−1〜2−nとで構成される。実
施の形態1では、この二重リングネットワークシステム
において、任意のノード間で、1次リング11または2
次リング12を介して、データパケットとヘルスチェッ
クパケットの送受が行われるようになっている。
Embodiment 1. 1 is a block diagram showing the overall configuration of a dual ring network system according to a first embodiment of the present invention. In FIG. 1, the dual ring network system includes a dual ring 1 including a primary ring 11 and a secondary ring 12 having opposite directions.
The dual ring 1 is composed of a plurality of nodes 2-1 to 2-n which are connected to each other by using the transmission medium or the line. In the first embodiment, in this dual ring network system, the primary ring 11 or 2 is connected between arbitrary nodes.
Data packets and health check packets are transmitted and received through the next ring 12.

【0060】図2は、図1に示す各ノードの内部構成例
である。図2に示すように、ノード20は、リングイン
タフェース部(リングI/F部)21,22とスイッチ
部23とデータパケット処理部24とヘルスチェックパ
ケット処理部25とを備えている。リングI/F部2
1,22は、リングポート26,27に接続されるリン
グ回線(1次リング11と2次リング12)を終端す
る。データパケット処理部24は、スイッチ部23から
渡されたデータパケットを処理し、またスイッチ部23
に渡すデータパケットを処理する。
FIG. 2 shows an example of the internal structure of each node shown in FIG. As shown in FIG. 2, the node 20 includes ring interface units (ring I / F units) 21 and 22, a switch unit 23, a data packet processing unit 24, and a health check packet processing unit 25. Ring I / F part 2
1, 22 terminate the ring lines (primary ring 11 and secondary ring 12) connected to the ring ports 26, 27. The data packet processing unit 24 processes the data packet passed from the switch unit 23, and also the switch unit 23.
Process data packets to be passed to.

【0061】ヘルスチェックパケット処理部25は、ス
イッチ部23から渡されたヘルスチェックパケットを処
理し、またスイッチ部23に渡すヘルスチェックパケッ
トを処理する。ヘルスチェックパケットは、自ノードの
健全性を他ノードに通知するためのパケットである。処
理の詳細については、後述する。
The health check packet processing unit 25 processes the health check packet passed from the switch unit 23, and also processes the health check packet passed to the switch unit 23. The health check packet is a packet for notifying other nodes of the health of the own node. Details of the processing will be described later.

【0062】スイッチ部23は、パケット(データパケ
ットとヘルスチェックパケット)に記されたパケット種
別や宛先ノードIDを参照し、以下に示す(1)〜
(3)のようにパケット交換を行う。(1)リングI/
F部21,22から到着したパケットがヘルスチェック
パケットの場合、または、自ノード宛データパケットの
場合、データパケットはデータパケット処理部24に渡
し、ヘルスチェックパケットはヘルスチェックパケット
処理部25に渡す。(2)リングI/F部21,22の
一方から到着したパケットが他ノード宛データパケット
の場合、リングI/F部21,22の他方に渡す。つま
り、中継する。(3)データパケット処理部24から到
着したデータパケットとヘルスチェックパケット処理部
25から到着したヘルスチェックパケットをリングI/
F部21,22に渡し、二重リング1に送出させる。
The switch unit 23 refers to the packet type and the destination node ID described in the packet (data packet and health check packet), and the following (1) to (1) to
Packet exchange is performed as in (3). (1) Ring I /
When the packet arriving from the F units 21 and 22 is a health check packet or a data packet addressed to the own node, the data packet is passed to the data packet processing unit 24, and the health check packet is passed to the health check packet processing unit 25. (2) When the packet arriving from one of the ring I / F units 21 and 22 is a data packet addressed to another node, it is passed to the other of the ring I / F units 21 and 22. That is, relay it. (3) Ring I / O the data packet arriving from the data packet processing unit 24 and the health check packet arriving from the health check packet processing unit 25.
It is passed to the F sections 21 and 22 and sent to the double ring 1.

【0063】図3は、パケット(データパケットとヘル
スチェックパケット)の構成例である。図3において、
この実施の形態1で採用するパケット(データパケット
とヘルスチェックパケット)は、パケット種別31とT
TL(Time To Live)32と宛先ノードID33と送信
元ノードID34と検査符号35とパケットデータ36
とで構成されている。
FIG. 3 shows an example of the structure of packets (data packet and health check packet). In FIG.
The packets (data packet and health check packet) adopted in the first embodiment are packet type 31 and T.
TL (Time To Live) 32, destination node ID 33, source node ID 34, check code 35, and packet data 36
It consists of and.

【0064】パケット種別31は、データパケットとヘ
ルスチェックパケットを識別するための識別子である。
TTL32は、宛先ノードの離脱等の理由で受け取り手
がなく、無限に周回するパケットをリングから取り除く
ためのパケット残存時間である。送信元ノードが初期値
を記入するようになっている。初期値には、リング上の
ノード数以上の値が用いられる。中継ノードは、TTL
値を1つ減算する。いずれかのノードにTTL=0のパ
ケットが到着した場合に、当該パケットは廃棄される。
The packet type 31 is an identifier for identifying a data packet and a health check packet.
The TTL 32 is a packet remaining time for removing from the ring a packet that has no receiver because of the departure of the destination node or the like and that circulates infinitely. The source node fills in the initial value. A value equal to or larger than the number of nodes on the ring is used as the initial value. The relay node is TTL
Subtract one value. When a packet with TTL = 0 arrives at any node, the packet is discarded.

【0065】宛先ノードID33は、宛先ノードの識別
子である。なお、この宛先ノードID33は、ヘルスチ
ェックパケットの場合には不使用である。送信元ノード
ID34は、送信元ノードの識別子である。検査符号3
5は、中継ノードまたは宛先ノードで当該パケットの各
領域の正当性を検査するための符号である。パケットデ
ータ36は、当該パケットの本体である。
The destination node ID 33 is an identifier of the destination node. The destination node ID 33 is not used in the case of a health check packet. The transmission source node ID 34 is an identifier of the transmission source node. Check code 3
Reference numeral 5 is a code for checking the validity of each area of the packet at the relay node or the destination node. The packet data 36 is the body of the packet.

【0066】図4は、受信リング選択テーブルの構成例
である。この実施の形態1で採用する受信リング選択テ
ーブルは、送信元ノードID41毎にデータパケットを
受信するように選択された受信リング42を記したもの
である。但し、内容は、各ノード毎に異なる。なお、こ
の受信リング選択テーブルは、ソフトウェアで管理する
テーブルを意味するのではなく、送信元ノードID41
毎に選択された受信リング42を保持する例えばフリッ
プフロップ群で構成される。
FIG. 4 shows an example of the structure of the receiving ring selection table. The receiving ring selection table adopted in the first embodiment describes the receiving ring 42 selected to receive the data packet for each source node ID 41. However, the contents differ for each node. It should be noted that this receiving ring selection table does not mean a table managed by software, but a transmission source node ID 41.
The receiving ring 42 selected for each is constituted by, for example, a group of flip-flops.

【0067】次に、図5〜図8を参照して、各ノードの
動作を説明する。なお、図5は、ヘルスチェックパケッ
トの送受信に基づく受信リング選択テーブルの生成動作
を説明するフローチャートである。図6は、データパケ
ットの送受信動作を説明するフローチャートである。図
7は、障害発生によるリング選択動作を説明する図であ
る。図8は、障害発生によるリング選択動作時に更新さ
れる受信リング選択テーブルの内容を説明する図であ
る。
Next, the operation of each node will be described with reference to FIGS. Note that FIG. 5 is a flowchart illustrating the operation of generating the reception ring selection table based on the transmission / reception of the health check packet. FIG. 6 is a flow chart for explaining the data packet transmission / reception operation. FIG. 7 is a diagram for explaining the ring selection operation due to the occurrence of a failure. FIG. 8 is a diagram for explaining the contents of the reception ring selection table that is updated during the ring selection operation due to the occurrence of a failure.

【0068】まず、受信リング選択テーブルの生成動作
を説明する。図5(1)において、各ノードは、TTL
32の値を記入したヘルスチェックパケットを両方のリ
ングに一定周期で送信する(ステップST1)。図5
(2)において、各ノードは、各リングから到着したヘ
ルスチェックパケットの送信元ノードID34を参照し
(ステップST2)、当該到着したヘルスチェックパケ
ットが自ノード発ヘルスチェックパケットであるか否か
を判断する(ステップST3)。ステップST3の判断
結果、自ノード発ヘルスチェックパケットである場合に
は(ステップST3:Yes)、廃棄処理をする(ステ
ップST4)。また、ステップST3の判断結果、他ノ
ード発ヘルスチェックパケットである場合には(ステッ
プST3:No)、ヘルスチェックパケット処理部25
に取り込み、TTL32の値を1つ減算してリングに沿
って中継する(ステップST5)。
First, the operation of generating the reception ring selection table will be described. In FIG. 5A, each node is a TTL.
The health check packet in which the value of 32 is entered is transmitted to both rings at a constant cycle (step ST1). Figure 5
In (2), each node refers to the source node ID 34 of the health check packet arriving from each ring (step ST2), and determines whether or not the arriving health check packet is the health check packet originating from the own node. Yes (step ST3). If the result of determination in step ST3 is that the health check packet originated from the own node (step ST3: Yes), discard processing is performed (step ST4). If the result of determination in step ST3 is a health check packet originating from another node (step ST3: No), the health check packet processing unit 25.
, The value of TTL32 is decremented by 1 and relayed along the ring (step ST5).

【0069】図5(3)において、各ノードは、中継す
る過程で、送信元ノード毎かつリング毎に、一定周期中
の他ノード発ヘルスチェックパケットの到着/未着を監
視し(ステップST6)、以下の(1)〜(3)に示す
ように経路上の障害の有無を判断し、受信リング選択テ
ーブルの内容を生成ないしは更新する。
In FIG. 5 (3), each node monitors arrival / non-arrival of a health check packet originating from another node during a certain period in each relay node in the process of relaying (step ST6). As shown in the following (1) to (3), the presence / absence of a fault on the route is determined, and the contents of the reception ring selection table are generated or updated.

【0070】(1)一定周期中に両方のリングから他ノ
ード発ヘルスチェックパケットが到着した場合には、当
該他ノードから自ノードまでの両経路は共に正常と判断
される。この場合には、TTL値のより多いヘルスチェ
ックパケットが到着したリングを、当該他ノードが送信
元ノードであるデータパケットの受信リングとなるよう
に受信リング選択テーブルを設定する(ステップST
7)。その結果、ホップ数の少ないリングからデータパ
ケットが受信できるようになる。
(1) When health check packets originating from other nodes arrive from both rings during a fixed period, both routes from the other node to the own node are judged to be normal. In this case, the reception ring selection table is set so that the ring on which the health check packet with the larger TTL value arrives becomes the reception ring of the data packet whose other node is the transmission source node (step ST
7). As a result, the data packet can be received from the ring having a small number of hops.

【0071】(2)一定周期中に一方のリングのみから
他ノード発ヘルスチェックパケットが到着した場合に
は、当該他ノードから自ノードまでの両経路のうち、ヘ
ルスチェックパケットが到着した経路のみが正常と判断
される。この場合には、ヘルスチェックパケットが到着
したリングを、当該他ノードが送信元ノードであるデー
タパケットの受信リングとするように受信リング選択テ
ーブルを設定する(ステップST8)。その結果、障害
発生時には、更新された正常なリングからデータパケッ
トが受信できるようになる。
(2) When a health check packet originating from another node arrives from only one ring during a certain period, only the path from which the health check packet arrives out of both routes from the other node to the own node. It is judged to be normal. In this case, the reception ring selection table is set so that the ring on which the health check packet arrives is the reception ring of the data packet whose other node is the transmission source node (step ST8). As a result, when a failure occurs, the data packet can be received from the updated normal ring.

【0072】(3)一定周期中に両方のリングから他ノ
ード発ヘルスチェックパケットが到着しない場合には、
当該他ノードから自ノードまでの両経路は共に異常と判
断される。この場合には、当該他ノードが送信元ノード
であるデータパケットの受信は不可能であるので、受信
リング選択テーブルの内容は更新しない(ステップST
9)。
(3) If the health check packets originating from other nodes do not arrive from both rings during a certain period,
Both routes from the other node to the own node are determined to be abnormal. In this case, since it is impossible to receive the data packet whose other node is the transmission source node, the contents of the reception ring selection table are not updated (step ST
9).

【0073】次に、データパケットの送受信動作を説明
する。図6(1)において、各ノードは、データパケッ
トを両方のリングに送信する(ステップST11)。図
6(2)において、各ノードは、各リングから到着した
データパケットの宛先ノードIDを参照し(ステップS
T12)、他ノード宛データパケットであるか否かを判
断する(ステップST13)。ステップST13の判断
結果、他ノード宛データパケットである場合には(ステ
ップST13:Yes)、TTL値を1つ減算し、リン
グに沿って中継する(ステップST14)。
Next, the data packet transmission / reception operation will be described. In FIG. 6 (1), each node transmits a data packet to both rings (step ST11). In FIG. 6 (2), each node refers to the destination node ID of the data packet arriving from each ring (step S
(T12), it is determined whether the packet is a data packet addressed to another node (step ST13). If the result of determination in step ST13 is a data packet addressed to another node (step ST13: Yes), the TTL value is decremented by 1 and relayed along the ring (step ST14).

【0074】一方、ステップST13の判断結果、自ノ
ード宛データパケットである場合には(ステップST1
3:No)、データパケットの送信元ノードIDを参照
し(ステップST15)、データパケットを受信したリ
ングが、受信リング選択テーブルに保持されたリングと
一致するか否かを判断する(ステップST16)。ステ
ップST16の判断結果、一致する場合には(ステップ
ST16:Yes)、当該データパケットをデータパケ
ット処理部24に取り込み、受信処理をする(ステップ
ST17)。一方、ステップST16の判断結果、一致
しない場合には(ステップST16:No)、当該デー
タパケットを廃棄処理をする(ステップST18)。
On the other hand, if the result of determination in step ST13 is a data packet addressed to the own node (step ST1
3: No), referring to the source node ID of the data packet (step ST15), it is determined whether or not the ring that received the data packet matches the ring held in the reception ring selection table (step ST16). . If the result of determination in step ST16 is that they match (step ST16: Yes), the data packet is taken into the data packet processing unit 24 and reception processing is performed (step ST17). On the other hand, if the result of determination in step ST16 is that they do not match (step ST16: No), the data packet is discarded (step ST18).

【0075】次に、障害発生によるリング選択動作を説
明する。図7では、5つのノード51〜55が二重リン
グ1を介して接続された二重リングネットワークシステ
ムが示されている。ここでは、(a)に示す断線前の状
態においてノード53がノード51にデータパケットを
送信している際に、(b)に示すようにノード52とノ
ード53間の2次リング12が断線した場合のリング選
択動作を説明する。なお、図8は、ノード51の受信リ
ング選択テーブルの遷移状態を示すが、送信元ノードI
D41の欄において、#1はノード51に付与されたI
D、#2はノード52に付与されたID、#3はノード
53に付与されたID、#4はノード54に付与された
ID、#5はノード55に付与されたIDである。
Next, the ring selection operation due to the occurrence of a failure will be described. In FIG. 7, a dual ring network system in which five nodes 51 to 55 are connected via a dual ring 1 is shown. Here, while the node 53 is transmitting a data packet to the node 51 in the state before the disconnection shown in (a), the secondary ring 12 between the node 52 and the node 53 is disconnected as shown in (b). The ring selection operation in the case will be described. 8 shows the transition state of the reception ring selection table of the node 51, the transmission source node I
In the column of D41, # 1 is the I assigned to the node 51.
D and # 2 are IDs given to the node 52, # 3 are IDs given to the node 53, # 4 is ID given to the node 54, and # 5 is ID given to the node 55.

【0076】断線前(図7(a))では、ノード51に
ノード52〜55発のヘルスチェックパケットが両リン
グから到着するので、ノード51の受信リング選択テー
ブルは、図8(a)に示すように生成される。図8(a)
では、受信リング42の欄において、ノード51(送信
元ノードID#1)に対する受信リングは設定されてい
ないが、ノード52(送信元ノードID#2)とノード
53(送信元ノードID#3)に対する受信リングは、
2次リング12と設定されている。ノード54(送信元
ノードID#4)とノード55(送信元ノードID#
5)に対する受信リングは、1次リング11と設定され
ている。
Before the disconnection (FIG. 7A), the health check packets from the nodes 52 to 55 arrive at the node 51 from both rings. Therefore, the reception ring selection table of the node 51 is shown in FIG. 8A. Is generated. Figure 8 (a)
Then, in the column of the receiving ring 42, the receiving ring for the node 51 (source node ID # 1) is not set, but the node 52 (source node ID # 2) and the node 53 (source node ID # 3) The receiving ring for
It is set as the secondary ring 12. Node 54 (source node ID # 4) and node 55 (source node ID #
The receiving ring for 5) is set as the primary ring 11.

【0077】データパケットの送受信時では、ノード5
1は、この受信リング選択テーブルに基づき、2次リン
グ12から到着したノード53発ノード51宛のデータ
パケットを取り込み、1次リング11から到着したノー
ド53発のデータパケットは廃棄する。ヘルスチェック
パケットの一定周期での送受信は、データパケットの送
受信と並行して実施するようになっている。
At the time of transmitting / receiving a data packet, the node 5
Based on this receiving ring selection table, 1 takes in the data packet addressed to node 51 originating from secondary ring 12 and addressed to node 51, and discards the data packet originating from node 53 arriving from primary ring 11. The transmission / reception of the health check packet at a constant cycle is performed in parallel with the transmission / reception of the data packet.

【0078】次に、図7(b)に示すように、ノード52
とノード53間の2次リング12が断線すると、ノード
51には、ノード52発のヘルスチェックパケットが両
リングから到着するが、ノード53〜55発のヘルスチ
ェックパケットは1次リング11のみから到着する。そ
の結果、ノード51の受信リング選択テーブルは、図8
(b)に示すように、ノード53(送信元ノードID#
3)に対する受信リングが1次リング11に更新され
る。ノード52(送信元ノードID#2),54(送信
元ノードID#4),55(送信元ノードID#5)に
ついては、結果として断線前と同じになる。
Next, as shown in FIG. 7B, the node 52
When the secondary ring 12 between the node 53 and the node 53 is disconnected, health check packets from the node 52 arrive at the node 51 from both rings, but health check packets from the nodes 53 to 55 arrive from only the primary ring 11. To do. As a result, the reception ring selection table of the node 51 is shown in FIG.
As shown in (b), the node 53 (source node ID #
The receiving ring for 3) is updated to the primary ring 11. As for the nodes 52 (source node ID # 2), 54 (source node ID # 4), 55 (source node ID # 5), the result is the same as before the disconnection.

【0079】したがって、データパケットの送受信時で
は、ノード51は、この更新された受信リング選択テー
ブルに基づき、1次リング11から到着したノード53
発ノード51宛のデータパケットを取り込むことにな
る。2次リング12が断線したので、ノード53発のデ
ータパケットは2次リング12から到着しない。
Therefore, when transmitting / receiving the data packet, the node 51 receives the node 53 from the primary ring 11 based on the updated receiving ring selection table.
A data packet addressed to the source node 51 will be captured. Since the secondary ring 12 is broken, the data packet originating from the node 53 does not arrive from the secondary ring 12.

【0080】このように、実施の形態1によれば、各ノ
ードは、受信リング選択テーブルを自律的に生成し、ノ
ード構成の変化や障害の発生を速やかに検出し、受信リ
ング選択テーブルに自律的に反映することができる。し
たがって、各ノードに、リング上のノード接続順序と自
ノードの位置とを関連付けて格納するデータベースを予
め設定しておく必要がなく、管理が容易となる。
As described above, according to the first embodiment, each node autonomously generates the reception ring selection table, promptly detects a change in the node configuration and the occurrence of a failure, and the reception ring selection table is autonomously detected. Can be reflected in a positive way. Therefore, it is not necessary to previously set a database in which each node stores the node connection order on the ring and the position of the own node in association with each other, which facilitates management.

【0081】また、各ノードは、ノードの組み合わせ毎
にホップ数の少ない、すなわち遅延時間の少ないリング
から受信できるように受信リング選択テーブルを自律的
に生成ないしは更新するので、ネットワークの性能を容
易に向上させることができる。
Further, since each node autonomously generates or updates the reception ring selection table so that it can be received from a ring having a small number of hops, that is, a delay time is small for each combination of nodes, network performance can be facilitated. Can be improved.

【0082】さらに、以上の説明からも理解できるよう
に、障害発生によるリング選択処理は単純で、ソフトウ
ェア処理に馴染まず、ハードウェア処理が好適であるの
で、リング選択の高速化が容易に実現できる。
Further, as can be understood from the above description, the ring selection process due to the occurrence of a fault is simple, and the hardware process is not suitable for the software process, and the hardware process is suitable, so that the speed of the ring selection can be easily realized. .

【0083】実施の形態2.図9は、この発明の実施の
形態2である二重リングネットワークシステムで実施さ
れる受信リング選択テーブルの生成動作を説明するフロ
ーチャートである。この実施の形態2では、図1に示し
た二重リングネットワークシステムにおいて、実施の形
態1で説明したヘルスチェックパケットの残存時間(T
TL)を用いないで受信リング選択テーブルを生成する
方法が示されている。各ノードの内部構成、パケットの
構成や送受信に関しては、実施の形態1と同様である。
ここでは、実施の形態2に関わる受信リング選択テーブ
ルの生成方法を説明する。
Embodiment 2. FIG. 9 is a flow chart for explaining a receiving ring selection table generating operation executed in the dual ring network system according to the second embodiment of the present invention. In the second embodiment, in the dual ring network system shown in FIG. 1, the health check packet remaining time (T
A method of generating a receiving ring selection table without using TL) is shown. The internal configuration of each node, the packet configuration, and transmission / reception are the same as in the first embodiment.
Here, a method of generating the receiving ring selection table according to the second embodiment will be described.

【0084】図9では、図5に示した処理手順と同一な
いしは同等である処理手順には、同一の符号が付されて
いる。図9(1)において、各ノードは、ヘルスチェッ
クパケットを両方のリングに一定周期で送信する(ステ
ップST21)。図9(2)において、各ノードは、各
リングから到着したヘルスチェックパケットの送信元ノ
ードID34を参照し(ステップST2)、当該到着し
たヘルスチェックパケットが自ノード発ヘルスチェック
パケットである場合には(ステップST3:Yes)、
廃棄処理をする(ステップST4)。また、他ノード発
ヘルスチェックパケットである場合には(ステップST
3:No)、実施の形態1とは異なり、そのままリング
に沿って中継する(ステップST22)。
In FIG. 9, the same reference numerals are given to the processing procedures which are the same as or equivalent to the processing procedures shown in FIG. In FIG. 9 (1), each node transmits a health check packet to both rings at regular intervals (step ST21). In FIG. 9 (2), each node refers to the source node ID 34 of the health check packet arriving from each ring (step ST2), and when the arriving health check packet is the health check packet originating from the own node, (Step ST3: Yes),
A disposal process is performed (step ST4). If the packet is a health check packet originating from another node (step ST
3: No), unlike the first embodiment, the relay is performed along the ring as it is (step ST22).

【0085】図9(3)において、各ノードは、送信元
ノード毎かつリング毎に、一定周期中の他ノード発ヘル
スチェックパケットの到着/未着を監視し(ステップS
T6)、以下の(1)〜(3)に示すように経路上の障
害の有無を判断し、受信リング選択テーブルの内容を生
成ないしは更新する。
In FIG. 9C, each node monitors arrival / non-arrival of the health check packet originating from another node during a certain period for each source node and for each ring (step S
T6) As shown in the following (1) to (3), the presence or absence of a fault on the route is determined, and the contents of the receiving ring selection table are generated or updated.

【0086】(1)一定周期中に両方のリングから他ノ
ード発ヘルスチェックパケットが到着した場合には、当
該他ノードから自ノードまでの両経路は共に正常と判断
される。この場合には、実施の形態1とは異なり、ヘル
スチェックパケットが先に到着したリングを、当該他ノ
ードが送信元ノードであるデータパケットの受信リング
とするように受信リング選択テーブルを設定する(ステ
ップST23)。その結果、伝送路距離が短いリングや
広い帯域を有するリングがデータパケットの受信リング
として選択される。すなわち、ヘルスチェックパケット
が先に到着した一方のリングが、後に到着した他方のリ
ングよりも伝送路の総距離が短いので、一方のリングは
遅延時間が少ないと言える。また、ノード間の伝送帯域
が区間毎に異なれば両リング間での遅延時間に相違が出
るので、同様にヘルスチェックパケットが先に到着した
一方のリングは遅延時間が少ないと言える場合がある。
(1) When health check packets originating from other nodes arrive from both rings during a certain period, both routes from the other node to the own node are judged to be normal. In this case, unlike the first embodiment, the reception ring selection table is set such that the ring in which the health check packet arrives first is the reception ring of the data packet whose other node is the transmission source node ( Step ST23). As a result, a ring having a short transmission path distance or a ring having a wide band is selected as a data packet receiving ring. That is, since one ring where the health check packet arrives first has a shorter total transmission path distance than the other ring that arrives later, it can be said that one ring has a short delay time. Further, if the transmission band between the nodes is different for each section, the delay time between the two rings is different. Therefore, it may be said that one ring in which the health check packet arrives first has a short delay time.

【0087】(2)一定周期中に一方のリングのみから
他ノード発ヘルスチェックパケットが到着した場合に
は、当該他ノードから自ノードまでの両経路のうち、ヘ
ルスチェックパケットが到着した経路のみが正常と判断
される。この場合には、実施の形態1と同様に、ヘルス
チェックパケットが到着したリングを、当該他ノードが
送信元ノードであるデータパケットの受信リングとする
ように受信リング選択テーブルを設定する(ステップS
T8)。
(2) When a health check packet originating from another node arrives from only one ring during a certain period, only the path from which the health check packet arrives out of both routes from the other node to the own node. It is judged to be normal. In this case, as in the first embodiment, the reception ring selection table is set so that the ring on which the health check packet arrives is the reception ring of the data packet whose other node is the transmission source node (step S).
T8).

【0088】(3)一定周期中に両方のリングから他ノ
ード発ヘルスチェックパケットが到着しない場合には、
当該他ノードから自ノードまでの両経路は共に異常と判
断される。この場合には、実施の形態1と同様に、当該
他ノードが送信元ノードであるデータパケットの受信は
不可能であるので、受信リング選択テーブルの内容は更
新しない(ステップST9)。
(3) If the health check packets originating from other nodes do not arrive from both rings during a certain period,
Both routes from the other node to the own node are determined to be abnormal. In this case, as in the first embodiment, since the data packet whose other node is the transmission source node cannot be received, the contents of the reception ring selection table are not updated (step ST9).

【0089】したがって、実施の形態2によれば、実施
の形態1と同様の効果が得られる。加えて、受信リング
選択テーブルは、ホップ数ばかりでなく、伝送路の距離
や帯域を考慮して、遅延時間の少ないリングから受信す
るように生成ないしは更新されるので、ネットワークの
性能をさらに向上させることができる。
Therefore, according to the second embodiment, the same effect as that of the first embodiment can be obtained. In addition, the reception ring selection table is generated or updated so as to receive from the ring with a small delay time in consideration of not only the number of hops but also the distance and band of the transmission path, so that the network performance is further improved. be able to.

【0090】実施の形態3.図10は、この発明の実施
の形態3である二重リングネットワークシステムで採用
する送信リング選択テーブルの構成例を示す図である。
この実施の形態3では、図1に示した二重リングネット
ワークシステムにおいて、実施の形態1、2で示した受
信リング選択テーブルに代えて、送信リング選択テーブ
ルを用いて障害時等でのリング選択を行う場合の構成例
が示されている。ノードの内部構成は図2と同様であ
り、パケットの構成は図3と同様である。ここでは、実
施の形態3に関わる部分を中心に説明する。
Embodiment 3. FIG. 10 is a diagram showing a configuration example of a transmission ring selection table adopted in the dual ring network system according to the third embodiment of the present invention.
In the third embodiment, in the dual ring network system shown in FIG. 1, ring selection at the time of failure or the like is performed by using a transmission ring selection table instead of the reception ring selection table shown in the first and second embodiments. A configuration example for performing the above is shown. The internal configuration of the node is the same as in FIG. 2, and the packet configuration is the same as in FIG. Here, the description will focus on the part related to the third embodiment.

【0091】実施の形態3で採用する送信リング選択テ
ーブルは、図10に示すように、宛先ノードID61毎
にデータパケットを送信する送信リング62を記したも
のである。その内容は、各ノード毎に異なる。なお、こ
の送信リング選択テーブルは、ソフトウェアで管理する
テーブルを意味するのではなく、宛先ノードID61毎
に選択された送信リング62を保持する例えばフリップ
フロップ群で構成される。
As shown in FIG. 10, the transmission ring selection table adopted in the third embodiment describes the transmission ring 62 for transmitting the data packet for each destination node ID 61. The contents differ for each node. Note that this transmission ring selection table does not mean a table managed by software, but is composed of, for example, a group of flip-flops that holds the transmission ring 62 selected for each destination node ID 61.

【0092】次に、図10〜図14を参照して、各ノー
ドの動作を説明する。なお、図11は、ヘルスチェック
パケットの送受信に基づく送信リング選択テーブルの生
成動作を説明するフローチャートである。図12は、デ
ータパケットの送受信動作を説明するフローチャートで
ある。図13は、障害発生によるリング選択動作を説明
する図である。図14は、障害発生によるリング選択動
作時に更新される送信リング選択テーブルの内容を説明
する図である。
Next, the operation of each node will be described with reference to FIGS. 11. FIG. 11 is a flowchart for explaining the operation of generating the transmission ring selection table based on the transmission / reception of the health check packet. FIG. 12 is a flowchart for explaining the data packet transmission / reception operation. FIG. 13 is a diagram for explaining the ring selection operation due to the occurrence of a failure. FIG. 14 is a diagram for explaining the contents of the transmission ring selection table that is updated during the ring selection operation due to the occurrence of a failure.

【0093】まず、送信リング選択テーブルの生成動作
を説明する。なお、図11では、図5に示した処理手順
と同一ないしは同等である処理手順には、同一の符号が
付されている。ここでは、この実施の形態3に関わる部
分を中心に説明する。
First, the operation of generating the transmission ring selection table will be described. In FIG. 11, the same reference numerals are given to the processing procedures that are the same as or equivalent to the processing procedures shown in FIG. Here, the description will focus on the part related to the third embodiment.

【0094】図11(1)において、各ノードは、TT
L32の値を記入したヘルスチェックパケットを両方の
リングに一定周期で送信する(ステップST1)。図1
1(2)において、各ノードは、各リングから到着した
ヘルスチェックパケットの送信元ノードID34を参照
し(ステップST2)、当該到着したヘルスチェックパ
ケットが自ノード発ヘルスチェックパケットであるか否
かを判断する(ステップST3)。ステップST3の判
断結果、自ノード発ヘルスチェックパケットである場合
には(ステップST3:Yes)、廃棄処理をする(ス
テップST4)。また、ステップST3の判断結果、他
ノード発ヘルスチェックパケットである場合には(ステ
ップST3:No)、ヘルスチェックパケット処理部2
5に取り込み、TTL32の値を1つ減算してリングに
沿って中継する(ステップST5)。
In FIG. 11A, each node has a TT
The health check packet in which the value of L32 is entered is transmitted to both rings at a constant cycle (step ST1). Figure 1
In 1 (2), each node refers to the source node ID 34 of the health check packet arriving from each ring (step ST2), and determines whether the arriving health check packet is the health check packet originating from the own node. A judgment is made (step ST3). If the result of determination in step ST3 is that the health check packet originated from the own node (step ST3: Yes), discard processing is performed (step ST4). If the result of determination in step ST3 is a health check packet originating from another node (step ST3: No), the health check packet processing unit 2
5, the value of TTL32 is decremented by 1 and relayed along the ring (step ST5).

【0095】図11(3)において、各ノードは、中継
する過程で、送信元IDを参照することにより、送信元
ノード毎かつリング毎に、一定周期中の自ノード発ヘル
スチェックパケットの到着/未着を監視し(ステップS
T6)、以下の(1)〜(3)に示すように経路上の障
害の有無を判断し、送信リング選択テーブルの内容を生
成ないしは更新する。
In FIG. 11 (3), each node refers to the transmission source ID in the process of relaying, thereby arriving / sending the health check packet originating from the self node during a fixed period for each transmission source node and for each ring. Monitor non-arrival (step S
T6) As shown in the following (1) to (3), the presence or absence of a fault on the route is determined, and the contents of the transmission ring selection table are generated or updated.

【0096】(1)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着した場合には、両
リングは共に正常と判断される。この場合には、TTL
値のより少ない他ノード発ヘルスチェックパケットが到
着したリングを、当該他ノードが宛先ノードであるデー
タパケットの送信リングとするように送信リング選択テ
ーブルを設定する(ステップST31)。到着した他ノ
ード発ヘルスチェックパケットのTTL値がより少ない
ということは、自ノードから逆に辿れば、当該他ノード
までのホップ数が少ないことになる。したがって、当該
他ノードに対してホップ数の少ないリングからデータパ
ケットが送信できるようになる。また、送信元ノード
は、二重リング1の一方のリングのみに送信するので、
両方のリングに送信する場合に比べてリング上の伝送帯
域を有効に使用できるようになる。
(1) When health check packets originated from both nodes arrive from both rings during a fixed period, both rings are judged to be normal. In this case, TTL
The transmission ring selection table is set so that the ring on which the health check packet originating from another node having a smaller value arrives is set as the transmission ring of the data packet whose other node is the destination node (step ST31). The smaller TTL value of the arrived health check packet originating from another node means that the number of hops to the other node is smaller if traced backward from the own node. Therefore, the data packet can be transmitted from the ring having a small number of hops to the other node. Also, since the source node transmits only to one ring of the dual ring 1,
The transmission band on the rings can be used more effectively than when transmitting on both rings.

【0097】(2)一定周期中に一方のリングのみから
自ノード発ヘルスチェックパケットが到着した場合に
は、当該一方のリングのみが正常と判断される。この場
合には、全宛先ノード共通に、ヘルスチェックパケット
が到着したリングをデータパケットの送信リングとする
ように送信リング選択テーブルを設定する(ステップS
T32)。
(2) When the health check packet originated from the own node arrives from only one ring during a certain period, only one ring is judged to be normal. In this case, the transmission ring selection table is set so that the ring on which the health check packet arrives is set as the transmission ring of the data packet, common to all the destination nodes (step S).
T32).

【0098】(3)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着しない場合には、
両リングは共に異常と判断される。この場合には、全宛
先ノード共通に、両リングをデータパケットの送信リン
グとするように送信リング選択テーブルを設定する(ス
テップST33)。
(3) When the health check packets originating from the own node do not arrive from both rings within a certain period,
Both rings are judged to be abnormal. In this case, the transmission ring selection table is set so that both rings are transmission rings for data packets, common to all destination nodes (step ST33).

【0099】次に、データパケットの送受信動作を説明
する。図12(1)において、各ノードは、データパケ
ットを送信リング選択テーブルに基づくリングに送信す
る(ステップST41)。ここでのリングは、片方のリ
ングである。図12(2)において、各ノードでは、デ
ータパケットが両方のリングから到着するので、それぞ
れのリングから到着したデータパケットの宛先ノードI
D33を参照し(ステップST42)、他ノード宛デー
タパケットであるか否かを判断する(ステップST4
3)。ステップST43の判断結果、他ノード宛データ
パケットである場合には(ステップST43:Ye
s)、TTL値を1つ減算し、リングに沿って中継する
(ステップST44)。一方、ステップST43の判断
結果、自ノード宛データパケットである場合には(ステ
ップST43:No)、データパケット処理部24に取
り込み、受信処理をする(ステップST45)。
Next, the data packet transmission / reception operation will be described. In FIG. 12 (1), each node transmits a data packet to the ring based on the transmission ring selection table (step ST41). The ring here is one ring. In FIG. 12 (2), in each node, since the data packet arrives from both rings, the destination node I of the data packet arriving from each ring
D33 is referred to (step ST42), and it is determined whether or not the packet is a data packet addressed to another node (step ST4).
3). If the result of determination in step ST43 is a data packet addressed to another node (step ST43: Ye
s), the TTL value is decremented by 1 and relayed along the ring (step ST44). On the other hand, if the result of determination in step ST43 is that the data packet is addressed to its own node (step ST43: No), it is taken into the data packet processing unit 24 and subjected to reception processing (step ST45).

【0100】このように宛先ノードでは、データパケッ
トが一方のリングのみから到着するので、つまり両方の
リングから重複して到着しないので、図6で示したよう
な廃棄処理(ステップST18)は生じない。すなわ
ち、リング上の伝送帯域の有効利用が図れるようにな
る。
As described above, since the data packet arrives from only one ring at the destination node, that is, the data packets do not arrive overlappingly from both rings, the discarding process (step ST18) shown in FIG. 6 does not occur. . That is, the transmission band on the ring can be effectively used.

【0101】次に、障害発生によるリング選択動作を説
明する。図13では、5つのノード71〜75が二重リ
ング1を介して接続された二重リングネットワークシス
テムが示されている。ここでは、(a)に示す断線前の
状態においてノード73がノード71にデータパケット
を送信している際に、(b)に示すようにノード72と
ノード73間の2次リング12が断線した場合、その後
(c)に示すようにノード72とノード73間において
2次リング12に加えて1次リング11も断線した場合
のリング選択動作を説明する。なお、図14は、ノード
73の送信リング選択テーブルの遷移状態を示すが、宛
先ノードID61の欄において、#1はノード71に付
与されたID、#2はノード72に付与されたID、#
3はノード73に付与されたID、#4はノード74に
付与されたID、#5はノード75に付与されたIDで
ある。
Next, the ring selection operation due to the occurrence of a failure will be described. In FIG. 13, a dual ring network system in which five nodes 71 to 75 are connected via a dual ring 1 is shown. Here, while the node 73 is transmitting the data packet to the node 71 in the state before the disconnection shown in (a), the secondary ring 12 between the node 72 and the node 73 is disconnected as shown in (b). In this case, the ring selection operation when the primary ring 11 is disconnected in addition to the secondary ring 12 between the node 72 and the node 73 as shown in (c) will be described. 14 shows the transition state of the transmission ring selection table of the node 73. In the column of the destination node ID 61, # 1 is the ID given to the node 71, # 2 is the ID given to the node 72, #
3 is the ID given to the node 73, # 4 is the ID given to the node 74, and # 5 is the ID given to the node 75.

【0102】断線前(図13(a))では、ノード73に
は、ノード71〜75発のヘルスチェックパケットが両
リングから到着する。ノード73では、送信元ノード毎
に、各TTL値が比較され、ノード73の送信リング選
択テーブルが図14(a)に示すように生成される。図1
4(a)では、送信リング62の欄において、ノード7
3(宛先ノードID#3)に対する送信リングは設定さ
れていないが、ノード71(宛先ノードID#1)とノ
ード72(宛先ノードID#2)に対する送信リング
は、2次リング12と設定されている。ノード74(宛
先ノードID#4)とノード75(宛先ノードID#
5)に対する送信リングは、1次リング11と設定され
ている。
Before the disconnection (FIG. 13A), the health check packets from the nodes 71 to 75 arrive at the node 73 from both rings. In the node 73, each TTL value is compared for each transmission source node, and the transmission ring selection table of the node 73 is generated as shown in FIG. Figure 1
4 (a), in the column of the transmission ring 62, the node 7
The transmission ring for node 3 (destination node ID # 3) is not set, but the transmission rings for node 71 (destination node ID # 1) and node 72 (destination node ID # 2) are set as secondary ring 12. There is. Node 74 (destination node ID # 4) and node 75 (destination node ID #)
The transmission ring for 5) is set as the primary ring 11.

【0103】データパケットの送受信時では、ノード7
3は、この送信リング選択テーブルに基づき、ノード7
3発ノード71宛データパケットを2次リング12に送
信する。ノード71は、2次リング12から到着したノ
ード73発のデータパケットを取り込む。ヘルスチェッ
クパケットの一定周期での送受信は、データパケットの
送受信と並行して実施するようになっている。
During the transmission / reception of data packets, the node 7
3 based on this transmission ring selection table, node 7
The data packet addressed to the 3-source node 71 is transmitted to the secondary ring 12. The node 71 takes in the data packet originating from the node 73, which arrives from the secondary ring 12. The transmission / reception of the health check packet at a constant cycle is performed in parallel with the transmission / reception of the data packet.

【0104】次に、図13(b)に示すように、ノード
72とノード73間の2次リング12が断線すると、ノ
ード73には自ノード発ヘルスチェックパケットが1次
リング11のみから到着する。その結果、ノード73の
送信リング選択テーブルは、図14(b)に示すよう
に、ノード71(宛先ノードID#1)とノード72
(宛先ノードID#2)に対する送信リングが1次リン
グ11に更新される。ノード74(宛先ノードID#
4),75(宛先ノードID#5)については、結果と
して断線前と同じになる。
Next, as shown in FIG. 13B, when the secondary ring 12 between the node 72 and the node 73 is disconnected, the health check packet originated from the own node arrives at the node 73 only from the primary ring 11. . As a result, the transmission ring selection table of the node 73 has the node 71 (destination node ID # 1) and the node 72 as shown in FIG.
The transmission ring for (destination node ID # 2) is updated to the primary ring 11. Node 74 (destination node ID #
4) and 75 (destination node ID # 5) are the same as before the disconnection.

【0105】したがって、ノード73は、この更新され
た送信リング選択テーブルに基づき、ノード73発ノー
ド71宛のデータパケットを1次リング11に送信す
る。ノード71は、1次リング11から到着したノード
73発のデータパケットを取り込むことになる。
Therefore, the node 73 transmits the data packet addressed to the node 73 and the node 71 to the primary ring 11 based on the updated transmission ring selection table. The node 71 will take in the data packet from the node 73 arriving from the primary ring 11.

【0106】さらに、図13(c)に示すように、ノー
ド72とノード73間の1次リング11が断線し、 両
リング断線の状態になると、ノード73には自ノード発
のヘルスチェックパケットが両リングから到着しない。
その結果、ノード73の送信リング選択テーブルは、図
14(c)に示すように、ノード71(宛先ノードID
#1),ノード72(宛先ノードID#2),ノード7
4(宛先ノードID#4),ノード75(宛先ノードI
D#5)に対する送信リングが、それぞれ1次リング1
1&2次リング12に更新される。
Further, as shown in FIG. 13C, when the primary ring 11 between the node 72 and the node 73 is broken and both rings are broken, the node 73 receives a health check packet from its own node. Not arriving from both rings.
As a result, the transmission ring selection table of the node 73 is, as shown in FIG.
# 1), node 72 (destination node ID # 2), node 7
4 (destination node ID # 4), node 75 (destination node I
The transmission rings for D # 5) are each the primary ring 1
Updated to primary & secondary ring 12.

【0107】ノード73は、この両リングを送信リング
とするように更新された送信リング選択テーブルに基づ
き、ノード73発ノード71宛のデータパケットを両リ
ングに送信する。ノード71は、1次リング11から到
着したノード73発のデータパケットを取り込む。ノー
ド71には、ノード73発のデータパケットは、2次リ
ング12が断線しているので、到着しない。
The node 73 transmits the data packet addressed to the node 73 and the node 71 to both the rings based on the transmission ring selection table updated so that the both rings are the transmission rings. The node 71 takes in the data packet originating from the node 73, which arrives from the primary ring 11. The data packet originating from the node 73 does not arrive at the node 71 because the secondary ring 12 is disconnected.

【0108】したがって、実施の形態3によれば、実施
の形態1と同様の効果が得られる。加えて、送信リング
選択テーブルは、宛先ノードがノードの組み合わせ毎に
ホップ数の少ないリングを選択して送信できるように生
成ないしは更新されるので、リング上の伝送帯域を効率
的に使用でき、ネットワークの性能をさらに向上させる
ことができる。
Therefore, according to the third embodiment, the same effect as that of the first embodiment can be obtained. In addition, the transmission ring selection table is generated or updated so that the destination node can select and transmit a ring with a small number of hops for each combination of nodes, so that the transmission band on the ring can be used efficiently and The performance of can be further improved.

【0109】実施の形態4.図15は、この発明の実施
の形態4である二重リングネットワークシステムで実施
される送信リング選択テーブルの生成動作を説明するフ
ローチャートである。この実施の形態4では、図1に示
した二重リングネットワークシステムにおいて、実施の
形態3で説明したヘルスチェックパケットの残存時間
(TTL)を用いないで送信リング選択テーブルを生成
する方法が示されている。すなわち、この実施の形態4
は、実施の形態2に対応するものである。各ノードの内
部構成、パケットの構成や送受信に関しては、実施の形
態3と同様である。ここでは、実施の形態4に関わる送
信リング選択テーブルの生成方法を説明する。
Fourth Embodiment FIG. 15 is a flow chart for explaining a transmission ring selection table generating operation executed in the dual ring network system according to the fourth embodiment of the present invention. The fourth embodiment shows a method for generating the transmission ring selection table without using the remaining time (TTL) of the health check packet described in the third embodiment in the dual ring network system shown in FIG. ing. That is, the fourth embodiment
Corresponds to the second embodiment. The internal configuration of each node, the configuration of packets, and transmission / reception are the same as in the third embodiment. Here, a method of generating the transmission ring selection table according to the fourth embodiment will be described.

【0110】図15では、図9および図11に示した処
理手順と同一ないしは同等である処理手順には、同一の
符号が付されている。図15(1)において、各ノード
は、ヘルスチェックパケットを両方のリングに一定周期
で送信する(ステップST21)。図15(2)におい
て、各ノードは、各リングから到着したヘルスチェック
パケットの送信元ノードID34を参照し(ステップS
T2)、当該到着したヘルスチェックパケットが自ノー
ド発ヘルスチェックパケットであるか否かを判断する
(ステップST3)。ステップST3の判断結果、自ノ
ード発ヘルスチェックパケットである場合には(ステッ
プST3:Yes)、廃棄処理をする(ステップST
4)。また、ステップST3の判断結果、他ノード発ヘ
ルスチェックパケットである場合には(ステップST
3:No)、他ノード発ヘルスチェックパケットはその
ままリングに沿って中継する(ステップST22)。
In FIG. 15, the same or equivalent processing procedures as those shown in FIGS. 9 and 11 are designated by the same reference numerals. In FIG. 15 (1), each node transmits a health check packet to both rings at regular intervals (step ST21). In FIG. 15B, each node refers to the source node ID 34 of the health check packet arrived from each ring (step S
T2), it is determined whether or not the arrived health check packet is a health check packet originating from the own node (step ST3). If the result of determination in step ST3 is that the health check packet originated from the own node (step ST3: Yes), discard processing is performed (step ST).
4). If the result of determination in step ST3 is a health check packet originating from another node (step ST3
3: No), the health check packet originating from the other node is relayed as it is along the ring (step ST22).

【0111】図15(3)において、各ノードは、中継
する過程で、送信元ノード毎かつリング毎に、一定周期
中の自ノード発ヘルスチェックパケットの到着/未着を
監視し(ステップST6)、以下の(1)〜(3)に示
すように経路上の障害の有無を判断し、送信リング選択
テーブルの内容を生成ないしは更新する。
In FIG. 15 (3), each node monitors arrival / non-arrival of the health check packet originated from its own node during a certain period for each source node and for each ring in the process of relaying (step ST6). As shown in the following (1) to (3), the presence / absence of a fault on the route is determined, and the contents of the transmission ring selection table are generated or updated.

【0112】(1)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着した場合には、両
リングは共に正常と判断される。この場合には、実施の
形態3とは異なり、ヘルスチェックパケットが後に到着
したリングを、当該他ノードが宛先ノードであるデータ
パケットの送信リングとするように送信リング選択テー
ブルを設定する(ステップST51)。その結果、当該
他ノードに対して遅延時間の短いリングからデータパケ
ットが送信できるようになる。また、実施の形態3と同
様に、送信元ノードは、二重リング1の一方のリングの
みに送信するので、両方のリングに送信する場合に比べ
てリング上の伝送帯域を有効に使用できるようになる。
(1) When the health check packets originated from both nodes arrive from both rings during a fixed period, both rings are judged to be normal. In this case, unlike the third embodiment, the transmission ring selection table is set such that the ring on which the health check packet arrives later is set as the transmission ring of the data packet whose other node is the destination node (step ST51). ). As a result, the data packet can be transmitted from the ring having a short delay time to the other node. Further, as in the third embodiment, the transmission source node transmits only to one ring of the dual ring 1, so that the transmission band on the ring can be used more effectively than when transmitting to both rings. become.

【0113】(2)一定周期中に一方のリングのみから
自ノード発ヘルスチェックパケットが到着した場合に
は、当該一方のリングのみが正常と判断される。この場
合には、実施の形態3と同様に、全宛先ノード共通に、
ヘルスチェックパケットが到着したリングをデータパケ
ットの送信リングとするように送信リング選択テーブル
を設定する(ステップST32)。
(2) When the health check packet originated from the own node arrives from only one ring during a certain period, only one ring is judged to be normal. In this case, as in the third embodiment, common to all destination nodes,
The transmission ring selection table is set so that the ring on which the health check packet arrives is the transmission ring of the data packet (step ST32).

【0114】(3)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着しない場合には、
両リングは共に異常と判断される。この場合には、実施
の形態3と同様に、全宛先ノード共通に、両リングをデ
ータパケットの送信リングとするように送信リング選択
テーブルを設定する(ステップST33)。
(3) If the health check packet originated from both nodes does not arrive from both rings within a certain period,
Both rings are judged to be abnormal. In this case, similarly to the third embodiment, the transmission ring selection table is set so that both rings are transmission rings for data packets, common to all destination nodes (step ST33).

【0115】したがって、実施の形態4によれば、実施
の形態3と同様の効果が得られる。加えて、送信リング
選択テーブルは、ホップ数ばかりでなく、伝送路の距離
や帯域を考慮して、遅延時間の少ないリングに送信する
ように生成ないしは更新されるので、リング上の伝送帯
域を一層効率的に使用できるようになり、ネットワーク
の性能をさらに向上させることができる。
Therefore, according to the fourth embodiment, the same effect as that of the third embodiment can be obtained. In addition, the transmission ring selection table is generated or updated so as to transmit to a ring with a short delay time in consideration of not only the number of hops but also the distance and bandwidth of the transmission path, so that the transmission bandwidth on the ring is further improved. It can be used efficiently and the performance of the network can be further improved.

【0116】実施の形態5.図16は、この発明の実施
の形態5である二重リングネットワークシステムで採用
するデータパケットおよびヘルスチェックパケットの構
成例を示す図である。実施の形態5では、データパケッ
トの送受信方法について実施の形態3または実施の形態
4で説明したのとは異なる方法が示されている。その他
は、実施の形態3または実施の形態4と同様である。こ
こでは、実施の形態5に関わる部分を中心に説明する。
Embodiment 5. FIG. 16 is a diagram showing a configuration example of a data packet and a health check packet adopted in the dual ring network system according to the fifth embodiment of the present invention. In the fifth embodiment, a method of transmitting / receiving a data packet different from that described in the third embodiment or the fourth embodiment is shown. Others are the same as those in the third or fourth embodiment. Here, the description will focus on the part related to the fifth embodiment.

【0117】実施の形態5で採用するパケットは、図1
6に示すように、図3に示したパケットの構成におい
て、シーケンス番号81が追加されている。シーケンス
番号81は、各送信元ノード毎にデータパケットに順に
付す連続番号である。なお、このシーケンス番号81
は、ヘルスチェックパケットの場合には、不使用であ
る。
The packet adopted in the fifth embodiment is shown in FIG.
As shown in FIG. 6, a sequence number 81 is added to the packet structure shown in FIG. The sequence number 81 is a serial number sequentially assigned to the data packet for each source node. This sequence number 81
Is not used in the case of a health check packet.

【0118】次に、図17に示すフローチャートを参照
して、実施の形態5に関わるデータパケットの送受信動
作を説明する。図17(1)において、各ノードは、上
記シーケンス番号81が追加されたデータパケットを送
信リング選択テーブルに基づくリングに送信する(ステ
ップST61)。図17(2)において、各ノードは、
それぞれのリングから到着したデータパケットの宛先ノ
ードIDを参照し(ステップST62)、他ノード宛デ
ータパケットであるか否かを判断する(ステップST6
3)。ステップST63の判断結果、他ノード宛データ
パケットである場合には(ステップST63:Ye
s)、TTL値を1つ減算し、リングに沿って中継する
(ステップST64)。
Next, referring to the flowchart shown in FIG. 17, the data packet transmitting / receiving operation according to the fifth embodiment will be described. In FIG. 17 (1), each node transmits the data packet added with the sequence number 81 to the ring based on the transmission ring selection table (step ST61). In FIG. 17 (2), each node is
The destination node ID of the data packet arriving from each ring is referred to (step ST62), and it is determined whether the data packet is a data packet addressed to another node (step ST6).
3). If the result of determination in step ST63 is a data packet addressed to another node (step ST63: Yes
s), the TTL value is decremented by 1 and relayed along the ring (step ST64).

【0119】一方、ステップST63の判断結果、自ノ
ード宛データパケットである場合には(ステップST6
3:No)、シーケンス番号を参照し(ステップST6
5)、当該シーケンス番号が直前に取り込んだ同一ノー
ド発データパケットのシーケンス番号よりも大きいか否
かを判断する(ステップST66)。そして、ステップ
ST66の判断結果、当該シーケンス番号が直前に取り
込んだ同一ノード発データパケットのシーケンス番号よ
りも大きい場合には(ステップST66:Yes)、次
のデータパケットである可能性が高いのでデータパケッ
ト処理部24に取り込み、受信処理をする(ステップS
T67)。一方、ステップST66の判断結果、当該シ
ーケンス番号が直前に取り込んだ同一ノード発データパ
ケットのシーケンス番号と等しいか小さい場合には(ス
テップST66:No)、リング切り替わり時の過渡状
態で生じた重複到着の可能性が高いので廃棄処理をする
(ステップST68)。
On the other hand, if the result of determination in step ST63 is that the data packet is addressed to its own node (step ST6
3: No), referring to the sequence number (step ST6)
5) It is determined whether or not the sequence number is larger than the sequence number of the same-node-originated data packet fetched immediately before (step ST66). If the result of determination in step ST66 is that the sequence number is larger than the sequence number of the same-node-originated data packet fetched immediately before (step ST66: Yes), there is a high possibility that it is the next data packet. The data is taken into the processing unit 24 and is received (step S
T67). On the other hand, as a result of the determination in step ST66, if the sequence number is equal to or smaller than the sequence number of the data packet from the same node fetched immediately before (step ST66: No), the duplicate arrival occurred in the transient state at the time of ring switching. Since there is a high possibility, it is discarded (step ST68).

【0120】したがって、実施の形態5によれば、実施
の形態3および実施の形態4と同様の効果が得られる。
加えて、データパケットはシーケンス番号を備えるの
で、次のような優れた効果が得られる。すなわち、ネッ
トワークの障害状態の変化が、各ノードの送信リング選
択テーブルに反映されるまでの間、同一データパケット
が両リングから宛先ノードに重複して到着する可能性が
ある。
Therefore, according to the fifth embodiment, the same effects as those of the third and fourth embodiments can be obtained.
In addition, since the data packet has the sequence number, the following excellent effects can be obtained. That is, the same data packet may arrive from both rings to the destination node in a duplicated manner until the change in the failure state of the network is reflected in the transmission ring selection table of each node.

【0121】この場合でも、実施の形態5によれば、宛
先ノードが上記のようにシーケンス番号を参照すること
によって、一方のデータパケットのみを受信できるよう
になるので、ネットワークの信頼性をさらに向上させる
ことができる。
Even in this case, according to the fifth embodiment, since the destination node can receive only one data packet by referring to the sequence number as described above, the reliability of the network is further improved. Can be made.

【0122】なお、この実施の形態5では、実施の形態
3または実施の形態4への適用例を説明したが、実施の
形態1または実施の形態2へも同様に適用できるもので
あり、同様の効果が得られる。
Although the fifth embodiment has been described with reference to the application example to the third or fourth embodiment, it can be similarly applied to the first or second embodiment, and the same. The effect of is obtained.

【0123】実施の形態6.図18は、この発明の実施
の形態6である二重リングネットワークシステムで実施
されるデータパケットの送受信動作を説明するフローチ
ャートである。実施の形態6では、データパケットの送
受信方法について実施の形態3または実施の形態4で説
明したのとは異なる方法が示されている。その他は、実
施の形態3または実施の形態4と同様である。ここで
は、実施の形態6に関わる部分を中心に説明する。
Sixth Embodiment FIG. 18 is a flow chart for explaining a data packet transmitting / receiving operation carried out in the dual ring network system according to the sixth embodiment of the present invention. In the sixth embodiment, a method of transmitting / receiving a data packet different from the method described in the third embodiment or the fourth embodiment is shown. Others are the same as those in the third or fourth embodiment. Here, the description will focus on the part relating to the sixth embodiment.

【0124】図18(1)において、各ノードは、TT
Lを記入した、またはTTL未記入のヘルスチェックパ
ケットを両方のリングに一定周期で送信する(ステップ
ST71)。図18(2)において、各ノードは、送信
元IDを参照することにより、送信元ノード毎かつリン
グ毎に、一定周期中の他ノード発ヘルスチェックパケッ
トの到着状況を監視し(ステップST72)、到着状況
に変化があるか否かを判断する(ステップST73)。
ステップST73の判断結果、変化が見られない場合に
は(ステップST73:No)、監視処理を終了する
が、変化が見られる場合には(ステップST73:Ye
s)、経路上の障害状態が変化したと認識し、一定期間
のデータパケット受信禁止期間を設け(ステップST7
4)た後に監視処理を終了する。
In FIG. 18A, each node has a TT
A health check packet in which L is entered or TTL is not entered is transmitted to both rings at a constant cycle (step ST71). In FIG. 18 (2), each node monitors the arrival status of a health check packet originating from another node during a certain period for each source node and for each ring by referring to the source ID (step ST72). It is determined whether or not the arrival situation has changed (step ST73).
If the result of determination in step ST73 is that there is no change (step ST73: No), the monitoring process is ended, but if there is change (step ST73: Yes).
s), recognizing that the fault condition on the route has changed, a data packet reception prohibited period of a fixed period is provided (step ST7).
After 4), the monitoring process ends.

【0125】ここで、ステップST74で設定するデー
タパケット受信禁止期間における一定期間は、障害状態
変化の発生から各ノード発のヘルスチェックパケットが
各ノードに行き渡るまでの時間とし、ヘルスチェックパ
ケット送信周期の1〜2倍程度としている。以上の処理
は、前述した送信リング選択テーブルの生成ないしは更
新の処理過程で実施される。その後、データパケットの
送受信が以下のように実施される。
Here, the fixed period in the data packet reception prohibition period set in step ST74 is the time from the occurrence of the change in the failure state to the distribution of the health check packet from each node to each node, and It is about 1 to 2 times. The above process is executed in the process of generating or updating the transmission ring selection table described above. After that, transmission / reception of the data packet is performed as follows.

【0126】図18(3)において、各ノードは、デー
タパケットを送信リング選択テーブルに基づくリングに
送信する(ステップST75)。図18(4)におい
て、各ノードは、それぞれのリングから到着したデータ
パケットの宛先ノードIDを参照し(ステップST7
6)、他ノード宛データパケットであるか否かを判断す
る(ステップST77)。ステップST77の判断結
果、他ノード宛データパケットである場合には(ステッ
プST77:Yes)、TTL値を1つ減算し、リング
に沿って中継する(ステップST78)。
In FIG. 18 (3), each node transmits the data packet to the ring based on the transmission ring selection table (step ST75). In FIG. 18 (4), each node refers to the destination node ID of the data packet arriving from each ring (step ST7).
6) It is determined whether the packet is a data packet addressed to another node (step ST77). If the result of determination in step ST77 is a data packet addressed to another node (step ST77: Yes), one is subtracted from the TTL value and relayed along the ring (step ST78).

【0127】一方、ステップST77の判断結果、自ノ
ード宛データパケットである場合には(ステップST7
7:No)、まずデータパケット受信禁止期間が設定済
みであるか否かを判断する(ステップST79)。ステ
ップST79の判断結果、データパケット受信禁止期間
の設定がない場合には(ステップST79:No)、上
述した手順で受信処理を行うが(ステップST82)、
データパケット受信禁止期間が設定されている場合には
(ステップST79:Yes)、次に、現在の期間がデ
ータパケット受信禁止期間内であるか否かを判断する
(ステップST80)。
On the other hand, if the result of determination in step ST77 is that the data packet is addressed to its own node (step ST7
7: No), first, it is determined whether or not the data packet reception prohibited period has been set (step ST79). If the result of determination in step ST79 is that the data packet reception prohibited period is not set (step ST79: No), reception processing is performed according to the procedure described above (step ST82).
When the data packet reception prohibited period is set (step ST79: Yes), it is then determined whether or not the current period is within the data packet reception prohibited period (step ST80).

【0128】そして、ステップST80の判断結果、デ
ータパケット受信禁止期間内であれば(ステップST8
0:Yes)、当該到着した自ノード宛データパケット
の廃棄処理をする(ステップST81)。一方、ステッ
プST80の判断結果、データパケット受信禁止期間外
であれば(ステップST80:No)、当該到着した自
ノード宛データパケットをデータパケット処理部24に
取り込み受信処理をする(ステップST82)。
If the result of determination in step ST80 is within the data packet reception prohibited period (step ST8).
0: Yes), the data packet addressed to the node that has arrived is discarded (step ST81). On the other hand, if the result of determination in step ST80 is outside the data packet reception prohibited period (step ST80: No), the arrived data packet addressed to its own node is fetched into the data packet processing unit 24 and reception processing is performed (step ST82).

【0129】したがって、実施の形態6によれば、実施
の形態3および実施の形態4と同様の効果が得られる。
加えて、積極的にネットワークの障害状態の変化を監視
し、データパケット受信禁止期間を設けるようにしたの
で、次のような優れた効果が得られる。すなわち、ネッ
トワークの障害状態の変化が、各ノードの送信リング選
択テーブルに反映されるまでの間、同一データパケット
が両リングから宛先ノードに重複して到着する可能性が
ある。
Therefore, according to the sixth embodiment, the same effects as those of the third and fourth embodiments can be obtained.
In addition, since the change in the network failure state is actively monitored and the data packet reception prohibited period is set, the following excellent effects can be obtained. That is, the same data packet may arrive from both rings to the destination node in a duplicated manner until the change in the failure state of the network is reflected in the transmission ring selection table of each node.

【0130】この場合でも、実施の形態6によれば、宛
先ノードが両方から到着した自ノード宛データパケット
が、上記のようにデータパケット受信禁止期間内である
として強制的に廃棄される。その結果、上位レイヤの通
信プロトコルによる再送を期待することができるので、
ネットワークの信頼性をさらに向上させることができ
る。
Even in this case, according to the sixth embodiment, the data packet addressed to the own node from both destination nodes is forcibly discarded because it is within the data packet reception prohibited period as described above. As a result, it is possible to expect retransmission by the communication protocol of the upper layer,
The reliability of the network can be further improved.

【0131】なお、この実施の形態6では、実施の形態
3または実施の形態4への適用例を説明したが、実施の
形態1または実施の形態2にも同様に適用できるもので
あり、同様の効果が得られる。また、実施の形態1〜6
では、データパケットは、残存時間が付加される形式の
ものを示したが、残存時間が付加されない形式のデータ
パケットにも同様に適用できることは言うまでもない。
In the sixth embodiment, an example of application to the third or fourth embodiment has been described, but the same can be applied to the first or second embodiment, and the same. The effect of is obtained. In addition, Embodiments 1 to 6
In the above, the data packet has a format in which the remaining time is added, but it goes without saying that the same can be applied to a data packet in which the remaining time is not added.

【0132】実施の形態7.図19〜図22は、この発
明の実施の形態7である二重リングネットワークシステ
ムで実施されるユニキャストデータパケットの送受信動
作を説明する図である。なお、図19は、ユニキャスト
データパケットの送信リング選択動作を説明するフロー
チャートである。図20は、ユニキャストデータパケッ
トの受信動作を説明するフローチャートである。図21
は、障害発生によるリング選択動作を説明する図であ
る。図22は、図21でのリング選択動作における宛先
ノードIDと送信リングとの関係を説明する図である。
Seventh Embodiment 19 to 22 are diagrams for explaining a transmission / reception operation of a unicast data packet implemented in the dual ring network system according to the seventh embodiment of the present invention. It should be noted that FIG. 19 is a flowchart for explaining the transmission ring selection operation of the unicast data packet. FIG. 20 is a flow chart for explaining the receiving operation of the unicast data packet. Figure 21
FIG. 6 is a diagram for explaining a ring selection operation due to a failure occurrence. FIG. 22 is a diagram for explaining the relationship between the destination node ID and the transmission ring in the ring selection operation in FIG.

【0133】この実施の形態7では、図1に示したのと
同様構成の二重リングネットワークシステムにおいて、
図2に示したのと同様構成の各ノードが、ユニキャスト
データパケット、つまり宛先ノードが1つのノードであ
るデータパケットの送信リングを宛先ノードの識別子に
基づき選択する方法が示されている。なお、ユニキャス
トデータパケットおよびヘルスチェックパケットの構成
は、図3に示したのと同様構成である。
In the seventh embodiment, in the dual ring network system having the same configuration as shown in FIG.
A method is shown in which each node having the same configuration as shown in FIG. 2 selects a transmission ring of a unicast data packet, that is, a data packet in which the destination node is one node, based on the identifier of the destination node. The configurations of the unicast data packet and the health check packet are the same as those shown in FIG.

【0134】各ノードのヘルスチェックパケットに関わ
る動作は、以上説明した各実施の形態と同様である。こ
こでは、各ノードのユニキャストデータパケットに関わ
る動作について説明する。まず、図19を参照して、ユ
ニキャストデータパケットの送信リング選択動作を説明
する。図19に示した処理手順(ステップST90〜S
T93)は、図5(1)(2)または図9(1)(2)
にて説明した処理手順の実施後に実施される。
The operation related to the health check packet of each node is the same as that of each embodiment described above. Here, the operation related to the unicast data packet of each node will be described. First, with reference to FIG. 19, a unicast data packet transmission ring selection operation will be described. The processing procedure shown in FIG. 19 (steps ST90 to S90)
T93) corresponds to FIG. 5 (1) (2) or FIG. 9 (1) (2).
It is performed after the processing procedure described in 1. is performed.

【0135】図19において、各ノードは、送信元ノー
ド毎かつリング毎に、一定周期中の自ノード発ヘルスチ
ェックパケットの到着/未着を監視し(ステップST9
0)、以下の(1)〜(3)のように経路上の障害有無
を判断し、ユニキャストデータパケットの送信リングを
選択する。
In FIG. 19, each node monitors the arrival / non-arrival of a health check packet originating from itself during a fixed period for each source node and for each ring (step ST9).
0), as in the following (1) to (3), the presence / absence of a fault on the route is determined, and the transmission ring of the unicast data packet is selected.

【0136】(1)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着した場合には、両
リングは、共に正常と判断される。この場合には、各ノ
ードは、送信するユニキャストデータパケットの宛先ノ
ードID33を参照し、例えば、その宛先ノードID3
3の最下位ビットが、“0”の場合には1次リングを選
択し、“1”の場合には2次リングを選択し、該当する
リングにユニキャストデータパケットを送信する(ステ
ップST91)。その結果、ユニキャストデータパケッ
トは、宛先ノードに応じて両リングに分散されることに
なる。なお、送信リングを選択するために参照する宛先
ノードID33におけるビット位置は、最下位ビットで
ある必要はなく、任意位置のビットを参照ビットと定め
てよいことは言うまでもない。
(1) When the health check packets originated from both nodes arrive from both rings within a certain period, both rings are judged to be normal. In this case, each node refers to the destination node ID 33 of the unicast data packet to be transmitted, and, for example, the destination node ID 3
When the least significant bit of 3 is "0", the primary ring is selected, when it is "1", the secondary ring is selected, and the unicast data packet is transmitted to the corresponding ring (step ST91). . As a result, unicast data packets will be distributed on both rings depending on the destination node. It is needless to say that the bit position in the destination node ID 33 that is referred to in order to select the transmission ring does not have to be the least significant bit, and the bit at any position may be set as the reference bit.

【0137】(2)一定周期中に一方のリングのみから
自ノード発ヘルスチェックパケットが到着した場合に
は、当該一方のリングのみが正常と判断される。この場
合には、各ノードは、送信するユニキャストデータパケ
ットの宛先ノードID33に依らず、前記正常と判断し
た一方のリングを選択し、ユニキャストデータパケット
を送信する(ステップST92)。
(2) When the health check packet originating from the own node arrives from only one ring during a fixed period, only one ring is judged to be normal. In this case, each node selects the one ring determined to be normal and transmits the unicast data packet, regardless of the destination node ID 33 of the unicast data packet to be transmitted (step ST92).

【0138】(3)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着しない場合には、
両リングは、共に異常と判断される。この場合には、各
ノードは、送信するユニキャストデータパケットの宛先
ノードID33に依らず、両リングを選択し、ユニキャ
ストデータパケットを送信する(ステップST93)。
(3) If the health check packet originated from both nodes does not arrive from both rings within a certain period,
Both rings are judged to be abnormal. In this case, each node selects both rings and transmits the unicast data packet regardless of the destination node ID 33 of the unicast data packet to be transmitted (step ST93).

【0139】次に、図20を参照してユニキャストデー
タパケットの受信動作を説明する。図20において、各
ノードは、各リングから到着したユニキャストデータパ
ケットの宛先ノードID33を参照し(ステップST9
5)、他ノード宛ユニキャストデータパケットであるか
否かを判断する(ステップST96)。ステップST9
6の判断結果、他ノード宛ユニキャストデータパケット
の場合には(ステップST96:Yes)、TTL値を
1つ減算し、リングに沿って中継する(ステップST9
7)。一方、ステップST96の判断結果、自ノード宛
ユニキャストデータパケットの場合には(ステップST
96:No)、当該ユニキャストデータパケットの受信
処理を行う(ステップST98)。
Next, the operation of receiving a unicast data packet will be described with reference to FIG. In FIG. 20, each node refers to the destination node ID 33 of the unicast data packet arriving from each ring (step ST9).
5) It is determined whether the packet is a unicast data packet addressed to another node (step ST96). Step ST9
If the result of the determination in 6 is a unicast data packet addressed to another node (step ST96: Yes), the TTL value is decremented by 1 and relayed along the ring (step ST9).
7). On the other hand, if the result of determination in step ST96 is a unicast data packet addressed to the own node (step ST96
96: No), the receiving process of the unicast data packet is performed (step ST98).

【0140】次に、図21,図22を参照して、以上説
明した送受信動作をリングの障害発生と対応付けて具体
的に説明する。図21では、5つのノード83〜87が
二重リング1を介して接続された二重リングネットワー
クシステムが示されている。ここでは、(a)に示すよ
うに断線前の状態、(b)に示すようにノード84とノ
ード85間の2次リング12が断線した状態、さらに
(c)に示すようにノード84とノード85間の1次リ
ング11が断線した状態のそれぞれにおいて、ノード8
5がノード83にユニキャストデータパケットを送信
し、ノード83が受信する場合の送受信動作を説明す
る。
Next, with reference to FIGS. 21 and 22, the transmission / reception operation described above will be specifically described in association with the occurrence of a ring failure. In FIG. 21, a dual ring network system in which five nodes 83 to 87 are connected via a dual ring 1 is shown. Here, as shown in (a), the state before disconnection, the state in which the secondary ring 12 between the nodes 84 and 85 is disconnected as shown in (b), and the node 84 and the node as shown in (c). In each of the states where the primary ring 11 between 85 is broken, the node 8
The transmitting / receiving operation when the node 5 transmits the unicast data packet to the node 83 and the node 83 receives the unicast data packet will be described.

【0141】前述したように、この実施の形態7では、
送信リングの選択ルールとして、宛先ノードID33の
例えば最下位ビットの論理値に意味を持たせ、各ノード
は、両リングが共に健全である場合には、その最下位ビ
ットの論理値に従って定められたリングを選択するよう
にしている。図22では、ノード85が他のノードに送
信する場合のその送信リング選択ルールの具体例が示さ
れている。
As described above, in the seventh embodiment,
As a transmission ring selection rule, for example, the logical value of the least significant bit of the destination node ID 33 has meaning, and each node is determined according to the logical value of the least significant bit when both rings are healthy. I am trying to select a ring. In FIG. 22, a specific example of the transmission ring selection rule when the node 85 transmits to another node is shown.

【0142】図22に示すように、各ノードのID(宛
先ノードID)は、全てのノードを表記できる桁数(図
22では、3桁)の2進数で示される。すなわち、ノー
ド83のIDは、“001”である。その最下位ビット
は“1”であるので、ノード85は、ノード83への送
信リングとして2次リングを選択する。ノード84のI
Dは、“010”である。その最下位ビットは“0”で
あるので、ノード85は、ノード84への送信リングと
して1次リングを選択する。ノード85のIDは、“0
11”である。ノード86のIDは、“100”であ
る。その最下位ビットは“0”であるので、ノード85
は、ノード86への送信リングとして1次リングを選択
する。ノード87のIDは、“101”である。その最
下位ビットは“1”であるので、ノード85は、ノード
87への送信リングとして2次リングを選択することに
なる。
As shown in FIG. 22, the ID of each node (destination node ID) is represented by a binary number having a digit number (3 digits in FIG. 22) capable of expressing all the nodes. That is, the ID of the node 83 is “001”. Since the least significant bit is "1", the node 85 selects the secondary ring as the transmission ring to the node 83. I at node 84
D is “010”. Since its least significant bit is "0", node 85 selects the primary ring as the transmit ring to node 84. The ID of the node 85 is “0
11 ”. The ID of the node 86 is“ 100 ”. Since the least significant bit is“ 0 ”, the node 85 is
Selects the primary ring as the transmit ring to node 86. The ID of the node 87 is “101”. Since its least significant bit is "1", node 85 will select the secondary ring as the transmit ring to node 87.

【0143】さて、図21において、断線前(図21
(a))では、ノード85発ヘルスチェックパケット
は、両リングからノード85に到着する。この場合に
は、ノード85は、ノード85発ユニキャストデータパ
ケットの宛先ノードID33の最下位ビットの論理値に
応じて図22に示すように送信リングを選択する。ここ
では、ノード83に送信するので、ノード85は、ノー
ド85発ノード83宛ユニキャストデータパケットを2
次リング12に送信する。ノード83は、2次リング1
2から到着した自ノード宛ノード85発ユニキャストデ
ータパケットの受信処理を行うことになる。
Now, in FIG. 21, before disconnection (see FIG.
In (a)), the health check packet originating from the node 85 arrives at the node 85 from both rings. In this case, the node 85 selects the transmission ring as shown in FIG. 22 according to the logical value of the least significant bit of the destination node ID 33 of the unicast data packet originating from the node 85. Here, since the packet is transmitted to the node 83, the node 85 transmits the unicast data packet addressed to the node 85 and sent to the node 83 to the unicast data packet 2.
Send to next ring 12. Node 83 is secondary ring 1
The reception processing of the unicast data packet originating from node 85 and arriving from node 2 from node 2 is performed.

【0144】次に、図21(b)に示すように、ノード
84とノード85間の2次リング12が断線した状態で
は、ノード85発ヘルスチェックパケットは、1次リン
グ11のみからノード85に到着する。この場合には、
ノード85は、ユニキャストデータパケットの宛先ノー
ドID33に依らず、送信リングとして1次リング11
を選択する。つまり、ノード85は、ノード85発ノー
ド83宛ユニキャストデータパケットを1次リング11
に送信する。ノード83は、1次リング11から到着し
た自ノード宛ノード85発ユニキャストデータパケット
の受信処理を行うことになる。
Next, as shown in FIG. 21B, when the secondary ring 12 between the node 84 and the node 85 is disconnected, the health check packet originating from the node 85 is sent from the primary ring 11 only to the node 85. arrive. In this case,
The node 85 uses the primary ring 11 as a transmission ring regardless of the destination node ID 33 of the unicast data packet.
Select. That is, the node 85 transmits the unicast data packet addressed to the node 85 and the node 83 to the primary ring 11
Send to. The node 83 will receive the unicast data packet originating from the node 85 destined for itself, which has arrived from the primary ring 11.

【0145】次に、図21(c)に示すように、さらに
ノード84とノード85間の1次リング11が断線した
両リング断線の状態では、ノード85発ヘルスチェック
パケットは、ノード85に対し両リングから到着しな
い。この場合には、ノード85は、ユニキャストデータ
パケットの宛先ノードID33に依らず、送信リングと
して1次リング11と2次リング12の双方を選択す
る。つまり、ノード85は、ノード85発ノード83宛
ユニキャストデータパケットを1次リング11と2次リ
ング12の双方に送信する。ノード85発ノード83宛
ユニキャストデータパケットは、ノード83に対して
は、2次リング12からは断線のため到着せず、1次リ
ング11のみから到着する。したがって、ノード83
は、1次リング11から到着した自ノード宛ノード85
発ユニキャストデータパケットの受信処理を行うことに
なる。
Next, as shown in FIG. 21C, in a state where both the rings are broken, in which the primary ring 11 between the node 84 and the node 85 is broken, the health check packet from the node 85 is sent to the node 85. Not arriving from both rings. In this case, the node 85 selects both the primary ring 11 and the secondary ring 12 as the transmission ring regardless of the destination node ID 33 of the unicast data packet. That is, the node 85 transmits the unicast data packet addressed to the node 85 and the node 83 to both the primary ring 11 and the secondary ring 12. The unicast data packet addressed to the node 85 and destined for the node 83 does not arrive at the node 83 from the secondary ring 12 due to the disconnection, and arrives only from the primary ring 11. Therefore, the node 83
Is the node 85 addressed to the own node that has arrived from the primary ring 11.
Processing for receiving the outgoing unicast data packet will be performed.

【0146】このように、実施の形態7によれば、各ノ
ードは、ヘルスチェックパケットを送信してノード構成
の変化や障害の発生を速やかに検出し、ユニキャストデ
ータパケットの送信リングとして、宛先ノード毎に到達
可能なリングを速やかに選択することができる。したが
って、各ノードに、リング上のノード接続順序と自ノー
ドの位置を記したデータベースを予め設定しておく必要
がなく、装置管理が容易となる。
As described above, according to the seventh embodiment, each node transmits a health check packet to promptly detect a change in the node configuration or the occurrence of a failure, and uses it as a transmission ring for a unicast data packet. A reachable ring can be quickly selected for each node. Therefore, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, which facilitates device management.

【0147】また、両リングが正常な場合には、ユニキ
ャストデータパケットは、宛先ノードに応じて両リング
に分散されるので、リング上の伝送帯域を効率的に使用
することができ、ネットワークの性能を容易に向上させ
ることができる。
When both rings are normal, unicast data packets are distributed to both rings according to the destination node, so that the transmission band on the rings can be used efficiently and the network The performance can be easily improved.

【0148】さらに、以上の説明からも理解できるよう
に、障害発生によるリング選択処理は単純で、ソフトウ
ェア処理に馴染まず、ハードウェア処理が好適であるの
で、リング選択の高速化が容易に実現できる。
Further, as can be understood from the above description, the ring selection process due to the occurrence of a failure is simple, the hardware process is not suitable for the software process, and the hardware process is suitable, so that the speed of the ring selection can be easily realized. .

【0149】実施の形態8.図23〜図25は、この発
明の実施の形態8である二重リングネットワークシステ
ムで実施されるマルチキャストデータパケットの送受信
動作を説明する図である。なお、図23は、マルチキャ
ストデータパケットおよびヘルスチェックパケットの構
成例を示す図である。図24は、マルチキャストデータ
パケットの送信リング選択動作を説明するフローチャー
トである。図25は、マルチキャストデータパケットの
受信動作を説明するフローチャートである。
Eighth Embodiment 23 to 25 are diagrams for explaining the transmission / reception operation of a multicast data packet implemented in the dual ring network system according to the eighth embodiment of the present invention. Note that FIG. 23 is a diagram showing a configuration example of the multicast data packet and the health check packet. FIG. 24 is a flowchart illustrating a transmission ring selection operation of a multicast data packet. FIG. 25 is a flowchart illustrating the operation of receiving a multicast data packet.

【0150】この実施の形態8では、図1に示したのと
同様構成の二重リングネットワークシステムにおいて、
図2に示したのと同様構成の各ノードが、マルチキャス
トデータパケット、つまり宛先ノードが複数のノードで
あるデータパケットの送信リングを複数の宛先ノードの
グループを識別する識別子に基づき選択する方法が示さ
れている。
In the eighth embodiment, in the dual ring network system having the same configuration as shown in FIG.
A method is shown in which each node having the same configuration as shown in FIG. 2 selects a transmission ring of a multicast data packet, that is, a data packet in which the destination node is a plurality of nodes, based on an identifier for identifying a group of a plurality of destination nodes. Has been done.

【0151】この実施の形態8で用いるマルチキャスト
データパケットは、例えば、図23に示すように、図3
に示した構成において、宛先ノードID33に代えてマ
ルチキャストコネクションID92が設けられている。
その他は、図3に示したのと同様構成である。
The multicast data packet used in the eighth embodiment is, for example, as shown in FIG.
In the configuration shown in, a multicast connection ID 92 is provided instead of the destination node ID 33.
The other configurations are the same as those shown in FIG.

【0152】マルチキャストコネクションID92は、
複数の宛先ノードのグループを識別するための識別子で
ある。なお、ヘルスチェックパケットでは、このマルチ
キャストコネクションID92は不使用であるので、実
質的に図3に示したのと同様構成である。
The multicast connection ID 92 is
It is an identifier for identifying a group of a plurality of destination nodes. Since the health check packet does not use this multicast connection ID 92, it has substantially the same configuration as that shown in FIG.

【0153】各ノードのヘルスチェックパケットに関わ
る動作は、以上説明した各実施の形態と同様である。こ
こでは、各ノードのマルチキャストデータパケットに関
わる動作について説明する。まず、図24を参照して、
マルチキャストデータパケットの送信リング選択動作を
説明する。図24に示した処理手順(ステップST10
0〜ST103)は、図5(1)(2)または図9
(1)(2)にて説明した処理手順の実施後に実施され
る。
The operation related to the health check packet of each node is the same as that of each embodiment described above. Here, the operation related to the multicast data packet of each node will be described. First, referring to FIG.
The transmission ring selection operation of the multicast data packet will be described. The processing procedure shown in FIG. 24 (step ST10
0 to ST103) are shown in FIG. 5 (1) (2) or FIG.
(1) Performed after the processing procedure described in (2) is performed.

【0154】図24において、各ノードは、送信元ノー
ド毎かつリング毎に、一定周期中の自ノード発ヘルスチ
ェックパケットの到着/未着を監視し(ステップST1
00)、以下の(1)〜(3)のように経路上の障害有
無を判断し、マルチキャストデータパケットの送信リン
グを選択する。
In FIG. 24, each node monitors the arrival / non-arrival of a health check packet originating from its own node during a fixed period for each source node and for each ring (step ST1
00), the presence / absence of a fault on the route is determined as in the following (1) to (3), and the transmission ring of the multicast data packet is selected.

【0155】(1)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着した場合には、両
リングは、共に正常と判断される。この場合には、各ノ
ードは、送信するマルチキャストデータパケットのマル
チキャストコネクションID92を参照し、例えばその
マルチキャストコネクションID92の最下位ビットが
“0”の場合には1次リングを選択し、“1”の場合に
は2次リングを選択し、該当するリングにマルチキャス
トデータパケットを送信する(ステップST101)。
その結果、マルチキャストデータパケットは、宛先ノー
ドに応じて両リングに分散されることになる。なお、送
信リングを選択するために参照するマルチキャストコネ
クションIDにおけるビット位置は、最下位ビットであ
る必要はなく、任意位置のビットを参照ビットと定めて
よいことは言うまでもない。
(1) When health check packets originated from both nodes arrive from both rings during a certain period, both rings are judged to be normal. In this case, each node refers to the multicast connection ID 92 of the multicast data packet to be transmitted, selects the primary ring when the least significant bit of the multicast connection ID 92 is "0", and selects "1", for example. In this case, the secondary ring is selected and the multicast data packet is transmitted to the corresponding ring (step ST101).
As a result, the multicast data packet will be distributed to both rings depending on the destination node. It is needless to say that the bit position in the multicast connection ID referred to for selecting the transmission ring does not have to be the least significant bit, and the bit at any position may be set as the reference bit.

【0156】(2)一定周期中に一方のリングのみから
自ノード発ヘルスチェックパケットが到着した場合に
は、当該一方のリングのみが正常と判断される。この場
合には、各ノードは、送信するマルチキャストデータパ
ケットのマルチキャストコネクションID92に依ら
ず、前記正常と判断した一方のリングを選択し、マルチ
キャストデータパケットを送信する(ステップST10
2)。
(2) When the health check packet originated from the own node arrives from only one ring during a fixed period, only one ring is judged to be normal. In this case, each node selects one of the rings determined to be normal and transmits the multicast data packet regardless of the multicast connection ID 92 of the multicast data packet to be transmitted (step ST10).
2).

【0157】(3)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着しない場合には、
両リングは、共に異常と判断される。この場合には、各
ノードは、送信するマルチキャストデータパケットのマ
ルチキャストコネクションID92に依らず、両リング
を選択し、マルチキャストデータパケットを送信する
(ステップST103)。
(3) If the health check packets originating from the own node do not arrive from both rings within a certain period,
Both rings are judged to be abnormal. In this case, each node selects both rings and transmits the multicast data packet regardless of the multicast connection ID 92 of the multicast data packet to be transmitted (step ST103).

【0158】次に、図25を参照してマルチキャストデ
ータパケットの受信動作を説明する。なお、図25にお
いて、ステップ105〜ST107,ST111は、ス
イッチ部23での処理手順である。ステップ108〜S
T111は、データパケット処理部24での処理手順で
ある。
Next, the operation of receiving a multicast data packet will be described with reference to FIG. Note that, in FIG. 25, steps 105 to ST107 and ST111 are processing procedures in the switch unit 23. Step 108-S
T111 is a processing procedure in the data packet processing unit 24.

【0159】図25において、各ノードのスイッチ部2
3は、各リングから到着したマルチキャストデータパケ
ットの送信元ノードID34を参照し(ステップST1
05)、他ノード発マルチキャストデータパケットであ
るか否かを判断する(ステップST106)。ステップ
ST106の判断結果、他ノード発マルチキャストデー
タパケットの場合には(ステップST106:Ye
s)、TTL値を1つ減算し、リングに沿って中継する
とともに、取り込む(ステップST107)。一方、ス
テップST106の判断結果、自ノード発マルチキャス
トデータパケットの場合には(ステップST106:N
o)、当該マルチキャストデータパケットの廃棄処理を
行う(ステップST111)。
In FIG. 25, the switch unit 2 of each node
3 refers to the source node ID 34 of the multicast data packet arriving from each ring (step ST1
05), it is determined whether the packet is a multicast data packet originating from another node (step ST106). If the result of determination in step ST106 is that the multicast data packet originated from another node (step ST106: Ye
s), TTL value is decremented by 1, relayed along the ring, and taken in (step ST107). On the other hand, if the result of determination in step ST106 is that the multicast data packet originated from the own node (step ST106: N
o), the multicast data packet is discarded (step ST111).

【0160】また、各ノードのデータパケット処理部2
4は、スイッチ部23が取り込んだマルチキャストデー
タパケットのマルチキャストコネクションID92を参
照し(ステップST108)、自ノードが宛先ノードの
グループに含まれるか否かを判断する(ステップST1
09)。ステップST109の判断結果、自ノードが宛
先ノードのグループに含まれる場合には(ステップST
109:Yes)、当該マルチキャストデータパケット
の受信処理を行い(ステップST110)、含まれない
場合には(ステップST109:No)、当該マルチキ
ャストデータパケットの廃棄処理を行う(ステップST
111)。
Also, the data packet processing unit 2 of each node
4 refers to the multicast connection ID 92 of the multicast data packet fetched by the switch unit 23 (step ST108), and determines whether or not its own node is included in the group of destination nodes (step ST1).
09). If the result of determination in step ST109 is that the own node is included in the group of destination nodes (step ST109
109: Yes), the receiving process of the multicast data packet is performed (step ST110), and when it is not included (step ST109: No), the discard process of the multicast data packet is performed (step STST).
111).

【0161】このように、実施の形態8によれば、各ノ
ードは、ヘルスチェックパケットを送信してノード構成
の変化や障害の発生を速やかに検出し、マルチキャスト
データパケットの送信リングとして、宛先ノード毎に到
達可能なリングを速やかに選択することができる。した
がって、実施の形態7と同様に、各ノードに、リング上
のノード接続順序と自ノードの位置を記したデータベー
スを予め設定しておく必要がなく、装置管理が容易とな
る。
As described above, according to the eighth embodiment, each node transmits a health check packet to quickly detect a change in the node configuration or the occurrence of a failure, and as a transmission ring of a multicast data packet, the destination node Each reachable ring can be quickly selected. Therefore, similarly to the seventh embodiment, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, and the device management becomes easy.

【0162】また、両リングが正常な場合には、マルチ
キャストデータパケットは、宛先ノードに応じて両リン
グに分散されるので、実施の形態7と同様に、リング上
の伝送帯域を効率的に使用することができ、ネットワー
クの性能を容易に向上させることができる。
When both rings are normal, the multicast data packet is distributed to both rings according to the destination node, so that the transmission band on the rings can be used efficiently as in the seventh embodiment. It is possible to improve the performance of the network easily.

【0163】さらに、以上の説明からも理解できるよう
に、障害発生によるリング選択処理は単純で、ソフトウ
ェア処理に馴染まず、ハードウェア処理が好適であるの
で、リング選択の高速化が容易に実現できる。
Further, as can be understood from the above description, the ring selection process due to the occurrence of a failure is simple, and the hardware process is not suitable for the software process, and the hardware process is suitable, so that the speed of the ring selection can be easily realized. .

【0164】実施の形態9.図26は、この発明の実施
の形態9である二重リングネットワークシステムの構成
を示すブロック図である。図26において、二重リング
ネットワークシステムは、相反する方向性を持つ1次リ
ング11と2次リング12とからなる二重リング1と、
二重リング1を伝送媒体または回線として相互間が接続
される複数のノード94−1〜94−nとで構成され、
各ノードは、複数の端末を収容している。すなわち、ノ
ード94−1には、複数の端末95が収容される。ノー
ド94−2には、複数の端末96が収容される。ノード
94−3には、複数の端末97が収容される。ノード9
4−4には、複数の端末98が収容される。ノード94
−nには、複数の端末99が収容されている。
Ninth Embodiment 26 is a block diagram showing the configuration of a dual ring network system according to a ninth embodiment of the present invention. In FIG. 26, the dual ring network system includes a dual ring 1 including a primary ring 11 and a secondary ring 12 having opposite directions,
It is composed of a plurality of nodes 94-1 to 94-n which are connected to each other by using the dual ring 1 as a transmission medium or line.
Each node accommodates a plurality of terminals. That is, a plurality of terminals 95 are accommodated in the node 94-1. A plurality of terminals 96 are accommodated in the node 94-2. A plurality of terminals 97 are accommodated in the node 94-3. Node 9
A plurality of terminals 98 are accommodated in 4-4. Node 94
A plurality of terminals 99 are accommodated in -n.

【0165】図27は、図26に示すノードの内部構成
例を示すブロック図である。図27に示すように、ノー
ド100は、リングインタフェース部(リングI/F
部)101,102とリングスイッチ部103とヘルス
チェックパケット処理部104と支線スイッチ部105
と支線インタフェース部(支線I/F部)106−1〜
106−mとを備えている。
FIG. 27 is a block diagram showing an example of the internal structure of the node shown in FIG. As shown in FIG. 27, the node 100 includes a ring interface unit (ring I / F).
Section) 101, 102, ring switch section 103, health check packet processing section 104, branch line switch section 105
And branch line interface section (branch line I / F section) 106-1 to
106-m.

【0166】リングI/F部101,102は、リング
ポート107,108に接続されるリング回線(1次リ
ング11と2次リング12)を終端する。また、支線I
/F部106−1〜106−mは、支線ポート109−
1〜109−mに接続される端末回線を終端する。
The ring I / F units 101 and 102 terminate the ring lines (the primary ring 11 and the secondary ring 12) connected to the ring ports 107 and 108. Also, branch line I
/ F sections 106-1 to 106-m are branch line ports 109-
The terminal lines connected to 1 to 109-m are terminated.

【0167】ヘルスチェックパケット処理部104は、
リングスイッチ部103から渡されたヘルスチェックパ
ケットを処理し、またリングスイッチ部103に渡すヘ
ルスチェックパケットを処理する。ヘルスチェックパケ
ットは、以上説明したように、自ノードの健全性を他ノ
ードに通知するためのパケットである。
The health check packet processing unit 104
The health check packet passed from the ring switch unit 103 is processed, and the health check packet passed to the ring switch unit 103 is processed. As described above, the health check packet is a packet for notifying other nodes of the soundness of the own node.

【0168】リングスイッチ部103は、パケットの先
頭部分に記された各種情報に基づきリングI/F部10
1,102、支線スイッチ部105およびヘルスチェッ
クパケット処理部104の各部間で受け渡すパケットを
交換する。
The ring switch section 103 uses the ring I / F section 10 on the basis of various information written at the beginning of the packet.
1, 102, the branch line switch unit 105, and the health check packet processing unit 104 exchange packets to be transferred.

【0169】支線スイッチ部105は、パケットの先頭
部分に記された後述する宛先端末IDに基づき、複数の
支線I/F部106−1〜106−mとリングスイッチ
部103との間で受け渡すパケットを交換する。
The branch line switch unit 105 transfers between a plurality of branch line I / F units 106-1 to 106-m and the ring switch unit 103 based on a destination terminal ID described later at the beginning of the packet. Switch packets.

【0170】このような構成によって各ノードは、端末
を収容する支線ポートとリング回線を収容するリングポ
ートとの間でデータパケットであるユニキャストデータ
パケットを交換する。また、各端末間でユニキャストデ
ータパケットを送受する際に、端末を収容するノード間
で1次リングまたは2次リングを用いてユニキャストデ
ータパケットを中継する動作を行うようになっている。
With such a configuration, each node exchanges a unicast data packet, which is a data packet, between a branch port that accommodates a terminal and a ring port that accommodates a ring line. Further, when transmitting / receiving a unicast data packet between the terminals, an operation of relaying the unicast data packet is performed between the nodes accommodating the terminals using the primary ring or the secondary ring.

【0171】図28は、実施の形態9で採用するユニキ
ャストデータパケットおよびヘルスチェックパケットの
構成例を示す図である。図28に示すように、実施の形
態9で採用するユニキャストデータパケットは、図3に
示した構成において、宛先ノードID33に代えて、宛
先端末ID110が設けられている。その他は、図3に
示した構成と同様である。宛先端末ID110は、宛先
ノードに接続された端末の識別子である。この宛先端末
ID110は、ヘルスチェックパケットでは、不使用で
あるので、ヘルスチェックパケットに関して、図3に示
した構成と同様である。
FIG. 28 is a diagram showing a configuration example of a unicast data packet and a health check packet adopted in the ninth embodiment. As shown in FIG. 28, the unicast data packet adopted in the ninth embodiment has a destination terminal ID 110 instead of the destination node ID 33 in the configuration shown in FIG. Others are the same as the configuration shown in FIG. The destination terminal ID 110 is an identifier of the terminal connected to the destination node. Since this destination terminal ID 110 is not used in the health check packet, the health check packet has the same configuration as that shown in FIG.

【0172】各ノードのヘルスチェックパケットに関わ
る動作は、以上説明した各実施の形態と同様である。こ
こでは、図29、図30を参照して、各ノードのユニキ
ャストデータパケットに関わる動作について説明する。
なお、図29は、ユニキャストデータパケットの送信リ
ング選択動作を説明するフローチャートである。図30
は、ユニキャストデータパケットの受信動作を説明する
フローチャートである。
The operation related to the health check packet of each node is the same as that of each embodiment described above. Here, the operation related to the unicast data packet of each node will be described with reference to FIGS. 29 and 30.
Note that FIG. 29 is a flowchart for explaining the transmission ring selection operation of the unicast data packet. Figure 30
6 is a flowchart illustrating a receiving operation of a unicast data packet.

【0173】まず、図29を参照して、ユニキャストデ
ータパケットの送信リング選択動作を説明する。図29
に示した処理手順(ステップST115〜ST118)
は、図5(1)(2)または図9(1)(2)にて説明
した処理手順の実施後に実施される。
First, with reference to FIG. 29, a transmission ring selecting operation of a unicast data packet will be described. FIG. 29
Processing procedure shown in (steps ST115 to ST118)
Is performed after the processing procedure described with reference to FIGS. 5 (1) and (2) or FIGS. 9 (1) and 9 (2).

【0174】図29において、各ノードは、送信元ノー
ド毎かつリング毎に、一定周期中の自ノード発ヘルスチ
ェックパケットの到着/未着を監視し(ステップST1
15)、以下の(1)〜(3)のように経路上の障害有
無を判断し、ユニキャストデータパケットの送信リング
を選択する。
In FIG. 29, each node monitors the arrival / non-arrival of a health check packet originating from itself during a fixed period for each source node and for each ring (step ST1).
15) As in the following (1) to (3), the presence / absence of a fault on the route is determined, and the transmission ring of the unicast data packet is selected.

【0175】(1)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着した場合には、両
リングは、共に正常と判断される。この場合には、各ノ
ードは、支線ポートからリングポートに交換して送信す
るユニキャストデータパケットの宛先端末ID110を
参照し、例えば、その宛先端末ID110の最下位ビッ
トが“0”の場合には1次リングを選択し、“1”の場
合には2次リングを選択し、該当するリングにユニキャ
ストデータパケットを送信する(ステップST11
6)。その結果、ユニキャストデータパケットは、宛先
端末に応じて両リングに分散されることになる。なお、
送信リングを選択するために参照する宛先端末ID11
0におけるビット位置は、最下位ビットである必要はな
く、任意位置のビットを参照ビットと定めてよいことは
言うまでもない。
(1) When the health check packets originated from both nodes arrive from both rings during a fixed period, both rings are judged to be normal. In this case, each node refers to the destination terminal ID 110 of the unicast data packet transmitted by switching from the branch port to the ring port. For example, when the least significant bit of the destination terminal ID 110 is "0", The primary ring is selected, and when it is "1", the secondary ring is selected and the unicast data packet is transmitted to the corresponding ring (step ST11).
6). As a result, unicast data packets will be distributed on both rings depending on the destination terminal. In addition,
Destination terminal ID 11 referred to for selecting the transmission ring
It goes without saying that the bit position at 0 does not have to be the least significant bit, and the bit at any position may be defined as the reference bit.

【0176】(2)一定周期中に一方のリングのみから
自ノード発ヘルスチェックパケットが到着した場合に
は、当該一方のリングのみが正常と判断される。この場
合には、各ノードは、支線ポートからリングポートに交
換して送信するユニキャストデータパケットの宛先端末
ID110に依らず、前記正常と判断した一方のリング
を選択し、ユニキャストデータパケットを送信する(ス
テップST117)。
(2) When the health check packet originated from the own node arrives from only one ring during a certain period, only one ring is judged to be normal. In this case, each node selects one of the rings determined to be normal and transmits the unicast data packet, regardless of the destination terminal ID 110 of the unicast data packet to be transmitted by switching from the branch port to the ring port. Yes (step ST117).

【0177】(3)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着しない場合には、
両リングは、共に異常と判断される。この場合には、各
ノードは、支線ポートからリングポートに交換して送信
するユニキャストデータパケットの宛先端末ID110
に依らず、両リングを選択し、ユニキャストデータパケ
ットを送信する(ステップST118)。
(3) If the health check packet originated from both nodes does not arrive from both rings within a certain period,
Both rings are judged to be abnormal. In this case, each node has a destination terminal ID 110 of the unicast data packet to be transmitted by switching from the branch port to the ring port.
Irrespective of the above, both rings are selected and a unicast data packet is transmitted (step ST118).

【0178】次に、図30を参照してユニキャストデー
タパケットの受信動作を説明する。なお、図30におい
て、ステップ120〜ST122,ST126は、リン
グスイッチ部103での処理手順である。ステップ12
3〜ST126は、支線スイッチ部105での処理手順
である。
Next, the operation of receiving a unicast data packet will be described with reference to FIG. Note that, in FIG. 30, steps 120 to ST122 and ST126 are processing procedures in the ring switch unit 103. Step 12
3 to ST126 are processing procedures in the branch line switch unit 105.

【0179】図30において、各ノードのリングスイッ
チ部103は、各リングから到着したユニキャストデー
タパケットの送信元ノードID34を参照し(ステップ
ST120)、他ノード発ユニキャストデータパケット
であるか否かを判断する(ステップST121)。ステ
ップST121の判断結果、他ノード発ユニキャストデ
ータパケットの場合には(ステップST121:Ye
s)、TTL値を1つ減算し、リングに沿って中継する
とともに、取り込む(ステップST122)。一方、ス
テップST121の判断結果、自ノード発ユニキャスト
データパケットの場合には(ステップST121:N
o)、当該ユニキャストデータパケットの廃棄処理を行
う(ステップST126)。
In FIG. 30, the ring switch section 103 of each node refers to the source node ID 34 of the unicast data packet arriving from each ring (step ST120), and determines whether the packet is a unicast data packet originating from another node. Is determined (step ST121). If the result of determination in step ST121 is a unicast data packet originating from another node (step ST121: Yes
s), the TTL value is decremented by 1, relayed along the ring, and taken in (step ST122). On the other hand, if the result of determination in step ST121 is a unicast data packet originating from the own node (step ST121: N
o), the unicast data packet is discarded (step ST126).

【0180】また、各ノードの支線スイッチ部105
は、リングスイッチ部103が取り込んだユニキャスト
データパケットの宛先端末ID110を参照し(ステッ
プST123)、自ノードが収容する端末宛であるか否
かを判断する(ステップST124)。ステップST1
24の判断結果、自ノードが収容する端末宛である場合
には(ステップST124:Yes)、当該ユニキャス
トデータパケットを該当する支線ポートに交換し(ステ
ップST125)、自ノードが収容する端末宛でない場
合には(ステップST124:No)、当該ユニキャス
トデータパケットの廃棄処理を行う(ステップST12
6)。
The branch line switch section 105 of each node
Refers to the destination terminal ID 110 of the unicast data packet captured by the ring switch unit 103 (step ST123), and determines whether or not it is addressed to the terminal accommodated by the own node (step ST124). Step ST1
As a result of the determination in step 24, if it is addressed to the terminal accommodated by the own node (step ST124: Yes), the unicast data packet is exchanged for the corresponding branch line port (step ST125) and not addressed to the terminal accommodated by the own node. In this case (step ST124: No), the unicast data packet is discarded (step ST12).
6).

【0181】このように、実施の形態9によれば、各ノ
ードは、ヘルスチェックパケットを送信してノード構成
の変化や障害の発生を速やかに検出し、ユニキャストデ
ータパケットの送信リングとして、宛先端末毎つまり宛
先ノード毎に到達可能なリングを速やかに選択すること
ができる。したがって、実施の形態7,8と同様に、各
ノードに、リング上のノード接続順序と自ノードの位置
を記したデータベースを予め設定しておく必要がなく、
装置管理が容易となる。
As described above, according to the ninth embodiment, each node quickly detects a change in the node configuration or the occurrence of a failure by transmitting a health check packet, and uses it as a destination ring as a unicast data packet transmission ring. A reachable ring can be promptly selected for each terminal, that is, for each destination node. Therefore, similarly to the seventh and eighth embodiments, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node.
Device management becomes easy.

【0182】また、各ノードが複数台の端末を収容し、
ユニキャストデータパケットの宛先端末ID110に基
づき交換するので、より大規模かつ柔軟なネットワーク
を構築することができる。
Further, each node accommodates a plurality of terminals,
Since the exchange is performed based on the destination terminal ID 110 of the unicast data packet, a larger-scale and flexible network can be constructed.

【0183】さらに、以上の説明からも理解できるよう
に、障害発生によるリング選択処理は単純で、ソフトウ
ェア処理に馴染まず、ハードウェア処理が好適であるの
で、リング選択の高速化が容易に実現できる。
Further, as can be understood from the above description, the ring selection process due to the occurrence of a failure is simple, and the hardware process is not suitable for the software process, and the hardware process is suitable. Therefore, the speed of the ring selection can be easily realized. .

【0184】実施の形態10.図31と図32は、この
発明の実施の形態10である二重リングネットワークシ
ステムで実施されるマルチキャストデータパケットの送
受信動作を説明するフローチャートである。なお、図3
1は、マルチキャストデータパケットの送信リング選択
動作を説明するフローチャートである。図32は、マル
チキャストデータパケットの受信動作を説明するフロー
チャートである。
Tenth Embodiment 31 and 32 are flow charts for explaining the transmission / reception operation of the multicast data packet executed in the dual ring network system according to the tenth embodiment of the present invention. Note that FIG.
FIG. 1 is a flowchart illustrating a transmission ring selection operation of a multicast data packet. FIG. 32 is a flowchart illustrating the operation of receiving a multicast data packet.

【0185】この実施の形態10では、図26に示した
のと同様構成の二重リングネットワークシステムにおい
て、図27に示したのと同様構成の各ノードが、図23
に示す構成のマルチキャストデータパケットデータの送
信リングを、複数の宛先端末のグループを識別する識別
子に基づき選択する方法が示されている。
In the tenth embodiment, in the dual ring network system having the same structure as shown in FIG. 26, each node having the same structure as shown in FIG.
There is shown a method of selecting the transmission ring of the multicast data packet data having the configuration shown in (1) on the basis of an identifier for identifying a group of a plurality of destination terminals.

【0186】つまり、図23に示すマルチキャストデー
タパケットにおけるマルチキャストコネクションID9
2は、この実施の形態10では、複数の宛先端末のグル
ープを識別するための識別子として使用される。
That is, the multicast connection ID 9 in the multicast data packet shown in FIG.
2 is used as an identifier for identifying a group of a plurality of destination terminals in the tenth embodiment.

【0187】各ノードのヘルスチェックパケットに関わ
る動作は、以上説明した各実施の形態と同様である。こ
こでは、各ノードのマルチキャストデータパケットに関
わる動作について説明する。まず、図31を参照して、
マルチキャストデータパケットの送信リング選択動作を
説明する。図31に示した処理手順(ステップST12
8〜ST131)は、図5(1)(2)または図9
(1)(2)にて説明した処理手順の実施後に実施され
る。
The operation related to the health check packet of each node is the same as that of each embodiment described above. Here, the operation related to the multicast data packet of each node will be described. First, referring to FIG. 31,
The transmission ring selection operation of the multicast data packet will be described. The processing procedure shown in FIG. 31 (step ST12
8 to ST131) are shown in FIG. 5 (1) (2) or FIG.
(1) Performed after the processing procedure described in (2) is performed.

【0188】図31において、各ノードは、送信元ノー
ド毎かつリング毎に、一定周期中の自ノード発ヘルスチ
ェックパケットの到着/未着を監視し(ステップST1
28)、以下の(1)〜(3)のように経路上の障害有
無を判断し、マルチキャストデータパケットの送信リン
グを選択する。
In FIG. 31, each node monitors the arrival / non-arrival of a health check packet originating from its own node during a fixed period for each source node and for each ring (step ST1).
28), as in the following (1) to (3), the presence / absence of a fault on the route is determined, and the transmission ring of the multicast data packet is selected.

【0189】(1)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着した場合には、両
リングは、共に正常と判断される。この場合には、各ノ
ードは、支線ポートからリングポートに交換して送信す
るマルチキャストデータパケットのマルチキャストコネ
クションID92を参照し、例えば、そのマルチキャス
トコネクションID92の最下位ビットが“0”の場合
には1次リングを選択し、“1”の場合には2次リング
を選択し、該当するリングにマルチキャストデータパケ
ットを送信する(ステップST129)。その結果、マ
ルチキャストデータパケットは、宛先端末に応じて両リ
ングに分散されることになる。なお、送信リングを選択
するために参照するマルチキャストコネクションID9
2におけるビット位置は、最下位ビットである必要はな
く、任意位置のビットを参照ビットと定めてよいことは
言うまでもない。
(1) When health check packets originated from both nodes arrive from both rings during a certain period, both rings are judged to be normal. In this case, each node refers to the multicast connection ID 92 of the multicast data packet transmitted by switching from the branch port to the ring port, and, for example, if the least significant bit of the multicast connection ID 92 is "0", it is set to 1 The next ring is selected, and if it is "1", the secondary ring is selected and the multicast data packet is transmitted to the corresponding ring (step ST129). As a result, the multicast data packet will be distributed to both rings depending on the destination terminal. It should be noted that the multicast connection ID 9 that is referred to in order to select the transmission ring
It is needless to say that the bit position in 2 does not have to be the least significant bit, and the bit at any position may be defined as the reference bit.

【0190】(2)一定周期中に一方のリングのみから
自ノード発ヘルスチェックパケットが到着した場合に
は、当該一方のリングのみが正常と判断される。この場
合には、各ノードは、支線ポートからリングポートに交
換して送信するマルチキャストデータパケットのマルチ
キャストコネクションID92に依らず、前記正常と判
断した一方のリングを選択し、マルチキャストデータパ
ケットを送信する(ステップST130)。
(2) When the health check packet originated from the own node arrives from only one ring during a certain period, only one ring is judged to be normal. In this case, each node selects one of the rings determined to be normal and transmits the multicast data packet, regardless of the multicast connection ID 92 of the multicast data packet transmitted by switching from the branch port to the ring port ( Step ST130).

【0191】(3)一定周期中に両方のリングから自ノ
ード発ヘルスチェックパケットが到着しない場合には、
両リングは、共に異常と判断される。この場合には、各
ノードは、支線ポートからリングポートに交換して送信
するマルチキャストデータパケットのマルチキャストコ
ネクションID92に依らず、両リングを選択し、マル
チキャストデータパケットを送信する(ステップST1
31)。
(3) When the health check packet originated from the own node does not arrive from both rings within a certain period,
Both rings are judged to be abnormal. In this case, each node selects both rings and transmits the multicast data packet, regardless of the multicast connection ID 92 of the multicast data packet transmitted by switching from the branch port to the ring port (step ST1).
31).

【0192】次に、図32を参照してユニキャストデー
タパケットの受信動作を説明する。なお、図32におい
て、ステップ133〜ST135,ST139は、リン
グスイッチ部103での処理手順である。ステップ13
6〜ST139は、支線スイッチ部105での処理手順
である。
Next, the operation of receiving a unicast data packet will be described with reference to FIG. Note that in FIG. 32, steps 133 to ST135 and ST139 are processing procedures in the ring switch unit 103. Step 13
6 to ST139 are processing procedures in the branch line switch unit 105.

【0193】図32において、各ノードのリングスイッ
チ部103は、各リングから到着したマルチキャストデ
ータパケットの送信元ノードID34を参照し(ステッ
プST133)、他ノード発マルチキャストデータパケ
ットであるか否かを判断する(ステップST134)。
ステップST134の判断結果、他ノード発マルチキャ
ストデータパケットの場合には(ステップST134:
Yes)、TTL値を1つ減算し、リングに沿って中継
するとともに、取り込む(ステップST135)。一
方、ステップST134の判断結果、自ノード発マルチ
キャストデータパケットの場合には(ステップST13
4:No)、当該マルチキャストデータパケットの廃棄
処理を行う(ステップST139)。
In FIG. 32, the ring switch unit 103 of each node refers to the transmission source node ID 34 of the multicast data packet arriving from each ring (step ST133) and determines whether or not the multicast data packet originated from another node. Yes (step ST134).
If the result of determination in step ST134 is a multicast data packet originating from another node (step ST134:
Yes), the TTL value is decremented by 1, relayed along the ring, and fetched (step ST135). On the other hand, if the result of determination in step ST134 is that the multicast data packet originated from the own node (step ST13
4: No), discard processing of the multicast data packet is performed (step ST139).

【0194】また、各ノードの支線スイッチ部105
は、リングスイッチ部103が取り込んだマルチキャス
トデータパケットのマルチキャストコネクションID9
2を参照し(ステップST136)、自ノードが収容す
る端末が宛先端末のグループに含まれるか否かを判断す
る(ステップST137)。ステップST137の判断
結果、自ノードが収容する端末が宛先端末のグループに
含まれる場合には(ステップST137:Yes)、当
該マルチキャストデータパケットを該当する支線ポート
に交換し(ステップST138)、自ノードが収容する
端末が宛先端末のグループに含まれない場合には(ステ
ップST137:No)、当該マルチキャストデータパ
ケットの廃棄処理を行う(ステップST139)。
The branch line switch unit 105 of each node
Is the multicast connection ID 9 of the multicast data packet captured by the ring switch unit 103.
2 (step ST136), it is determined whether or not the terminal accommodated by the own node is included in the group of destination terminals (step ST137). As a result of the determination in step ST137, when the terminal accommodated by the own node is included in the group of destination terminals (step ST137: Yes), the multicast data packet is exchanged for the corresponding branch line port (step ST138), and the own node When the terminal to be accommodated is not included in the group of destination terminals (step ST137: No), the multicast data packet is discarded (step ST139).

【0195】このように、実施の形態10によれば、各
ノードは、ヘルスチェックパケットを送信してノード構
成の変化や障害の発生を速やかに検出し、マルチキャス
トデータパケットの送信リングとして、宛先端末毎に到
達可能なリングを速やかに選択することができる。した
がって、実施の形態7〜9と同様に、各ノードに、リン
グ上のノード接続順序と自ノードの位置を記したデータ
ベースを予め設定しておく必要がなく、装置管理が容易
となる。
As described above, according to the tenth embodiment, each node quickly transmits a health check packet to detect a change in the node configuration or the occurrence of a failure, and as a transmission ring of the multicast data packet, the destination terminal Each reachable ring can be quickly selected. Therefore, similarly to the seventh to ninth embodiments, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, and the device management becomes easy.

【0196】また、両リングが正常な場合には、マルチ
キャストデータパケットは、宛先端末つまり宛先ノード
に応じて両リングに分散されるので、実施の形態7〜9
と同様に、リング上の伝送帯域を効率的に使用すること
ができ、ネットワークの性能を容易に向上させることが
できる。
If both rings are normal, the multicast data packet is distributed to both rings according to the destination terminal, that is, the destination node.
Similarly, the transmission band on the ring can be used efficiently, and the performance of the network can be easily improved.

【0197】さらに、各ノードが複数台の端末を収容
し、マルチキャストデータパケットの宛先端末IDに基
づき交換するので、実施の形態9と同様に、より大規模
かつ柔軟なネットワークを構築することができる。
Further, since each node accommodates a plurality of terminals and exchanges based on the destination terminal ID of the multicast data packet, a larger-scale and flexible network can be constructed as in the ninth embodiment. .

【0198】加えて、以上の説明からも理解できるよう
に、障害発生によるリング選択処理は単純で、ソフトウ
ェア処理に馴染まず、ハードウェア処理が好適であるの
で、リング選択の高速化が容易に実現できる。
In addition, as can be understood from the above description, the ring selection process due to the occurrence of a failure is simple, the hardware process is not suitable for the software process, and the hardware process is suitable, so that the speed of the ring selection can be easily realized. it can.

【0199】実施の形態11.図33は、この発明の実
施の形態11である二重リングネットワークシステムで
実施されるデータパケットの送信リング選択動作を説明
するフローチャートである。この実施の形態11では、
実施の形態7〜10にて説明した識別子を用いて送信リ
ングを選択する方法の変形例が示されている。
Eleventh Embodiment FIG. 33 is a flow chart for explaining a data packet transmission ring selecting operation carried out in the dual ring network system according to the eleventh embodiment of the present invention. In this eleventh embodiment,
A modified example of the method of selecting the transmission ring using the identifiers described in the seventh to tenth embodiments is shown.

【0200】すなわち、図33において、各ノードは、
一定周期中に両方のリングから自ノード発ヘルスチェッ
クパケットの到着するのを監視する(ステップST14
0)。両方のリングから自ノード発ヘルスチェックパケ
ットが到着する場合は、両リングは正常であると判断す
る。そして、送信するデータパケットの識別子の一部ま
たは全部に対して奇数パリティ等の所定の計算を施し、
一意に決定されるランダムな1ビット値を求める(ステ
ップST141)。次いで、その1ビット値の論理値を
判断し(ステップST142)、1ビット値=“0”で
ある場合は(ステップST142:Yes)、例えば1
次リングを選択して送信する(ステップST143)一
方、1ビット値=“0”でない場合は(ステップST1
42:No)、2次リングを選択して送信する(ステッ
プST144)。
That is, in FIG. 33, each node is
The arrival of health check packets originating from the own node from both rings is monitored during a fixed period (step ST14).
0). When the health check packet originating from the own node arrives from both rings, it is determined that both rings are normal. Then, a predetermined calculation such as odd parity is performed on part or all of the identifiers of the data packets to be transmitted,
A random 1-bit value that is uniquely determined is obtained (step ST141). Next, the logical value of the 1-bit value is judged (step ST142), and if 1-bit value = "0" (step ST142: Yes), for example, 1
The next ring is selected and transmitted (step ST143), while if the 1-bit value is not "0" (step ST1)
42: No), the secondary ring is selected and transmitted (step ST144).

【0201】したがって、実施の形態11によれば、両
リングが正常な場合に、データパケットを両リングに均
等に分配する確率をさらに向上させることができるの
で、リング上の伝送帯域をさらに効率的に使用すること
ができ、ネットワークの性能を容易に向上させることが
できる。
Therefore, according to the eleventh embodiment, when both rings are normal, the probability of evenly distributing the data packets to both rings can be further improved, so that the transmission band on the rings can be made more efficient. Can be used to improve network performance.

【0202】[0202]

【発明の効果】以上説明したように、この発明によれ
ば、各ノードでは、ヘルスチェックパケット送受信手段
にて、残存時間を記したヘルスチェックパケットが両リ
ングに周期的に送信され、到着した他ノード発ヘルスチ
ェックパケットは残存時間を減算してリングに沿って中
継される一方、到着した自ノード発ヘルスチェックパケ
ットは廃棄することが行われる。このようなヘルスチェ
ックパケットが送受信される過程で、受信リング選択手
段にて、送信元ノード毎に他ノード発ヘルスチェックパ
ケットの到着/未着を監視し、両リングから到着した場
合には、残存時間のより多いヘルスチェックパケットが
到着したリングを前記他ノード発データパケットの受信
リングとして選択し、一方のリングのみから到着した場
合には、当該一方のリングを前記他ノード発データパケ
ットの受信リングとして選択することにより、送信元ノ
ードに対する受信リングの関係が求められ更新可能に保
持される。この状態で、データパケット送受信手段に
て、データパケットが両リングに送信され、到着した他
ノード宛データパケットがリングに沿って中継される一
方、到着した自ノード宛データパケットが前記受信リン
グ選択手段の保持内容に基づき受信または廃棄すること
が行われる。このように、各ノードは、送信元ノードに
対する受信リングの関係を自律的に生成して更新可能に
保持するようにしたので、ノード構成の変化や障害の発
生を速やかに検出し、それを保持内容に自律的に反映す
ることができる。したがって、各ノードにノード接続順
序を予め設定しておく必要がなく、管理が容易となる。
また、各ノードは、ノードの組み合わせ毎にホップ数の
多い、すなわち遅延時間の少ないリングから受信できる
ように送信元ノードに対する受信リングの関係を自律的
に生成ないしは更新するので、ネットワークの性能を容
易に向上させることができる。さらに、障害発生による
リング選択処理は上記のように単純で、ソフトウェア処
理に馴染まず、ハードウェア処理が好適であるので、リ
ング選択の高速化が容易に実現できる。
As described above, according to the present invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet indicating the remaining time to both rings and arrives. The node-originated health check packet is relayed along the ring after subtracting the remaining time, while the arrived node-originated health check packet is discarded. In the process of transmitting and receiving such a health check packet, the receiving ring selection means monitors the arrival / non-arrival of the health check packet originating from another node for each source node, and when it arrives from both rings, it remains. The ring in which the health check packet with a longer time arrives is selected as the receiving ring for the data packet originating from the other node, and when it arrives from only one ring, the one ring is the receiving ring for the data packet originating from the other node. By selecting as, the relationship of the receiving ring with respect to the source node is obtained and held so that it can be updated. In this state, the data packet transmitting / receiving means transmits the data packet to both rings, and the arriving data packet addressed to another node is relayed along the ring, while the arriving data packet addressed to the own node is transmitted to the receiving ring selecting means. It is received or abandoned based on the content held in. In this way, each node autonomously generates the relationship of the receiving ring with respect to the source node and holds it so that it can be updated. Therefore, a change in the node configuration or the occurrence of a failure is promptly detected and held. The content can be reflected autonomously. Therefore, it is not necessary to preset the node connection order for each node, and the management becomes easy.
In addition, each node autonomously generates or updates the relationship of the receiving ring with respect to the source node so that it can receive from a ring with a large number of hops for each combination of nodes, that is, with a short delay time, which facilitates network performance. Can be improved. Further, since the ring selection process due to the occurrence of a failure is simple as described above, and the hardware process is not suitable for the software process and the hardware process is suitable, the speed of the ring selection can be easily realized.

【0203】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信手段にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットがリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、受信リング選択手段に
て、送信元ノード毎に他ノード発ヘルスチェックパケッ
トの到着/未着を監視し、両リングから到着した場合に
は、ヘルスチェックパケットが先に到着したリングを前
記他ノード発データパケットの受信リングとして選択
し、一方のリングのみから到着した場合には、当該一方
のリングを前記他ノード発データパケットの受信リング
として選択することにより、送信元ノードに対する受信
リングの関係が求められ更新可能に保持される。この状
態で、データパケット送受信手段にて、データパケット
が両リングに送信され、到着した他ノード宛データパケ
ットはリングに沿って中継される一方、到着した自ノー
ド宛データパケットは前記受信リング選択手段の保持内
容に基づき受信または廃棄することが行われる。このよ
うに、送信元ノードに対する受信リングの関係を求める
場合に、両リングから他ノード発ヘルスチェックパケッ
トが到着した場合には、先に到着したリングを受信リン
グとして選択するので、ホップ数ばかりでなく、伝送路
の距離や帯域を考慮して、遅延時間の少ないリングから
受信するように送信元ノードに対する受信リングの関係
を生成ないしは更新することができ、ネットワークの性
能をさらに向上させることができる。
According to the next invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the receiving ring selection means monitors the arrival / non-arrival of the health check packet originating from another node for each source node, and when they arrive from both rings, the health check packet is sent. The ring in which the check packet arrives first is selected as the receiving ring for the data packet originating from the other node, and when it arrives from only one ring, the one ring is selected as the receiving ring for the data packet originating from the other node. As a result, the relationship of the receiving ring with respect to the transmission source node is obtained, and the relationship is held so that it can be updated. In this state, the data packet transmitting / receiving means transmits the data packet to both rings, and the arriving data packet addressed to the other node is relayed along the ring, while the arriving data packet addressed to the own node is transmitted to the receiving ring selecting means. It is received or abandoned based on the content held in. In this way, when obtaining the relationship between the source node and the receiving ring, if the health check packets originating from other nodes arrive from both rings, the ring that arrives first is selected as the receiving ring, so only the number of hops is required. Instead, it is possible to generate or update the relationship of the receiving ring with respect to the source node so as to receive from the ring with the shortest delay time in consideration of the distance and band of the transmission path, which can further improve the network performance. .

【0204】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信手段にて、残存時間を記した
ヘルスチェックパケットが両リングに周期的に送信さ
れ、到着した他ノード発ヘルスチェックパケットは残存
時間を減算してリングに沿って中継される一方、到着し
た自ノード発ヘルスチェックパケットは廃棄することが
行われる。このようなヘルスチェックパケットが送受信
される過程で、テーブル生成手段にて、送信元ノード毎
にヘルスチェックパケットの到着/未着を監視し、自ノ
ード発ヘルスチェックパケットが両リングから到着した
場合には、送信ノード毎に残存時間のより少ないヘルス
チェックパケットが到着したリングを前記他ノードが宛
先ノードである送信リングとして選択し、一方のリング
のみから到着した場合には、当該一方のリングを前記他
ノードが宛先ノードである送信リングとして選択し、両
リングから到着しない場合には、両リングを全宛先ノー
ドに共通の送信リングとして選択することにより、宛先
ノードに対する送信リングの関係が求められ更新可能に
保持される。この状態で、データパケット送受信手段に
て、データパケットが前記送信リング選択手段の保持内
容に基づき両リングに送信され、到着した他ノード宛デ
ータパケットはリングに沿って中継される一方、到着し
た自ノード宛データパケットは受信される。このよう
に、宛先ノードに対する送信リングの関係は、送信元ノ
ードがノードの組み合わせ毎にホップ数の少ないリング
を選択して送信できるように生成ないしは更新される。
これによって、両リングが使用可能である場合に、ホッ
プ数の少ない一方のリングを選択して送信リングするこ
とができるので、リング上の伝送帯域を効率的に使用で
き、ネットワークの性能をさらに向上させることができ
る。
According to the next invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet indicating the remaining time to both rings, and the arrived health check packet originating from another node remains. While the time is subtracted and the packet is relayed along the ring, the arrived health check packet originating from its own node is discarded. In the process of transmitting and receiving such a health check packet, the table generation means monitors the arrival / non-arrival of the health check packet for each source node, and when the health check packet originating from the own node arrives from both rings. Selects a ring on which a health check packet with a shorter remaining time arrives for each transmission node as the transmission ring whose other node is the destination node, and when it arrives from only one ring, the one ring is If another node selects the transmission ring as the destination node and does not arrive from both rings, select both rings as the transmission ring common to all destination nodes, and the relationship of the transmission ring to the destination node is obtained and updated. Retained as possible. In this state, the data packet transmitting / receiving means transmits the data packet to both rings based on the content held by the transmission ring selecting means, and the arriving data packet addressed to the other node is relayed along the ring, while the arriving self packet arrives. The data packet addressed to the node is received. In this way, the relationship of the transmission ring with respect to the destination node is generated or updated so that the transmission source node can select and transmit a ring with a small number of hops for each combination of nodes.
As a result, when both rings are available, it is possible to select one ring with a smaller number of hops and transmit it, so that the transmission band on the rings can be used efficiently and the network performance is further improved. Can be made.

【0205】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信手段にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットはリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、送信リング選択手段に
て、送信元ノード毎にヘルスチェックパケットの到着/
未着を監視し、自ノード発ヘルスチェックパケットが両
リングから到着した場合には、送信ノード毎にヘルスチ
ェックパケットが後に到着したリングを自ノード発前記
他ノード宛データパケットの送信リングとして選択し、
一方のリングのみから到着した場合には、当該一方のリ
ングを全宛先ノードに共通の送信リングとして選択し、
両リングから到着しない場合には、両リングを全宛先ノ
ードに共通の送信リングとして選択することにより、宛
先ノードに対する送信リングの関係が求められ更新可能
に保持される。この状態で、データパケット送受信手段
にて、データパケットが前記送信リング選択手段の保持
内容に基づき両リングに送信され、到着した他ノード宛
データパケットはリングに沿って中継される一方、到着
した自ノード宛データパケットは受信される。このよう
に、宛先ノードに対する送信リングの関係を求める場合
に、両リングから他ノード発ヘルスチェックパケットが
到着した場合には、後に到着したリングを送信リングと
して選択するので、ホップ数ばかりでなく、伝送路の距
離や帯域を考慮して、遅延時間の少ないリングに送信す
るように宛先ノードに対する送信リングの関係を生成な
いしは更新することができ、リング上の伝送帯域を一層
効率的に使用できるようになり、ネットワークの性能を
さらに向上させることができる。
According to the next invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting / receiving such a health check packet, the transmission ring selection means arrives / receives the health check packet for each source node.
If the arrival of the health check packet from the local node arrives from both rings, the ring where the health check packet arrives later for each sending node is selected as the sending ring of the data packet originating from the local node and addressed to the other node. ,
When arriving from only one ring, select the one ring as a transmission ring common to all destination nodes,
If the rings do not arrive from both rings, both rings are selected as common transmission rings for all the destination nodes, so that the relationship of the transmission rings with respect to the destination nodes is obtained and maintained so that they can be updated. In this state, the data packet transmitting / receiving means transmits the data packet to both rings based on the content held by the transmission ring selecting means, and the arriving data packet addressed to the other node is relayed along the ring, while the arriving self packet arrives. The data packet addressed to the node is received. In this way, when obtaining the relationship of the transmission ring to the destination node, if the health check packets originating from other nodes arrive from both rings, the ring that arrives later is selected as the transmission ring, so not only the number of hops, Considering the distance and bandwidth of the transmission path, the relationship of the transmission ring to the destination node can be created or updated so as to transmit to the ring with a short delay time, and the transmission bandwidth on the ring can be used more efficiently. Therefore, the network performance can be further improved.

【0206】つぎの発明によれば、上記の発明におい
て、データパケット送受信手段では、番号付加手段に
て、両リングに送信するデータパケットに連続番号が付
加される。そして、選択受信手段にて、両リングから到
着したデータパケットが、同一ノード発かつ同一番号で
あり、自ノード宛データパケットであるときは、一方の
リングから到着したデータパケットのみが受信される。
このように、データパケットは連続番号を備えるので、
ネットワークの障害状態の変化が、各ノードにおける宛
先ノードに対する送信リングの関係の保持内容に反映さ
れるまでの間、同一データパケットが両リングから宛先
ノードに重複して到着するような場合でも、宛先ノード
が連続番号を参照することによって、一方のデータパケ
ットのみを受信できるようになる。したがって、ネット
ワークの信頼性をさらに向上させることができる。
According to the next invention, in the above invention, in the data packet transmitting / receiving means, the number adding means adds a serial number to the data packets to be transmitted to both rings. When the data packets arriving from both rings originate from the same node and have the same number and are data packets addressed to the own node, only the data packets arriving from one ring are received by the selective receiving means.
Thus, since the data packets are equipped with serial numbers,
Even if the same data packet arrives from both rings to the destination node redundantly until the change in the network failure status is reflected in the content of the relationship of the transmission ring to the destination node in each node By referring to the serial number, the node can receive only one data packet. Therefore, the reliability of the network can be further improved.

【0207】つぎの発明によれば、上記の発明におい
て、前記ヘルスチェックパケットが送受信される過程
で、受信禁止期間設定手段にて、送信元ノード毎にヘル
スチェックパケットの到着状況が監視され、ヘルスチェ
ックパケットの到着状況に変化があるとき、一定期間の
データパケット受信禁止期間が設定される。そして、前
記データパケット送受信手段の動作過程において、廃棄
手段にて、前記データパケット受信禁止期間内に両リン
グから到着した自ノード宛データパケットは、廃棄され
る。このように、積極的にネットワークの障害状態の変
化を監視し、データパケット受信禁止期間を設けるよう
にしたので、ネットワークの障害状態の変化が、各ノー
ドにおける宛先ノードに対する送信リングの関係の保持
内容に反映されるまでの間、同一データパケットが両リ
ングから宛先ノードに重複して到着するような場合で
も、宛先ノードでは、両方から到着した自ノード宛デー
タパケットが、データパケット受信禁止期間内であると
して強制的に廃棄される。その結果、上位レイヤの通信
プロトコルによる再送を期待することができるので、ネ
ットワークの信頼性をさらに向上させることができる。
According to the next invention, in the above invention, in the process of transmitting / receiving the health check packet, the reception prohibition period setting means monitors the arrival status of the health check packet for each source node, When there is a change in the arrival status of check packets, a data packet reception prohibited period of a certain period is set. Then, in the operation process of the data packet transmitting / receiving means, the discarding means discards the data packet addressed to the own node which has arrived from both rings within the data packet reception prohibited period. In this way, the changes in the network failure status are actively monitored, and the data packet reception prohibited period is set. Even if the same data packet arrives from both rings to the destination node in duplicate until it is reflected on the destination node, the data packet addressed to its own node that arrives from both sides will be received at the destination node within the data packet reception prohibition period. It is forcibly discarded as it exists. As a result, since it is possible to expect retransmission by the communication protocol of the upper layer, it is possible to further improve the reliability of the network.

【0208】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信工程にて、残存時間を記した
ヘルスチェックパケットが両リングに周期的に送信さ
れ、到着した他ノード発ヘルスチェックパケットは残存
時間を減算してリングに沿って中継される一方、到着し
た自ノード発ヘルスチェックパケットは廃棄することが
行われる。このようなヘルスチェックパケットが送受信
される過程で、受信リング選択工程にて、送信元ノード
毎に他ノード発ヘルスチェックパケットの到着/未着を
監視し、両リングから到着した場合には、残存時間のよ
り多いヘルスチェックパケットが到着したリングを前記
他ノード発データパケットの受信リングとして選択し、
一方のリングのみから到着した場合には、当該一方のリ
ングを前記他ノード発データパケットの受信リングとし
て選択することにより、送信元ノードに対する受信リン
グの関係が求められ更新可能に保持される。この状態
で、データパケット送受信工程にて、データパケットが
両リングに送信され、到着した他ノード宛データパケッ
トがリングに沿って中継される一方、到着した自ノード
宛データパケットが前記受信リング選択テーブルの設定
に基づき受信または廃棄することが行われる。このよう
に、各ノードは、送信元ノードに対する受信リングの関
係を自律的に生成して更新可能に保持するようにしたの
で、ノード構成の変化や障害の発生を速やかに検出し、
それを保持内容に自律的に反映することができる。した
がって、各ノードにノード接続順序を予め設定しておく
必要がなく、管理が容易となる。また、各ノードは、ノ
ードの組み合わせ毎にホップ数の多い、すなわち遅延時
間の少ないリングから受信できるように送信元ノードに
対する受信リングの関係を自律的に生成ないしは更新す
るので、ネットワークの性能を容易に向上させることが
できる。さらに、障害発生によるリング選択処理は上記
のように単純で、ソフトウェア処理に馴染まず、ハード
ウェア処理が好適であるので、リング選択の高速化が容
易に実現できる。
According to the next invention, in each node, in the health check packet transmitting / receiving step, the health check packet indicating the remaining time is periodically transmitted to both rings, and the arrived health check packet originating from another node remains. While the time is subtracted and the packet is relayed along the ring, the arrived health check packet originating from its own node is discarded. In the process of transmitting and receiving such a health check packet, arrival / non-arrival of the health check packet originating from another node is monitored for each source node in the receiving ring selection step, and when the packet arrives from both rings, it remains. The ring in which the health check packet with more time arrives is selected as the receiving ring of the data packet originating from the other node,
When arriving from only one ring, the one ring is selected as the receiving ring of the data packet originating from the other node, and the relationship of the receiving ring with respect to the source node is obtained and held so that it can be updated. In this state, in the data packet transmission / reception step, the data packet is transmitted to both rings, and the arrived data packet addressed to the other node is relayed along the ring, while the arrived data packet addressed to the own node is transmitted to the reception ring selection table. It is received or discarded based on the setting. In this way, each node autonomously generates the relationship of the receiving ring with respect to the source node and holds it so that it can be updated, so that a change in the node configuration or the occurrence of a failure can be promptly detected,
It can be reflected autonomously in the retained content. Therefore, it is not necessary to preset the node connection order for each node, and the management becomes easy. In addition, each node autonomously generates or updates the relationship of the receiving ring with respect to the source node so that it can receive from a ring with a large number of hops for each combination of nodes, that is, with a short delay time, which facilitates network performance. Can be improved. Further, since the ring selection process due to the occurrence of a failure is simple as described above, and the hardware process is not suitable for the software process and the hardware process is suitable, the speed of the ring selection can be easily realized.

【0209】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信工程にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットがリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、受信リング選択工程に
て、送信元ノード毎に他ノード発ヘルスチェックパケッ
トの到着/未着を監視し、両リングから到着した場合に
は、ヘルスチェックパケットが先に到着したリングを前
記他ノード発データパケットの受信リングとして選択
し、一方のリングのみから到着した場合には、当該一方
のリングを前記他ノード発データパケットの受信リング
として選択することにより、送信元ノードに対する受信
リングの関係が求められ更新可能に保持される。この状
態で、データパケット送受信工程にて、データパケット
が両リングに送信され、到着した他ノード宛データパケ
ットはリングに沿って中継される一方、到着した自ノー
ド宛データパケットは前記受信リング選択テーブルの設
定に基づき受信または廃棄することが行われる。このよ
うに、送信元ノードに対する受信リングの関係を求める
場合に、両リングから他ノード発ヘルスチェックパケッ
トが到着した場合には、先に到着したリングを受信リン
グとして選択するので、ホップ数ばかりでなく、伝送路
の距離や帯域を考慮して、遅延時間の少ないリングから
受信するように送信元ノードに対する受信リングの関係
を生成ないしは更新することができ、ネットワークの性
能をさらに向上させることができる。
According to the next invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting / receiving such a health check packet, arrival / non-arrival of the health check packet originating from another node is monitored for each source node in the receiving ring selection step, and when the packet arrives from both rings, the health check packet is received. The ring in which the check packet arrives first is selected as the receiving ring for the data packet originating from the other node, and when it arrives from only one ring, the one ring is selected as the receiving ring for the data packet originating from the other node. As a result, the relationship of the receiving ring with respect to the transmission source node is obtained, and the relationship is held so that it can be updated. In this state, in the data packet transmitting / receiving step, the data packet is transmitted to both rings, and the arriving data packet addressed to the other node is relayed along the ring, while the arriving data packet addressed to the own node is transmitted to the reception ring selection table. It is received or discarded based on the setting. In this way, when obtaining the relationship between the source node and the receiving ring, if the health check packets originating from other nodes arrive from both rings, the ring that arrives first is selected as the receiving ring, so only the number of hops is required. Instead, it is possible to generate or update the relationship of the receiving ring with respect to the source node so as to receive from the ring with the shortest delay time in consideration of the distance and band of the transmission path, which can further improve the network performance. .

【0210】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信工程にて、残存時間を記した
ヘルスチェックパケットが両リングに周期的に送信さ
れ、到着した他ノード発ヘルスチェックパケットはリン
グに沿って中継される一方、到着した自ノード発ヘルス
チェックパケットは廃棄することが行われる。このよう
なヘルスチェックパケットが送受信される過程で、送信
リング選択工程にて、送信元ノード毎にヘルスチェック
パケットの到着/未着を監視し、自ノード発ヘルスチェ
ックパケットが両リングから到着した場合には、送信ノ
ード毎に残存時間のより少ないヘルスチェックパケット
が到着したリングを自ノード発前記他ノード宛データパ
ケットの送信リングとして選択し、一方のリングのみか
ら到着した場合には、当該一方のリングを全宛先ノード
に共通の送信リングとして選択し、両リングから到着し
ない場合には、両リングを全宛先ノードに共通の送信リ
ングとして選択することにより、宛先ノードに対する送
信リングの関係が送信リング選択テーブルに設定され
る。この状態で、データパケット送受信工程にて、デー
タパケットが前記送信リング選択工程での保持内容に基
づき両リングに送信され、到着した他ノード宛データパ
ケットはリングに沿って中継される一方、到着した自ノ
ード宛データパケットは受信される。このように、宛先
ノードに対する送信リングの関係は、送信元ノードがノ
ードの組み合わせ毎にホップ数の少ないリングを選択し
て送信できるように生成ないしは更新される。これによ
って、両リングが使用可能である場合に、ホップ数の少
ない一方のリングを選択して送信リングすることができ
るので、リング上の伝送帯域を効率的に使用でき、ネッ
トワークの性能をさらに向上させることができる。
According to the next invention, in each node, in the health check packet transmission / reception process, the health check packet indicating the remaining time is periodically transmitted to both rings, and the arrived health check packet originating from another node is ringed. The health check packet arriving from its own node is discarded while being relayed along. When such a health check packet is transmitted and received, the arrival / non-arrival of the health check packet is monitored for each source node in the transmission ring selection step, and the health check packet originating from the own node arrives from both rings. , The ring on which the health check packet with less remaining time arrives for each sending node is selected as the sending ring for the data packet destined for the other node destined for the own node. If the ring is selected as the common transmission ring for all destination nodes and if it does not arrive from both rings, both rings are selected as the common transmission ring for all destination nodes so that the relationship of the transmission ring to the destination node is the transmission ring. It is set in the selection table. In this state, in the data packet transmission / reception step, the data packet is transmitted to both rings based on the contents held in the transmission ring selection step, and the arrived data packet addressed to another node is relayed along the ring and arrived. The data packet addressed to the own node is received. In this way, the relationship of the transmission ring with respect to the destination node is generated or updated so that the transmission source node can select and transmit a ring with a small number of hops for each combination of nodes. As a result, when both rings are available, it is possible to select one ring with a smaller number of hops and transmit it, so that the transmission band on the rings can be used efficiently and the network performance is further improved. Can be made.

【0211】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信工程にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットはリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、送信リング選択工程に
て、送信元ノード毎にヘルスチェックパケットの到着/
未着を監視し、自ノード発ヘルスチェックパケットが両
リングから到着した場合には、送信ノード毎にヘルスチ
ェックパケットが後に到着したリングを自ノード発前記
他ノード宛データパケットの送信リングとして選択し、
一方のリングのみから到着した場合には、当該一方のリ
ングを全宛先ノードに共通の送信リングとして選択し、
両リングから到着しない場合には、両リングを全宛先ノ
ードに共通の送信リングとして選択することにより、宛
先ノードに対する送信リングの関係が求められ更新可能
に保持される。この状態で、データパケット送受信工程
にて、データパケットが前記送信リング選択工程での保
持内容に基づき両リングに送信され、到着した他ノード
宛データパケットはリングに沿って中継される一方、到
着した自ノード宛データパケットは受信される。このよ
うに、宛先ノードに対する送信リングの関係を求める場
合に、両リングから他ノード発ヘルスチェックパケット
が到着した場合には、後に到着したリングを送信リング
として選択するので、ホップ数ばかりでなく、伝送路の
距離や帯域を考慮して、遅延時間の少ないリングに送信
するように宛先ノードに対する送信リングの関係を生成
ないしは更新することができ、リング上の伝送帯域を一
層効率的に使用できるようになり、ネットワークの性能
をさらに向上させることができる。
According to the next invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, in the transmission ring selection step, the arrival / non-arrival of the health check packet for each source node is performed.
If the arrival of the health check packet from the local node arrives from both rings, the ring where the health check packet arrives later for each sending node is selected as the sending ring of the data packet originating from the local node and addressed to the other node. ,
When arriving from only one ring, select the one ring as a transmission ring common to all destination nodes,
If the rings do not arrive from both rings, both rings are selected as common transmission rings for all the destination nodes, so that the relationship of the transmission rings with respect to the destination nodes is obtained and maintained so that they can be updated. In this state, in the data packet transmission / reception step, the data packet is transmitted to both rings based on the contents held in the transmission ring selection step, and the arrived data packet addressed to another node is relayed along the ring and arrived. The data packet addressed to the own node is received. In this way, when obtaining the relationship of the transmission ring to the destination node, if the health check packets originating from other nodes arrive from both rings, the ring that arrives later is selected as the transmission ring, so not only the number of hops, Considering the distance and bandwidth of the transmission path, the relationship of the transmission ring to the destination node can be created or updated so as to transmit to the ring with a short delay time, and the transmission bandwidth on the ring can be used more efficiently. Therefore, the network performance can be further improved.

【0212】つぎの発明によれば、上記の発明におい
て、データパケット送受信工程では、番号付加工程に
て、両リングに送信するデータパケットに連続番号が付
加される。そして、選択受信工程にて、両リングから到
着したデータパケットが、同一ノード発かつ同一番号で
あり、自ノード宛データパケットであるときは、一方の
リングから到着したデータパケットのみが受信される。
このように、データパケットは連続番号を備えるので、
ネットワークの障害状態の変化が、各ノードにおける送
信元ノードに対する受信リングの関係や宛先ノードに対
する送信リングの関係の保持内容に反映されるまでの
間、同一データパケットが両リングから宛先ノードに重
複して到着するような場合でも、宛先ノードが連続番号
を参照することによって、一方のデータパケットのみを
受信できるようになる。したがって、ネットワークの信
頼性をさらに向上させることができる。
According to the next invention, in the above invention, in the data packet transmitting / receiving step, the serial number is added to the data packet to be transmitted to both rings in the number adding step. Then, in the selective reception step, when the data packets arriving from both rings originate from the same node and have the same number and are data packets addressed to the own node, only the data packets arriving from one ring are received.
Thus, since the data packets are equipped with serial numbers,
Until the change in the network failure status is reflected in the content of the relationship between the source node and the receiving ring and the relationship between the destination node and the transmitting ring in each node, the same data packet is duplicated from both rings to the destination node. Even when the data arrives as a result, the destination node can receive only one data packet by referring to the serial number. Therefore, the reliability of the network can be further improved.

【0213】つぎの発明によれば、上記の発明におい
て、前記ヘルスチェックパケットが送受信される過程
で、受信禁止期間設定工程にて、送信元ノード毎にヘル
スチェックパケットの到着状況が監視され、ヘルスチェ
ックパケットの到着状況に変化があるとき、一定期間の
データパケット受信禁止期間が設定される。そして、前
記データパケット送受信工程において、廃棄工程にて、
前記データパケット受信禁止期間内に両リングから到着
した自ノード宛データパケットは、廃棄される。このよ
うに、積極的にネットワークの障害状態の変化を監視
し、データパケット受信禁止期間を設けるようにしたの
で、ネットワークの障害状態の変化が、送信元ノードに
対する受信リングの関係や各ノードにおける宛先ノード
に対する送信リングの関係の保持内容に反映されるまで
の間、同一データパケットが両リングから宛先ノードに
重複して到着するような場合でも、宛先ノードでは、両
方から到着した自ノード宛データパケットが、データパ
ケット受信禁止期間内であるとして強制的に廃棄され
る。その結果、上位レイヤの通信プロトコルによる再送
を期待することができるので、ネットワークの信頼性を
さらに向上させることができる。
According to the next invention, in the above invention, in the process of transmitting / receiving the health check packet, the arrival status of the health check packet is monitored for each source node in the reception prohibited period setting step, When there is a change in the arrival status of check packets, a data packet reception prohibited period of a certain period is set. Then, in the data packet transmitting / receiving step, in the discarding step,
The data packet addressed to the own node which has arrived from both rings within the data packet reception prohibition period is discarded. In this way, the changes in the network failure status are actively monitored, and the data packet reception prohibited period is set. Therefore, changes in the network failure status can be determined by the relationship between the receiving ring with respect to the source node and the destination at each node. Even if the same data packet arrives from both rings to the destination node in duplicate until it is reflected in the content held in the relationship of the transmission ring to the node, the destination node will receive the data packet addressed to both nodes at the destination node. However, it is forcibly discarded because it is within the data packet reception prohibited period. As a result, since it is possible to expect retransmission by the communication protocol of the upper layer, it is possible to further improve the reliability of the network.

【0214】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信手段にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットはリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、送信リング選択手段に
て、送信元ノード毎に自ノード発ヘルスチェックパケッ
トの到着/未着が監視される。そして、両リングから到
着した場合には、送信するユニキャストデータパケット
の宛先ノード識別子の所定ビット位置のビットの論理値
に応じて定められたリングが送信リングとして選択さ
れ、一方のリングのみから到着した場合には、当該一方
のリングが送信リングとして選択され、両方のリングか
ら到着しない場合は、両方のリングが送信リングとして
選択される。その結果、データパケット送受信手段に
て、ユニキャストデータパケットが前記選択結果に基づ
くリングに送信される。そして、到着した他ノード宛ユ
ニキャストデータパケットはリングに沿って中継され
る。また、到着した自ノード宛ユニキャストデータパケ
ットは受信処理される。このように、各ノードは、ヘル
スチェックパケットを送信してノード構成の変化や障害
の発生を速やかに検出し、ユニキャストデータパケット
の送信リングとして、宛先ノード毎に到達可能なリング
を速やかに選択することができるので、各ノードに、リ
ング上のノード接続順序と自ノードの位置を記したデー
タベースを予め設定しておく必要がなく、装置管理が容
易となる。また、両リングが正常な場合には、ユニキャ
ストデータパケットは、宛先ノードに応じて両リングに
分散されるので、リング上の伝送帯域を効率的に使用す
ることができ、ネットワークの性能を容易に向上させる
ことができる。
According to the next invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting / receiving such a health check packet, arrival / non-arrival of the health check packet originated from the own node is monitored by the transmission ring selection means for each source node. Then, when arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination node identifier of the unicast data packet to be transmitted is selected as the transmission ring and arrives from only one ring. If so, one of the rings is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, the data packet transmitting / receiving means transmits the unicast data packet to the ring based on the selection result. Then, the arrived unicast data packet addressed to another node is relayed along the ring. In addition, the unicast data packet addressed to the own node is received and processed. In this way, each node quickly transmits a health check packet to detect changes in the node configuration and the occurrence of failures, and promptly selects a reachable ring for each destination node as the unicast data packet transmission ring. Since it is possible to do so, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, and the device management becomes easy. Also, when both rings are normal, unicast data packets are distributed to both rings according to the destination node, so that the transmission band on the rings can be used efficiently and network performance is facilitated. Can be improved.

【0215】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信手段にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットはリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、送信リング選択手段に
て、送信元ノード毎に自ノード発ヘルスチェックパケッ
トの到着/未着が監視される。そして、両リングから到
着した場合には、送信するマルチキャストデータパケッ
トの複数の宛先ノードのグループを識別する宛先ノード
グループ識別子の所定ビット位置のビットの論理値に応
じて定められたリングが送信リングとして選択され、一
方のリングのみから到着した場合には、当該一方のリン
グが送信リングとして選択され、両方のリングから到着
しない場合は、両方のリングが送信リングとして選択さ
れる。その結果、データパケット送受信手段にて、マル
チキャストデータパケットが前記選択結果に基づくリン
グに送信される。そして、到着した他ノード発マルチキ
ャストデータパケットはリングに沿って中継されるとと
もに、受信処理が行われる。また、到着した自ノード発
マルチキャストデータパケットは廃棄される。このよう
に、各ノードは、ヘルスチェックパケットを送信してノ
ード構成の変化や障害の発生を速やかに検出し、マルチ
キャストデータパケットの送信リングとして、宛先ノー
ド毎に到達可能なリングを速やかに選択することができ
るので、各ノードに、リング上のノード接続順序と自ノ
ードの位置を記したデータベースを予め設定しておく必
要がなく、装置管理が容易となる。また、両リングが正
常な場合には、マルチキャストデータパケットは、宛先
ノードに応じて両リングに分散されるので、実施の形態
7と同様に、リング上の伝送帯域を効率的に使用するこ
とができ、ネットワークの性能を容易に向上させること
ができる。
According to the next invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting / receiving such a health check packet, arrival / non-arrival of the health check packet originated from the own node is monitored by the transmission ring selection means for each source node. Then, when arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination node group identifier that identifies the group of the plurality of destination nodes of the multicast data packet to be transmitted is the transmission ring. If one ring is selected and arrives from only one ring, the one ring is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, the data packet transmitting / receiving means transmits the multicast data packet to the ring based on the selection result. Then, the arrived multi-node originated multicast data packet is relayed along the ring and received. In addition, the arrived multicast data packet originating from the own node is discarded. In this way, each node transmits a health check packet to promptly detect a change in the node configuration or the occurrence of a failure, and promptly selects a reachable ring for each destination node as the transmission ring of the multicast data packet. Therefore, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, and the device management becomes easy. Further, when both rings are normal, the multicast data packet is distributed to both rings according to the destination node, so that the transmission band on the rings can be efficiently used as in the case of the seventh embodiment. It is possible to improve the performance of the network easily.

【0216】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信手段にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットはリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、送信リング選択手段に
て、送信元ノード毎に自ノード発ヘルスチェックパケッ
トの到着/未着が監視される。そして、両リングから到
着した場合には、送信するユニキャストデータパケット
の宛先端末識別子の所定ビット位置のビットの論理値に
応じて定められたリングが送信リングとして選択され、
一方のリングのみから到着した場合には、当該一方のリ
ングが送信リングとして選択され、両方のリングから到
着しない場合は、両方のリングが送信リングとして選択
される。その結果、データパケット送受信手段にて、収
容する端末から送られてきたユニキャストデータパケッ
トが前記選択結果に基づくリングに送信される。そし
て、到着した他ノード発ユニキャストデータパケットは
リングに沿って中継されるとともに、自ノードが収容す
る端末宛であるときはそのユニキャストデータパケット
が当該収容端末に中継される。また、到着した自ノード
発ユニキャストデータパケットは廃棄処理される。この
ように、各ノードは、ヘルスチェックパケットを送信し
てノード構成の変化や障害の発生を速やかに検出し、ユ
ニキャストデータパケットの送信リングとして、宛先端
末毎つまり宛先ノード毎に到達可能なリングを速やかに
選択することができるので、各ノードに、リング上のノ
ード接続順序と自ノードの位置を記したデータベースを
予め設定しておく必要がなく、装置管理が容易となる。
また、各ノードが複数台の端末を収容し、ユニキャスト
データパケットの宛先端末の識別子に基づき交換するの
で、より大規模かつ柔軟なネットワークを構築すること
ができる。
According to the next invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting / receiving such a health check packet, arrival / non-arrival of the health check packet originated from the own node is monitored by the transmission ring selection means for each source node. Then, when arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal identifier of the unicast data packet to be transmitted is selected as the transmission ring,
If the ring arrives from only one ring, the one ring is selected as a transmission ring, and if the ring does not arrive from both rings, both rings are selected as a transmission ring. As a result, the data packet transmitting / receiving means transmits the unicast data packet sent from the accommodated terminal to the ring based on the selection result. Then, the unicast data packet arriving from another node is relayed along the ring, and when the unicast data packet is addressed to the terminal accommodated by the own node, the unicast data packet is relayed to the accommodated terminal. Further, the unicast data packet originating from the own node that has arrived is discarded. In this way, each node transmits a health check packet to quickly detect a change in the node configuration or the occurrence of a failure, and as a transmission ring for a unicast data packet, a ring reachable for each destination terminal, that is, for each destination node. Since it is possible to quickly select, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, which facilitates device management.
Moreover, since each node accommodates a plurality of terminals and exchanges based on the destination terminal identifier of the unicast data packet, a larger-scale and flexible network can be constructed.

【0217】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信手段にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットはリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、送信リング選択手段に
て、送信元ノード毎に自ノード発ヘルスチェックパケッ
トの到着/未着が監視される。そして、両リングから到
着した場合には、送信するマルチキャストデータパケッ
トの複数の宛先端末のグループを識別する宛先端末グル
ープ識別子の所定ビット位置のビットの論理値に応じて
定められたリングが送信リングとして選択され、一方の
リングのみから到着した場合には、当該一方のリングが
送信リングとして選択され、両方のリングから到着しな
い場合は、両方のリングが送信リングとして選択され
る。その結果、データパケット送受信手段にて、収容す
る端末から送られてきたマルチキャストデータパケット
が前記選択結果に基づくリングに送信される。そして、
到着した他ノード発マルチキャストデータパケットはリ
ングに沿って中継されるとともに、自ノードが収容する
端末宛であるときはそのマルチキャストデータパケット
が当該収容端末に中継される。また、到着した自ノード
発マルチキャストデータパケットは廃棄される。このよ
うに、各ノードは、ヘルスチェックパケットを送信して
ノード構成の変化や障害の発生を速やかに検出し、マル
チキャストデータパケットの送信リングとして、宛先端
末毎に到達可能なリングを速やかに選択することができ
るので、各ノードに、リング上のノード接続順序と自ノ
ードの位置を記したデータベースを予め設定しておく必
要がなく、装置管理が容易となる。また、両リングが正
常な場合には、マルチキャストデータパケットは、宛先
端末つまり宛先ノードに応じて両リングに分散されるの
で、リング上の伝送帯域を効率的に使用することがで
き、ネットワークの性能を容易に向上させることができ
る。
According to the next invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting / receiving such a health check packet, arrival / non-arrival of the health check packet originated from the own node is monitored by the transmission ring selection means for each source node. When arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal group identifier that identifies the group of the plurality of destination terminals of the multicast data packet to be transmitted is the transmission ring. If one ring is selected and arrives from only one ring, the one ring is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, the data packet transmitting / receiving means transmits the multicast data packet transmitted from the terminal to be accommodated to the ring based on the selection result. And
The arrived multicast data packet originating from another node is relayed along the ring, and when it is addressed to the terminal accommodated by the own node, the multicast data packet is relayed to the accommodated terminal. In addition, the arrived multicast data packet originating from the own node is discarded. In this way, each node transmits a health check packet to quickly detect a change or failure in the node configuration, and promptly selects a reachable ring for each destination terminal as a multicast data packet transmission ring. Therefore, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, and the device management becomes easy. Also, when both rings are normal, multicast data packets are distributed to both rings according to the destination terminal, that is, the destination node, so that the transmission band on the rings can be used efficiently and the network performance is improved. Can be easily improved.

【0218】つぎの発明によれば、上記の発明におい
て、送信リング選択手段では、自ノード発ヘルスチェッ
クパケットが両リングから到着した場合において、前記
識別子の一部または全部に対して所定の計算を実施して
ランダムなビット値が求められ、そのビット値に応じて
定められたリングが送信リングとして選択される。した
がって、両リングが正常な場合に、データパケットを両
リングに均等に分配する確率をさらに向上させることが
できるので、リング上の伝送帯域をさらに効率的に使用
することができ、ネットワークの性能を容易に向上させ
ることができる。
According to the next invention, in the above invention, in the transmission ring selection means, when the health check packet originating from the own node arrives from both rings, a predetermined calculation is performed for a part or all of the identifier. A random bit value is obtained by performing the operation, and a ring determined according to the bit value is selected as a transmission ring. Therefore, when both rings are normal, the probability of evenly distributing the data packets to both rings can be further improved, so that the transmission band on the rings can be used more efficiently and the network performance can be improved. It can be easily improved.

【0219】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信工程にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットはリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、送信リング選択工程に
て、送信元ノード毎に自ノード発ヘルスチェックパケッ
トの到着/未着が監視される。そして、両リングから到
着した場合には、送信するユニキャストデータパケット
の宛先ノード識別子の所定ビット位置のビットの論理値
に応じて定められたリングが送信リングとして選択さ
れ、一方のリングのみから到着した場合には、当該一方
のリングが送信リングとして選択され、両方のリングか
ら到着しない場合は、両方のリングが送信リングとして
選択される。その結果、データパケット送受信工程に
て、ユニキャストデータパケットが前記選択結果に基づ
くリングに送信される。そして、到着した他ノード宛ユ
ニキャストデータパケットはリングに沿って中継され
る。また、到着した自ノード宛ユニキャストデータパケ
ットは受信処理される。このように、各ノードは、ヘル
スチェックパケットを送信してノード構成の変化や障害
の発生を速やかに検出し、ユニキャストデータパケット
の送信リングとして、宛先ノード毎に到達可能なリング
を速やかに選択することができるので、各ノードに、リ
ング上のノード接続順序と自ノードの位置を記したデー
タベースを予め設定しておく必要がなく、装置管理が容
易となる。また、両リングが正常な場合には、ユニキャ
ストデータパケットは、宛先ノードに応じて両リングに
分散されるので、リング上の伝送帯域を効率的に使用す
ることができ、ネットワークの性能を容易に向上させる
ことができる。
According to the next invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the arrival / non-arrival of the health check packet originating from the own node is monitored for each source node in the transmission ring selection step. Then, when arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination node identifier of the unicast data packet to be transmitted is selected as the transmission ring and arrives from only one ring. If so, one of the rings is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, in the data packet transmitting / receiving step, the unicast data packet is transmitted to the ring based on the selection result. Then, the arrived unicast data packet addressed to another node is relayed along the ring. In addition, the unicast data packet addressed to the own node is received and processed. In this way, each node quickly transmits a health check packet to detect changes in the node configuration and the occurrence of failures, and promptly selects a reachable ring for each destination node as the unicast data packet transmission ring. Since it is possible to do so, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, and the device management becomes easy. Also, when both rings are normal, unicast data packets are distributed to both rings according to the destination node, so that the transmission band on the rings can be used efficiently and network performance is facilitated. Can be improved.

【0220】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信工程にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットはリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、送信リング選択工程に
て、送信元ノード毎に自ノード発ヘルスチェックパケッ
トの到着/未着が監視される。そして、両リングから到
着した場合には、送信するマルチキャストデータパケッ
トの複数の宛先ノードのグループを識別する宛先ノード
グループ識別子の所定ビット位置のビットの論理値に応
じて定められたリングが送信リングとして選択され、一
方のリングのみから到着した場合には、当該一方のリン
グが送信リングとして選択され、両方のリングから到着
しない場合は、両方のリングが送信リングとして選択さ
れる。その結果、データパケット送受信工程にて、マル
チキャストデータパケットが前記選択結果に基づくリン
グに送信される。そして、到着した他ノード発マルチキ
ャストデータパケットはリングに沿って中継されるとと
もに、受信処理が行われる。また、到着した自ノード発
マルチキャストデータパケットは廃棄される。このよう
に、各ノードは、ヘルスチェックパケットを送信してノ
ード構成の変化や障害の発生を速やかに検出し、マルチ
キャストデータパケットの送信リングとして、宛先ノー
ド毎に到達可能なリングを速やかに選択することができ
るので、各ノードに、リング上のノード接続順序と自ノ
ードの位置を記したデータベースを予め設定しておく必
要がなく、装置管理が容易となる。また、両リングが正
常な場合には、マルチキャストデータパケットは、宛先
ノードに応じて両リングに分散されるので、実施の形態
7と同様に、リング上の伝送帯域を効率的に使用するこ
とができ、ネットワークの性能を容易に向上させること
ができる。
According to the next invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the arrival / non-arrival of the health check packet originating from the own node is monitored for each source node in the transmission ring selection step. Then, when arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination node group identifier that identifies the group of the plurality of destination nodes of the multicast data packet to be transmitted is the transmission ring. If one ring is selected and arrives from only one ring, the one ring is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, in the data packet transmitting / receiving step, the multicast data packet is transmitted to the ring based on the selection result. Then, the arrived multi-node originated multicast data packet is relayed along the ring and received. In addition, the arrived multicast data packet originating from the own node is discarded. In this way, each node transmits a health check packet to promptly detect a change in the node configuration or the occurrence of a failure, and promptly selects a reachable ring for each destination node as the transmission ring of the multicast data packet. Therefore, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, and the device management becomes easy. Further, when both rings are normal, the multicast data packet is distributed to both rings according to the destination node, so that the transmission band on the rings can be efficiently used as in the case of the seventh embodiment. It is possible to improve the performance of the network easily.

【0221】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信工程にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットはリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、送信リング選択工程に
て、送信元ノード毎に自ノード発ヘルスチェックパケッ
トの到着/未着が監視される。そして、両リングから到
着した場合には、送信するユニキャストデータパケット
の宛先端末識別子の所定ビット位置のビットの論理値に
応じて定められたリングが送信リングとして選択され、
一方のリングのみから到着した場合には、当該一方のリ
ングが送信リングとして選択され、両方のリングから到
着しない場合は、両方のリングが送信リングとして選択
される。その結果、データパケット送受信工程にて、収
容する端末から送られてきたユニキャストデータパケッ
トが前記選択結果に基づくリングに送信される。そし
て、到着した他ノード発ユニキャストデータパケットは
リングに沿って中継されるとともに、自ノードが収容す
る端末宛であるときはそのユニキャストデータパケット
が当該収容端末に中継される。また、到着した自ノード
発ユニキャストデータパケットは廃棄処理される。この
ように、各ノードは、ヘルスチェックパケットを送信し
てノード構成の変化や障害の発生を速やかに検出し、ユ
ニキャストデータパケットの送信リングとして、宛先端
末毎つまり宛先ノード毎に到達可能なリングを速やかに
選択することができるので、各ノードに、リング上のノ
ード接続順序と自ノードの位置を記したデータベースを
予め設定しておく必要がなく、装置管理が容易となる。
また、各ノードが複数台の端末を収容し、ユニキャスト
データパケットの宛先端末の識別子に基づき交換するの
で、より大規模かつ柔軟なネットワークを構築すること
ができる。
According to the next invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the arrival / non-arrival of the health check packet originating from the own node is monitored for each source node in the transmission ring selection step. Then, when arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal identifier of the unicast data packet to be transmitted is selected as the transmission ring,
If the ring arrives from only one ring, the one ring is selected as a transmission ring, and if the ring does not arrive from both rings, both rings are selected as a transmission ring. As a result, in the data packet transmitting / receiving step, the unicast data packet transmitted from the accommodating terminal is transmitted to the ring based on the selection result. Then, the unicast data packet arriving from another node is relayed along the ring, and when the unicast data packet is addressed to the terminal accommodated by the own node, the unicast data packet is relayed to the accommodated terminal. Further, the unicast data packet originating from the own node that has arrived is discarded. In this way, each node transmits a health check packet to quickly detect a change in the node configuration or the occurrence of a failure, and as a transmission ring for a unicast data packet, a ring reachable for each destination terminal, that is, for each destination node. Since it is possible to quickly select, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, which facilitates device management.
Moreover, since each node accommodates a plurality of terminals and exchanges based on the destination terminal identifier of the unicast data packet, a larger-scale and flexible network can be constructed.

【0222】つぎの発明によれば、各ノードでは、ヘル
スチェックパケット送受信工程にて、ヘルスチェックパ
ケットが両リングに周期的に送信され、到着した他ノー
ド発ヘルスチェックパケットはリングに沿って中継され
る一方、到着した自ノード発ヘルスチェックパケットは
廃棄することが行われる。このようなヘルスチェックパ
ケットが送受信される過程で、送信リング選択工程に
て、送信元ノード毎に自ノード発ヘルスチェックパケッ
トの到着/未着が監視される。そして、両リングから到
着した場合には、送信するマルチキャストデータパケッ
トの複数の宛先端末のグループを識別する宛先端末グル
ープ識別子の所定ビット位置のビットの論理値に応じて
定められたリングが送信リングとして選択され、一方の
リングのみから到着した場合には、当該一方のリングが
送信リングとして選択され、両方のリングから到着しな
い場合は、両方のリングが送信リングとして選択され
る。その結果、データパケット送受信工程にて、収容す
る端末から送られてきたマルチキャストデータパケット
が前記選択結果に基づくリングに送信される。そして、
到着した他ノード発マルチキャストデータパケットはリ
ングに沿って中継されるとともに、自ノードが収容する
端末宛であるときはそのマルチキャストデータパケット
が当該収容端末に中継される。また、到着した自ノード
発マルチキャストデータパケットは廃棄される。このよ
うに、各ノードは、ヘルスチェックパケットを送信して
ノード構成の変化や障害の発生を速やかに検出し、マル
チキャストデータパケットの送信リングとして、宛先端
末毎に到達可能なリングを速やかに選択することができ
るので、各ノードに、リング上のノード接続順序と自ノ
ードの位置を記したデータベースを予め設定しておく必
要がなく、装置管理が容易となる。また、両リングが正
常な場合には、マルチキャストデータパケットは、宛先
端末つまり宛先ノードに応じて両リングに分散されるの
で、リング上の伝送帯域を効率的に使用することがで
き、ネットワークの性能を容易に向上させることができ
る。
According to the next invention, in each node, in the health check packet transmitting / receiving step, the health check packet is periodically transmitted to both rings, and the arrived health check packet originating from another node is relayed along the ring. On the other hand, the arrived health check packet originating from the own node is discarded. In the process of transmitting and receiving such a health check packet, the arrival / non-arrival of the health check packet originating from the own node is monitored for each source node in the transmission ring selection step. When arriving from both rings, the ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal group identifier that identifies the group of the plurality of destination terminals of the multicast data packet to be transmitted is the transmission ring. If one ring is selected and arrives from only one ring, the one ring is selected as a transmission ring, and if no ring arrives from both rings, both rings are selected as transmission rings. As a result, in the data packet transmission / reception step, the multicast data packet transmitted from the accommodating terminal is transmitted to the ring based on the selection result. And
The arrived multicast data packet originating from another node is relayed along the ring, and when it is addressed to the terminal accommodated by the own node, the multicast data packet is relayed to the accommodated terminal. In addition, the arrived multicast data packet originating from the own node is discarded. In this way, each node transmits a health check packet to quickly detect a change or failure in the node configuration, and promptly selects a reachable ring for each destination terminal as a multicast data packet transmission ring. Therefore, it is not necessary to previously set a database in which the node connection order on the ring and the position of the own node are set in each node, and the device management becomes easy. Also, when both rings are normal, the multicast data packets are distributed to both rings according to the destination terminal, that is, the destination node, so that the transmission band on the rings can be used efficiently and the network performance is improved. Can be easily improved.

【0223】つぎの発明によれば、上記の発明におい
て、送信リング選択工程では、自ノード発ヘルスチェッ
クパケットが両リングから到着した場合において、前記
識別子の一部または全部に対して所定の計算を実施して
ランダムなビット値が求められ、そのビット値に応じて
定められたリングが送信リングとして選択される。した
がって、両リングが正常な場合に、データパケットを両
リングに均等に分配する確率をさらに向上させることが
できるので、リング上の伝送帯域をさらに効率的に使用
することができ、ネットワークの性能を容易に向上させ
ることができる。
According to the next invention, in the above invention, in the transmission ring selection step, when the health check packet originated from the own node arrives from both rings, a predetermined calculation is performed for a part or all of the identifier. A random bit value is obtained by performing the operation, and a ring determined according to the bit value is selected as a transmission ring. Therefore, when both rings are normal, the probability of evenly distributing the data packets to both rings can be further improved, so that the transmission band on the rings can be used more efficiently and the network performance can be improved. It can be easily improved.

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

【図1】 この発明の実施の形態1である二重リングネ
ットワークシステムの構成を示す図である。
FIG. 1 is a diagram showing a configuration of a dual ring network system according to a first embodiment of the present invention.

【図2】 図1に示すノードの内部構成例を示すブロッ
ク図である。
FIG. 2 is a block diagram showing an internal configuration example of a node shown in FIG.

【図3】 実施の形態1で採用するデータパケットおよ
びヘルスチェックパケットの構成例を示す図である。
FIG. 3 is a diagram showing a configuration example of a data packet and a health check packet adopted in the first embodiment.

【図4】 実施の形態1で採用する受信リング選択テー
ブルの構成例を示す図である。
FIG. 4 is a diagram showing a configuration example of a receiving ring selection table adopted in the first embodiment.

【図5】 実施の形態1に関わるヘルスチェックパケッ
トの送受信に基づく受信リング選択テーブルの生成動作
を説明するフローチャートである。
FIG. 5 is a flowchart illustrating a receiving ring selection table generation operation based on transmission / reception of a health check packet according to the first embodiment.

【図6】 実施の形態1に関わるデータパケットの送受
信動作を説明するフローチャートである。
FIG. 6 is a flowchart illustrating a data packet transmission / reception operation according to the first embodiment.

【図7】 実施の形態1に関わる障害発生によるリング
選択動作を説明する図である。
FIG. 7 is a diagram illustrating a ring selection operation due to a failure occurrence according to the first embodiment.

【図8】 実施の形態1に関わる障害発生によるリング
選択動作時に更新される受信リング選択テーブルの内容
を説明する図である。
FIG. 8 is a diagram for explaining the contents of a reception ring selection table that is updated during a ring selection operation due to the occurrence of a failure according to the first embodiment.

【図9】 この発明の実施の形態2である二重リングネ
ットワークシステムで実施される受信リング選択テーブ
ルの生成動作を説明するフローチャートである。
FIG. 9 is a flowchart illustrating a receiving ring selection table generating operation performed in the dual ring network system according to the second embodiment of the present invention.

【図10】 この発明の実施の形態3である二重リング
ネットワークシステムで採用する送信リング選択テーブ
ルの構成例を示す図である。
FIG. 10 is a diagram showing a configuration example of a transmission ring selection table adopted in the dual ring network system according to the third embodiment of the present invention.

【図11】 実施の形態3に関わるヘルスチェックパケ
ットの送受信に基づく送信リング選択テーブルの生成動
作を説明するフローチャートである。
FIG. 11 is a flowchart illustrating an operation of generating a transmission ring selection table based on transmission / reception of health check packets according to the third embodiment.

【図12】 実施の形態3に関わるデータパケットの送
受信動作を説明するフローチャートである。
FIG. 12 is a flowchart illustrating a data packet transmission / reception operation according to the third embodiment.

【図13】 実施の形態3に関わる障害発生によるリン
グ選択動作を説明する図である。
FIG. 13 is a diagram illustrating a ring selection operation due to the occurrence of a failure according to the third embodiment.

【図14】 実施の形態3に関わる障害発生によるリン
グ選択動作時に更新される送信リング選択テーブルの内
容を説明する図である。
FIG. 14 is a diagram illustrating the contents of a transmission ring selection table that is updated at the time of ring selection operation due to the occurrence of a failure according to the third embodiment.

【図15】 この発明の実施の形態4である二重リング
ネットワークシステムで実施される送信リング選択テー
ブルの生成動作を説明するフローチャートである。
FIG. 15 is a flowchart illustrating a transmission ring selection table generating operation performed in the dual ring network system according to the fourth embodiment of the present invention.

【図16】 この発明の実施の形態5である二重リング
ネットワークシステムで採用するデータパケットおよび
ヘルスチェックパケットの構成例を示す図である。
FIG. 16 is a diagram showing a configuration example of a data packet and a health check packet adopted in the dual ring network system according to the fifth embodiment of the present invention.

【図17】 実施の形態5に関わるデータパケットの送
受信動作を説明するフローチャートである。
FIG. 17 is a flowchart illustrating a data packet transmission / reception operation according to the fifth embodiment.

【図18】 この発明の実施の形態6である二重リング
ネットワークシステムで実施されるデータパケットの送
受信動作を説明するフローチャートである。
FIG. 18 is a flowchart illustrating a data packet transmission / reception operation performed in the dual ring network system according to the sixth embodiment of the present invention.

【図19】 この発明の実施の形態7である二重リング
ネットワークシステムで実施されるユニキャストデータ
パケットの送信リング選択動作を説明するフローチャー
トである。
FIG. 19 is a flowchart illustrating a transmission ring selection operation of a unicast data packet, which is performed in the dual ring network system according to the seventh embodiment of the present invention.

【図20】 この発明の実施の形態7である二重リング
ネットワークシステムで実施されるユニキャストデータ
パケットの受信動作を説明するフローチャートである。
FIG. 20 is a flowchart illustrating a unicast data packet receiving operation performed in the dual ring network system according to the seventh embodiment of the present invention.

【図21】 実施の形態7に関わる障害発生によるリン
グ選択動作を説明する図である。
FIG. 21 is a diagram illustrating a ring selection operation due to a failure occurrence according to the seventh embodiment.

【図22】 図21でのリング選択動作における宛先ノ
ードIDと送信リングとの関係を説明する図である。
22 is a diagram illustrating a relationship between a destination node ID and a transmission ring in the ring selection operation in FIG.

【図23】 この発明の実施の形態8である二重リング
ネットワークシステムで採用するマルチキャストデータ
パケットおよびヘルスチェックパケットの構成例を示す
図である。
FIG. 23 is a diagram showing a configuration example of a multicast data packet and a health check packet adopted in the dual ring network system according to the eighth embodiment of the present invention.

【図24】 この発明の実施の形態8である二重リング
ネットワークシステムで実施されるマルチキャストデー
タパケットの送信リング選択動作を説明するフローチャ
ートである。
FIG. 24 is a flowchart illustrating a transmission ring selection operation of a multicast data packet, which is carried out in the dual ring network system according to the eighth embodiment of the present invention.

【図25】 この発明の実施の形態8である二重リング
ネットワークシステムで実施されるマルチキャストデー
タパケットの受信動作を説明するフローチャートであ
る。
FIG. 25 is a flowchart illustrating a multicast data packet receiving operation performed in the dual ring network system according to the eighth embodiment of the present invention.

【図26】 この発明の実施の形態9である二重リング
ネットワークシステムの構成を示すブロック図である。
FIG. 26 is a block diagram showing a configuration of a dual ring network system which is Embodiment 9 of the present invention.

【図27】 図26に示すノードの内部構成例を示すブ
ロック図である。
FIG. 27 is a block diagram showing an example of the internal configuration of the node shown in FIG. 26.

【図28】 実施の形態9で採用するユニキャストデー
タパケットおよびヘルスチェックパケットの構成例を示
す図である。
FIG. 28 is a diagram showing a configuration example of a unicast data packet and a health check packet adopted in the ninth embodiment.

【図29】 この発明の実施の形態9である二重リング
ネットワークシステムで実施されるユニキャストデータ
パケットの送信リング選択動作を説明するフローチャー
トである。
FIG. 29 is a flowchart illustrating a unicast data packet transmission ring selection operation carried out in the dual ring network system according to the ninth embodiment of the present invention.

【図30】 この発明の実施の形態9である二重リング
ネットワークシステムで実施されるユニキャストデータ
パケットの受信動作を説明するフローチャートである。
FIG. 30 is a flowchart illustrating a unicast data packet receiving operation performed in the dual ring network system according to the ninth embodiment of the present invention.

【図31】 この発明の実施の形態10である二重リン
グネットワークシステムで実施されるマルチキャストデ
ータパケットの送信リング選択動作を説明するフローチ
ャートである。
[Fig. 31] Fig. 31 is a flowchart illustrating a transmission ring selection operation of a multicast data packet, which is performed in the dual ring network system according to the tenth embodiment of the present invention.

【図32】 この発明の実施の形態10である二重リン
グネットワークシステムで実施されるマルチキャストデ
ータパケットの受信動作を説明するフローチャートであ
る。
[Fig. 32] Fig. 32 is a flowchart illustrating a reception operation of a multicast data packet implemented in the dual ring network system according to the tenth embodiment of the present invention.

【図33】 この発明の実施の形態11である二重リン
グネットワークシステムで実施されるデータパケットの
送信リング選択動作を説明するフローチャートである。
[Fig. 33] Fig. 33 is a flowchart for explaining a transmission ring selection operation of a data packet, which is performed in the dual ring network system according to the eleventh embodiment of the present invention.

【図34】 従来の二重リングネットワークシステムの
構成例を示す図である。
FIG. 34 is a diagram showing a configuration example of a conventional dual ring network system.

【図35】 図34に示す従来のノードの内部構成を示
すブロック図である。
FIG. 35 is a block diagram showing an internal configuration of the conventional node shown in FIG. 34.

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

1 二重リング、2−1〜2−n,20,51〜55,
71〜75,83〜87,94−1〜94−n,100
ノード、11 1次リング、12 2次リング、2
1,22,101,102 リングインタフェース部
(リングI/F部)、23 スイッチ部、24 データ
パケット処理部、25,104 ヘルスチェックパケッ
ト処理部、26,27,107,108 リングポー
ト、95〜99複数の端末、103 リングスイッチ
部、105 支線スイッチ部、106−1〜106−m
支線インタフェース部(支線I/F部)、109−1
〜109−m 支線ポート、33 宛先ノードID、9
2 マルチキャストコネクションID、110 宛先端
末ID。
1 double ring, 2-1 to 2-n, 20, 51 to 55,
71-75, 83-87, 94-1-94-n, 100
Node, 11 primary ring, 12 secondary ring, 2
1, 22, 101, 102 ring interface unit (ring I / F unit), 23 switch unit, 24 data packet processing unit, 25, 104 health check packet processing unit, 26, 27, 107, 108 ring port, 95 to 99 Multiple terminals, 103 ring switch section, 105 branch line switch section, 106-1 to 106-m
Branch line interface section (branch line I / F section), 109-1
~ 109-m Branch line port, 33 Destination node ID, 9
2 Multicast connection ID, 110 Destination terminal ID.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 根角 康隆 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 (72)発明者 鹿間 敏弘 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内 Fターム(参考) 5K031 AA07 AA09 AA10 CB09 CB12 DA12 EA04    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Yasutaka Negumi             2-3 2-3 Marunouchi, Chiyoda-ku, Tokyo             Inside Ryo Electric Co., Ltd. (72) Inventor Toshihiro Shika             2-3 2-3 Marunouchi, Chiyoda-ku, Tokyo             Inside Ryo Electric Co., Ltd. F term (reference) 5K031 AA07 AA09 AA10 CB09 CB12                       DA12 EA04

Claims (22)

【特許請求の範囲】[Claims] 【請求項1】 相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、 前記複数のノードは、 残存時間を記したヘルスチェックパケットを両リングに
周期的に送信し、到着した他ノード発ヘルスチェックパ
ケットの残存時間を減算してリングに沿って中継する一
方、到着した自ノード発ヘルスチェックパケットを廃棄
するヘルスチェックパケット送受信手段と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎に他ノード発ヘルスチェックパケットの到
着/未着を監視し、両リングから到着した場合には、残
存時間のより多いヘルスチェックパケットが到着したリ
ングを前記他ノード発データパケットの受信リングとし
て選択し、一方のリングのみから到着した場合には、当
該一方のリングを前記他ノード発データパケットの受信
リングとして選択することにより、送信元ノードに対す
る受信リングの関係を求め更新可能に保持する受信リン
グ選択手段と、 データパケットを両リングに送信し、到着した他ノード
宛データパケットをリングに沿って中継する一方、到着
した自ノード宛データパケットを前記受信リング選択手
段の保持内容に基づき受信または廃棄するデータパケッ
ト送受信手段と、 を備えたことを特徴とする二重リングネットワークシス
テム。
1. A dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions, wherein the plurality of nodes are , A health check packet with remaining time is periodically sent to both rings, and the remaining time of the health check packet from another node that arrives is subtracted and relayed along the ring, while the health check packet from its own node arrives. In the process of transmitting and receiving the health check packet with the health check packet transmitting and receiving means for discarding, the arrival / non-arrival of the health check packet originating from another node is monitored for each source node, and when arrival from both rings, Receive the data packet originating from the other node on the ring where the health check packet with more remaining time arrives When it is selected as a ring and arrives from only one ring, the one ring is selected as the receiving ring of the data packet originating from the other node, and the relationship of the receiving ring with respect to the transmission source node is obtained and held as updatable. Receiving ring selecting means for transmitting data packets to both rings, relaying the arriving data packet addressed to another node along the ring, and arriving the own node data packet based on the contents held by the receiving ring selecting means. A dual ring network system comprising: a data packet transmitting / receiving means for receiving or discarding.
【請求項2】 相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、 前記複数のノードは、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信手
段と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎に他ノード発ヘルスチェックパケットの到
着/未着を監視し、両リングから到着した場合には、ヘ
ルスチェックパケットが先に到着したリングを前記他ノ
ード発データパケットの受信リングとして選択し、一方
のリングのみから到着した場合には、当該一方のリング
を前記他ノード発データパケットの受信リングとして選
択することにより、送信元ノードに対する受信リングの
関係を求め更新可能に保持する受信リング選択手段と、 データパケットを両リングに送信し、到着した他ノード
宛データパケットをリングに沿って中継する一方、到着
した自ノード宛データパケットを前記受信リング選択手
段の保持内容に基づき受信または廃棄するデータパケッ
ト送受信手段と、 を備えたことを特徴とする二重リングネットワークシス
テム。
2. A dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions, wherein the plurality of nodes are , Periodically send health check packets to both rings,
A health check packet transmission / reception means for discarding a health check packet originating from its own node while relaying a health check packet originating from another node along the ring, and for each source node in the process of transmitting / receiving the health check packet. The arrival / non-arrival of the health check packet originated from another node is monitored in the above. When the health check packet arrives from both rings, the ring in which the health check packet arrives first is selected as the receiving ring of the data packet originated from the other node, and one of the rings is received. When arriving from only a ring, by selecting one of the rings as a receiving ring of the data packet originating from the other node, a receiving ring selecting unit that obtains the relationship of the receiving ring with respect to the source node and holds it updatable, Data addressed to another node that arrived by sending data packets to both rings And a data packet transmitting / receiving means for relaying the packet along the ring and receiving or discarding the arriving data packet addressed to the own node based on the content held in the receiving ring selecting means. system.
【請求項3】 相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、 前記複数のノードは、 残存時間を記したヘルスチェックパケットを両リングに
周期的に送信し、到着した他ノード発ヘルスチェックパ
ケットの残存時間を減算してリングに沿って中継する一
方、到着した自ノード発ヘルスチェックパケットを廃棄
するヘルスチェックパケット送受信手段と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎にヘルスチェックパケットの到着/未着を
監視し、自ノード発ヘルスチェックパケットが両リング
から到着した場合には、送信ノード毎に残存時間のより
少ないヘルスチェックパケットが到着したリングを前記
他ノードが宛先ノードであるデータパケットの送信リン
グとして選択し、一方のリングのみから到着した場合に
は、当該一方のリングを全宛先ノードに共通の送信リン
グとして選択し、両リングから到着しない場合には、両
リングを全宛先ノードに共通の送信リングとして選択す
ることにより、宛先ノードに対する送信リングの関係を
求め更新可能に保持する送信リング選択手段と、 データパケットを前記送信リング選択手段の保持内容に
基づき両リングに送信し、到着した他ノード宛データパ
ケットをリングに沿って中継する一方、到着した自ノー
ド宛データパケットを受信するデータパケット送受信手
段と、 を備えたことを特徴とする二重リングネットワークシス
テム。
3. A dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions, wherein the plurality of nodes are , A health check packet with remaining time is periodically sent to both rings, and the remaining time of the health check packet from another node that arrives is subtracted and relayed along the ring, while the health check packet from its own node arrives. In the process of transmitting and receiving the health check packet with the health check packet transmitting and receiving means, the arrival / non-arrival of the health check packet is monitored for each source node, and the health check packet originating from the own node arrives from both rings. In this case, the health check packet with less remaining time arrives for each sending node. Ring is selected as the transmission ring of the data packet in which the other node is the destination node, and when it arrives from only one ring, that one ring is selected as the transmission ring common to all the destination nodes, and both rings are selected. If they do not arrive, both rings are selected as common transmission rings to all destination nodes, and the transmission ring selection means for determining the relationship of the transmission rings with respect to the destination nodes and holding it updatable, and selecting the data packet as the transmission ring. Data packet transmitting / receiving means for transmitting to both rings based on the content held by the means, relaying the arrived data packet addressed to another node along the ring, and receiving the arrived data packet addressed to its own node. And dual ring network system.
【請求項4】 相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおいて、 前記複数のノードは、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信手
段と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎にヘルスチェックパケットの到着/未着を
監視し、自ノード発ヘルスチェックパケットが両リング
から到着した場合には、送信ノード毎にヘルスチェック
パケットが後に到着したリングを前記他ノードが宛先ノ
ードであるデータパケットの送信リングとして選択し、
一方のリングのみから到着した場合には、当該一方のリ
ングを全宛先ノードに共通の送信リングとして選択し、
両リングから到着しない場合には、両リングを全宛先ノ
ードに共通の送信リングとして選択することにより、宛
先ノードに対する送信リングの関係を求め更新可能に保
持する送信リング選択手段と、 データパケットを前記送信リング選択手段の保持内容に
基づき両リングに送信し、到着した他ノード宛データパ
ケットをリングに沿って中継する一方、到着した自ノー
ド宛データパケットを受信するデータパケット送受信手
段と、 を備えたことを特徴とする二重リングネットワークシス
テム。
4. A dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions, wherein the plurality of nodes are , Periodically send health check packets to both rings,
A health check packet transmission / reception means for discarding a health check packet originating from its own node while relaying a health check packet originating from another node along the ring, and for each source node in the process of transmitting / receiving the health check packet. The arrival / non-arrival of the health check packet is monitored at each node, and when the health check packet originating from the own node arrives from both rings, the other node is the destination node of the ring after which the health check packet arrives for each transmitting node. Select it as the transmission ring for data packets,
When arriving from only one ring, select the one ring as a transmission ring common to all destination nodes,
If the packets do not arrive from both rings, both rings are selected as a common transmission ring to all destination nodes to obtain the relationship between the transmission rings with respect to the destination nodes, and the transmission ring selecting means for holding the data packet in an updatable manner is used. Data packet transmission / reception means for transmitting to both rings based on the content held by the transmission ring selection means, relaying the arrived data packet addressed to another node along the ring, and receiving the arrived data packet addressed to its own node. A dual ring network system characterized in that
【請求項5】 前記データパケット送受信手段は、 両リングに送信するデータパケットに連続番号を付加す
る番号付加手段と、 両リングから到着したデータパケットが、同一ノード発
かつ同一番号であり、自ノード宛データパケットである
ときは、一方のリングから到着したデータパケットのみ
を受信する選択受信手段と、 を備えたことを特徴とする請求項1〜4のいずれか一つ
に記載の二重リングネットワークシステム。
5. The data packet transmission / reception means, the number addition means for adding a serial number to the data packets transmitted to both rings, and the data packets arriving from both rings originate from the same node and have the same number. 5. The dual ring network according to any one of claims 1 to 4, further comprising: selective receiving means for receiving only a data packet arriving from one of the rings when the data packet is a destination data packet. system.
【請求項6】 前記ヘルスチェックパケットが送受信さ
れる過程で、送信元ノード毎にヘルスチェックパケット
の到着状況を監視し、ヘルスチェックパケットの到着状
況に変化があるとき、一定期間のデータパケット受信禁
止期間を設定する受信禁止期間設定手段と、 前記データパケット送受信手段の動作過程において、前
記データパケット受信禁止期間内に両リングから到着し
た自ノード宛データパケットは、廃棄する廃棄手段と、 を備えたことを特徴とする請求項1〜4のいずれか一つ
に記載の二重リングネットワークシステム。
6. In the process of transmitting and receiving the health check packet, the arrival status of the health check packet is monitored for each source node, and when the arrival status of the health check packet changes, data packet reception is prohibited for a certain period. A reception prohibition period setting means for setting a period; and a discarding means for discarding a data packet addressed to its own node that has arrived from both rings within the data packet reception prohibition period in the operation process of the data packet transmission / reception means. The dual ring network system according to any one of claims 1 to 4, characterized in that:
【請求項7】 相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおけるリング選択方法であって、 前記複数のノード側は、 残存時間を記したヘルスチェックパケットを両リングに
周期的に送信し、到着した他ノード発ヘルスチェックパ
ケットの残存時間を減算してリングに沿って中継する一
方、到着した自ノード発ヘルスチェックパケットを廃棄
するヘルスチェックパケット送受信工程と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎に他ノード発ヘルスチェックパケットの到
着/未着を監視し、両リングから到着した場合には、残
存時間のより多いヘルスチェックパケットが到着したリ
ングを前記他ノード発データパケットの受信リングとし
て選択し、一方のリングのみから到着した場合には、当
該一方のリングを前記他ノード発データパケットの受信
リングとして選択することにより、送信元ノードに対す
る受信リングの関係を求め更新可能に保持する受信リン
グ選択工程と、 データパケットを両リングに送信し、到着した他ノード
宛データパケットをリングに沿って中継する一方、到着
した自ノード宛データパケットを前記受信リング選択工
程での保持内容に基づき受信または廃棄するデータパケ
ット送受信工程と、 を含むことを特徴とする二重リングネットワークシステ
ムにおけるリング選択方法。
7. A ring selection method in a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. , The plurality of nodes periodically transmits a health check packet indicating the remaining time to both rings, subtracts the remaining time of the arrived health check packet from another node, and relays along the ring while arriving. The health check packet transmitting / receiving step of discarding the health check packet originating from the local node and the arrival / non-arrival of the health check packet originating from another node are monitored for each source node in the process of transmitting / receiving the health check packet. If it arrives from, the ring where the health check packet with more remaining time arrived arrives When a ring arrives from only one ring, the one ring is selected as the receiving ring of the data packet originating from the other node, and the relation of the receiving ring to the source node is selected. And a process for selecting a receiving ring for holding the data so that it can be updated, and transmitting a data packet to both rings and relaying the data packet addressed to another node along the ring, while selecting the data packet addressed to the own node for the reception ring. A method of selecting a ring in a dual ring network system, comprising: a data packet transmitting / receiving step of receiving or discarding based on contents held in the step.
【請求項8】 相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおけるリング選択方法であって、 前記複数のノード側は、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信工
程と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎に他ノード発ヘルスチェックパケットの到
着/未着を監視し、両リングから到着した場合には、ヘ
ルスチェックパケットが先に到着したリングを前記他ノ
ード発データパケットの受信リングとして選択し、一方
のリングのみから到着した場合には、当該一方のリング
を前記他ノード発データパケットの受信リングとして選
択することにより、送信元ノードに対する受信リングの
関係を求め更新可能に保持する受信リング選択工程と、 データパケットを両リングに送信し、到着した他ノード
宛データパケットをリングに沿って中継する一方、到着
した自ノード宛データパケットを前記受信リング選択工
程での保持内容に基づき受信または廃棄するデータパケ
ット送受信工程と、 を含むことを特徴とする二重リングネットワークシステ
ムにおけるリング選択方法。
8. A ring selection method in a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. , The plurality of nodes side periodically transmits a health check packet to both rings,
A health check packet transmission / reception process of discarding the health check packet originating from the own node while relaying the health check packet originating from another node along the ring, and a process of transmitting / receiving the health check packet to each source node The arrival / non-arrival of the health check packet originated from another node is monitored in the above. When the health check packet arrives from both rings, the ring in which the health check packet arrives first is selected as the receiving ring of the data packet originated from the other node, and one of the rings is received. When arriving from only the ring, by selecting the one ring as the receiving ring of the data packet originating from the other node, the receiving ring selecting step of obtaining the relationship of the receiving ring with respect to the source node and holding it updatable, Data addressed to another node that arrived by sending data packets to both rings And a packet transmitting / receiving step of relaying the packet along the ring and receiving or discarding the arrived data packet addressed to the own node based on the contents held in the receiving ring selection step. Ring selection method in the system.
【請求項9】 相反する方向性を持つ1次リングと2次
リングの二重リングからなる伝送媒体または回線を介し
て複数のノードが接続される二重リングネットワークシ
ステムにおけるリング選択方法であって、 前記複数のノード側は、 残存時間を記したヘルスチェックパケットを両リングに
周期的に送信し、到着した他ノード発ヘルスチェックパ
ケットの残存時間を減算してリングに沿って中継する一
方、到着した自ノード発ヘルスチェックパケットを廃棄
するヘルスチェックパケット送受信工程と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎にヘルスチェックパケットの到着/未着を
監視し、自ノード発ヘルスチェックパケットが両リング
から到着した場合には、送信ノード毎に残存時間のより
少ないヘルスチェックパケットが到着したリングを前記
他ノードが宛先ノードであるデータパケットの送信リン
グとして選択し、一方のリングのみから到着した場合に
は、当該一方のリングを全宛先ノードに共通の送信リン
グとして選択し、両リングから到着しない場合には、両
リングを全宛先ノードに共通の送信リングとして選択す
ることにより、宛先ノードに対する送信リングの関係を
求め更新可能に保持する送信リング選択工程と、 データパケットを前記送信リング選択工程での保持内容
に基づき両リングに送信し、到着した他ノード宛データ
パケットをリングに沿って中継する一方、到着した自ノ
ード宛データパケットを受信するデータパケット送受信
工程と、 を含むことを特徴とする二重リングネットワークシステ
ムにおけるリング選択方法。
9. A ring selection method in a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of a primary ring and a secondary ring having opposite directions. , The plurality of nodes periodically transmits a health check packet indicating the remaining time to both rings, subtracts the remaining time of the arrived health check packet from another node, and relays along the ring while arriving. The health check packet transmitting / receiving step of discarding the health check packet originated from the self node and the arrival / non-arrival of the health check packet for each source node in the process of transmitting / receiving the health check packet If packets arrive from both rings, the health check with the shorter remaining time for each sending node. The ring in which the check packet arrives is selected as the transmission ring of the data packet whose other node is the destination node, and when it arrives from only one ring, the one ring is selected as the transmission ring common to all the destination nodes. , If not arriving from both rings, select both rings as a common transmission ring to all destination nodes to determine the relationship of the transmission rings with respect to the destination nodes, and to retain the updateable transmission ring. A data packet transmitting / receiving step of transmitting to both rings based on the contents held in the transmission ring selection step, relaying the arrived data packet addressed to another node along the ring, and receiving the arrived data packet addressed to its own node; A method for selecting a ring in a dual ring network system, comprising:
【請求項10】 相反する方向性を持つ1次リングと2
次リングの二重リングからなる伝送媒体または回線を介
して複数のノードが接続される二重リングネットワーク
システムにおけるリング選択方法であって、 前記複数のノード側は、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信工
程と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎にヘルスチェックパケットの到着/未着を
監視し、自ノード発ヘルスチェックパケットが両リング
から到着した場合には、送信ノード毎にヘルスチェック
パケットが後に到着したリングを前記他ノードが宛先ノ
ードであるデータパケットの送信リングとして選択し、
一方のリングのみから到着した場合には、当該一方のリ
ングを全宛先ノードに共通の送信リングとして選択し、
両リングから到着しない場合には、両リングを全宛先ノ
ードに共通の送信リングとして選択することにより、宛
先ノードに対する送信リングの関係を求め更新可能に保
持する送信リング選択工程と、 データパケットを前記送信リング選択工程での保持内容
に基づき両リングに送信し、到着した他ノード宛データ
パケットをリングに沿って中継する一方、到着した自ノ
ード宛データパケットを受信するデータパケット送受信
工程と、 を含むことを特徴とする二重リングネットワークシステ
ムにおけるリング選択方法。
10. A primary ring and a secondary ring having opposite directions.
A ring selection method in a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of the next ring, wherein the plurality of nodes periodically send a health check packet to both rings. To send
A health check packet transmission / reception process of discarding the health check packet originating from the own node while relaying the health check packet originating from another node along the ring, and a process of transmitting / receiving the health check packet to each source node The arrival / non-arrival of the health check packet is monitored at each node, and when the health check packet originating from the own node arrives from both rings, the other node is the destination node of the ring after which the health check packet arrives for each transmitting node. Select it as the transmission ring for data packets,
When arriving from only one ring, select the one ring as a transmission ring common to all destination nodes,
If it does not arrive from both rings, both rings are selected as common transmission rings for all destination nodes, and the transmission ring selection step of obtaining the relationship of the transmission rings with respect to the destination nodes and holding it updatable; A data packet transmission / reception step of transmitting to both rings based on the content held in the transmission ring selection step, relaying the arrived data packet addressed to another node along the ring, and receiving the arrived data packet addressed to the own node. A method for selecting a ring in a dual ring network system characterized by the above.
【請求項11】 前記データパケット送受信工程では、 両リングに送信するデータパケットに連続番号を付加す
る番号付加工程と、 両リングから到着したデータパケットが、同一ノード発
かつ同一番号であり、自ノード宛データパケットである
ときは、一方のリングから到着したデータパケットのみ
を受信する選択受信工程と、 を含むことを特徴とする請求項7〜10のいずれか一つ
に記載の二重リングネットワークシステムにおけるリン
グ選択方法。
11. The data packet transmitting / receiving step comprises a step of adding a serial number to data packets to be transmitted to both rings, and the data packets arriving from both rings originate from the same node and have the same number. The dual ring network system according to any one of claims 7 to 10, further comprising: a selective receiving step of receiving only a data packet arriving from one of the rings when the data packet is a destination data packet. Ring selection method in.
【請求項12】 前記ヘルスチェックパケットが送受信
される過程で、送信元ノード毎にヘルスチェックパケッ
トの到着状況を監視し、ヘルスチェックパケットの到着
状況に変化があるとき、一定期間のデータパケット受信
禁止期間を設定する受信禁止期間設定工程と、 前記データパケット送受信工程において、前記データパ
ケット受信禁止期間内に両リングから到着した自ノード
宛データパケットは、廃棄する廃棄工程と、 を含むことを特徴とする請求項7〜10のいずれか一つ
に記載の二重リングネットワークシステムにおけるリン
グ選択方法。
12. In the process of transmitting and receiving the health check packet, the arrival status of the health check packet is monitored for each source node, and when the arrival status of the health check packet changes, the data packet reception is prohibited for a certain period. A reception prohibition period setting step of setting a period; and a discarding step of discarding the data packet addressed to the own node that has arrived from both rings within the data packet reception prohibition period in the data packet transmission / reception step. A ring selection method in a dual ring network system according to any one of claims 7 to 10.
【請求項13】 相反する方向性を持つ1次リングと2
次リングの二重リングからなる伝送媒体または回線を介
して複数のノードが接続される二重リングネットワーク
システムにおいて、 前記複数のノードは、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信手
段と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎に自ノード発ヘルスチェックパケットの到
着/未着を監視し、両リングから到着した場合には、送
信するユニキャストデータパケットの宛先ノード識別子
の所定ビット位置のビットの論理値に応じて定められた
リングを送信リングとして選択し、一方のリングのみか
ら到着した場合には、当該一方のリングを送信リングと
して選択し、両方のリングから到着しない場合は、両方
のリングを送信リングとして選択する送信リング選択手
段と、 ユニキャストデータパケットを前記選択結果に基づくリ
ングに送信し、到着した他ノード宛ユニキャストデータ
パケットをリングに沿って中継し、到着した自ノード宛
ユニキャストデータパケットを受信処理するデータパケ
ット送受信手段と、 を備えたことを特徴とする二重リングネットワークシス
テム。
13. A primary ring and a secondary ring having opposite directions.
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of the next ring, the plurality of nodes periodically transmits a health check packet to both rings,
A health check packet transmission / reception means for discarding a health check packet originating from its own node while relaying a health check packet originating from another node along the ring, and for each source node in the process of transmitting / receiving the health check packet. The arrival / non-arrival of the health check packet originating from the self node is monitored, and when it arrives from both rings, it is determined according to the logical value of the bit at the predetermined bit position of the destination node identifier of the unicast data packet to be transmitted. Select a ring as the transmit ring, select one ring as the transmit ring if it arrives from only one ring, or select both rings as the transmit ring if it does not arrive from both rings Selecting means and a unicast data packet for linking based on the selection result. Data packet transmitting / receiving means for transmitting the received unicast data packet to another node, relaying the unicast data packet to the other node along the ring, and receiving the unicast data packet to the own node. Ring network system.
【請求項14】 相反する方向性を持つ1次リングと2
次リングの二重リングからなる伝送媒体または回線を介
して複数のノードが接続される二重リングネットワーク
システムにおいて、 前記複数のノードは、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信手
段と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎に自ノード発ヘルスチェックパケットの到
着/未着を監視し、両リングから到着した場合には、送
信するマルチキャストデータパケットの複数の宛先ノー
ドのグループを識別する宛先ノードグループ識別子の所
定ビット位置のビットの論理値に応じて定められたリン
グを送信リングとして選択し、一方のリングのみから到
着した場合には、当該一方のリングを送信リングとして
選択し、両方のリングから到着しない場合は、両方のリ
ングを送信リングとして選択する送信リング選択手段
と、 マルチキャストデータパケットを前記選択結果に基づく
リングに送信し、到着した他ノード発マルチキャストデ
ータパケットをリングに沿って中継するとともに、受信
処理を行い、到着した自ノード発マルチキャストデータ
パケットを廃棄処理するデータパケット送受信手段と、 を備えたことを特徴とする二重リングネットワークシス
テム。
14. A primary ring and a secondary ring having opposite directions.
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of the next ring, the plurality of nodes periodically transmits a health check packet to both rings,
A health check packet transmission / reception means for discarding a health check packet originating from its own node while relaying a health check packet originating from another node along the ring, and for each source node in the process of transmitting / receiving the health check packet. The arrival / non-arrival of the health check packet originated from its own node is monitored, and when it arrives from both rings, the bit at the predetermined bit position of the destination node group identifier that identifies the group of multiple destination nodes of the multicast data packet to be transmitted. The ring defined by the logical value of is selected as the transmission ring, and if one of the rings arrives, one of the rings is selected as the transmission ring. Transmission ring selection means for selecting a ring as the transmission ring, Data that transmits a last data packet to the ring based on the selection result, relays the arrived multicast data packet originating from another node along the ring, performs reception processing, and discards the arrived multicast data packet originating from the own node. A dual ring network system comprising: a packet transmitting / receiving means.
【請求項15】 相反する方向性を持つ1次リングと2
次リングの二重リングからなる伝送媒体または回線を介
して複数のノードが接続される二重リングネットワーク
システムにおいて、 前記複数のノードは、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信手
段と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎にヘルスチェックパケットの到着/未着を
監視し、自ノード発ヘルスチェックパケットが両リング
から到着した場合には、送信するユニキャストデータパ
ケットの宛先端末識別子の所定ビット位置のビットの論
理値に応じて定められたリングを送信リングとして選択
し、一方のリングのみから到着した場合には、当該一方
のリングを送信リングとして選択し、両方のリングから
到着しない場合は、両方のリングを送信リングとして選
択する送信リング選択手段と、 収容する端末から送られてきたユニキャストデータパケ
ットを前記選択結果に基づくリングに送信し、到着した
他ノード発ユニキャストデータパケットをリングに沿っ
て中継するとともに、自ノードが収容する端末宛である
ときはそのユニキャストデータパケットを当該収容端末
に中継し、到着した自ノード発ユニキャストデータパケ
ットを廃棄処理するデータパケット送受信手段と、 を備えたことを特徴とする二重リングネットワークシス
テム。
15. A primary ring and a secondary ring having opposite directions.
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of the next ring, the plurality of nodes periodically transmits a health check packet to both rings,
A health check packet transmission / reception means for discarding a health check packet originating from its own node while relaying a health check packet originating from another node along the ring, and for each source node in the process of transmitting / receiving the health check packet. The arrival / non-arrival of the health check packet is monitored at each node, and when the health check packet originated from the own node arrives from both rings, it depends on the logical value of the bit at the predetermined bit position of the destination terminal identifier of the unicast data packet to be transmitted. If the ring specified by the above is selected as the transmission ring, and only one ring arrives, the one ring is selected as the transmission ring, and if both rings do not arrive, both rings are the transmission rings. The transmission ring selection means to be selected and the user sent from the accommodating terminal. The cast data packet is transmitted to the ring based on the selection result, the unicast data packet arriving from another node is relayed along the ring, and the unicast data packet is sent to the terminal accommodated by the own node. A dual ring network system comprising: a data packet transmitting / receiving unit that relays to the accommodation terminal and discards the unicast data packet originating from the own node.
【請求項16】 相反する方向性を持つ1次リングと2
次リングの二重リングからなる伝送媒体または回線を介
して複数のノードが接続される二重リングネットワーク
システムにおいて、 前記複数のノードは、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信手
段と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎にヘルスチェックパケットの到着/未着を
監視し、自ノード発ヘルスチェックパケットが両リング
から到着した場合には、送信するマルチキャストデータ
パケットの複数の宛先端末のグループを識別する宛先端
末グループ識別子の所定ビット位置のビットの論理値に
応じて定められたリングを送信リングとして選択し、一
方のリングのみから到着した場合には、当該一方のリン
グを送信リングとして選択し、両方のリングから到着し
ない場合は、両方のリングを送信リングとして選択する
送信リング選択手段と、 収容する端末から送られてきたマルチキャストデータパ
ケットを前記選択結果に基づくリングに送信し、到着し
た他ノード発マルチキャストデータパケットをリングに
沿って中継するとともに、自ノードが収容する端末宛で
あるときはそのマルチキャストデータパケットを当該収
容端末に中継し、到着した自ノード発マルチキャストデ
ータパケットを廃棄処理するデータパケット送受信手段
と、 を備えたことを特徴とする二重リングネットワークシス
テム。
16. A primary ring and a secondary ring having opposite directions.
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of the next ring, the plurality of nodes periodically transmits a health check packet to both rings,
A health check packet transmission / reception means for discarding a health check packet originating from its own node while relaying a health check packet originating from another node along the ring, and for each source node in the process of transmitting / receiving the health check packet. The arrival / non-arrival of the health check packet is monitored at the destination node, and when the health check packet originated from the own node arrives from both rings, a predetermined destination terminal group identifier that identifies a group of multiple destination terminals of the multicast data packet to be transmitted is specified. When the ring determined according to the logical value of the bit at the bit position is selected as the transmission ring, and only one ring arrives, the one ring is selected as the transmission ring and does not arrive from both rings. Chooses both rings as the transmit ring The selecting means and the multicast data packet sent from the accommodated terminal are transmitted to the ring based on the selection result, the arrived multicast data packet from another node is relayed along the ring, and addressed to the terminal accommodated by the own node. And a data packet transmitting / receiving unit for relaying the multicast data packet to the accommodation terminal and discarding the arrived multicast data packet originating from its own node.
【請求項17】 前記送信リング選択手段は、 自ノード発ヘルスチェックパケットが両リングから到着
した場合において、前記識別子の一部または全部に対し
て所定の計算を実施してランダムなビット値を求める手
段を備え、そのビット値に応じて定められたリングを送
信リングとして選択する、 ことを特徴とする請求項13〜16のいずれか一つに記
載の二重リングネットワークシステム。
17. The transmission ring selecting means obtains a random bit value by performing a predetermined calculation on a part or all of the identifier when a health check packet originating from the own node arrives from both rings. The dual ring network system according to any one of claims 13 to 16, further comprising: means for selecting a ring determined according to a bit value thereof as a transmission ring.
【請求項18】 相反する方向性を持つ1次リングと2
次リングの二重リングからなる伝送媒体または回線を介
して複数のノードが接続される二重リングネットワーク
システムにおけるリング選択方法であって、 前記複数のノード側は、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信工
程と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎に自ノード発ヘルスチェックパケットの到
着/未着を監視し、両リングから到着した場合には、送
信するユニキャストデータパケットの宛先ノード識別子
の所定ビット位置のビットの論理値に応じて定められた
リングを送信リングとして選択し、一方のリングのみか
ら到着した場合には、当該一方のリングを送信リングと
して選択し、両方のリングから到着しない場合は、両方
のリングを送信リングとして選択する送信リング選択工
程と、 ユニキャストデータパケットを前記選択結果に基づくリ
ングに送信し、到着した他ノード宛ユニキャストデータ
パケットをリングに沿って中継し、到着した自ノード宛
ユニキャストデータパケットを受信処理するデータパケ
ット送受信工程と、 を含むことを特徴とする二重リングネットワークシステ
ムにおけるリング選択方法。
18. A primary ring and a secondary ring having opposite directions.
A ring selection method in a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of the next ring, wherein the plurality of nodes periodically send a health check packet to both rings. To send
A health check packet transmission / reception process of discarding the health check packet originating from the own node while relaying the health check packet originating from another node along the ring, and a process of transmitting / receiving the health check packet to each source node The arrival / non-arrival of the health check packet originating from the self node is monitored, and when it arrives from both rings, it is determined according to the logical value of the bit at the predetermined bit position of the destination node identifier of the unicast data packet to be transmitted. Select a ring as the transmit ring, select one ring as the transmit ring if it arrives from only one ring, or select both rings as the transmit ring if it does not arrive from both rings A selection step, and a unicast data packet is linked based on the selection result. And a data packet transmitting / receiving step of relaying a unicast data packet addressed to another node that has arrived and relayed along a ring, and receiving processing of the unicast data packet addressed to the own node. Ring selection method in network system.
【請求項19】 相反する方向性を持つ1次リングと2
次リングの二重リングからなる伝送媒体または回線を介
して複数のノードが接続される二重リングネットワーク
システムにおいて、 前記複数のノード側は、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信工
程と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎に自ノード発ヘルスチェックパケットの到
着/未着を監視し、両リングから到着した場合には、送
信するマルチキャストデータパケットの複数の宛先ノー
ドのグループを識別する宛先ノードグループ識別子の所
定ビット位置のビットの論理値に応じて定められたリン
グを送信リングとして選択し、一方のリングのみから到
着した場合には、当該一方のリングを送信リングとして
選択し、両方のリングから到着しない場合は、両方のリ
ングを送信リングとして選択する送信リング選択工程
と、 マルチキャストデータパケットを前記選択結果に基づく
リングに送信し、到着した他ノード発マルチキャストデ
ータパケットをリングに沿って中継するとともに、受信
処理を行い、到着した自ノード発マルチキャストデータ
パケットを廃棄処理するデータパケット送受信工程と、 を含むことを特徴とする二重リングネットワークシステ
ムにおけるリング選択方法。
19. A primary ring and a secondary ring having opposite directions.
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of the next ring, the plurality of node sides periodically transmit a health check packet to both rings,
A health check packet transmission / reception process of discarding the health check packet originating from the own node while relaying the health check packet originating from another node along the ring, and a process of transmitting / receiving the health check packet to each source node The arrival / non-arrival of the health check packet originated from its own node is monitored, and when it arrives from both rings, the bit at the predetermined bit position of the destination node group identifier that identifies the group of multiple destination nodes of the multicast data packet to be transmitted. The ring defined by the logical value of is selected as the transmission ring, and if one of the rings arrives, one of the rings is selected as the transmission ring. A transmission ring selection process for selecting a ring as a transmission ring, Data that transmits a last data packet to the ring based on the selection result, relays the arrived multicast data packet from another node along the ring, performs reception processing, and discards the arrived multicast data packet from the own node. A ring selecting method in a dual ring network system, comprising: a packet transmitting / receiving step.
【請求項20】 相反する方向性を持つ1次リングと2
次リングの二重リングからなる伝送媒体または回線を介
して複数のノードが接続される二重リングネットワーク
システムにおいて、 前記複数のノード側は、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信工
程と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎にヘルスチェックパケットの到着/未着を
監視し、自ノード発ヘルスチェックパケットが両リング
から到着した場合には、送信するユニキャストデータパ
ケットの宛先端末識別子の所定ビット位置のビットの論
理値に応じて定められたリングを送信リングとして選択
し、一方のリングのみから到着した場合には、当該一方
のリングを送信リングとして選択し、両方のリングから
到着しない場合は、両方のリングを送信リングとして選
択する送信リング選択工程と、 収容する端末から送られてきたユニキャストデータパケ
ットを前記選択結果に基づくリングに送信し、到着した
他ノード発ユニキャストデータパケットをリングに沿っ
て中継するとともに、自ノードが収容する端末宛である
ときはそのユニキャストデータパケットを当該収容端末
に中継し、到着した自ノード発ユニキャストデータパケ
ットを廃棄処理するデータパケット送受信工程と、 を含むことを特徴とする二重リングネットワークシステ
ムにおけるリング選択方法。
20. A primary ring and a secondary ring having opposite directions.
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of the next ring, the plurality of node sides periodically transmit a health check packet to both rings,
A health check packet transmission / reception process of discarding the health check packet originating from the own node while relaying the health check packet originating from another node along the ring, and a process of transmitting / receiving the health check packet to each source node The arrival / non-arrival of the health check packet is monitored at each node, and when the health check packet originated from the own node arrives from both rings, it depends on the logical value of the bit at the predetermined bit position of the destination terminal identifier of the unicast data packet to be transmitted. If the ring specified by the above is selected as the transmission ring, and only one ring arrives, the one ring is selected as the transmission ring, and if both rings do not arrive, both rings are the transmission rings. The transmission ring selection process to be selected and the user sent from the accommodating terminal. The cast data packet is transmitted to the ring based on the selection result, the unicast data packet arriving from another node is relayed along the ring, and the unicast data packet is sent to the terminal accommodated by the own node. A ring selection method in a dual ring network system, comprising: a data packet transmission / reception step of discarding a unicast data packet originating from its own node that is relayed to an accommodation terminal.
【請求項21】 相反する方向性を持つ1次リングと2
次リングの二重リングからなる伝送媒体または回線を介
して複数のノードが接続される二重リングネットワーク
システムにおいて、 前記複数のノード側は、 ヘルスチェックパケットを両リングに周期的に送信し、
到着した他ノード発ヘルスチェックパケットをリングに
沿って中継する一方、到着した自ノード発ヘルスチェッ
クパケットを廃棄するヘルスチェックパケット送受信工
程と、 前記ヘルスチェックパケットが送受信される過程で、送
信元ノード毎にヘルスチェックパケットの到着/未着を
監視し、自ノード発ヘルスチェックパケットが両リング
から到着した場合には、送信するマルチキャストデータ
パケットの複数の宛先端末のグループを識別する宛先端
末グループ識別子の所定ビット位置のビットの論理値に
応じて定められたリングを送信リングとして選択し、一
方のリングのみから到着した場合には、当該一方のリン
グを送信リングとして選択し、両方のリングから到着し
ない場合は、両方のリングを送信リングとして選択する
送信リング選択工程と、 収容する端末から送られてきたマルチキャストデータパ
ケットを前記選択結果に基づくリングに送信し、到着し
た他ノード発マルチキャストデータパケットをリングに
沿って中継するとともに、自ノードが収容する端末宛で
あるときはそのマルチキャストデータパケットを当該収
容端末に中継し、到着した自ノード発マルチキャストデ
ータパケットを廃棄処理するデータパケット送受信工程
と、 を含むことを特徴とする二重リングネットワークシステ
ムにおけるリング選択方法。
21. A primary ring and a secondary ring having opposite directions.
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or line composed of a dual ring of the next ring, the plurality of node sides periodically transmit a health check packet to both rings,
A health check packet transmission / reception process of discarding the health check packet originating from the own node while relaying the health check packet originating from another node along the ring, and a process of transmitting / receiving the health check packet to each source node The arrival / non-arrival of the health check packet is monitored at the destination node, and when the health check packet originated from the own node arrives from both rings, a predetermined destination terminal group identifier that identifies a group of multiple destination terminals of the multicast data packet to be transmitted is specified. When the ring determined according to the logical value of the bit at the bit position is selected as the transmission ring, and only one ring arrives, the one ring is selected as the transmission ring and does not arrive from both rings. Chooses both rings as the transmit ring Selection step, transmitting multicast data packets sent from the accommodating terminal to the ring based on the selection result, relaying arrived multicast data packets originating from other nodes along the ring, and addressed to the terminal accommodating by the own node And a data packet transmitting / receiving step of relaying the multicast data packet to the accommodating terminal and discarding the arrived multicast data packet originating from its own node, the method for selecting a ring in a dual ring network system. .
【請求項22】 前記送信リング選択工程は、 自ノード発ヘルスチェックパケットが両リングから到着
した場合において、前記識別子の一部または全部に対し
て所定の計算を実施してランダムなビット値を求める工
程を含み、そのビット値に応じて定められたリングを送
信リングとして選択する、 ことを特徴とする請求項18〜21のいずれか一つに記
載の二重リングネットワークシステムにおけるリング選
択方法。
22. In the transmission ring selection step, when a health check packet originated from the own node arrives from both rings, a predetermined calculation is performed on a part or all of the identifier to obtain a random bit value. A ring selecting method in a dual ring network system according to any one of claims 18 to 21, further comprising: selecting a ring defined according to its bit value as a transmission ring.
JP2002224983A 2001-12-07 2002-08-01 Dual ring network system and ring selection method Expired - Fee Related JP3983621B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002224983A JP3983621B2 (en) 2001-12-07 2002-08-01 Dual ring network system and ring selection method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-374314 2001-12-07
JP2001374314 2001-12-07
JP2002224983A JP3983621B2 (en) 2001-12-07 2002-08-01 Dual ring network system and ring selection method

Publications (2)

Publication Number Publication Date
JP2003234747A true JP2003234747A (en) 2003-08-22
JP3983621B2 JP3983621B2 (en) 2007-09-26

Family

ID=27790603

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002224983A Expired - Fee Related JP3983621B2 (en) 2001-12-07 2002-08-01 Dual ring network system and ring selection method

Country Status (1)

Country Link
JP (1) JP3983621B2 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007282153A (en) * 2006-04-12 2007-10-25 Hitachi Communication Technologies Ltd Network system and communication device
JP2008136013A (en) * 2006-11-29 2008-06-12 Alaxala Networks Corp Devices that make up a ring network
JP2008302780A (en) * 2007-06-06 2008-12-18 Univ Nagoya In-vehicle communication system and in-vehicle communication method
JP2009105973A (en) * 2009-02-09 2009-05-14 Hitachi Communication Technologies Ltd Network system and communication device
JP2009111491A (en) * 2007-10-26 2009-05-21 Mitsubishi Electric Corp Node device, and system for monitoring state change of ring network by using the same
US7636299B2 (en) 2005-03-22 2009-12-22 Fujitsu Limited Packet repeater
US7664052B2 (en) 2006-02-24 2010-02-16 Alaxala Networks Corporation Ring network and master node
JP2010525693A (en) * 2007-04-27 2010-07-22 中控科技集▲団▼有限公司 Distributed Ethernet system and method for detecting faults based on the system
US7965658B2 (en) 2008-02-04 2011-06-21 Nec Corporation Shortening of communication cutoff time
KR101397299B1 (en) 2012-11-12 2014-05-23 한양대학교 산학협력단 Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol
JP2020137010A (en) * 2019-02-22 2020-08-31 株式会社デンソー Electronic control device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7636299B2 (en) 2005-03-22 2009-12-22 Fujitsu Limited Packet repeater
US7664052B2 (en) 2006-02-24 2010-02-16 Alaxala Networks Corporation Ring network and master node
JP2007282153A (en) * 2006-04-12 2007-10-25 Hitachi Communication Technologies Ltd Network system and communication device
US8255575B2 (en) 2006-11-29 2012-08-28 Alaxala Networks Corporation Apparatus for constructing ring network
JP2008136013A (en) * 2006-11-29 2008-06-12 Alaxala Networks Corp Devices that make up a ring network
US9106547B2 (en) 2006-11-29 2015-08-11 Alaxala Networks Corporation Apparatus for constructing ring network
JP2010525693A (en) * 2007-04-27 2010-07-22 中控科技集▲団▼有限公司 Distributed Ethernet system and method for detecting faults based on the system
US8339969B2 (en) 2007-04-27 2012-12-25 Supcon Group Co., Ltd. Distributed ethernet system and method for detecting fault based thereon
JP2008302780A (en) * 2007-06-06 2008-12-18 Univ Nagoya In-vehicle communication system and in-vehicle communication method
JP2009111491A (en) * 2007-10-26 2009-05-21 Mitsubishi Electric Corp Node device, and system for monitoring state change of ring network by using the same
US7965658B2 (en) 2008-02-04 2011-06-21 Nec Corporation Shortening of communication cutoff time
JP2009105973A (en) * 2009-02-09 2009-05-14 Hitachi Communication Technologies Ltd Network system and communication device
KR101397299B1 (en) 2012-11-12 2014-05-23 한양대학교 산학협력단 Method and apparatus for controlling transmitting and receiving frame in ring network applied hsr protocol
JP2020137010A (en) * 2019-02-22 2020-08-31 株式会社デンソー Electronic control device
JP7088075B2 (en) 2019-02-22 2022-06-21 株式会社デンソー Electronic control device

Also Published As

Publication number Publication date
JP3983621B2 (en) 2007-09-26

Similar Documents

Publication Publication Date Title
US7848340B2 (en) System and method for transmission of data in packet ring network system
US9392482B2 (en) Method for optimizing the capabilities of an ad hoc telecommunication network
JP4948054B2 (en) Management apparatus, communication terminal apparatus, communication system, and communication management method
EP2013996B1 (en) System and method of multi-nodal aps control protocol signalling
WO2004082225A1 (en) Radio ad hoc communication system, terminal, processing method in the terminal, and program causing the terminal to execute the method
JP3983621B2 (en) Dual ring network system and ring selection method
US5598403A (en) Path setting control system in communication network
JP3449541B2 (en) Data packet transfer network and data packet transfer method
JP3562421B2 (en) Wireless packet relay route construction method
CA2228028C (en) Route finding in communications networks
JP3837696B2 (en) Transmission apparatus and data transmission method
JP2003218894A (en) Network system and network constituting method
JP5029612B2 (en) Packet ring network system, packet transfer method and interlink node
KR20040074434A (en) method and apparatus for reliable routing information exchange in distributed router
CA2193180C (en) Packet transferring device
JP4131181B2 (en) Wireless ad hoc communication system, terminal, processing method in terminal, and program for causing terminal to execute the method
US5553060A (en) Method for maintaining virtual connections given an at least partial outage of connecting paths
JP3965202B1 (en) Network communication equipment and communication program for ring network.
JPH0895931A (en) Faust detecting method for distributed computer system
JP2000156707A (en) Packet-switching station and packet-switching network system
KR100607584B1 (en) Method and apparatus for providing reliable and efficient multicast service in mobile IP network
CN116192741B (en) Data transmission method based on ad hoc network
JP2005260708A (en) Ring network system having redundant path, and transfer device used in the system
JPH0818601A (en) Relay transfer system
JP2000078161A (en) Communication resource reservation method in ip network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070425

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070703

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070704

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

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120713

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120713

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130713

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees