JP3983621B2 - Dual ring network system and ring selection method - Google Patents

Dual ring network system and ring selection method Download PDF

Info

Publication number
JP3983621B2
JP3983621B2 JP2002224983A JP2002224983A JP3983621B2 JP 3983621 B2 JP3983621 B2 JP 3983621B2 JP 2002224983 A JP2002224983 A JP 2002224983A JP 2002224983 A JP2002224983 A JP 2002224983A JP 3983621 B2 JP3983621 B2 JP 3983621B2
Authority
JP
Japan
Prior art keywords
ring
node
health check
data packet
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002224983A
Other languages
Japanese (ja)
Other versions
JP2003234747A (en
Inventor
圭一 曽田
克佳 高橋
康隆 根角
敏弘 鹿間
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

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムおよび複数のノードが伝送路等の障害を検出し、障害を回避するために、送信または受信するリングを切り替えるリング選択方法に関するものである。
【0002】
【従来の技術】
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムとしては、従来、例えば特開平8−181710号公報(リング型ATMネットワークシステム)に開示されたものが知られている。以下、図34、図35を参照して概要を説明する。なお、図34は、従来の二重リングネットワークシステムの構成例である。図35は、図34に示す従来のノードの内部構成を示すブロック図である。
【0003】
図34において、二重リングネットワークシステムは、相反する方向性を持つ1次リング151と2次リング152とからなる二重リング153と、二重リング153を伝送媒体または回線として相互間が接続される複数のノード154−1〜154−nとで構成される。この従来の二重リングネットワークシステムでは、任意のノード間で、1次リング151または2次リング152を介して、データパケットの送受が行われるようになっている。
【0004】
図35に示すように、ノード200は、リングインタフェース部(リングI/F部)201,202とスイッチ部203とデータパケット処理部204とを備えている。リングI/F部201,202は、リングポート205,206に接続されるリング回線(1次リング151と2次リング152)を終端する。データパケット処理部204は、スイッチ部203から渡されたデータパケットを処理し、またスイッチ部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に送出させる。
【0006】
従来では、各ノードは、リング上のノード接続順序と自ノードの位置を記したデータベースを備えている。そして、各ノードは、そのデータベースに基づき、ノードの組み合わせ毎に、例えば、経由ノード数(以下、「ホップ数」という)の少ないリングを記した送信リング選択テーブルを予め構築するようにしている。
【0007】
次に、動作を説明する。両リングが共に正常である場合には、各送信元ノードは、送信リング選択テーブルに基づき一方のリングにデータパケットを送出する。そして、伝送路または隣接ノードの障害を検出したノードは、ネットワーク管理パケットを他の全ノードに通知する。このネットワーク管理パケットを受け取った各送信元ノードは、障害を回避するように送信リング選択テーブルを書き換えることを行い、それに基づき一方のリングにデータパケットを送出するようにしている。
【0008】
【発明が解決しようとする課題】
しかし、従来の二重リングネットワークシステムでのリング選択方法では、以下の(1)〜(3)の問題があるので、ハードウェア処理による高速化が困難である。
【0009】
(1)各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要があるので、ノードの移設、増設、削除等の都度、各ノードのデータベースを手動で更新しなければならない。
【0010】
(2)ホップ数の少ないリングを選択して送出する場合に、各ノードは、ノードの組み合わせ毎に、ホップ数の少ないリングを記した送信リング選択テーブルを予め生成しておく必要があるので、ノードの移設、増設、削除等の際、送信リング選択テーブルの更新が複雑である。
【0011】
(3)ネットワーク管理パケットの到着により、伝送路またはノードの障害を認識した各ノードは、上記データベースを参照し、影響のある経路を抽出し、リング選択テーブルに反映する必要があり、処理が複雑である。
【0012】
以上のように、従来のリング選択方法では、データベースや送信リング選択テーブルの更新は複雑であり、ソフトウェア処理が適切であるので、ハードウェア処理による高速化が困難である。
【0013】
この発明は上記に鑑みてなされたもので、伝送路等の障害が発生した場合に、各ノードが送信または受信するリングを高速に切り替える機構を備えた二重リングネットワークシステムおよびリング選択方法を得ることを目的とする。
【0014】
【課題を解決するための手段】
上記の目的を達成するために、この発明にかかる二重リングネットワークシステムは、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、前記複数のノードは、残存時間を記したヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットの残存時間を減算してリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、残存時間のより多いヘルスチェックパケットが到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係を求め更新可能に保持する受信リング選択手段と、データパケットを両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを前記受信リング選択手段の保持内容に基づき受信または廃棄するデータパケット送受信手段とを備えたことを特徴とする。
【0015】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、残存時間を記したヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットは残存時間を減算してリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、受信リング選択手段にて、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、残存時間のより多いヘルスチェックパケットが到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信手段にて、データパケットが両リングに送信され、到着した他ノード宛データパケットがリングに沿って中継される一方、到着した自ノード宛データパケットが前記受信リング選択手段の保持内容に基づき受信または廃棄することが行われる。
【0016】
つぎの発明にかかる二重リングネットワークシステムは、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、前記複数のノードは、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、ヘルスチェックパケットが先に到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係を求め更新可能に保持する受信リング選択手段と、データパケットを両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを前記受信リング選択手段の保持内容に基づき受信または廃棄するデータパケット送受信手段とを備えたことを特徴とする。
【0017】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットがリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、受信リング選択手段にて、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、ヘルスチェックパケットが先に到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信手段にて、データパケットが両リングに送信され、到着した他ノード宛データパケットはリングに沿って中継される一方、到着した自ノード宛データパケットは前記受信リング選択手段の保持内容に基づき受信または廃棄することが行われる。
【0020】
つぎの発明にかかる二重リングネットワークシステムは、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、前記複数のノードは、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信ノード毎にヘルスチェックパケットが後に到着したリングを前記他ノードが宛先ノードであるデータパケットの送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを全宛先ノードに共通の送信リングとして選択し、両リングから到着しない場合には、両リングを全宛先ノードに共通の送信リングとして選択することにより、宛先ノードに対する送信リングの関係を求め更新可能に保持する送信リング選択手段と、データパケットを前記送信リング選択手段の保持内容に基づき両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを受信するデータパケット送受信手段とを備えたことを特徴とする。
【0021】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択手段にて、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信ノード毎にヘルスチェックパケットが後に到着したリングを自ノード発前記他ノード宛データパケットの送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを全宛先ノードに共通の送信リングとして選択し、両リングから到着しない場合には、両リングを全宛先ノードに共通の送信リングとして選択することにより、宛先ノードに対する送信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信手段にて、データパケットが前記送信リング選択手段の保持内容に基づき両リングに送信され、到着した他ノード宛データパケットはリングに沿って中継される一方、到着した自ノード宛データパケットは受信される。
【0026】
つぎの発明にかかる二重リングネットワークシステムにおけるリング選択方法は、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおけるリング選択方法あって、前記複数のノード側は、残存時間を記したヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットの残存時間を減算してリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、残存時間のより多いヘルスチェックパケットが到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係を求め更新可能に保持する受信リング選択工程と、データパケットを両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを前記受信リング選択工程での保持内容に基づき受信または廃棄するデータパケット送受信工程とを含むことを特徴とする。
【0027】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、残存時間を記したヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットは残存時間を減算してリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、受信リング選択工程にて、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、残存時間のより多いヘルスチェックパケットが到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信工程にて、データパケットが両リングに送信され、到着した他ノード宛データパケットがリングに沿って中継される一方、到着した自ノード宛データパケットが前記受信リング選択テーブルの設定に基づき受信または廃棄することが行われる。
【0028】
つぎの発明にかかる二重リングネットワークシステムにおけるリング選択方法は、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおけるリング選択方法であって、前記複数のノード側は、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、ヘルスチェックパケットが先に到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係を求め更新可能に保持する受信リング選択工程と、データパケットを両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを前記受信リング選択工程での保持内容に基づき受信または廃棄するデータパケット送受信工程とを含むことを特徴とする。
【0029】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットがリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、受信リング選択工程にて、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、ヘルスチェックパケットが先に到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信工程にて、データパケットが両リングに送信され、到着した他ノード宛データパケットはリングに沿って中継される一方、到着した自ノード宛データパケットは前記受信リング選択テーブルの設定に基づき受信または廃棄することが行われる。
【0032】
つぎの発明にかかる二重リングネットワークシステムにおけるリング選択方法は、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおけるリング選択方法であって、前記複数のノード側は、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信ノード毎にヘルスチェックパケットが後に到着したリングを前記他ノードが宛先ノードであるデータパケットの送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを全宛先ノードに共通の送信リングとして選択し、両リングから自ノード発ヘルスチェックパケットが到着しない場合には、両リングを全宛先ノードに共通の送信リングとして選択することにより、宛先ノードに対する送信リングの関係を求め更新可能に保持する送信リング選択工程と、データパケットを前記送信リング選択工程での保持内容に基づき両リングに送信し、到着した他ノード宛データパケットのリングに沿って中継する一方、到着した自ノード宛データパケットを受信するデータパケット送受信工程とを含むことを特徴とする。
【0033】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択工程にて、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信ノード毎にヘルスチェックパケットが後に到着したリングを自ノード発前記他ノード宛データパケットの送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを全宛先ノードに共通の送信リングとして選択し、両リングから到着しない場合には、両リングを全宛先ノードに共通の送信リングとして選択することにより、宛先ノードに対する送信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信工程にて、データパケットが前記送信リング選択工程での保持内容に基づき両リングに送信され、到着した他ノード宛データパケットはリングに沿って中継される一方、到着した自ノード宛データパケットは受信される。
【0038】
つぎの発明にかかる二重リングネットワークシステムは、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、前記複数のノードは、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、送信するユニキャストデータパケットの宛先ノード識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択手段と、ユニキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード宛ユニキャストデータパケットをリングに沿って中継し、到着した自ノード宛ユニキャストデータパケットを受信処理するデータパケット送受信手段とを備えたことを特徴とする。
【0039】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択手段にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するユニキャストデータパケットの宛先ノード識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信手段にて、ユニキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード宛ユニキャストデータパケットはリングに沿って中継される。また、到着した自ノード宛ユニキャストデータパケットは受信処理される。
【0040】
つぎの発明にかかる二重リングネットワークシステムは、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、前記複数のノードは、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先ノードのグループを識別する宛先ノードグループ識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択手段と、マルチキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発マルチキャストデータパケットをリングに沿って中継するとともに、受信処理を行い、到着した自ノード発マルチキャストデータパケットを廃棄処理するデータパケット送受信手段とを備えたことを特徴とする。
【0041】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択手段にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先ノードのグループを識別する宛先ノードグループ識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信手段にて、マルチキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発マルチキャストデータパケットはリングに沿って中継されるとともに、受信処理が行われる。また、到着した自ノード発マルチキャストデータパケットは廃棄される。
【0042】
つぎの発明にかかる二重リングネットワークシステムは、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、前記複数のノードは、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信するユニキャストデータパケットの宛先端末識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択手段と、収容する端末から送られてきたユニキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発ユニキャストデータパケットをリングに沿って中継するとともに、自ノードが収容する端末宛であるときはそのユニキャストデータパケットを当該収容端末に中継し、到着した自ノード発ユニキャストデータパケットを廃棄処理するデータパケット送受信手段とを備えたことを特徴とする。
【0043】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択手段にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するユニキャストデータパケットの宛先端末識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信手段にて、収容する端末から送られてきたユニキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発ユニキャストデータパケットはリングに沿って中継されるとともに、自ノードが収容する端末宛であるときはそのユニキャストデータパケットが当該収容端末に中継される。また、到着した自ノード発ユニキャストデータパケットは廃棄処理される。
【0044】
つぎの発明にかかる二重リングネットワークシステムは、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、前記複数のノードは、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先端末のグループを識別する宛先端末グループ識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択手段と、収容する端末から送られてきたマルチキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発マルチキャストデータパケットをリングに沿って中継するとともに、自ノードが収容する端末宛であるときはそのマルチキャストデータパケットを当該収容端末に中継し、到着した自ノード発マルチキャストデータパケットを廃棄処理するデータパケット送受信手段とを備えたことを特徴とする。
【0045】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択手段にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先端末のグループを識別する宛先端末グループ識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信手段にて、収容する端末から送られてきたマルチキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発マルチキャストデータパケットはリングに沿って中継されるとともに、自ノードが収容する端末宛であるときはそのマルチキャストデータパケットが当該収容端末に中継される。また、到着した自ノード発マルチキャストデータパケットは廃棄される。
【0046】
つぎの発明にかかる二重リングネットワークシステムは、上記の発明において、前記送信リング選択手段は、自ノード発ヘルスチェックパケットが両リングから到着した場合において、前記識別子の一部または全部に対して所定の計算を実施してランダムなビット値を求める手段を備え、そのビット値に応じて定められたリングを送信リングとして選択することを特徴とする。
【0047】
この発明によれば、上記の発明において、送信リング選択手段では、自ノード発ヘルスチェックパケットが両リングから到着した場合において、前記識別子の一部または全部に対して所定の計算を実施してランダムなビット値が求められ、そのビット値に応じて定められたリングが送信リングとして選択される。
【0048】
つぎの発明にかかる二重リングネットワークシステムにおけるリング選択方法は、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおけるリング選択方法であって、前記複数のノード側は、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、送信するユニキャストデータパケットの宛先ノード識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択工程と、ユニキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード宛ユニキャストデータパケットをリングに沿って中継し、到着した自ノード宛ユニキャストデータパケットを受信処理するデータパケット送受信工程とを含むことを特徴とする。
【0049】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択工程にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するユニキャストデータパケットの宛先ノード識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信工程にて、ユニキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード宛ユニキャストデータパケットはリングに沿って中継される。また、到着した自ノード宛ユニキャストデータパケットは受信処理される。
【0050】
つぎの発明にかかる二重リングネットワークシステムにおけるリング選択方法は、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、前記複数のノード側は、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先ノードのグループを識別する宛先ノードグループ識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択工程と、マルチキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発マルチキャストデータパケットをリングに沿って中継するとともに、受信処理を行い、到着した自ノード発マルチキャストデータパケットを廃棄処理するデータパケット送受信工程とを含むことを特徴とする。
【0051】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択工程にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先ノードのグループを識別する宛先ノードグループ識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信工程にて、マルチキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発マルチキャストデータパケットはリングに沿って中継されるとともに、受信処理が行われる。また、到着した自ノード発マルチキャストデータパケットは廃棄される。
【0052】
つぎの発明にかかる二重リングネットワークシステムにおけるリング選択方法は、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、前記複数のノード側は、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信するユニキャストデータパケットの宛先端末識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択工程と、収容する端末から送られてきたユニキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発ユニキャストデータパケットをリングに沿って中継するとともに、自ノードが収容する端末宛であるときはそのユニキャストデータパケットを当該収容端末に中継し、到着した自ノード発ユニキャストデータパケットを廃棄処理するデータパケット送受信工程とを含むことを特徴とする。
【0053】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択工程にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するユニキャストデータパケットの宛先端末識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信工程にて、収容する端末から送られてきたユニキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発ユニキャストデータパケットはリングに沿って中継されるとともに、自ノードが収容する端末宛であるときはそのユニキャストデータパケットが当該収容端末に中継される。また、到着した自ノード発ユニキャストデータパケットは廃棄処理される。
【0054】
つぎの発明にかかる二重リングネットワークシステムにおけるリング選択方法は、相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、前記複数のノード側は、ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先端末のグループを識別する宛先端末グループ識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択工程と、収容する端末から送られてきたマルチキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発マルチキャストデータパケットをリングに沿って中継するとともに、自ノードが収容する端末宛であるときはそのマルチキャストデータパケットを当該収容端末に中継し、到着した自ノード発マルチキャストデータパケットを廃棄処理するデータパケット送受信工程とを含むことを特徴とする。
【0055】
この発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択工程にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先端末のグループを識別する宛先端末グループ識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信工程にて、収容する端末から送られてきたマルチキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発マルチキャストデータパケットはリングに沿って中継されるとともに、自ノードが収容する端末宛であるときはそのマルチキャストデータパケットが当該収容端末に中継される。また、到着した自ノード発マルチキャストデータパケットは廃棄される。
【0056】
つぎの発明にかかる二重リングネットワークシステムにおけるリング選択方法は、上記の発明において、前記送信リング選択工程は、自ノード発ヘルスチェックパケットが両リングから到着した場合において、前記識別子の一部または全部に対して所定の計算を実施してランダムなビット値を求める工程を含み、そのビット値に応じて定められたリングを送信リングとして選択することを特徴とする。
【0057】
この発明によれば、上記の発明において、送信リング選択工程では、自ノード発ヘルスチェックパケットが両リングから到着した場合において、前記識別子の一部または全部に対して所定の計算を実施してランダムなビット値が求められ、そのビット値に応じて定められたリングが送信リングとして選択される。
【0058】
【発明の実施の形態】
以下に添付図面を参照して、この発明にかかる二重リングネットワークシステムおよびリング選択方法の好適な実施の形態を詳細に説明する。
【0059】
実施の形態1.
図1は、この発明の実施の形態1である二重リングネットワークシステムの全体構成を示すブロック図である。図1において、二重リングネットワークシステムは、相反する方向性を持つ1次リング11と2次リング12とからなる二重リング1と、二重リング1を伝送媒体または回線として相互間が接続される複数のノード2−1〜2−nとで構成される。実施の形態1では、この二重リングネットワークシステムにおいて、任意のノード間で、1次リング11または2次リング12を介して、データパケットとヘルスチェックパケットの送受が行われるようになっている。
【0060】
図2は、図1に示す各ノードの内部構成例である。図2に示すように、ノード20は、リングインタフェース部(リングI/F部)21,22とスイッチ部23とデータパケット処理部24とヘルスチェックパケット処理部25とを備えている。リングI/F部21,22は、リングポート26,27に接続されるリング回線(1次リング11と2次リング12)を終端する。データパケット処理部24は、スイッチ部23から渡されたデータパケットを処理し、またスイッチ部23に渡すデータパケットを処理する。
【0061】
ヘルスチェックパケット処理部25は、スイッチ部23から渡されたヘルスチェックパケットを処理し、またスイッチ部23に渡すヘルスチェックパケットを処理する。ヘルスチェックパケットは、自ノードの健全性を他ノードに通知するためのパケットである。処理の詳細については、後述する。
【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に送出させる。
【0063】
図3は、パケット(データパケットとヘルスチェックパケット)の構成例である。図3において、この実施の形態1で採用するパケット(データパケットとヘルスチェックパケット)は、パケット種別31とTTL(Time To Live)32と宛先ノードID33と送信元ノードID34と検査符号35とパケットデータ36とで構成されている。
【0064】
パケット種別31は、データパケットとヘルスチェックパケットを識別するための識別子である。TTL32は、宛先ノードの離脱等の理由で受け取り手がなく、無限に周回するパケットをリングから取り除くためのパケット残存時間である。送信元ノードが初期値を記入するようになっている。初期値には、リング上のノード数以上の値が用いられる。中継ノードは、TTL値を1つ減算する。いずれかのノードにTTL=0のパケットが到着した場合に、当該パケットは廃棄される。
【0065】
宛先ノードID33は、宛先ノードの識別子である。なお、この宛先ノードID33は、ヘルスチェックパケットの場合には不使用である。送信元ノードID34は、送信元ノードの識別子である。検査符号35は、中継ノードまたは宛先ノードで当該パケットの各領域の正当性を検査するための符号である。パケットデータ36は、当該パケットの本体である。
【0066】
図4は、受信リング選択テーブルの構成例である。この実施の形態1で採用する受信リング選択テーブルは、送信元ノードID41毎にデータパケットを受信するように選択された受信リング42を記したものである。但し、内容は、各ノード毎に異なる。なお、この受信リング選択テーブルは、ソフトウェアで管理するテーブルを意味するのではなく、送信元ノードID41毎に選択された受信リング42を保持する例えばフリップフロップ群で構成される。
【0067】
次に、図5〜図8を参照して、各ノードの動作を説明する。なお、図5は、ヘルスチェックパケットの送受信に基づく受信リング選択テーブルの生成動作を説明するフローチャートである。図6は、データパケットの送受信動作を説明するフローチャートである。図7は、障害発生によるリング選択動作を説明する図である。図8は、障害発生によるリング選択動作時に更新される受信リング選択テーブルの内容を説明する図である。
【0068】
まず、受信リング選択テーブルの生成動作を説明する。図5(1)において、各ノードは、TTL32の値を記入したヘルスチェックパケットを両方のリングに一定周期で送信する(ステップST1)。図5(2)において、各ノードは、各リングから到着したヘルスチェックパケットの送信元ノードID34を参照し(ステップST2)、当該到着したヘルスチェックパケットが自ノード発ヘルスチェックパケットであるか否かを判断する(ステップST3)。ステップST3の判断結果、自ノード発ヘルスチェックパケットである場合には(ステップST3:Yes)、廃棄処理をする(ステップST4)。また、ステップST3の判断結果、他ノード発ヘルスチェックパケットである場合には(ステップST3:No)、ヘルスチェックパケット処理部25に取り込み、TTL32の値を1つ減算してリングに沿って中継する(ステップST5)。
【0069】
図5(3)において、各ノードは、中継する過程で、送信元ノード毎かつリング毎に、一定周期中の他ノード発ヘルスチェックパケットの到着/未着を監視し(ステップST6)、以下の(1)〜(3)に示すように経路上の障害の有無を判断し、受信リング選択テーブルの内容を生成ないしは更新する。
【0070】
(1)一定周期中に両方のリングから他ノード発ヘルスチェックパケットが到着した場合には、当該他ノードから自ノードまでの両経路は共に正常と判断される。この場合には、TTL値のより多いヘルスチェックパケットが到着したリングを、当該他ノードが送信元ノードであるデータパケットの受信リングとなるように受信リング選択テーブルを設定する(ステップST7)。その結果、ホップ数の少ないリングからデータパケットが受信できるようになる。
【0071】
(2)一定周期中に一方のリングのみから他ノード発ヘルスチェックパケットが到着した場合には、当該他ノードから自ノードまでの両経路のうち、ヘルスチェックパケットが到着した経路のみが正常と判断される。この場合には、ヘルスチェックパケットが到着したリングを、当該他ノードが送信元ノードであるデータパケットの受信リングとするように受信リング選択テーブルを設定する(ステップST8)。その結果、障害発生時には、更新された正常なリングからデータパケットが受信できるようになる。
【0072】
(3)一定周期中に両方のリングから他ノード発ヘルスチェックパケットが到着しない場合には、当該他ノードから自ノードまでの両経路は共に異常と判断される。この場合には、当該他ノードが送信元ノードであるデータパケットの受信は不可能であるので、受信リング選択テーブルの内容は更新しない(ステップST9)。
【0073】
次に、データパケットの送受信動作を説明する。図6(1)において、各ノードは、データパケットを両方のリングに送信する(ステップST11)。図6(2)において、各ノードは、各リングから到着したデータパケットの宛先ノードIDを参照し(ステップST12)、他ノード宛データパケットであるか否かを判断する(ステップST13)。ステップST13の判断結果、他ノード宛データパケットである場合には(ステップST13:Yes)、TTL値を1つ減算し、リングに沿って中継する(ステップST14)。
【0074】
一方、ステップST13の判断結果、自ノード宛データパケットである場合には(ステップST13:No)、データパケットの送信元ノードIDを参照し(ステップST15)、データパケットを受信したリングが、受信リング選択テーブルに保持されたリングと一致するか否かを判断する(ステップST16)。ステップST16の判断結果、一致する場合には(ステップST16:Yes)、当該データパケットをデータパケット処理部24に取り込み、受信処理をする(ステップST17)。一方、ステップST16の判断結果、一致しない場合には(ステップST16:No)、当該データパケットを廃棄処理をする(ステップST18)。
【0075】
次に、障害発生によるリング選択動作を説明する。図7では、5つのノード51〜55が二重リング1を介して接続された二重リングネットワークシステムが示されている。ここでは、(a)に示す断線前の状態においてノード53がノード51にデータパケットを送信している際に、(b)に示すようにノード52とノード53間の2次リング12が断線した場合のリング選択動作を説明する。なお、図8は、ノード51の受信リング選択テーブルの遷移状態を示すが、送信元ノードID41の欄において、#1はノード51に付与されたID、#2はノード52に付与されたID、#3はノード53に付与されたID、#4はノード54に付与されたID、#5はノード55に付与されたIDである。
【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と設定されている。
【0077】
データパケットの送受信時では、ノード51は、この受信リング選択テーブルに基づき、2次リング12から到着したノード53発ノード51宛のデータパケットを取り込み、1次リング11から到着したノード53発のデータパケットは廃棄する。ヘルスチェックパケットの一定周期での送受信は、データパケットの送受信と並行して実施するようになっている。
【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)については、結果として断線前と同じになる。
【0079】
したがって、データパケットの送受信時では、ノード51は、この更新された受信リング選択テーブルに基づき、1次リング11から到着したノード53発ノード51宛のデータパケットを取り込むことになる。2次リング12が断線したので、ノード53発のデータパケットは2次リング12から到着しない。
【0080】
このように、実施の形態1によれば、各ノードは、受信リング選択テーブルを自律的に生成し、ノード構成の変化や障害の発生を速やかに検出し、受信リング選択テーブルに自律的に反映することができる。したがって、各ノードに、リング上のノード接続順序と自ノードの位置とを関連付けて格納するデータベースを予め設定しておく必要がなく、管理が容易となる。
【0081】
また、各ノードは、ノードの組み合わせ毎にホップ数の少ない、すなわち遅延時間の少ないリングから受信できるように受信リング選択テーブルを自律的に生成ないしは更新するので、ネットワークの性能を容易に向上させることができる。
【0082】
さらに、以上の説明からも理解できるように、障害発生によるリング選択処理は単純で、ソフトウェア処理に馴染まず、ハードウェア処理が好適であるので、リング選択の高速化が容易に実現できる。
【0083】
実施の形態2.
図9は、この発明の実施の形態2である二重リングネットワークシステムで実施される受信リング選択テーブルの生成動作を説明するフローチャートである。この実施の形態2では、図1に示した二重リングネットワークシステムにおいて、実施の形態1で説明したヘルスチェックパケットの残存時間(TTL)を用いないで受信リング選択テーブルを生成する方法が示されている。各ノードの内部構成、パケットの構成や送受信に関しては、実施の形態1と同様である。ここでは、実施の形態2に関わる受信リング選択テーブルの生成方法を説明する。
【0084】
図9では、図5に示した処理手順と同一ないしは同等である処理手順には、同一の符号が付されている。図9(1)において、各ノードは、ヘルスチェックパケットを両方のリングに一定周期で送信する(ステップST21)。図9(2)において、各ノードは、各リングから到着したヘルスチェックパケットの送信元ノードID34を参照し(ステップST2)、当該到着したヘルスチェックパケットが自ノード発ヘルスチェックパケットである場合には(ステップST3:Yes)、廃棄処理をする(ステップST4)。また、他ノード発ヘルスチェックパケットである場合には(ステップST3:No)、実施の形態1とは異なり、そのままリングに沿って中継する(ステップST22)。
【0085】
図9(3)において、各ノードは、送信元ノード毎かつリング毎に、一定周期中の他ノード発ヘルスチェックパケットの到着/未着を監視し(ステップST6)、以下の(1)〜(3)に示すように経路上の障害の有無を判断し、受信リング選択テーブルの内容を生成ないしは更新する。
【0086】
(1)一定周期中に両方のリングから他ノード発ヘルスチェックパケットが到着した場合には、当該他ノードから自ノードまでの両経路は共に正常と判断される。この場合には、実施の形態1とは異なり、ヘルスチェックパケットが先に到着したリングを、当該他ノードが送信元ノードであるデータパケットの受信リングとするように受信リング選択テーブルを設定する(ステップST23)。その結果、伝送路距離が短いリングや広い帯域を有するリングがデータパケットの受信リングとして選択される。すなわち、ヘルスチェックパケットが先に到着した一方のリングが、後に到着した他方のリングよりも伝送路の総距離が短いので、一方のリングは遅延時間が少ないと言える。また、ノード間の伝送帯域が区間毎に異なれば両リング間での遅延時間に相違が出るので、同様にヘルスチェックパケットが先に到着した一方のリングは遅延時間が少ないと言える場合がある。
【0087】
(2)一定周期中に一方のリングのみから他ノード発ヘルスチェックパケットが到着した場合には、当該他ノードから自ノードまでの両経路のうち、ヘルスチェックパケットが到着した経路のみが正常と判断される。この場合には、実施の形態1と同様に、ヘルスチェックパケットが到着したリングを、当該他ノードが送信元ノードであるデータパケットの受信リングとするように受信リング選択テーブルを設定する(ステップST8)。
【0088】
(3)一定周期中に両方のリングから他ノード発ヘルスチェックパケットが到着しない場合には、当該他ノードから自ノードまでの両経路は共に異常と判断される。この場合には、実施の形態1と同様に、当該他ノードが送信元ノードであるデータパケットの受信は不可能であるので、受信リング選択テーブルの内容は更新しない(ステップST9)。
【0089】
したがって、実施の形態2によれば、実施の形態1と同様の効果が得られる。加えて、受信リング選択テーブルは、ホップ数ばかりでなく、伝送路の距離や帯域を考慮して、遅延時間の少ないリングから受信するように生成ないしは更新されるので、ネットワークの性能をさらに向上させることができる。
【0090】
実施の形態3.
図10は、この発明の実施の形態3である二重リングネットワークシステムで採用する送信リング選択テーブルの構成例を示す図である。この実施の形態3では、図1に示した二重リングネットワークシステムにおいて、実施の形態1、2で示した受信リング選択テーブルに代えて、送信リング選択テーブルを用いて障害時等でのリング選択を行う場合の構成例が示されている。ノードの内部構成は図2と同様であり、パケットの構成は図3と同様である。ここでは、実施の形態3に関わる部分を中心に説明する。
【0091】
実施の形態3で採用する送信リング選択テーブルは、図10に示すように、宛先ノードID61毎にデータパケットを送信する送信リング62を記したものである。その内容は、各ノード毎に異なる。なお、この送信リング選択テーブルは、ソフトウェアで管理するテーブルを意味するのではなく、宛先ノードID61毎に選択された送信リング62を保持する例えばフリップフロップ群で構成される。
【0092】
次に、図10〜図14を参照して、各ノードの動作を説明する。なお、図11は、ヘルスチェックパケットの送受信に基づく送信リング選択テーブルの生成動作を説明するフローチャートである。図12は、データパケットの送受信動作を説明するフローチャートである。図13は、障害発生によるリング選択動作を説明する図である。図14は、障害発生によるリング選択動作時に更新される送信リング選択テーブルの内容を説明する図である。
【0093】
まず、送信リング選択テーブルの生成動作を説明する。なお、図11では、図5に示した処理手順と同一ないしは同等である処理手順には、同一の符号が付されている。ここでは、この実施の形態3に関わる部分を中心に説明する。
【0094】
図11(1)において、各ノードは、TTL32の値を記入したヘルスチェックパケットを両方のリングに一定周期で送信する(ステップST1)。図11(2)において、各ノードは、各リングから到着したヘルスチェックパケットの送信元ノードID34を参照し(ステップST2)、当該到着したヘルスチェックパケットが自ノード発ヘルスチェックパケットであるか否かを判断する(ステップST3)。ステップST3の判断結果、自ノード発ヘルスチェックパケットである場合には(ステップST3:Yes)、廃棄処理をする(ステップST4)。また、ステップST3の判断結果、他ノード発ヘルスチェックパケットである場合には(ステップST3:No)、ヘルスチェックパケット処理部25に取り込み、TTL32の値を1つ減算してリングに沿って中継する(ステップST5)。
【0095】
図11(3)において、各ノードは、中継する過程で、送信元IDを参照することにより、送信元ノード毎かつリング毎に、一定周期中の自ノード発ヘルスチェックパケットの到着/未着を監視し(ステップST6)、以下の(1)〜(3)に示すように経路上の障害の有無を判断し、送信リング選択テーブルの内容を生成ないしは更新する。
【0096】
(1)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着した場合には、両リングは共に正常と判断される。この場合には、TTL値のより少ない他ノード発ヘルスチェックパケットが到着したリングを、当該他ノードが宛先ノードであるデータパケットの送信リングとするように送信リング選択テーブルを設定する(ステップST31)。到着した他ノード発ヘルスチェックパケットのTTL値がより少ないということは、自ノードから逆に辿れば、当該他ノードまでのホップ数が少ないことになる。したがって、当該他ノードに対してホップ数の少ないリングからデータパケットが送信できるようになる。また、送信元ノードは、二重リング1の一方のリングのみに送信するので、両方のリングに送信する場合に比べてリング上の伝送帯域を有効に使用できるようになる。
【0097】
(2)一定周期中に一方のリングのみから自ノード発ヘルスチェックパケットが到着した場合には、当該一方のリングのみが正常と判断される。この場合には、全宛先ノード共通に、ヘルスチェックパケットが到着したリングをデータパケットの送信リングとするように送信リング選択テーブルを設定する(ステップST32)。
【0098】
(3)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着しない場合には、両リングは共に異常と判断される。この場合には、全宛先ノード共通に、両リングをデータパケットの送信リングとするように送信リング選択テーブルを設定する(ステップST33)。
【0099】
次に、データパケットの送受信動作を説明する。図12(1)において、各ノードは、データパケットを送信リング選択テーブルに基づくリングに送信する(ステップST41)。ここでのリングは、片方のリングである。図12(2)において、各ノードでは、データパケットが両方のリングから到着するので、それぞれのリングから到着したデータパケットの宛先ノードID33を参照し(ステップST42)、他ノード宛データパケットであるか否かを判断する(ステップST43)。ステップST43の判断結果、他ノード宛データパケットである場合には(ステップST43:Yes)、TTL値を1つ減算し、リングに沿って中継する(ステップST44)。一方、ステップST43の判断結果、自ノード宛データパケットである場合には(ステップST43:No)、データパケット処理部24に取り込み、受信処理をする(ステップST45)。
【0100】
このように宛先ノードでは、データパケットが一方のリングのみから到着するので、つまり両方のリングから重複して到着しないので、図6で示したような廃棄処理(ステップST18)は生じない。すなわち、リング上の伝送帯域の有効利用が図れるようになる。
【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である。
【0102】
断線前(図13(a))では、ノード73には、ノード71〜75発のヘルスチェックパケットが両リングから到着する。ノード73では、送信元ノード毎に、各TTL値が比較され、ノード73の送信リング選択テーブルが図14(a)に示すように生成される。図14(a)では、送信リング62の欄において、ノード73(宛先ノードID#3)に対する送信リングは設定されていないが、ノード71(宛先ノードID#1)とノード72(宛先ノードID#2)に対する送信リングは、2次リング12と設定されている。ノード74(宛先ノードID#4)とノード75(宛先ノードID#5)に対する送信リングは、1次リング11と設定されている。
【0103】
データパケットの送受信時では、ノード73は、この送信リング選択テーブルに基づき、ノード73発ノード71宛データパケットを2次リング12に送信する。ノード71は、2次リング12から到着したノード73発のデータパケットを取り込む。ヘルスチェックパケットの一定周期での送受信は、データパケットの送受信と並行して実施するようになっている。
【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)については、結果として断線前と同じになる。
【0105】
したがって、ノード73は、この更新された送信リング選択テーブルに基づき、ノード73発ノード71宛のデータパケットを1次リング11に送信する。ノード71は、1次リング11から到着したノード73発のデータパケットを取り込むことになる。
【0106】
さらに、図13(c)に示すように、ノード72とノード73間の1次リング11が断線し、 両リング断線の状態になると、ノード73には自ノード発のヘルスチェックパケットが両リングから到着しない。その結果、ノード73の送信リング選択テーブルは、図14(c)に示すように、ノード71(宛先ノードID#1),ノード72(宛先ノードID#2),ノード74(宛先ノードID#4),ノード75(宛先ノードID#5)に対する送信リングが、それぞれ1次リング11&2次リング12に更新される。
【0107】
ノード73は、この両リングを送信リングとするように更新された送信リング選択テーブルに基づき、ノード73発ノード71宛のデータパケットを両リングに送信する。ノード71は、1次リング11から到着したノード73発のデータパケットを取り込む。ノード71には、ノード73発のデータパケットは、2次リング12が断線しているので、到着しない。
【0108】
したがって、実施の形態3によれば、実施の形態1と同様の効果が得られる。加えて、送信リング選択テーブルは、宛先ノードがノードの組み合わせ毎にホップ数の少ないリングを選択して送信できるように生成ないしは更新されるので、リング上の伝送帯域を効率的に使用でき、ネットワークの性能をさらに向上させることができる。
【0109】
実施の形態4.
図15は、この発明の実施の形態4である二重リングネットワークシステムで実施される送信リング選択テーブルの生成動作を説明するフローチャートである。この実施の形態4では、図1に示した二重リングネットワークシステムにおいて、実施の形態3で説明したヘルスチェックパケットの残存時間(TTL)を用いないで送信リング選択テーブルを生成する方法が示されている。すなわち、この実施の形態4は、実施の形態2に対応するものである。各ノードの内部構成、パケットの構成や送受信に関しては、実施の形態3と同様である。ここでは、実施の形態4に関わる送信リング選択テーブルの生成方法を説明する。
【0110】
図15では、図9および図11に示した処理手順と同一ないしは同等である処理手順には、同一の符号が付されている。図15(1)において、各ノードは、ヘルスチェックパケットを両方のリングに一定周期で送信する(ステップST21)。図15(2)において、各ノードは、各リングから到着したヘルスチェックパケットの送信元ノードID34を参照し(ステップST2)、当該到着したヘルスチェックパケットが自ノード発ヘルスチェックパケットであるか否かを判断する(ステップST3)。ステップST3の判断結果、自ノード発ヘルスチェックパケットである場合には(ステップST3:Yes)、廃棄処理をする(ステップST4)。また、ステップST3の判断結果、他ノード発ヘルスチェックパケットである場合には(ステップST3:No)、他ノード発ヘルスチェックパケットはそのままリングに沿って中継する(ステップST22)。
【0111】
図15(3)において、各ノードは、中継する過程で、送信元ノード毎かつリング毎に、一定周期中の自ノード発ヘルスチェックパケットの到着/未着を監視し(ステップST6)、以下の(1)〜(3)に示すように経路上の障害の有無を判断し、送信リング選択テーブルの内容を生成ないしは更新する。
【0112】
(1)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着した場合には、両リングは共に正常と判断される。この場合には、実施の形態3とは異なり、ヘルスチェックパケットが後に到着したリングを、当該他ノードが宛先ノードであるデータパケットの送信リングとするように送信リング選択テーブルを設定する(ステップST51)。その結果、当該他ノードに対して遅延時間の短いリングからデータパケットが送信できるようになる。また、実施の形態3と同様に、送信元ノードは、二重リング1の一方のリングのみに送信するので、両方のリングに送信する場合に比べてリング上の伝送帯域を有効に使用できるようになる。
【0113】
(2)一定周期中に一方のリングのみから自ノード発ヘルスチェックパケットが到着した場合には、当該一方のリングのみが正常と判断される。この場合には、実施の形態3と同様に、全宛先ノード共通に、ヘルスチェックパケットが到着したリングをデータパケットの送信リングとするように送信リング選択テーブルを設定する(ステップST32)。
【0114】
(3)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着しない場合には、両リングは共に異常と判断される。この場合には、実施の形態3と同様に、全宛先ノード共通に、両リングをデータパケットの送信リングとするように送信リング選択テーブルを設定する(ステップST33)。
【0115】
したがって、実施の形態4によれば、実施の形態3と同様の効果が得られる。加えて、送信リング選択テーブルは、ホップ数ばかりでなく、伝送路の距離や帯域を考慮して、遅延時間の少ないリングに送信するように生成ないしは更新されるので、リング上の伝送帯域を一層効率的に使用できるようになり、ネットワークの性能をさらに向上させることができる。
【0116】
実施の形態5.
図16は、この発明の実施の形態5である二重リングネットワークシステムで採用するデータパケットおよびヘルスチェックパケットの構成例を示す図である。実施の形態5では、データパケットの送受信方法について実施の形態3または実施の形態4で説明したのとは異なる方法が示されている。その他は、実施の形態3または実施の形態4と同様である。ここでは、実施の形態5に関わる部分を中心に説明する。
【0117】
実施の形態5で採用するパケットは、図16に示すように、図3に示したパケットの構成において、シーケンス番号81が追加されている。シーケンス番号81は、各送信元ノード毎にデータパケットに順に付す連続番号である。なお、このシーケンス番号81は、ヘルスチェックパケットの場合には、不使用である。
【0118】
次に、図17に示すフローチャートを参照して、実施の形態5に関わるデータパケットの送受信動作を説明する。図17(1)において、各ノードは、上記シーケンス番号81が追加されたデータパケットを送信リング選択テーブルに基づくリングに送信する(ステップST61)。図17(2)において、各ノードは、それぞれのリングから到着したデータパケットの宛先ノードIDを参照し(ステップST62)、他ノード宛データパケットであるか否かを判断する(ステップST63)。ステップST63の判断結果、他ノード宛データパケットである場合には(ステップST63:Yes)、TTL値を1つ減算し、リングに沿って中継する(ステップST64)。
【0119】
一方、ステップST63の判断結果、自ノード宛データパケットである場合には(ステップST63:No)、シーケンス番号を参照し(ステップST65)、当該シーケンス番号が直前に取り込んだ同一ノード発データパケットのシーケンス番号よりも大きいか否かを判断する(ステップST66)。そして、ステップST66の判断結果、当該シーケンス番号が直前に取り込んだ同一ノード発データパケットのシーケンス番号よりも大きい場合には(ステップST66:Yes)、次のデータパケットである可能性が高いのでデータパケット処理部24に取り込み、受信処理をする(ステップST67)。一方、ステップST66の判断結果、当該シーケンス番号が直前に取り込んだ同一ノード発データパケットのシーケンス番号と等しいか小さい場合には(ステップST66:No)、リング切り替わり時の過渡状態で生じた重複到着の可能性が高いので廃棄処理をする(ステップST68)。
【0120】
したがって、実施の形態5によれば、実施の形態3および実施の形態4と同様の効果が得られる。加えて、データパケットはシーケンス番号を備えるので、次のような優れた効果が得られる。すなわち、ネットワークの障害状態の変化が、各ノードの送信リング選択テーブルに反映されるまでの間、同一データパケットが両リングから宛先ノードに重複して到着する可能性がある。
【0121】
この場合でも、実施の形態5によれば、宛先ノードが上記のようにシーケンス番号を参照することによって、一方のデータパケットのみを受信できるようになるので、ネットワークの信頼性をさらに向上させることができる。
【0122】
なお、この実施の形態5では、実施の形態3または実施の形態4への適用例を説明したが、実施の形態1または実施の形態2へも同様に適用できるものであり、同様の効果が得られる。
【0123】
実施の形態6.
図18は、この発明の実施の形態6である二重リングネットワークシステムで実施されるデータパケットの送受信動作を説明するフローチャートである。実施の形態6では、データパケットの送受信方法について実施の形態3または実施の形態4で説明したのとは異なる方法が示されている。その他は、実施の形態3または実施の形態4と同様である。ここでは、実施の形態6に関わる部分を中心に説明する。
【0124】
図18(1)において、各ノードは、TTLを記入した、またはTTL未記入のヘルスチェックパケットを両方のリングに一定周期で送信する(ステップST71)。図18(2)において、各ノードは、送信元IDを参照することにより、送信元ノード毎かつリング毎に、一定周期中の他ノード発ヘルスチェックパケットの到着状況を監視し(ステップST72)、到着状況に変化があるか否かを判断する(ステップST73)。ステップST73の判断結果、変化が見られない場合には(ステップST73:No)、監視処理を終了するが、変化が見られる場合には(ステップST73:Yes)、経路上の障害状態が変化したと認識し、一定期間のデータパケット受信禁止期間を設け(ステップST74)た後に監視処理を終了する。
【0125】
ここで、ステップST74で設定するデータパケット受信禁止期間における一定期間は、障害状態変化の発生から各ノード発のヘルスチェックパケットが各ノードに行き渡るまでの時間とし、ヘルスチェックパケット送信周期の1〜2倍程度としている。以上の処理は、前述した送信リング選択テーブルの生成ないしは更新の処理過程で実施される。その後、データパケットの送受信が以下のように実施される。
【0126】
図18(3)において、各ノードは、データパケットを送信リング選択テーブルに基づくリングに送信する(ステップST75)。図18(4)において、各ノードは、それぞれのリングから到着したデータパケットの宛先ノードIDを参照し(ステップST76)、他ノード宛データパケットであるか否かを判断する(ステップST77)。ステップST77の判断結果、他ノード宛データパケットである場合には(ステップST77:Yes)、TTL値を1つ減算し、リングに沿って中継する(ステップST78)。
【0127】
一方、ステップST77の判断結果、自ノード宛データパケットである場合には(ステップST77:No)、まずデータパケット受信禁止期間が設定済みであるか否かを判断する(ステップST79)。ステップST79の判断結果、データパケット受信禁止期間の設定がない場合には(ステップST79:No)、上述した手順で受信処理を行うが(ステップST82)、データパケット受信禁止期間が設定されている場合には(ステップST79:Yes)、次に、現在の期間がデータパケット受信禁止期間内であるか否かを判断する(ステップST80)。
【0128】
そして、ステップST80の判断結果、データパケット受信禁止期間内であれば(ステップST80:Yes)、当該到着した自ノード宛データパケットの廃棄処理をする(ステップST81)。一方、ステップST80の判断結果、データパケット受信禁止期間外であれば(ステップST80:No)、当該到着した自ノード宛データパケットをデータパケット処理部24に取り込み受信処理をする(ステップST82)。
【0129】
したがって、実施の形態6によれば、実施の形態3および実施の形態4と同様の効果が得られる。加えて、積極的にネットワークの障害状態の変化を監視し、データパケット受信禁止期間を設けるようにしたので、次のような優れた効果が得られる。すなわち、ネットワークの障害状態の変化が、各ノードの送信リング選択テーブルに反映されるまでの間、同一データパケットが両リングから宛先ノードに重複して到着する可能性がある。
【0130】
この場合でも、実施の形態6によれば、宛先ノードが両方から到着した自ノード宛データパケットが、上記のようにデータパケット受信禁止期間内であるとして強制的に廃棄される。その結果、上位レイヤの通信プロトコルによる再送を期待することができるので、ネットワークの信頼性をさらに向上させることができる。
【0131】
なお、この実施の形態6では、実施の形態3または実施の形態4への適用例を説明したが、実施の形態1または実施の形態2にも同様に適用できるものであり、同様の効果が得られる。また、実施の形態1〜6では、データパケットは、残存時間が付加される形式のものを示したが、残存時間が付加されない形式のデータパケットにも同様に適用できることは言うまでもない。
【0132】
実施の形態7.
図19〜図22は、この発明の実施の形態7である二重リングネットワークシステムで実施されるユニキャストデータパケットの送受信動作を説明する図である。なお、図19は、ユニキャストデータパケットの送信リング選択動作を説明するフローチャートである。図20は、ユニキャストデータパケットの受信動作を説明するフローチャートである。図21は、障害発生によるリング選択動作を説明する図である。図22は、図21でのリング選択動作における宛先ノードIDと送信リングとの関係を説明する図である。
【0133】
この実施の形態7では、図1に示したのと同様構成の二重リングネットワークシステムにおいて、図2に示したのと同様構成の各ノードが、ユニキャストデータパケット、つまり宛先ノードが1つのノードであるデータパケットの送信リングを宛先ノードの識別子に基づき選択する方法が示されている。なお、ユニキャストデータパケットおよびヘルスチェックパケットの構成は、図3に示したのと同様構成である。
【0134】
各ノードのヘルスチェックパケットに関わる動作は、以上説明した各実施の形態と同様である。ここでは、各ノードのユニキャストデータパケットに関わる動作について説明する。まず、図19を参照して、ユニキャストデータパケットの送信リング選択動作を説明する。図19に示した処理手順(ステップST90〜ST93)は、図5(1)(2)または図9(1)(2)にて説明した処理手順の実施後に実施される。
【0135】
図19において、各ノードは、送信元ノード毎かつリング毎に、一定周期中の自ノード発ヘルスチェックパケットの到着/未着を監視し(ステップST90)、以下の(1)〜(3)のように経路上の障害有無を判断し、ユニキャストデータパケットの送信リングを選択する。
【0136】
(1)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着した場合には、両リングは、共に正常と判断される。この場合には、各ノードは、送信するユニキャストデータパケットの宛先ノードID33を参照し、例えば、その宛先ノードID33の最下位ビットが、“0”の場合には1次リングを選択し、“1”の場合には2次リングを選択し、該当するリングにユニキャストデータパケットを送信する(ステップST91)。その結果、ユニキャストデータパケットは、宛先ノードに応じて両リングに分散されることになる。なお、送信リングを選択するために参照する宛先ノードID33におけるビット位置は、最下位ビットである必要はなく、任意位置のビットを参照ビットと定めてよいことは言うまでもない。
【0137】
(2)一定周期中に一方のリングのみから自ノード発ヘルスチェックパケットが到着した場合には、当該一方のリングのみが正常と判断される。この場合には、各ノードは、送信するユニキャストデータパケットの宛先ノードID33に依らず、前記正常と判断した一方のリングを選択し、ユニキャストデータパケットを送信する(ステップST92)。
【0138】
(3)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着しない場合には、両リングは、共に異常と判断される。この場合には、各ノードは、送信するユニキャストデータパケットの宛先ノードID33に依らず、両リングを選択し、ユニキャストデータパケットを送信する(ステップST93)。
【0139】
次に、図20を参照してユニキャストデータパケットの受信動作を説明する。図20において、各ノードは、各リングから到着したユニキャストデータパケットの宛先ノードID33を参照し(ステップST95)、他ノード宛ユニキャストデータパケットであるか否かを判断する(ステップST96)。ステップST96の判断結果、他ノード宛ユニキャストデータパケットの場合には(ステップST96:Yes)、TTL値を1つ減算し、リングに沿って中継する(ステップST97)。一方、ステップST96の判断結果、自ノード宛ユニキャストデータパケットの場合には(ステップST96:No)、当該ユニキャストデータパケットの受信処理を行う(ステップST98)。
【0140】
次に、図21,図22を参照して、以上説明した送受信動作をリングの障害発生と対応付けて具体的に説明する。図21では、5つのノード83〜87が二重リング1を介して接続された二重リングネットワークシステムが示されている。ここでは、(a)に示すように断線前の状態、(b)に示すようにノード84とノード85間の2次リング12が断線した状態、さらに(c)に示すようにノード84とノード85間の1次リング11が断線した状態のそれぞれにおいて、ノード85がノード83にユニキャストデータパケットを送信し、ノード83が受信する場合の送受信動作を説明する。
【0141】
前述したように、この実施の形態7では、送信リングの選択ルールとして、宛先ノードID33の例えば最下位ビットの論理値に意味を持たせ、各ノードは、両リングが共に健全である場合には、その最下位ビットの論理値に従って定められたリングを選択するようにしている。図22では、ノード85が他のノードに送信する場合のその送信リング選択ルールの具体例が示されている。
【0142】
図22に示すように、各ノードのID(宛先ノードID)は、全てのノードを表記できる桁数(図22では、3桁)の2進数で示される。すなわち、ノード83のIDは、“001”である。その最下位ビットは“1”であるので、ノード85は、ノード83への送信リングとして2次リングを選択する。ノード84のIDは、“010”である。その最下位ビットは“0”であるので、ノード85は、ノード84への送信リングとして1次リングを選択する。ノード85のIDは、“011”である。ノード86のIDは、“100”である。その最下位ビットは“0”であるので、ノード85は、ノード86への送信リングとして1次リングを選択する。ノード87のIDは、“101”である。その最下位ビットは“1”であるので、ノード85は、ノード87への送信リングとして2次リングを選択することになる。
【0143】
さて、図21において、断線前(図21(a))では、ノード85発ヘルスチェックパケットは、両リングからノード85に到着する。この場合には、ノード85は、ノード85発ユニキャストデータパケットの宛先ノードID33の最下位ビットの論理値に応じて図22に示すように送信リングを選択する。ここでは、ノード83に送信するので、ノード85は、ノード85発ノード83宛ユニキャストデータパケットを2次リング12に送信する。ノード83は、2次リング12から到着した自ノード宛ノード85発ユニキャストデータパケットの受信処理を行うことになる。
【0144】
次に、図21(b)に示すように、ノード84とノード85間の2次リング12が断線した状態では、ノード85発ヘルスチェックパケットは、1次リング11のみからノード85に到着する。この場合には、ノード85は、ユニキャストデータパケットの宛先ノードID33に依らず、送信リングとして1次リング11を選択する。つまり、ノード85は、ノード85発ノード83宛ユニキャストデータパケットを1次リング11に送信する。ノード83は、1次リング11から到着した自ノード宛ノード85発ユニキャストデータパケットの受信処理を行うことになる。
【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発ユニキャストデータパケットの受信処理を行うことになる。
【0146】
このように、実施の形態7によれば、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、ユニキャストデータパケットの送信リングとして、宛先ノード毎に到達可能なリングを速やかに選択することができる。したがって、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。
【0147】
また、両リングが正常な場合には、ユニキャストデータパケットは、宛先ノードに応じて両リングに分散されるので、リング上の伝送帯域を効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0148】
さらに、以上の説明からも理解できるように、障害発生によるリング選択処理は単純で、ソフトウェア処理に馴染まず、ハードウェア処理が好適であるので、リング選択の高速化が容易に実現できる。
【0149】
実施の形態8.
図23〜図25は、この発明の実施の形態8である二重リングネットワークシステムで実施されるマルチキャストデータパケットの送受信動作を説明する図である。なお、図23は、マルチキャストデータパケットおよびヘルスチェックパケットの構成例を示す図である。図24は、マルチキャストデータパケットの送信リング選択動作を説明するフローチャートである。図25は、マルチキャストデータパケットの受信動作を説明するフローチャートである。
【0150】
この実施の形態8では、図1に示したのと同様構成の二重リングネットワークシステムにおいて、図2に示したのと同様構成の各ノードが、マルチキャストデータパケット、つまり宛先ノードが複数のノードであるデータパケットの送信リングを複数の宛先ノードのグループを識別する識別子に基づき選択する方法が示されている。
【0151】
この実施の形態8で用いるマルチキャストデータパケットは、例えば、図23に示すように、図3に示した構成において、宛先ノードID33に代えてマルチキャストコネクションID92が設けられている。その他は、図3に示したのと同様構成である。
【0152】
マルチキャストコネクションID92は、複数の宛先ノードのグループを識別するための識別子である。なお、ヘルスチェックパケットでは、このマルチキャストコネクションID92は不使用であるので、実質的に図3に示したのと同様構成である。
【0153】
各ノードのヘルスチェックパケットに関わる動作は、以上説明した各実施の形態と同様である。ここでは、各ノードのマルチキャストデータパケットに関わる動作について説明する。まず、図24を参照して、マルチキャストデータパケットの送信リング選択動作を説明する。図24に示した処理手順(ステップST100〜ST103)は、図5(1)(2)または図9(1)(2)にて説明した処理手順の実施後に実施される。
【0154】
図24において、各ノードは、送信元ノード毎かつリング毎に、一定周期中の自ノード発ヘルスチェックパケットの到着/未着を監視し(ステップST100)、以下の(1)〜(3)のように経路上の障害有無を判断し、マルチキャストデータパケットの送信リングを選択する。
【0155】
(1)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着した場合には、両リングは、共に正常と判断される。この場合には、各ノードは、送信するマルチキャストデータパケットのマルチキャストコネクションID92を参照し、例えばそのマルチキャストコネクションID92の最下位ビットが“0”の場合には1次リングを選択し、“1”の場合には2次リングを選択し、該当するリングにマルチキャストデータパケットを送信する(ステップST101)。その結果、マルチキャストデータパケットは、宛先ノードに応じて両リングに分散されることになる。なお、送信リングを選択するために参照するマルチキャストコネクションIDにおけるビット位置は、最下位ビットである必要はなく、任意位置のビットを参照ビットと定めてよいことは言うまでもない。
【0156】
(2)一定周期中に一方のリングのみから自ノード発ヘルスチェックパケットが到着した場合には、当該一方のリングのみが正常と判断される。この場合には、各ノードは、送信するマルチキャストデータパケットのマルチキャストコネクションID92に依らず、前記正常と判断した一方のリングを選択し、マルチキャストデータパケットを送信する(ステップST102)。
【0157】
(3)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着しない場合には、両リングは、共に異常と判断される。この場合には、各ノードは、送信するマルチキャストデータパケットのマルチキャストコネクションID92に依らず、両リングを選択し、マルチキャストデータパケットを送信する(ステップST103)。
【0158】
次に、図25を参照してマルチキャストデータパケットの受信動作を説明する。なお、図25において、ステップ105〜ST107,ST111は、スイッチ部23での処理手順である。ステップ108〜ST111は、データパケット処理部24での処理手順である。
【0159】
図25において、各ノードのスイッチ部23は、各リングから到着したマルチキャストデータパケットの送信元ノードID34を参照し(ステップST105)、他ノード発マルチキャストデータパケットであるか否かを判断する(ステップST106)。ステップST106の判断結果、他ノード発マルチキャストデータパケットの場合には(ステップST106:Yes)、TTL値を1つ減算し、リングに沿って中継するとともに、取り込む(ステップST107)。一方、ステップST106の判断結果、自ノード発マルチキャストデータパケットの場合には(ステップST106:No)、当該マルチキャストデータパケットの廃棄処理を行う(ステップST111)。
【0160】
また、各ノードのデータパケット処理部24は、スイッチ部23が取り込んだマルチキャストデータパケットのマルチキャストコネクションID92を参照し(ステップST108)、自ノードが宛先ノードのグループに含まれるか否かを判断する(ステップST109)。ステップST109の判断結果、自ノードが宛先ノードのグループに含まれる場合には(ステップST109:Yes)、当該マルチキャストデータパケットの受信処理を行い(ステップST110)、含まれない場合には(ステップST109:No)、当該マルチキャストデータパケットの廃棄処理を行う(ステップST111)。
【0161】
このように、実施の形態8によれば、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、マルチキャストデータパケットの送信リングとして、宛先ノード毎に到達可能なリングを速やかに選択することができる。したがって、実施の形態7と同様に、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。
【0162】
また、両リングが正常な場合には、マルチキャストデータパケットは、宛先ノードに応じて両リングに分散されるので、実施の形態7と同様に、リング上の伝送帯域を効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0163】
さらに、以上の説明からも理解できるように、障害発生によるリング選択処理は単純で、ソフトウェア処理に馴染まず、ハードウェア処理が好適であるので、リング選択の高速化が容易に実現できる。
【0164】
実施の形態9.
図26は、この発明の実施の形態9である二重リングネットワークシステムの構成を示すブロック図である。図26において、二重リングネットワークシステムは、相反する方向性を持つ1次リング11と2次リング12とからなる二重リング1と、二重リング1を伝送媒体または回線として相互間が接続される複数のノード94−1〜94−nとで構成され、各ノードは、複数の端末を収容している。すなわち、ノード94−1には、複数の端末95が収容される。ノード94−2には、複数の端末96が収容される。ノード94−3には、複数の端末97が収容される。ノード94−4には、複数の端末98が収容される。ノード94−nには、複数の端末99が収容されている。
【0165】
図27は、図26に示すノードの内部構成例を示すブロック図である。図27に示すように、ノード100は、リングインタフェース部(リングI/F部)101,102とリングスイッチ部103とヘルスチェックパケット処理部104と支線スイッチ部105と支線インタフェース部(支線I/F部)106−1〜106−mとを備えている。
【0166】
リングI/F部101,102は、リングポート107,108に接続されるリング回線(1次リング11と2次リング12)を終端する。また、支線I/F部106−1〜106−mは、支線ポート109−1〜109−mに接続される端末回線を終端する。
【0167】
ヘルスチェックパケット処理部104は、リングスイッチ部103から渡されたヘルスチェックパケットを処理し、またリングスイッチ部103に渡すヘルスチェックパケットを処理する。ヘルスチェックパケットは、以上説明したように、自ノードの健全性を他ノードに通知するためのパケットである。
【0168】
リングスイッチ部103は、パケットの先頭部分に記された各種情報に基づきリングI/F部101,102、支線スイッチ部105およびヘルスチェックパケット処理部104の各部間で受け渡すパケットを交換する。
【0169】
支線スイッチ部105は、パケットの先頭部分に記された後述する宛先端末IDに基づき、複数の支線I/F部106−1〜106−mとリングスイッチ部103との間で受け渡すパケットを交換する。
【0170】
このような構成によって各ノードは、端末を収容する支線ポートとリング回線を収容するリングポートとの間でデータパケットであるユニキャストデータパケットを交換する。また、各端末間でユニキャストデータパケットを送受する際に、端末を収容するノード間で1次リングまたは2次リングを用いてユニキャストデータパケットを中継する動作を行うようになっている。
【0171】
図28は、実施の形態9で採用するユニキャストデータパケットおよびヘルスチェックパケットの構成例を示す図である。図28に示すように、実施の形態9で採用するユニキャストデータパケットは、図3に示した構成において、宛先ノードID33に代えて、宛先端末ID110が設けられている。その他は、図3に示した構成と同様である。宛先端末ID110は、宛先ノードに接続された端末の識別子である。この宛先端末ID110は、ヘルスチェックパケットでは、不使用であるので、ヘルスチェックパケットに関して、図3に示した構成と同様である。
【0172】
各ノードのヘルスチェックパケットに関わる動作は、以上説明した各実施の形態と同様である。ここでは、図29、図30を参照して、各ノードのユニキャストデータパケットに関わる動作について説明する。なお、図29は、ユニキャストデータパケットの送信リング選択動作を説明するフローチャートである。図30は、ユニキャストデータパケットの受信動作を説明するフローチャートである。
【0173】
まず、図29を参照して、ユニキャストデータパケットの送信リング選択動作を説明する。図29に示した処理手順(ステップST115〜ST118)は、図5(1)(2)または図9(1)(2)にて説明した処理手順の実施後に実施される。
【0174】
図29において、各ノードは、送信元ノード毎かつリング毎に、一定周期中の自ノード発ヘルスチェックパケットの到着/未着を監視し(ステップST115)、以下の(1)〜(3)のように経路上の障害有無を判断し、ユニキャストデータパケットの送信リングを選択する。
【0175】
(1)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着した場合には、両リングは、共に正常と判断される。この場合には、各ノードは、支線ポートからリングポートに交換して送信するユニキャストデータパケットの宛先端末ID110を参照し、例えば、その宛先端末ID110の最下位ビットが“0”の場合には1次リングを選択し、“1”の場合には2次リングを選択し、該当するリングにユニキャストデータパケットを送信する(ステップST116)。その結果、ユニキャストデータパケットは、宛先端末に応じて両リングに分散されることになる。なお、送信リングを選択するために参照する宛先端末ID110におけるビット位置は、最下位ビットである必要はなく、任意位置のビットを参照ビットと定めてよいことは言うまでもない。
【0176】
(2)一定周期中に一方のリングのみから自ノード発ヘルスチェックパケットが到着した場合には、当該一方のリングのみが正常と判断される。この場合には、各ノードは、支線ポートからリングポートに交換して送信するユニキャストデータパケットの宛先端末ID110に依らず、前記正常と判断した一方のリングを選択し、ユニキャストデータパケットを送信する(ステップST117)。
【0177】
(3)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着しない場合には、両リングは、共に異常と判断される。この場合には、各ノードは、支線ポートからリングポートに交換して送信するユニキャストデータパケットの宛先端末ID110に依らず、両リングを選択し、ユニキャストデータパケットを送信する(ステップST118)。
【0178】
次に、図30を参照してユニキャストデータパケットの受信動作を説明する。なお、図30において、ステップ120〜ST122,ST126は、リングスイッチ部103での処理手順である。ステップ123〜ST126は、支線スイッチ部105での処理手順である。
【0179】
図30において、各ノードのリングスイッチ部103は、各リングから到着したユニキャストデータパケットの送信元ノードID34を参照し(ステップST120)、他ノード発ユニキャストデータパケットであるか否かを判断する(ステップST121)。ステップST121の判断結果、他ノード発ユニキャストデータパケットの場合には(ステップST121:Yes)、TTL値を1つ減算し、リングに沿って中継するとともに、取り込む(ステップST122)。一方、ステップST121の判断結果、自ノード発ユニキャストデータパケットの場合には(ステップST121:No)、当該ユニキャストデータパケットの廃棄処理を行う(ステップST126)。
【0180】
また、各ノードの支線スイッチ部105は、リングスイッチ部103が取り込んだユニキャストデータパケットの宛先端末ID110を参照し(ステップST123)、自ノードが収容する端末宛であるか否かを判断する(ステップST124)。ステップST124の判断結果、自ノードが収容する端末宛である場合には(ステップST124:Yes)、当該ユニキャストデータパケットを該当する支線ポートに交換し(ステップST125)、自ノードが収容する端末宛でない場合には(ステップST124:No)、当該ユニキャストデータパケットの廃棄処理を行う(ステップST126)。
【0181】
このように、実施の形態9によれば、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、ユニキャストデータパケットの送信リングとして、宛先端末毎つまり宛先ノード毎に到達可能なリングを速やかに選択することができる。したがって、実施の形態7,8と同様に、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。
【0182】
また、各ノードが複数台の端末を収容し、ユニキャストデータパケットの宛先端末ID110に基づき交換するので、より大規模かつ柔軟なネットワークを構築することができる。
【0183】
さらに、以上の説明からも理解できるように、障害発生によるリング選択処理は単純で、ソフトウェア処理に馴染まず、ハードウェア処理が好適であるので、リング選択の高速化が容易に実現できる。
【0184】
実施の形態10.
図31と図32は、この発明の実施の形態10である二重リングネットワークシステムで実施されるマルチキャストデータパケットの送受信動作を説明するフローチャートである。なお、図31は、マルチキャストデータパケットの送信リング選択動作を説明するフローチャートである。図32は、マルチキャストデータパケットの受信動作を説明するフローチャートである。
【0185】
この実施の形態10では、図26に示したのと同様構成の二重リングネットワークシステムにおいて、図27に示したのと同様構成の各ノードが、図23に示す構成のマルチキャストデータパケットデータの送信リングを、複数の宛先端末のグループを識別する識別子に基づき選択する方法が示されている。
【0186】
つまり、図23に示すマルチキャストデータパケットにおけるマルチキャストコネクションID92は、この実施の形態10では、複数の宛先端末のグループを識別するための識別子として使用される。
【0187】
各ノードのヘルスチェックパケットに関わる動作は、以上説明した各実施の形態と同様である。ここでは、各ノードのマルチキャストデータパケットに関わる動作について説明する。まず、図31を参照して、マルチキャストデータパケットの送信リング選択動作を説明する。図31に示した処理手順(ステップST128〜ST131)は、図5(1)(2)または図9(1)(2)にて説明した処理手順の実施後に実施される。
【0188】
図31において、各ノードは、送信元ノード毎かつリング毎に、一定周期中の自ノード発ヘルスチェックパケットの到着/未着を監視し(ステップST128)、以下の(1)〜(3)のように経路上の障害有無を判断し、マルチキャストデータパケットの送信リングを選択する。
【0189】
(1)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着した場合には、両リングは、共に正常と判断される。この場合には、各ノードは、支線ポートからリングポートに交換して送信するマルチキャストデータパケットのマルチキャストコネクションID92を参照し、例えば、そのマルチキャストコネクションID92の最下位ビットが“0”の場合には1次リングを選択し、“1”の場合には2次リングを選択し、該当するリングにマルチキャストデータパケットを送信する(ステップST129)。その結果、マルチキャストデータパケットは、宛先端末に応じて両リングに分散されることになる。なお、送信リングを選択するために参照するマルチキャストコネクションID92におけるビット位置は、最下位ビットである必要はなく、任意位置のビットを参照ビットと定めてよいことは言うまでもない。
【0190】
(2)一定周期中に一方のリングのみから自ノード発ヘルスチェックパケットが到着した場合には、当該一方のリングのみが正常と判断される。この場合には、各ノードは、支線ポートからリングポートに交換して送信するマルチキャストデータパケットのマルチキャストコネクションID92に依らず、前記正常と判断した一方のリングを選択し、マルチキャストデータパケットを送信する(ステップST130)。
【0191】
(3)一定周期中に両方のリングから自ノード発ヘルスチェックパケットが到着しない場合には、両リングは、共に異常と判断される。この場合には、各ノードは、支線ポートからリングポートに交換して送信するマルチキャストデータパケットのマルチキャストコネクションID92に依らず、両リングを選択し、マルチキャストデータパケットを送信する(ステップST131)。
【0192】
次に、図32を参照してユニキャストデータパケットの受信動作を説明する。なお、図32において、ステップ133〜ST135,ST139は、リングスイッチ部103での処理手順である。ステップ136〜ST139は、支線スイッチ部105での処理手順である。
【0193】
図32において、各ノードのリングスイッチ部103は、各リングから到着したマルチキャストデータパケットの送信元ノードID34を参照し(ステップST133)、他ノード発マルチキャストデータパケットであるか否かを判断する(ステップST134)。ステップST134の判断結果、他ノード発マルチキャストデータパケットの場合には(ステップST134:Yes)、TTL値を1つ減算し、リングに沿って中継するとともに、取り込む(ステップST135)。一方、ステップST134の判断結果、自ノード発マルチキャストデータパケットの場合には(ステップST134:No)、当該マルチキャストデータパケットの廃棄処理を行う(ステップST139)。
【0194】
また、各ノードの支線スイッチ部105は、リングスイッチ部103が取り込んだマルチキャストデータパケットのマルチキャストコネクションID92を参照し(ステップST136)、自ノードが収容する端末が宛先端末のグループに含まれるか否かを判断する(ステップST137)。ステップST137の判断結果、自ノードが収容する端末が宛先端末のグループに含まれる場合には(ステップST137:Yes)、当該マルチキャストデータパケットを該当する支線ポートに交換し(ステップST138)、自ノードが収容する端末が宛先端末のグループに含まれない場合には(ステップST137:No)、当該マルチキャストデータパケットの廃棄処理を行う(ステップST139)。
【0195】
このように、実施の形態10によれば、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、マルチキャストデータパケットの送信リングとして、宛先端末毎に到達可能なリングを速やかに選択することができる。したがって、実施の形態7〜9と同様に、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。
【0196】
また、両リングが正常な場合には、マルチキャストデータパケットは、宛先端末つまり宛先ノードに応じて両リングに分散されるので、実施の形態7〜9と同様に、リング上の伝送帯域を効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0197】
さらに、各ノードが複数台の端末を収容し、マルチキャストデータパケットの宛先端末IDに基づき交換するので、実施の形態9と同様に、より大規模かつ柔軟なネットワークを構築することができる。
【0198】
加えて、以上の説明からも理解できるように、障害発生によるリング選択処理は単純で、ソフトウェア処理に馴染まず、ハードウェア処理が好適であるので、リング選択の高速化が容易に実現できる。
【0199】
実施の形態11.
図33は、この発明の実施の形態11である二重リングネットワークシステムで実施されるデータパケットの送信リング選択動作を説明するフローチャートである。この実施の形態11では、実施の形態7〜10にて説明した識別子を用いて送信リングを選択する方法の変形例が示されている。
【0200】
すなわち、図33において、各ノードは、一定周期中に両方のリングから自ノード発ヘルスチェックパケットの到着するのを監視する(ステップST140)。両方のリングから自ノード発ヘルスチェックパケットが到着する場合は、両リングは正常であると判断する。そして、送信するデータパケットの識別子の一部または全部に対して奇数パリティ等の所定の計算を施し、一意に決定されるランダムな1ビット値を求める(ステップST141)。次いで、その1ビット値の論理値を判断し(ステップST142)、1ビット値=“0”である場合は(ステップST142:Yes)、例えば1次リングを選択して送信する(ステップST143)一方、1ビット値=“0”でない場合は(ステップST142:No)、2次リングを選択して送信する(ステップST144)。
【0201】
したがって、実施の形態11によれば、両リングが正常な場合に、データパケットを両リングに均等に分配する確率をさらに向上させることができるので、リング上の伝送帯域をさらに効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0202】
【発明の効果】
以上説明したように、この発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、残存時間を記したヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットは残存時間を減算してリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、受信リング選択手段にて、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、残存時間のより多いヘルスチェックパケットが到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信手段にて、データパケットが両リングに送信され、到着した他ノード宛データパケットがリングに沿って中継される一方、到着した自ノード宛データパケットが前記受信リング選択手段の保持内容に基づき受信または廃棄することが行われる。このように、各ノードは、送信元ノードに対する受信リングの関係を自律的に生成して更新可能に保持するようにしたので、ノード構成の変化や障害の発生を速やかに検出し、それを保持内容に自律的に反映することができる。したがって、各ノードにノード接続順序を予め設定しておく必要がなく、管理が容易となる。また、各ノードは、ノードの組み合わせ毎にホップ数の多い、すなわち遅延時間の少ないリングから受信できるように送信元ノードに対する受信リングの関係を自律的に生成ないしは更新するので、ネットワークの性能を容易に向上させることができる。さらに、障害発生によるリング選択処理は上記のように単純で、ソフトウェア処理に馴染まず、ハードウェア処理が好適であるので、リング選択の高速化が容易に実現できる。
【0203】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットがリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、受信リング選択手段にて、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、ヘルスチェックパケットが先に到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信手段にて、データパケットが両リングに送信され、到着した他ノード宛データパケットはリングに沿って中継される一方、到着した自ノード宛データパケットは前記受信リング選択手段の保持内容に基づき受信または廃棄することが行われる。このように、送信元ノードに対する受信リングの関係を求める場合に、両リングから他ノード発ヘルスチェックパケットが到着した場合には、先に到着したリングを受信リングとして選択するので、ホップ数ばかりでなく、伝送路の距離や帯域を考慮して、遅延時間の少ないリングから受信するように送信元ノードに対する受信リングの関係を生成ないしは更新することができ、ネットワークの性能をさらに向上させることができる。
【0205】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択手段にて、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信ノード毎にヘルスチェックパケットが後に到着したリングを自ノード発前記他ノード宛データパケットの送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを全宛先ノードに共通の送信リングとして選択し、両リングから到着しない場合には、両リングを全宛先ノードに共通の送信リングとして選択することにより、宛先ノードに対する送信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信手段にて、データパケットが前記送信リング選択手段の保持内容に基づき両リングに送信され、到着した他ノード宛データパケットはリングに沿って中継される一方、到着した自ノード宛データパケットは受信される。このように、宛先ノードに対する送信リングの関係を求める場合に、両リングから他ノード発ヘルスチェックパケットが到着した場合には、後に到着したリングを送信リングとして選択するので、ホップ数ばかりでなく、伝送路の距離や帯域を考慮して、遅延時間の少ないリングに送信するように宛先ノードに対する送信リングの関係を生成ないしは更新することができ、リング上の伝送帯域を一層効率的に使用できるようになり、ネットワークの性能をさらに向上させることができる。
【0208】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、残存時間を記したヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットは残存時間を減算してリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、受信リング選択工程にて、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、残存時間のより多いヘルスチェックパケットが到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信工程にて、データパケットが両リングに送信され、到着した他ノード宛データパケットがリングに沿って中継される一方、到着した自ノード宛データパケットが前記受信リング選択テーブルの設定に基づき受信または廃棄することが行われる。このように、各ノードは、送信元ノードに対する受信リングの関係を自律的に生成して更新可能に保持するようにしたので、ノード構成の変化や障害の発生を速やかに検出し、それを保持内容に自律的に反映することができる。したがって、各ノードにノード接続順序を予め設定しておく必要がなく、管理が容易となる。また、各ノードは、ノードの組み合わせ毎にホップ数の多い、すなわち遅延時間の少ないリングから受信できるように送信元ノードに対する受信リングの関係を自律的に生成ないしは更新するので、ネットワークの性能を容易に向上させることができる。さらに、障害発生によるリング選択処理は上記のように単純で、ソフトウェア処理に馴染まず、ハードウェア処理が好適であるので、リング選択の高速化が容易に実現できる。
【0209】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットがリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、受信リング選択工程にて、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、ヘルスチェックパケットが先に到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信工程にて、データパケットが両リングに送信され、到着した他ノード宛データパケットはリングに沿って中継される一方、到着した自ノード宛データパケットは前記受信リング選択テーブルの設定に基づき受信または廃棄することが行われる。このように、送信元ノードに対する受信リングの関係を求める場合に、両リングから他ノード発ヘルスチェックパケットが到着した場合には、先に到着したリングを受信リングとして選択するので、ホップ数ばかりでなく、伝送路の距離や帯域を考慮して、遅延時間の少ないリングから受信するように送信元ノードに対する受信リングの関係を生成ないしは更新することができ、ネットワークの性能をさらに向上させることができる。
【0211】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択工程にて、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信ノード毎にヘルスチェックパケットが後に到着したリングを自ノード発前記他ノード宛データパケットの送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを全宛先ノードに共通の送信リングとして選択し、両リングから到着しない場合には、両リングを全宛先ノードに共通の送信リングとして選択することにより、宛先ノードに対する送信リングの関係が求められ更新可能に保持される。この状態で、データパケット送受信工程にて、データパケットが前記送信リング選択工程での保持内容に基づき両リングに送信され、到着した他ノード宛データパケットはリングに沿って中継される一方、到着した自ノード宛データパケットは受信される。このように、宛先ノードに対する送信リングの関係を求める場合に、両リングから他ノード発ヘルスチェックパケットが到着した場合には、後に到着したリングを送信リングとして選択するので、ホップ数ばかりでなく、伝送路の距離や帯域を考慮して、遅延時間の少ないリングに送信するように宛先ノードに対する送信リングの関係を生成ないしは更新することができ、リング上の伝送帯域を一層効率的に使用できるようになり、ネットワークの性能をさらに向上させることができる。
【0214】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択手段にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するユニキャストデータパケットの宛先ノード識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信手段にて、ユニキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード宛ユニキャストデータパケットはリングに沿って中継される。また、到着した自ノード宛ユニキャストデータパケットは受信処理される。このように、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、ユニキャストデータパケットの送信リングとして、宛先ノード毎に到達可能なリングを速やかに選択することができるので、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。また、両リングが正常な場合には、ユニキャストデータパケットは、宛先ノードに応じて両リングに分散されるので、リング上の伝送帯域を効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0215】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択手段にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先ノードのグループを識別する宛先ノードグループ識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信手段にて、マルチキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発マルチキャストデータパケットはリングに沿って中継されるとともに、受信処理が行われる。また、到着した自ノード発マルチキャストデータパケットは廃棄される。このように、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、マルチキャストデータパケットの送信リングとして、宛先ノード毎に到達可能なリングを速やかに選択することができるので、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。また、両リングが正常な場合には、マルチキャストデータパケットは、宛先ノードに応じて両リングに分散されるので、実施の形態7と同様に、リング上の伝送帯域を効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0216】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択手段にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するユニキャストデータパケットの宛先端末識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信手段にて、収容する端末から送られてきたユニキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発ユニキャストデータパケットはリングに沿って中継されるとともに、自ノードが収容する端末宛であるときはそのユニキャストデータパケットが当該収容端末に中継される。また、到着した自ノード発ユニキャストデータパケットは廃棄処理される。このように、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、ユニキャストデータパケットの送信リングとして、宛先端末毎つまり宛先ノード毎に到達可能なリングを速やかに選択することができるので、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。また、各ノードが複数台の端末を収容し、ユニキャストデータパケットの宛先端末の識別子に基づき交換するので、より大規模かつ柔軟なネットワークを構築することができる。
【0217】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信手段にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択手段にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先端末のグループを識別する宛先端末グループ識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信手段にて、収容する端末から送られてきたマルチキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発マルチキャストデータパケットはリングに沿って中継されるとともに、自ノードが収容する端末宛であるときはそのマルチキャストデータパケットが当該収容端末に中継される。また、到着した自ノード発マルチキャストデータパケットは廃棄される。このように、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、マルチキャストデータパケットの送信リングとして、宛先端末毎に到達可能なリングを速やかに選択することができるので、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。また、両リングが正常な場合には、マルチキャストデータパケットは、宛先端末つまり宛先ノードに応じて両リングに分散されるので、リング上の伝送帯域を効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0218】
つぎの発明によれば、上記の発明において、送信リング選択手段では、自ノード発ヘルスチェックパケットが両リングから到着した場合において、前記識別子の一部または全部に対して所定の計算を実施してランダムなビット値が求められ、そのビット値に応じて定められたリングが送信リングとして選択される。したがって、両リングが正常な場合に、データパケットを両リングに均等に分配する確率をさらに向上させることができるので、リング上の伝送帯域をさらに効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0219】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択工程にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するユニキャストデータパケットの宛先ノード識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信工程にて、ユニキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード宛ユニキャストデータパケットはリングに沿って中継される。また、到着した自ノード宛ユニキャストデータパケットは受信処理される。このように、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、ユニキャストデータパケットの送信リングとして、宛先ノード毎に到達可能なリングを速やかに選択することができるので、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。また、両リングが正常な場合には、ユニキャストデータパケットは、宛先ノードに応じて両リングに分散されるので、リング上の伝送帯域を効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0220】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択工程にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先ノードのグループを識別する宛先ノードグループ識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信工程にて、マルチキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発マルチキャストデータパケットはリングに沿って中継されるとともに、受信処理が行われる。また、到着した自ノード発マルチキャストデータパケットは廃棄される。このように、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、マルチキャストデータパケットの送信リングとして、宛先ノード毎に到達可能なリングを速やかに選択することができるので、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。また、両リングが正常な場合には、マルチキャストデータパケットは、宛先ノードに応じて両リングに分散されるので、実施の形態7と同様に、リング上の伝送帯域を効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0221】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択工程にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するユニキャストデータパケットの宛先端末識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信工程にて、収容する端末から送られてきたユニキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発ユニキャストデータパケットはリングに沿って中継されるとともに、自ノードが収容する端末宛であるときはそのユニキャストデータパケットが当該収容端末に中継される。また、到着した自ノード発ユニキャストデータパケットは廃棄処理される。このように、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、ユニキャストデータパケットの送信リングとして、宛先端末毎つまり宛先ノード毎に到達可能なリングを速やかに選択することができるので、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。また、各ノードが複数台の端末を収容し、ユニキャストデータパケットの宛先端末の識別子に基づき交換するので、より大規模かつ柔軟なネットワークを構築することができる。
【0222】
つぎの発明によれば、各ノードでは、ヘルスチェックパケット送受信工程にて、ヘルスチェックパケットが両リングに周期的に送信され、到着した他ノード発ヘルスチェックパケットはリングに沿って中継される一方、到着した自ノード発ヘルスチェックパケットは廃棄することが行われる。このようなヘルスチェックパケットが送受信される過程で、送信リング選択工程にて、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着が監視される。そして、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先端末のグループを識別する宛先端末グループ識別子の所定ビット位置のビットの論理値に応じて定められたリングが送信リングとして選択され、一方のリングのみから到着した場合には、当該一方のリングが送信リングとして選択され、両方のリングから到着しない場合は、両方のリングが送信リングとして選択される。その結果、データパケット送受信工程にて、収容する端末から送られてきたマルチキャストデータパケットが前記選択結果に基づくリングに送信される。そして、到着した他ノード発マルチキャストデータパケットはリングに沿って中継されるとともに、自ノードが収容する端末宛であるときはそのマルチキャストデータパケットが当該収容端末に中継される。また、到着した自ノード発マルチキャストデータパケットは廃棄される。このように、各ノードは、ヘルスチェックパケットを送信してノード構成の変化や障害の発生を速やかに検出し、マルチキャストデータパケットの送信リングとして、宛先端末毎に到達可能なリングを速やかに選択することができるので、各ノードに、リング上のノード接続順序と自ノードの位置を記したデータベースを予め設定しておく必要がなく、装置管理が容易となる。また、両リングが正常な場合には、マルチキャストデータパケットは、宛先端末つまり宛先ノードに応じて両リングに分散されるので、リング上の伝送帯域を効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【0223】
つぎの発明によれば、上記の発明において、送信リング選択工程では、自ノード発ヘルスチェックパケットが両リングから到着した場合において、前記識別子の一部または全部に対して所定の計算を実施してランダムなビット値が求められ、そのビット値に応じて定められたリングが送信リングとして選択される。したがって、両リングが正常な場合に、データパケットを両リングに均等に分配する確率をさらに向上させることができるので、リング上の伝送帯域をさらに効率的に使用することができ、ネットワークの性能を容易に向上させることができる。
【図面の簡単な説明】
【図1】 この発明の実施の形態1である二重リングネットワークシステムの構成を示す図である。
【図2】 図1に示すノードの内部構成例を示すブロック図である。
【図3】 実施の形態1で採用するデータパケットおよびヘルスチェックパケットの構成例を示す図である。
【図4】 実施の形態1で採用する受信リング選択テーブルの構成例を示す図である。
【図5】 実施の形態1に関わるヘルスチェックパケットの送受信に基づく受信リング選択テーブルの生成動作を説明するフローチャートである。
【図6】 実施の形態1に関わるデータパケットの送受信動作を説明するフローチャートである。
【図7】 実施の形態1に関わる障害発生によるリング選択動作を説明する図である。
【図8】 実施の形態1に関わる障害発生によるリング選択動作時に更新される受信リング選択テーブルの内容を説明する図である。
【図9】 この発明の実施の形態2である二重リングネットワークシステムで実施される受信リング選択テーブルの生成動作を説明するフローチャートである。
【図10】 この発明の実施の形態3である二重リングネットワークシステムで採用する送信リング選択テーブルの構成例を示す図である。
【図11】 実施の形態3に関わるヘルスチェックパケットの送受信に基づく送信リング選択テーブルの生成動作を説明するフローチャートである。
【図12】 実施の形態3に関わるデータパケットの送受信動作を説明するフローチャートである。
【図13】 実施の形態3に関わる障害発生によるリング選択動作を説明する図である。
【図14】 実施の形態3に関わる障害発生によるリング選択動作時に更新される送信リング選択テーブルの内容を説明する図である。
【図15】 この発明の実施の形態4である二重リングネットワークシステムで実施される送信リング選択テーブルの生成動作を説明するフローチャートである。
【図16】 この発明の実施の形態5である二重リングネットワークシステムで採用するデータパケットおよびヘルスチェックパケットの構成例を示す図である。
【図17】 実施の形態5に関わるデータパケットの送受信動作を説明するフローチャートである。
【図18】 この発明の実施の形態6である二重リングネットワークシステムで実施されるデータパケットの送受信動作を説明するフローチャートである。
【図19】 この発明の実施の形態7である二重リングネットワークシステムで実施されるユニキャストデータパケットの送信リング選択動作を説明するフローチャートである。
【図20】 この発明の実施の形態7である二重リングネットワークシステムで実施されるユニキャストデータパケットの受信動作を説明するフローチャートである。
【図21】 実施の形態7に関わる障害発生によるリング選択動作を説明する図である。
【図22】 図21でのリング選択動作における宛先ノードIDと送信リングとの関係を説明する図である。
【図23】 この発明の実施の形態8である二重リングネットワークシステムで採用するマルチキャストデータパケットおよびヘルスチェックパケットの構成例を示す図である。
【図24】 この発明の実施の形態8である二重リングネットワークシステムで実施されるマルチキャストデータパケットの送信リング選択動作を説明するフローチャートである。
【図25】 この発明の実施の形態8である二重リングネットワークシステムで実施されるマルチキャストデータパケットの受信動作を説明するフローチャートである。
【図26】 この発明の実施の形態9である二重リングネットワークシステムの構成を示すブロック図である。
【図27】 図26に示すノードの内部構成例を示すブロック図である。
【図28】 実施の形態9で採用するユニキャストデータパケットおよびヘルスチェックパケットの構成例を示す図である。
【図29】 この発明の実施の形態9である二重リングネットワークシステムで実施されるユニキャストデータパケットの送信リング選択動作を説明するフローチャートである。
【図30】 この発明の実施の形態9である二重リングネットワークシステムで実施されるユニキャストデータパケットの受信動作を説明するフローチャートである。
【図31】 この発明の実施の形態10である二重リングネットワークシステムで実施されるマルチキャストデータパケットの送信リング選択動作を説明するフローチャートである。
【図32】 この発明の実施の形態10である二重リングネットワークシステムで実施されるマルチキャストデータパケットの受信動作を説明するフローチャートである。
【図33】 この発明の実施の形態11である二重リングネットワークシステムで実施されるデータパケットの送信リング選択動作を説明するフローチャートである。
【図34】 従来の二重リングネットワークシステムの構成例を示す図である。
【図35】 図34に示す従来のノードの内部構成を示すブロック図である。
【符号の説明】
1 二重リング、2−1〜2−n,20,51〜55,71〜75,83〜87,94−1〜94−n,100 ノード、11 1次リング、12 2次リング、21,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、92 マルチキャストコネクションID、110 宛先端末ID。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a double ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions, and the plurality of nodes are transmission lines, etc. The present invention relates to a ring selection method for switching a ring to be transmitted or received in order to detect a failure and to avoid the failure.
[0002]
[Prior art]
Conventionally, as a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line consisting of a double ring of a primary ring and a secondary ring having opposite directions, for example, JP-A-8-181710 is known. What is disclosed in a gazette (ring-type ATM network system) is known. The outline will be described below with reference to FIGS. FIG. 34 is a configuration example of a conventional dual ring network system. FIG. 35 is a block diagram showing an internal configuration of the conventional node shown in FIG.
[0003]
In FIG. 34, the dual ring network system is connected to each other using a dual ring 153 composed of a primary ring 151 and a secondary ring 152 having opposite directions and a dual ring 153 as a transmission medium or line. 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]
As illustrated in FIG. 35, the node 200 includes ring interface units (ring I / F units) 201 and 202, a switch unit 203, and a data packet processing unit 204. Ring I / F units 201 and 202 terminate ring lines (primary ring 151 and secondary ring 152) connected to ring ports 205 and 206. The data packet processing unit 204 processes the data packet passed from the switch unit 203 and processes the data packet passed to the switch unit 203.
[0005]
The switch unit 203 refers to the destination node ID written in the data packet and performs packet switching as shown in (1) to (3) below. (1) When the data packet arriving from the ring I / F units 201 and 202 is addressed to the own node, the data packet is transferred 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. (3) The data packet arriving from the data packet processing unit 204 is transferred to the ring I / F units 201 and 202 and sent to the duplex ring 153.
[0006]
Conventionally, each node is provided with a database describing the node connection order on the ring and the position of the node. Each node constructs in advance a transmission ring selection table describing, for example, a ring with a small number of via nodes (hereinafter referred to as “hop number”) for each combination of nodes based on the database.
[0007]
Next, the operation will be described. If 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 detects the failure of the transmission path or the adjacent node notifies the network management packet to all 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, transmits a data packet to one ring.
[0008]
[Problems to be solved by the invention]
However, the ring selection method in the conventional dual ring network system has the following problems (1) to (3), and it is difficult to increase the speed by hardware processing.
[0009]
(1) Since it is necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, each node database is manually moved each time a node is moved, added, or deleted. Must be updated at.
[0010]
(2) When a ring with a small number of hops is selected and transmitted, each node needs to generate in advance a transmission ring selection table describing a ring with a small number of hops for each combination of nodes. Updating of the transmission ring selection table is complicated when a node is moved, added, or deleted.
[0011]
(3) Each node that has recognized a transmission path or node failure due to arrival of a network management packet needs to refer to the database, extract the affected path, and reflect it in the ring selection table, which is complicated. It is.
[0012]
As described above, in the conventional ring selection method, the update of the database and the transmission ring selection table is complicated, and software processing is appropriate. Therefore, it is difficult to increase the speed by hardware processing.
[0013]
The present invention has been made in view of the above, and obtains a dual ring network system and a ring selection method provided with a mechanism for quickly switching a ring transmitted or received by each node when a failure occurs in a transmission line or the like. For the purpose.
[0014]
[Means for Solving the Problems]
In order to achieve the above object, a dual ring network system according to the present invention includes a plurality of nodes via a transmission medium or a circuit composed of a primary ring and a secondary ring having opposite directions. In the dual ring network system to be connected, the plurality of nodes periodically transmit health check packets indicating the remaining time to both rings, and subtract the remaining time of the arrived health check packets from other nodes. A health check packet transmission / reception means for discarding the arrived health check packet originating from the own node, and in the process of transmitting / receiving the health check packet, If it arrives from both rings, the health check with more remaining time is monitored. The ring from which the other packet originated is selected as the receiving ring for the data packet originating from the other node, and when the ring arrives from only one of the rings, by selecting the one ring as the receiving ring for the data packet originating from the other node, Receiving ring selection means for obtaining the relationship of the receiving ring with the source node and holding it updatable, and transmitting the data packet to both rings and relaying the arriving data packet addressed to the other node along the ring, while the arriving own node Data packet transmitting / receiving means for receiving or discarding the addressed data packet based on the contents held by the receiving ring selecting means is provided.
[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, and the arrived health check packet originating from another node subtracts the remaining time. The received health check packet originating from the own node is discarded while being relayed along the ring. In the process in which such health check packets are sent and received, the receiving ring selection means monitors the arrival / non-arrival of health check packets originating from other nodes for each transmission source node. A ring in which a health check packet having a longer time arrives is selected as a reception ring for the data packet originating from the other node, and when the ring arrives only from one ring, the other ring is used as a reception ring for the data packet originating from the other node Is selected, and the relationship of the reception ring with respect to the transmission source node is obtained and held updatable. In this state, in the data packet transmission / reception means, 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 received data packet addressed to the own node is the reception ring selection means Reception or discarding is performed based on the stored content.
[0016]
A double ring network system according to the next invention is a double ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. The plurality of nodes periodically transmit health check packets to both rings, relay the health check packets originating from other nodes along the ring, and discard the health check packets originating from the own node. In the process of transmitting / receiving the health check packet with the check packet transmission / reception means, the arrival / non-arrival of the health check packet originating from the other node is monitored for each transmission source node. The ring that arrives first is the receiving ring for the data packet originating from the other node. If it is selected and arrives from only one ring, the one ring is selected as a reception ring for the data packet originating from the other node, thereby obtaining the relationship of the reception ring with respect to the transmission source node and holding it updatable. Ring selection means, and transmits data packets to both rings and relays the arrived data packet addressed to the other node along the ring, while receiving the received data packet addressed to its own node based on the contents held in the reception ring selection means or And a data packet transmission / reception means to be discarded.
[0017]
According to the present invention, in each node, the health check packet transmission / reception means periodically transmits the health check packet to both rings, and the arrived health check packet from another node is relayed along the ring while arriving. The received health check packet originated from the own node is discarded. In the process of sending and receiving such health check packets, the receiving ring selection means monitors arrival / non-arrival of health check packets originating from other nodes for each transmission source node. The ring in which the check packet arrives first is selected as the reception ring for the data packet originating from the other node, and if it arrives from only one ring, the one ring is selected as the reception ring for the data packet originating from the other node As a result, the relationship of the reception ring with respect to the transmission source node is obtained and held updatable. In this state, in the data packet transmission / reception means, 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 received data packet addressed to the own node is the reception ring selection means Reception or discarding is performed based on the stored content.
[0020]
A double ring network system according to the next invention is a double ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. The plurality of nodes periodically transmit health check packets to both rings, relay the health check packets originating from other nodes along the ring, and discard the health check packets originating from the own node. In the process of transmitting / receiving the health check packet with the check packet transmission / reception means, the arrival / non-arrival of the health check packet is monitored for each transmission source node. The ring that the health check packet arrived later for each sending node If the node is selected as the transmission ring for the data packet whose destination node is the destination node and arrives from only one ring, the one ring is selected as the transmission ring common to all destination nodes and does not arrive from both rings The transmission ring selection means for obtaining the relationship of the transmission ring with respect to the destination node and holding it updatable by selecting both rings as the transmission ring common to all the destination nodes, and holding the data packet in the transmission ring selection means Data packet transmitting / receiving means for transmitting to both rings based on the contents, relaying the data packet addressed to the other node along the ring, and receiving the data packet addressed to its own node arrived.
[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 from other nodes is relayed along the ring while arriving. The received health check packet originated from the own node is discarded. When such a health check packet is sent and received, the transmission ring selection means monitors the arrival / non-arrival of the health check packet for each transmission source node, and the health check packet originating from both nodes arrives from both rings In this case, the ring on which the health check packet arrives later is selected as the transmission ring for the data packet addressed to the other node from the own node, and when the ring arrives from only one ring, the one ring is all destinations. If a node is selected as a common transmit ring and does not arrive from both rings, both rings are selected as a common transmit ring for all destination nodes, so that the relationship of the transmit ring with respect to the destination node is determined and maintained updatable. Is done. In this state, the data packet transmitting / receiving means transmits the data packet to both rings based on the contents held by the transmission ring selecting means, and the arrived data packet addressed to the other node is relayed along the ring. The data packet addressed to the node is received.
[0026]
A ring selection method in a dual ring network system according to the next invention is a method in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. In the ring selection method in a multi-ring network system, the plurality of nodes periodically transmit health check packets indicating the remaining time to both rings, and subtract the remaining time of the arrived health check packets from other nodes. The health check packet transmission / reception step of discarding the arrival of the health check packet originating from the own node, and the process of transmitting / receiving the health check packet, and the health check packet originating from the other node for each source node The arrival / not-arrival is monitored. Select the ring that received more health check packets as the receiving ring for the data packet originating from the other node, and if it arrived from only one ring, select that one ring as the receiving ring for the data packet originating from the other node The receiving ring selection step of obtaining the relationship of the receiving ring with respect to the transmission source node and holding it updatable, while transmitting the data packet to both rings and relaying the data packet addressed to the other node along the ring, And a data packet transmission / reception step of receiving or discarding the data packet addressed to the own node based on the content held in the reception ring selection step.
[0027]
According to this 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 from another node subtracts the remaining time. The received health check packet originating from the own node is discarded while being relayed along the ring. In the process of sending and receiving such health check packets, the receiving ring selection process monitors the arrival / non-arrival of health check packets from other nodes for each source node. A ring in which a health check packet having a longer time arrives is selected as a reception ring for the data packet originating from the other node, and when the ring arrives only from one ring, the other ring is used as a reception ring for the data packet originating from the other node Is selected, and the relationship of the reception ring with respect to the transmission source node is obtained and held updatable. 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 received data packet addressed to the own node is the reception ring selection table. Reception or discarding is performed based on the setting.
[0028]
A ring selection method in a dual ring network system according to the next invention is a method in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. A ring selection method in a heavy ring network system, wherein the plurality of nodes periodically transmit health check packets to both rings and relay the arrived health check packets from other nodes along the ring, while arriving The health check packet transmission / reception process for discarding the health check packet originating from the own node, and the arrival / non-arrival of the health check packet originating from other nodes are monitored for each transmission source node in the process of transmitting / receiving the health check packet, and both rings If it arrives from the ring, the health check packet arrives first. When receiving from only one ring, the receiving ring for the data packet originating from the other node is selected as the receiving ring for the data packet originating from the other node. Receiving ring selection step for obtaining the relationship between the received ring and the data packet transmitted to both rings and relaying the data packet addressed to the other node along the ring while receiving the data packet addressed to the own node And a data packet transmission / reception step of receiving or discarding based on the content held in the ring selection step.
[0029]
According to the present invention, in each node, in the health check packet transmission / reception step, health check packets are periodically transmitted to both rings, and arrived health check packets from other nodes are relayed along the ring while arriving. The received health check packet originated from the own node is discarded. In the process of sending and receiving such health check packets, the receiving ring selection process monitors the arrival / non-arrival of health check packets originating from other nodes for each transmission source node. The ring in which the check packet arrives first is selected as the reception ring for the data packet originating from the other node, and if it arrives from only one ring, the one ring is selected as the reception ring for the data packet originating from the other node As a result, the relationship of the reception ring with respect to the transmission source node is obtained and held updatable. In this state, in the data packet transmission / reception step, the data packet is transmitted to both rings, and the data packet addressed to the other node is relayed along the ring, while the data packet addressed to the own node is received by the reception ring selection table. Reception or discarding is performed based on the setting.
[0032]
A ring selection method in a dual ring network system according to the next invention is a method in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. A ring selection method in a heavy ring network system, wherein the plurality of nodes periodically transmit health check packets to both rings and relay the arrived health check packets from other nodes along the ring, while arriving The health check packet transmission / reception process for discarding the health check packet originating from the own node and the arrival / non-arrival of the health check packet for each transmission source node during the process of transmitting / receiving the health check packet If a packet arrives from both rings, The ring that the check packet arrives later is selected as the transmission ring for the data packet whose destination node is the other node, and when it arrives from only one ring, that one ring is the common transmission ring for all destination nodes If both nodes do not receive health check packets from their own nodes, both rings are selected as transmission rings common to all destination nodes, and the relationship of the transmission rings with respect to the destination nodes is obtained and held updatable. A transmission ring selection step, and the data packet is transmitted to both rings based on the contents held in the transmission ring selection step, and relayed along the ring of data packets addressed to other nodes, while the data packet addressed to its own node is And a data packet transmitting / receiving step for receiving.
[0033]
According to the present invention, in each node, in the health check packet transmission / reception process, the health check packet is periodically transmitted to both rings, and the arrived health check packet from the other node is relayed along the ring while arriving. The received health check packet originated from the own node is discarded. In the process of sending and receiving such health check packets, when the transmission ring selection process monitors the arrival / non-arrival of health check packets for each source node, and the health check packets originating from both nodes arrive from both rings In this case, the ring on which the health check packet arrives later is selected as the transmission ring for the data packet addressed to the other node from the own node, and when the ring arrives from only one ring, the one ring is all destinations. If a node is selected as a common transmit ring and does not arrive from both rings, both rings are selected as a common transmit ring for all destination nodes, so that the relationship of the transmit ring with respect to the destination node is determined and maintained updatable. Is done. 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 data packet addressed to the other node arrives while being relayed along the ring. The data packet addressed to the own node is received.
[0038]
A double ring network system according to the next invention is a double ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. The plurality of nodes periodically transmit health check packets to both rings, relay the health check packets originating from other nodes along the ring, and discard the health check packets originating from the own node. In the process of transmitting / receiving the health check packet with the check packet transmission / reception means, the arrival / non-arrival of the health check packet originating from the own node is monitored for each transmission source node. According to the logical value of the bit at the predetermined bit position of the destination node identifier of the data packet If a ring specified in the above is selected as a transmission ring and arrives from only one ring, the other ring is selected as a transmission ring, and if it does not arrive from both rings, both rings are selected as transmission rings. A transmission ring selection means for selecting, a unicast data packet is transmitted to the ring based on the selection result, the unicast data packet addressed to the other node is relayed along the ring, and the unicast data packet addressed to its own node is Data packet transmission / reception means for receiving processing is provided.
[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 from other nodes is relayed along the ring while arriving. The received health check packet originated from the own node is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means monitors the arrival / non-arrival of the own node-originated health check packet for each transmission 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 node identifier of the unicast data packet to be transmitted is selected as the transmission ring, and arrives from only one ring. In such a case, one of the rings is selected as a transmission ring, and when both rings do not arrive, both rings are selected as transmission rings. As a result, the data packet transmitting / receiving means transmits a 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 received unicast data packet addressed to the own node is subjected to reception processing.
[0040]
A double ring network system according to the next invention is a double ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. The plurality of nodes periodically transmit health check packets to both rings, relay the health check packets originating from other nodes along the ring, and discard the health check packets originating from the own node. In the process of transmitting / receiving the health check packet to / from the check packet transmission / reception means, the arrival / non-arrival of the health check packet originating from the own node is monitored for each source node. Destination node group that identifies a group of multiple destination nodes for the packet If a ring determined according to the logical value of a bit at a predetermined bit position of the group identifier is selected as a transmission ring and arrives from only one ring, the one ring is selected as a transmission ring, and both rings are selected. If not, the transmission ring selection means for selecting both rings as the transmission ring, and the multicast data packet is transmitted to the ring based on the selection result, and the multicast data packet originating from the other node is relayed along the ring And a data packet transmission / reception means for performing reception processing and discarding the arriving 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 from other nodes is relayed along the ring while arriving. The received health check packet originated from the own node is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means monitors the arrival / non-arrival of the own node-originated health check packet for each transmission source node. Then, when arriving from both rings, a ring determined according to a logical value of a bit at a predetermined bit position of a destination node group identifier for identifying a group of a plurality of destination nodes of a multicast data packet to be transmitted is used as a transmission ring. If it is selected and arrives from only one ring, then that one ring is selected as the transmit ring, and if it does not arrive from both rings, both rings are selected as transmit rings. As a result, the multicast data packet is transmitted to the ring based on the selection result by the data packet transmitting / receiving means. Then, the arrived multicast data packet from the other node is relayed along the ring and a reception process is performed. In addition, the multicast data packet originating from the own node is discarded.
[0042]
A double ring network system according to the next invention is a double ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. The plurality of nodes periodically transmit health check packets to both rings, relay the health check packets originating from other nodes along the ring, and discard the health check packets originating from the own node. In the process of transmitting / receiving the health check packet with the check packet transmission / reception means, the arrival / non-arrival of the health check packet is monitored for each transmission source node. Predetermined bit position of destination terminal identifier of unicast data packet to be transmitted If a ring defined according to the logical value of the bit of is selected as a transmission ring and arrives from only one ring, select that one ring as a transmission ring, and if it does not arrive from both rings, A transmission ring selection means for selecting both rings as transmission rings, and a unicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result, and the unicast data packet originating from the other node is transmitted to the ring. Data packet transmission / reception means that relays the unicast data packet to the accommodating terminal when the node is addressed to the terminal accommodated by the own node and discards the arriving unicast data packet originating from the own node. It is characterized by that.
[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 from other nodes is relayed along the ring while arriving. The received health check packet originated from the own node is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means monitors the arrival / non-arrival of the own node-originated health check packet for each transmission 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. In such a case, one of the rings is selected as a transmission ring, and when both rings do not arrive, both rings are selected as transmission rings. As a result, the data packet transmission / reception means transmits the unicast data packet transmitted from the accommodated terminal to the ring based on the selection result. The arrived unicast data packet from another node is relayed along the ring, and when it is addressed to the terminal accommodated by the own node, the unicast data packet is relayed to the accommodated terminal. In addition, the arriving unicast data packet originating from the own node is discarded.
[0044]
A double ring network system according to the next invention is a double ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. The plurality of nodes periodically transmit health check packets to both rings, relay the health check packets originating from other nodes along the ring, and discard the health check packets originating from the own node. In the process of transmitting / receiving the health check packet with the check packet transmission / reception means, the arrival / non-arrival of the health check packet is monitored for each transmission source node. A group of multiple destination terminals for multicast data packets to be sent A ring determined according to the logical value of a bit at a predetermined bit position of another destination terminal group identifier is selected as a transmission ring, and when arriving from only one ring, that one ring is selected as a transmission ring. , If not arriving from both rings, transmitting ring selecting means for selecting both rings as transmitting rings, and transmitting multicast data packets sent from the accommodating terminals to the ring based on the selection result Data that relays node-origin multicast data packets along the ring, relays the multicast data packet to the accommodating terminal when addressed to the terminal accommodated by the own node, and discards the incoming multicast data packet originated from the own node And a packet transmission / reception means.
[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 from other nodes is relayed along the ring while arriving. The received health check packet originated from the own node is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means monitors the arrival / non-arrival of the own node-originated health check packet for each transmission source node. Then, when arriving from both rings, a ring determined according to a logical value of a bit at a predetermined bit position of a destination terminal group identifier for identifying a group of a plurality of destination terminals of a multicast data packet to be transmitted is used as a transmission ring. If it is selected and arrives from only one ring, then that one ring is selected as the transmit ring, and if it does not arrive from both rings, both rings are selected as transmit rings. As a result, the data packet transmission / reception means transmits the multicast data packet sent from the accommodated terminal to the ring based on the selection result. The arriving 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 accommodating terminal. In addition, the 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 may determine whether or not a part or all of the identifiers are predetermined when the health check packets originating from both nodes arrive from both rings. And calculating a random bit value, and selecting a ring determined according to the bit value as a transmission ring.
[0047]
According to the present invention, in the above invention, the transmission ring selection means performs a predetermined calculation on a part or all of the identifiers when the self-node-originating health check packets arrive from both rings, and randomly And a ring determined according to the bit value is selected as a transmission ring.
[0048]
A ring selection method in a dual ring network system according to the next invention is a method in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. A ring selection method in a heavy ring network system, wherein the plurality of nodes periodically transmit health check packets to both rings and relay the arrived health check packets from other nodes along the ring, while arriving The health check packet transmission / reception process for discarding the health check packet originating from the own node, and the arrival / non-arrival of the health check packet originating from the own node are monitored for each transmission source node in the process of transmitting / receiving the health check packet, and both rings The destination node of the unicast data packet to be sent. If a ring defined according to the logical value of a bit at a predetermined bit position of the transmission identifier is selected as a transmission ring and arrives from only one ring, the one ring is selected as a transmission ring, and both rings are selected. If not, the transmission ring selection step of selecting both rings as the transmission ring, the unicast data packet is transmitted to the ring based on the selection result, and the arrived unicast data packet addressed to the other node is transmitted along the ring. And a data packet transmission / reception step of receiving and processing the received unicast data packet addressed to the own node.
[0049]
According to the present invention, in each node, in the health check packet transmission / reception process, the health check packet is periodically transmitted to both rings, and the arrived health check packet from the other node is relayed along the ring while arriving. The received health check packet originated 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 transmission 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 node identifier of the unicast data packet to be transmitted is selected as the transmission ring, and arrives from only one ring. In such a case, one of the rings is selected as a transmission ring, and when both rings do not arrive, both rings are selected as transmission rings. As a result, in the data packet transmission / reception step, a 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 received unicast data packet addressed to the own node is subjected to reception processing.
[0050]
A ring selection method in a dual ring network system according to the next invention is a method in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. In the multiple ring network system, the plurality of nodes periodically transmit health check packets to both rings and relay the arrived health check packets from other nodes along the ring, while arriving at the own node. In the health check packet transmission / reception process of discarding the packet and the process of transmitting / receiving the health check packet, the arrival / non-arrival of the health check packet originating from the own node is monitored for each transmission source node. A group of multiple destination nodes for multicast data packets to be sent A ring determined according to a logical value of a bit at a predetermined bit position of the destination node group identifier to be identified is selected as a transmission ring, and when arriving from only one ring, the one ring is selected as a transmission ring. If both rings do not arrive, a transmission ring selection step for selecting both rings as transmission rings, and a multicast data packet is transmitted to the ring based on the selection result. And a data packet transmission / reception step of performing reception processing and discarding the multicast data packet originating from the own node.
[0051]
According to the present invention, in each node, in the health check packet transmission / reception process, the health check packet is periodically transmitted to both rings, and the arrived health check packet from the other node is relayed along the ring while arriving. The received health check packet originated 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 transmission source node in the transmission ring selection step. Then, when arriving from both rings, a ring determined according to a logical value of a bit at a predetermined bit position of a destination node group identifier for identifying a group of a plurality of destination nodes of a multicast data packet to be transmitted is used as a transmission ring. If it is selected and arrives from only one ring, then that one ring is selected as the transmit ring, and if it does not arrive from both rings, both rings are selected as transmit rings. As a result, in the data packet transmission / reception step, the multicast data packet is transmitted to the ring based on the selection result. Then, the arrived multicast data packet from the other node is relayed along the ring and a reception process is performed. In addition, the multicast data packet originating from the own node is discarded.
[0052]
A ring selection method in a dual ring network system according to the next invention is a method in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. In the multiple ring network system, the plurality of nodes periodically transmit health check packets to both rings and relay the arrived health check packets from other nodes along the ring, while arriving at the own node. In the health check packet transmission / reception process for discarding the packet and the process for transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet is monitored for each transmission source node, and the health check packet originating from both nodes arrives from both rings The destination of the unicast data packet to be sent When a ring defined according to the logical value of the bit at the predetermined bit position of the end identifier is selected as a transmission ring and arrives from only one ring, the one ring is selected as a transmission ring, and both rings are selected. If not, the unicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result, and the unicast originating from the other node arrived. Data that relays the cast data packet along the ring and, when addressed to the terminal accommodated by the own node, relays the unicast data packet to the accommodated terminal and discards the arriving unicast data packet originating from the own node And a packet transmission / reception step.
[0053]
According to the present invention, in each node, in the health check packet transmission / reception process, the health check packet is periodically transmitted to both rings, and the arrived health check packet from the other node is relayed along the ring while arriving. The received health check packet originated 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 transmission 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 identifier of the unicast data packet to be transmitted is selected as the transmission ring, and arrives from only one ring. In such a case, one of the rings is selected as a transmission ring, and when both rings do not arrive, both rings are selected as transmission rings. As a result, in the data packet transmission / reception step, the unicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result. The arrived unicast data packet from another node is relayed along the ring, and when it is addressed to the terminal accommodated by the own node, the unicast data packet is relayed to the accommodated terminal. In addition, the arriving unicast data packet originating from the own node is discarded.
[0054]
A ring selection method in a dual ring network system according to the next invention is a method in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions. In the multiple ring network system, the plurality of nodes periodically transmit health check packets to both rings and relay the arrived health check packets from other nodes along the ring, while arriving at the own node. In the health check packet transmission / reception process for discarding the packet and the process for transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet is monitored for each transmission source node, and the health check packet originating from both nodes arrives from both rings If this happens, duplicate multicast data packets to be transmitted When a ring defined according to the logical value of a bit at a predetermined bit position of a destination terminal group identifier for identifying a destination terminal group is selected as a transmission ring, and only one ring arrives, Is selected as a transmission ring, and if both rings do not arrive, a transmission ring selection step of selecting both rings as transmission rings, and a multicast data packet sent from a terminal that accommodates the ring to the ring based on the selection result Transmits and arrives multicast data packets originating from other nodes along the ring, and when addressed to a terminal accommodated by the own node, relays the multicast data packet to the accommodated terminal and arrives at the multicast data originating from the own node Data packet transmission / reception process for discarding packets It is characterized in.
[0055]
According to the present invention, in each node, in the health check packet transmission / reception process, the health check packet is periodically transmitted to both rings, and the arrived health check packet from the other node is relayed along the ring while arriving. The received health check packet originated 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 transmission source node in the transmission ring selection step. Then, when arriving from both rings, a ring determined according to a logical value of a bit at a predetermined bit position of a destination terminal group identifier for identifying a group of a plurality of destination terminals of a multicast data packet to be transmitted is used as a transmission ring. If it is selected and arrives from only one ring, then that one ring is selected as the transmit ring, and if it does not arrive from both rings, both rings are selected as transmit rings. As a result, in the data packet transmission / reception step, the multicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result. The arriving 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 accommodating terminal. In addition, the multicast data packet originating from the own node is discarded.
[0056]
The ring selection method in the dual ring network system according to the next invention is the above-described invention, wherein the transmission ring selection step includes a part or all of the identifier when the self-node health check packet arrives from both rings. The method includes a step of performing a predetermined calculation with respect to and obtaining 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-mentioned invention, in the transmission ring selection step, when self-node-originated health check packets arrive from both rings, a predetermined calculation is performed on some or all of the identifiers and random And a ring determined according to the bit value is selected as a transmission ring.
[0058]
DETAILED DESCRIPTION OF THE INVENTION
Exemplary embodiments of a dual ring network system and a ring selection method according to the present invention will be explained below in detail with reference to the accompanying drawings.
[0059]
Embodiment 1 FIG.
FIG. 1 is a block diagram showing an overall configuration of a dual ring network system according to Embodiment 1 of the present invention. In FIG. 1, a double ring network system is connected to each other using a double ring 1 composed of a primary ring 11 and a secondary ring 12 having opposite directions, and the double ring 1 as a transmission medium or line. And a plurality of nodes 2-1 to 2-n. In the first embodiment, in this dual ring network system, data packets and health check packets are transmitted / received between arbitrary nodes via the primary ring 11 or the secondary ring 12.
[0060]
FIG. 2 shows an example of the internal configuration 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 units 21 and 22 terminate ring lines (primary ring 11 and secondary ring 12) connected to ring ports 26 and 27. The data packet processing unit 24 processes the data packet passed from the switch unit 23 and processes the data packet passed to the switch unit 23.
[0061]
The health check packet processing unit 25 processes the health check packet passed from the switch unit 23 and processes the health check packet passed to the switch unit 23. The health check packet is a packet for notifying other nodes of the soundness of the own node. Details of the processing will be described later.
[0062]
The switch unit 23 refers to the packet type and destination node ID written in the packet (data packet and health check packet), and performs packet exchange as shown in (1) to (3) below. (1) When a packet arriving from the ring I / 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 a health check packet. The data is passed to the 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, the packet is transferred to the other of the ring I / F units 21 and 22. That is, relay. (3) 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 are passed to the ring I / F units 21 and 22 and transmitted to the duplex ring 1.
[0063]
FIG. 3 is a configuration example of a packet (data packet and health check packet). In FIG. 3, the packets (data packet and health check packet) employed in the first embodiment are packet type 31, TTL (Time To Live) 32, destination node ID 33, source node ID 34, check code 35, and packet data. 36.
[0064]
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 a packet that circulates indefinitely from the ring without receiving a recipient due to a destination node leaving or the like. The source node enters the initial value. As the initial value, a value greater than the number of nodes on the ring is used. The relay node subtracts one TTL value. When a packet with TTL = 0 arrives at any node, the packet is discarded.
[0065]
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. The check code 35 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 main body of the packet.
[0066]
FIG. 4 is a configuration example of the reception ring selection table. The reception ring selection table employed in the first embodiment describes the reception ring 42 selected to receive the data packet for each transmission source node ID 41. However, the contents differ for each node. Note that this reception ring selection table does not mean a table managed by software, but includes, for example, a flip-flop group that holds the reception ring 42 selected for each transmission source node ID 41.
[0067]
Next, the operation of each node will be described with reference to FIGS. FIG. 5 is a flowchart for explaining the generation operation of the reception ring selection table based on the transmission / reception of the health check packet. FIG. 6 is a flowchart for explaining a 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 updated during the ring selection operation due to the occurrence of a failure.
[0068]
First, the generation operation of the reception ring selection table will be described. In FIG. 5 (1), each node transmits a health check packet in which the value of TTL 32 is entered to both rings at a constant cycle (step ST1). In FIG. 5B, each node refers to the transmission source node ID 34 of the health check packet arriving from each ring (step ST2), and whether or not the arrived health check packet is a health check packet originating from its own node. Is determined (step ST3). If the result of the determination in step ST3 is a self-node-origin health check packet (step ST3: Yes), a discard process is performed (step ST4). If the result of the determination in step ST3 is a health check packet originating from another node (step ST3: No), the packet is taken into the health check packet processing unit 25, and the value of TTL32 is decremented by 1 and relayed along the ring. (Step ST5).
[0069]
In FIG. 5 (3), each node monitors arrival / non-arrival of health check packets originating from other nodes during a certain period for each source node and for each ring in the relaying process (step ST6). As shown in (1) to (3), the presence / absence of a failure on the route is determined, and the contents of the reception ring selection table are generated or updated.
[0070]
(1) When a health check packet originating from another node arrives from both rings during a certain period, both paths from the other node to the own node are determined 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 has arrived becomes the reception ring of the data packet whose other node is the transmission source node (step ST7). As a result, data packets can be received from a ring with a small number of hops.
[0071]
(2) When a health check packet originating from another node arrives from only one ring during a certain period, only the route from which the health check packet has arrived is judged normal among both routes from the other node to its own node Is done. In this case, the reception ring selection table is set so that the ring in which the health check packet has arrived 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, a data packet can be received from the updated normal ring.
[0072]
(3) When the health check packets originating from other nodes do not arrive from both rings during a certain period, it is determined that both paths from the other node to the own node are abnormal. In this case, since the data packet whose other node is the transmission source node cannot be received, the content of the reception ring selection table is not updated (step ST9).
[0073]
Next, a data packet transmission / reception operation will be described. In FIG. 6 (1), each node transmits data packets 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 ST12), and determines whether the data packet is directed to another node (step ST13). If the result of determination in step ST13 is a data packet addressed to another node (step ST13: Yes), one TTL value is subtracted and relayed along the ring (step ST14).
[0074]
On the other hand, if the result of the determination in step ST13 is a data packet addressed to its own node (step ST13: No), the source node ID of the data packet is referred to (step ST15), and the ring that has received the data packet is the receiving ring. It is determined whether or not it matches the ring held in the selection table (step ST16). If the results of the determination in step ST16 match (step ST16: Yes), the data packet is fetched into the data packet processing unit 24 and subjected to reception processing (step ST17). On the other hand, if the result of determination in step ST16 does not match (step ST16: No), the data packet is discarded (step ST18).
[0075]
Next, the ring selection operation due to the occurrence of a failure will be described. FIG. 7 shows a dual ring network system in which five nodes 51 to 55 are connected via a dual ring 1. Here, when 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 this case will be described. 8 shows the transition state of the reception ring selection table of the node 51. In the source node ID 41 column, # 1 is an ID assigned to the node 51, # 2 is an ID assigned to the node 52, # 3 is an ID assigned to the node 53, # 4 is an ID assigned to the node 54, and # 5 is an ID assigned to the node 55.
[0076]
Before the disconnection (FIG. 7A), since the health check packets from nodes 52 to 55 arrive at the node 51 from both rings, the reception ring selection table of the node 51 is generated as shown in FIG. 8A. Is done. In FIG. 8A, in the column of the reception ring 42, no reception ring is set for the node 51 (transmission source node ID # 1), but the node 52 (transmission source node ID # 2) and the node 53 (transmission source) The reception ring for the node ID # 3) is set as the secondary ring 12. The reception ring for the node 54 (source node ID # 4) and the node 55 (source node ID # 5) is set as the primary ring 11.
[0077]
At the time of data packet transmission / reception, the node 51 takes in the data packet addressed to the node 53 originating from the secondary ring 12 based on the reception ring selection table, and the data originating from the node 53 arriving from the primary ring 11. The packet is discarded. 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]
Next, as shown in FIG. 7B, when the secondary ring 12 between the node 52 and the node 53 is disconnected, the health check packet from the node 52 arrives at the node 51 from both rings. ~ 55 health check packets arrive only from the primary ring 11. As a result, the reception ring selection table of the node 51 updates the reception ring for the node 53 (transmission source node ID # 3) to the primary ring 11 as shown in FIG. 8B. The nodes 52 (source node ID # 2), 54 (source node ID # 4), and 55 (source node ID # 5) are the same as before disconnection.
[0079]
Therefore, at the time of data packet transmission / reception, the node 51 takes in the data packet addressed to the node 53 originating from the primary ring 11 based on the updated reception ring selection table. Since the secondary ring 12 is disconnected, the data packet from the node 53 does not arrive from the secondary ring 12.
[0080]
As described above, according to the first embodiment, each node autonomously generates a reception ring selection table, quickly detects a change in node configuration or occurrence of a failure, and autonomously reflects the reception ring selection table. can do. Therefore, it is not necessary to set in advance a database that stores the node connection order on the ring and the position of the own node in association with each node, and management becomes easy.
[0081]
In addition, each node autonomously generates or updates the reception ring selection table so that it can be received from a ring with a small number of hops, that is, with a small delay time for each node combination, so that network performance can be easily improved. Can do.
[0082]
Furthermore, as can be understood from the above description, the ring selection processing due to the occurrence of a failure is simple, and is not familiar with software processing, and hardware processing is preferable. Therefore, speeding up of the ring selection can be easily realized.
[0083]
Embodiment 2. FIG.
FIG. 9 is a flowchart for explaining a reception ring selection table generation operation performed 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, a method of generating a reception ring selection table without using the remaining time (TTL) of the health check packet described in the first embodiment is shown. ing. The internal configuration of each node, the packet configuration, and transmission / reception are the same as in the first embodiment. Here, a method for generating a reception ring selection table according to the second embodiment will be described.
[0084]
In FIG. 9, the same reference numerals are given to processing procedures that are the same as or equivalent to the processing procedures illustrated in FIG. 5. In FIG. 9 (1), each node transmits a health check packet to both rings at a constant cycle (step ST21). In FIG. 9 (2), each node refers to the transmission source node ID 34 of the health check packet arriving from each ring (step ST2), and when the arrived health check packet is a health check packet originating from its own node. (Step ST3: Yes), a discard process is performed (step ST4). If it is a health check packet originating from another node (step ST3: No), unlike the first embodiment, it is relayed as it is along the ring (step ST22).
[0085]
In FIG. 9 (3), each node monitors arrival / non-arrival of health check packets from other nodes during a certain period for each source node and for each ring (step ST6), and the following (1) to ( As shown in 3), the presence / absence of a failure on the route is determined, and the contents of the reception ring selection table are generated or updated.
[0086]
(1) When a health check packet originating from another node arrives from both rings during a certain period, both paths from the other node to the own node are determined to be normal. In this case, unlike the first embodiment, the reception ring selection table is set so that the ring in which the health check packet has arrived 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 bandwidth is selected as a data packet receiving ring. That is, it can be said that one ring in which the health check packet arrives first has a shorter delay time because the total distance of the transmission path is shorter than the other ring that arrived later. Also, if the transmission band between the nodes is different for each section, the delay time between the two rings is different, so that it may be said that the delay time of one ring where the health check packet has arrived first is also short.
[0087]
(2) When a health check packet originating from another node arrives from only one ring during a certain period, only the route from which the health check packet has arrived is judged normal among both routes from the other node to its own node Is done. In this case, as in the first embodiment, the reception ring selection table is set so that the ring in which the health check packet has arrived is the reception ring of the data packet whose other node is the transmission source node (step ST8). ).
[0088]
(3) When the health check packets originating from other nodes do not arrive from both rings during a certain period, it is determined that both paths from the other node to the own node are abnormal. In this case, as in the first embodiment, it is impossible to receive a data packet in which the other node is a transmission source node, so the content of the reception ring selection table is not updated (step ST9).
[0089]
Therefore, according to the second embodiment, the same effect as in the first embodiment can be obtained. In addition, the reception ring selection table is generated or updated to receive from a ring with a small delay time in consideration of not only the number of hops but also the distance and bandwidth of the transmission path, so that the performance of the network is further improved. be able to.
[0090]
Embodiment 3 FIG.
FIG. 10 is a diagram showing a configuration example of a transmission ring selection table employed in the dual ring network system according to the third embodiment of the present invention. In this third embodiment, in the dual ring network system shown in FIG. 1, a ring selection in the event of a failure is made by using a transmission ring selection table instead of the reception ring selection table shown in the first and second embodiments. A configuration example in the case of performing is shown. The internal configuration of the node is the same as in FIG. 2, and the configuration of the packet is the same as in FIG. Here, the description will be focused on the portion related to the third embodiment.
[0091]
The transmission ring selection table employed in the third embodiment describes a transmission ring 62 that transmits a data packet for each destination node ID 61, as shown in FIG. The contents differ for each node. Note that this transmission ring selection table does not mean a table managed by software, but includes, for example, a flip-flop group that holds the transmission ring 62 selected for each destination node ID 61.
[0092]
Next, the operation of each node will be described with reference to FIGS. FIG. 11 is a flowchart for explaining a generation operation of a transmission ring selection table based on transmission / reception of health check packets. FIG. 12 is a flowchart for explaining a 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 updated during the ring selection operation due to the occurrence of a failure.
[0093]
First, the generation operation of 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. 5. Here, the description will be focused on the portion related to the third embodiment.
[0094]
In FIG. 11 (1), each node transmits a health check packet in which the value of TTL 32 is entered to both rings at a constant cycle (step ST1). In FIG. 11 (2), each node refers to the transmission source node ID 34 of the health check packet arriving from each ring (step ST2), and whether or not the arrived health check packet is a health check packet originating from its own node. Is determined (step ST3). If the result of the determination in step ST3 is a self-node-origin health check packet (step ST3: Yes), a discard process is performed (step ST4). If the result of the determination in step ST3 is a health check packet originating from another node (step ST3: No), the packet is taken into the health check packet processing unit 25, and the value of TTL32 is decremented by 1 and relayed along the ring. (Step ST5).
[0095]
In FIG. 11 (3), each node refers to the transmission source ID in the relaying process, thereby arriving / unarriving the health check packet originating from its own node during a certain period for each transmission source node and for each ring. Monitor (step ST6), determine the presence / absence of a failure on the route as shown in (1) to (3) below, and generate or update the contents of the transmission ring selection table.
[0096]
(1) When the health check packet originating from both nodes arrives from both rings during a certain period, both rings are determined to be normal. In this case, the transmission ring selection table is set so that the ring in which the health check packet originated from another node having a smaller TTL value arrives is used as the transmission ring of the data packet whose destination node is the destination node (step ST31). . The fact that the TTL value of the arrival health check packet from the other node is smaller means that the number of hops to the other node is small when tracing backward from the own node. Therefore, a data packet can be transmitted from the ring with a small number of hops to the other node. Further, since the transmission source node transmits only to one ring of the duplex ring 1, the transmission band on the ring can be used more effectively than when transmitting to both rings.
[0097]
(2) When a self-node-originated health check packet arrives from only one ring during a certain period, it is determined that only that one ring is normal. In this case, the transmission ring selection table is set so that the ring on which the health check packet has arrived is the data packet transmission ring, common to all destination nodes (step ST32).
[0098]
(3) When the health check packets originating from both nodes do not arrive from both rings during a certain period, both rings are determined to be abnormal. In this case, a transmission ring selection table is set so that both rings are data packet transmission rings in common for all destination nodes (step ST33).
[0099]
Next, a 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 of the rings. In FIG. 12 (2), since data packets arrive at both nodes from both rings, the destination node ID 33 of the data packet arriving from each ring is referred to (step ST42), and whether the data packet is addressed to another node. It is determined whether or not (step ST43). If the result of determination in step ST43 is a data packet addressed to another node (step ST43: Yes), the TTL value is decremented by 1 and relayed along the ring (step ST44). On the other hand, if the result of the determination in step ST43 is a data packet addressed to the own node (step ST43: No), the data packet is taken into the data packet processing unit 24 and received (step ST45).
[0100]
As described above, since the data packet arrives from only one ring at the destination node, that is, since it does not arrive redundantly from both rings, discard processing (step ST18) as shown in FIG. 6 does not occur. That is, the transmission band on the ring can be effectively used.
[0101]
Next, the ring selection operation due to the occurrence of a failure will be described. FIG. 13 shows a dual ring network system in which five nodes 71 to 75 are connected via the dual ring 1. Here, when the node 73 is transmitting a 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 in addition to the secondary ring 12 is disconnected between the node 72 and the node 73 as shown in FIG. 14 shows the transition state of the transmission ring selection table of the node 73. In the destination node ID 61 column, # 1 is an ID assigned to the node 71, # 2 is an ID assigned to the node 72, # 3 is an ID assigned to the node 73, # 4 is an ID assigned to the node 74, and # 5 is an ID assigned to the node 75.
[0102]
Before disconnection (FIG. 13A), health check packets from nodes 71 to 75 arrive at the node 73 from both rings. In the node 73, the TTL values are compared for each transmission source node, and the transmission ring selection table of the node 73 is generated as shown in FIG. In FIG. 14A, the transmission ring for the node 73 (destination node ID # 3) is not set in the field of the transmission ring 62, but the node 71 (destination node ID # 1) and the node 72 (destination node ID #) are not set. The transmission ring for 2) is set as the secondary ring 12. The transmission ring for the node 74 (destination node ID # 4) and the node 75 (destination node ID # 5) is set as the primary ring 11.
[0103]
At the time of data packet transmission / reception, the node 73 transmits the data packet addressed to the node 71 from the node 73 to the secondary ring 12 based on the transmission ring selection table. The node 71 takes in the data packet from the node 73 that has arrived 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]
Next, as shown in FIG. 13B, when the secondary ring 12 between the node 72 and the node 73 is disconnected, the self-node health check packet arrives at the node 73 only from the primary ring 11. As a result, the transmission ring selection table of the node 73 indicates that the transmission ring for the node 71 (destination node ID # 1) and the node 72 (destination node ID # 2) is the primary ring 11 as shown in FIG. Updated. The nodes 74 (destination node ID # 4) and 75 (destination node ID # 5) are the same as before disconnection.
[0105]
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 takes in the data packet from the node 73 that has arrived from the primary ring 11.
[0106]
Further, as shown in FIG. 13C, when the primary ring 11 between the node 72 and the node 73 is disconnected and both the rings are disconnected, the node 73 receives a health check packet from its own node from both rings. Will not arrive. As a result, the node 73 (destination node ID # 1), node 72 (destination node ID # 2), node 74 (destination node ID # 4) is stored in the transmission ring selection table of the node 73 as shown in FIG. ), The transmission ring for the node 75 (destination node ID # 5) is updated to the primary ring 11 and the secondary ring 12, respectively.
[0107]
The node 73 transmits the data packet addressed to the node 71 from the node 73 to both rings based on the transmission ring selection table updated so that both the rings are the transmission rings. The node 71 takes in the data packet from the node 73 that has arrived 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]
Therefore, according to the third embodiment, the same effect as in 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 network The performance can be further improved.
[0109]
Embodiment 4 FIG.
FIG. 15 is a flowchart for explaining a transmission ring selection table generation operation performed in the dual ring network system according to the fourth embodiment of the present invention. In the fourth embodiment, in the dual ring network system shown in FIG. 1, a method for generating a transmission ring selection table without using the remaining time (TTL) of the health check packet described in the third embodiment is shown. ing. That is, the fourth embodiment corresponds to the second embodiment. The internal configuration of each node, the packet configuration, and transmission / reception are the same as in the third embodiment. Here, a method for generating a transmission ring selection table according to the fourth embodiment will be described.
[0110]
In FIG. 15, the same reference numerals are assigned to the processing procedures that are the same as or equivalent to the processing procedures illustrated in FIGS. 9 and 11. In FIG. 15 (1), each node transmits a health check packet to both rings at a constant cycle (step ST21). In FIG. 15B, each node refers to the transmission source node ID 34 of the health check packet arriving from each ring (step ST2), and whether or not the arrived health check packet is a health check packet originating from its own node. Is determined (step ST3). If the result of the determination in step ST3 is a self-node-origin health check packet (step ST3: Yes), a discard process is performed (step ST4). If the result of the determination in step ST3 is a health check packet originating from another node (step ST3: No), the health check packet originating from another node is relayed as it is along the ring (step ST22).
[0111]
In FIG. 15 (3), each node monitors the arrival / non-arrival of its own node-derived health check packet during a certain period in the course of relaying for each source node and for each ring (step ST6). As shown in (1) to (3), the presence or absence of a failure on the route is determined, and the contents of the transmission ring selection table are generated or updated.
[0112]
(1) When the health check packet originating from both nodes arrives from both rings during a certain period, both rings are determined to be normal. In this case, unlike the third embodiment, the transmission ring selection table is set so that the ring in which the health check packet arrives later is the transmission ring of the data packet whose destination node is the other node (step ST51). ). As a result, a data packet can be transmitted from the ring with 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 duplex ring 1, so that the transmission band on the ring can be used more effectively than when transmitting to both rings. become.
[0113]
(2) When a self-node-originated health check packet arrives from only one ring during a certain period, it is determined that only that one ring is normal. In this case, as in the third embodiment, the transmission ring selection table is set so that the ring in which the health check packet has arrived is the data packet transmission ring, common to all destination nodes (step ST32).
[0114]
(3) When the health check packets originating from both nodes do not arrive from both rings during a certain period, both rings are determined to be abnormal. In this case, as in the third embodiment, the transmission ring selection table is set so that both rings are data packet transmission rings in common for all destination nodes (step ST33).
[0115]
Therefore, according to the fourth embodiment, the same effect as in 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 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 transmission band on the ring is further increased. The network can be used efficiently, and the performance of the network can be further improved.
[0116]
Embodiment 5 FIG.
FIG. 16 is a diagram showing a configuration example of a data packet and a health check packet employed in the dual ring network system according to the fifth embodiment of the present invention. In the fifth embodiment, a data packet transmission / reception method different from that described in the third or fourth embodiment is shown. Others are the same as those in the third embodiment or the fourth embodiment. Here, the description will be focused on the portion related to the fifth embodiment.
[0117]
As shown in FIG. 16, the packet employed in the fifth embodiment has a sequence number 81 added to the packet configuration shown in FIG. The sequence number 81 is a serial number assigned to the data packet in order for each transmission source node. This sequence number 81 is not used in the case of a health check packet.
[0118]
Next, a data packet transmission / reception operation according to the fifth embodiment will be described with reference to a flowchart shown in FIG. In FIG. 17 (1), each node transmits the data packet to which the sequence number 81 is added to the ring based on the transmission ring selection table (step ST61). In FIG. 17 (2), each node refers to the destination node ID of the data packet arriving from each ring (step ST62), and determines whether or not the data packet is directed to another node (step ST63). If the result of the determination in step ST63 is a data packet addressed to another node (step ST63: Yes), the TTL value is decremented by 1 and relayed along the ring (step ST64).
[0119]
On the other hand, if the result of the determination in step ST63 is a data packet addressed to the own node (step ST63: No), the sequence number is referred to (step ST65), and the sequence of the same-node-origin data packet fetched immediately before by the sequence number It is determined whether or not it is larger than the number (step ST66). If the result of determination in step ST66 is that the sequence number is greater than the sequence number of the data packet originating from the same node that was fetched immediately before (step ST66: Yes), the data packet is likely to be the next data packet. The data is taken into the processing unit 24 and received (step ST67). On the other hand, if the result of determination in step ST66 is that the sequence number is equal to or smaller than the sequence number of the data packet originating from the same node fetched immediately before (step ST66: No), the duplicate arrival that occurred in the transient state at the time of ring switching is detected. Since the possibility is high, the disposal process is performed (step ST68).
[0120]
Therefore, according to the fifth embodiment, the same effect as in the third and fourth embodiments can be obtained. In addition, since the data packet has a sequence number, the following excellent effects can be obtained. That is, there is a possibility that the same data packet arrives at the destination node redundantly from both rings until the change in the failure state of the network is reflected in the transmission ring selection table of each node.
[0121]
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 can be further improved. it can.
[0122]
In the fifth embodiment, the application example to the third embodiment or the fourth embodiment has been described. However, the fifth embodiment can be similarly applied to the first embodiment or the second embodiment, and the same effect can be obtained. can get.
[0123]
Embodiment 6 FIG.
FIG. 18 is a flowchart for explaining a data packet transmission / reception operation performed in the dual ring network system according to the sixth embodiment of the present invention. In the sixth embodiment, a data packet transmission / reception method different from that described in the third or fourth embodiment is shown. Others are the same as those in the third embodiment or the fourth embodiment. Here, the description will focus on the parts related to the sixth embodiment.
[0124]
In FIG. 18 (1), each node transmits a health check packet in which TTL is written or TTL is not written to both rings at a constant cycle (step ST71). In FIG. 18 (2), each node monitors the arrival status of health check packets originating from other nodes during a certain period for each source node and each ring by referring to the source ID (step ST72). It is determined whether or not the arrival status has changed (step ST73). If no change is found as a result of the determination in step ST73 (step ST73: No), the monitoring process is terminated. If a change is seen (step ST73: Yes), the failure state on the route has changed. And the monitoring process is terminated after providing a data packet reception prohibition period of a certain period (step ST74).
[0125]
Here, the fixed period in the data packet reception prohibition period set in step ST74 is the time from the occurrence of the failure state change until the health check packet originating from each node reaches each node, and is 1 to 2 of the health check packet transmission cycle. About twice as much. The above processing is performed in the process of generating or updating the transmission ring selection table described above. Thereafter, transmission / reception of data packets is performed as follows.
[0126]
In FIG. 18 (3), each node transmits a 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 ST76), and determines whether or not the data packet is directed to another node (step ST77). If the result of the determination in step ST77 is a data packet addressed to another node (step ST77: Yes), the TTL value is decremented by one and relayed along the ring (step ST78).
[0127]
On the other hand, if the result of the determination in step ST77 is a data packet addressed to its own node (step ST77: No), it is first determined whether or not a data packet reception prohibition period has been set (step ST79). If the result of determination in step ST79 is that there is no data packet reception prohibition period (step ST79: No), reception processing is performed according to the procedure described above (step ST82), but the data packet reception prohibition period is set. Then (step ST79: Yes), it is then determined whether or not the current period is within the data packet reception inhibition period (step ST80).
[0128]
If the result of determination in step ST80 is within the data packet reception prohibition period (step ST80: Yes), the received data packet addressed to its own node is discarded (step ST81). On the other hand, if the result of the determination in step ST80 is that it is outside the data packet reception prohibition period (step ST80: No), the received data packet addressed to its own node is taken into the data packet processing unit 24 and subjected to reception processing (step ST82).
[0129]
Therefore, according to the sixth embodiment, the same effect as in the third and fourth embodiments can be obtained. In addition, since the change in the failure state of the network is actively monitored and the data packet reception prohibition period is provided, the following excellent effects can be obtained. That is, there is a possibility that the same data packet arrives at the destination node redundantly from both rings until the change in the failure state of the network is reflected in the transmission ring selection table of each node.
[0130]
Even in this case, according to the sixth embodiment, the data packet addressed to the own node from which the destination node has arrived from both is forcibly discarded as being within the data packet reception prohibition period as described above. As a result, it is possible to expect retransmission by a higher-layer communication protocol, so that the reliability of the network can be further improved.
[0131]
In the sixth embodiment, the application example to the third embodiment or the fourth embodiment has been described. However, the sixth embodiment can be similarly applied to the first embodiment or the second embodiment, and the same effect can be obtained. can get. In the first to sixth embodiments, the data packet has a format in which the remaining time is added. Needless to say, the data packet can be similarly applied to a data packet in a format in which the remaining time is not added.
[0132]
Embodiment 7 FIG.
19 to 22 are diagrams for explaining a unicast data packet transmission / reception operation performed in the dual ring network system according to the seventh embodiment of the present invention. FIG. 19 is a flowchart for explaining a transmission ring selection operation of a unicast data packet. FIG. 20 is a flowchart for explaining a receiving operation of a unicast data packet. FIG. 21 is a diagram for explaining the ring selection operation due to the occurrence of a failure. 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]
In the seventh embodiment, in the dual ring network system having the same configuration as shown in FIG. 1, each node having the same configuration as shown in FIG. 2 is a unicast data packet, that is, a node having one destination node. A method for selecting a transmission ring of a data packet based on an identifier of a destination node is shown. The configurations of the unicast data packet and the health check packet are the same as those shown in FIG.
[0134]
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, a transmission ring selection operation of a unicast data packet will be described with reference to FIG. The processing procedure (steps ST90 to ST93) shown in FIG. 19 is performed after the processing procedure described in FIG. 5 (1) (2) or FIG. 9 (1) (2) is performed.
[0135]
In FIG. 19, each node monitors the arrival / non-arrival of the health check packet originating from its own node during a certain period for each source node and for each ring (step ST90), and the following (1) to (3) In this way, the presence / absence of a failure on the route is determined, and the transmission ring of the unicast data packet is selected.
[0136]
(1) When health check packets originating from both nodes arrive from both rings during a certain period, both rings are determined to be normal. In this case, each node refers to the destination node ID 33 of the unicast data packet to be transmitted. For example, when the least significant bit of the destination node ID 33 is “0”, the primary ring is selected and “ In the case of 1 ″, a secondary ring is selected, and a unicast data packet is transmitted to the corresponding ring (step ST91). As a result, unicast data packets are distributed to both rings according to the destination node. Needless to say, the bit position in the destination node ID 33 to be referred to select the transmission ring does not need to be the least significant bit, and a bit at an arbitrary position may be determined as the reference bit.
[0137]
(2) When a self-node-originated health check packet arrives from only one ring during a certain period, it is determined that only that one ring is normal. In this case, each node selects 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) When the health check packets originating from both nodes do not arrive from both rings during a certain period, both rings are determined 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]
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 ST95), and determines whether it is a unicast data packet addressed to another node (step ST96). If the result of determination in step ST96 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 ST97). On the other hand, if the result of determination in step ST96 is a unicast data packet addressed to the own node (step ST96: No), reception processing of the unicast data packet is performed (step ST98).
[0140]
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. FIG. 21 shows a dual ring network system in which five nodes 83 to 87 are connected via a dual ring 1. Here, the state before the disconnection as shown in (a), the secondary ring 12 between the node 84 and the node 85 is disconnected as shown in (b), and the node 84 and the node as shown in (c). A transmission / reception operation when the node 85 transmits a unicast data packet to the node 83 and receives the node 83 in each of the states where the primary ring 11 between 85 is disconnected will be described.
[0141]
As described above, in the seventh embodiment, as a selection rule for the transmission ring, for example, the logical value of the least significant bit of the destination node ID 33 is given a meaning, and when both the rings are healthy, The ring determined according to the logical value of the least significant bit is selected. FIG. 22 shows a specific example of the transmission ring selection rule when the node 85 transmits to another node.
[0142]
As shown in FIG. 22, the ID (destination node ID) of each node is represented by a binary number having three digits (3 digits in FIG. 22) that can represent all 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. The ID of the node 84 is “010”. Since the least significant bit is “0”, the node 85 selects the primary ring as the transmission ring to the node 84. The ID of the node 85 is “011”. The ID of the node 86 is “100”. Since the least significant bit is “0”, the node 85 selects the primary ring as the transmission ring to the node 86. The ID of the node 87 is “101”. Since the least significant bit is “1”, the node 85 selects the secondary ring as the transmission ring to the node 87.
[0143]
In FIG. 21, before the disconnection (FIG. 21A), the health check packet from node 85 arrives at node 85 from both rings. In this case, the node 85 selects a 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 it is transmitted to the node 83, the node 85 transmits the unicast data packet addressed to the node 83 from the node 85 to the secondary ring 12. The node 83 performs reception processing of the unicast data packet from the node 85 addressed to the own node that has arrived from the secondary ring 12.
[0144]
Next, as illustrated in FIG. 21B, in a state where the secondary ring 12 between the node 84 and the node 85 is disconnected, the health check packet from the node 85 arrives at the node 85 only from the primary ring 11. In this case, the node 85 selects the primary ring 11 as the transmission ring regardless of the destination node ID 33 of the unicast data packet. That is, the node 85 transmits a unicast data packet addressed to the node 83 from the node 85 to the primary ring 11. The node 83 performs reception processing of the unicast data packet from the node-destined node 85 that has arrived from the primary ring 11.
[0145]
Next, as shown in FIG. 21C, in the state of both ring disconnections in which the primary ring 11 between the node 84 and the node 85 is further disconnected, the health check packet from the node 85 is sent to the node 85 from both rings. Will not arrive. In this case, the node 85 selects both the primary ring 11 and the secondary ring 12 as transmission rings regardless of the destination node ID 33 of the unicast data packet. That is, the node 85 transmits a unicast data packet addressed to the node 83 from the node 85 to both the primary ring 11 and the secondary ring 12. The unicast data packet addressed to the node 85 and the node 83 does not arrive at the node 83 from the secondary ring 12 due to disconnection, and arrives only from the primary ring 11. Therefore, the node 83 performs reception processing of the unicast data packet originating from the node 85 addressed to the own node that has arrived from the primary ring 11.
[0146]
As described above, according to the seventh embodiment, each node transmits a health check packet to promptly detect a change in node configuration or occurrence of a failure, and as a unicast data packet transmission ring, for each destination node. A reachable ring can be selected quickly. Therefore, it is not necessary to set in advance a database in which the node connection order on the ring and the position of the own node are set in each node, and device management becomes easy.
[0147]
In addition, when both rings are normal, unicast data packets are distributed to both rings according to the destination node, so the transmission bandwidth on the rings can be used efficiently, and network performance is easy. Can be improved.
[0148]
Furthermore, as can be understood from the above description, the ring selection processing due to the occurrence of a failure is simple, and is not familiar with software processing, and hardware processing is preferable. Therefore, speeding up of the ring selection can be easily realized.
[0149]
Embodiment 8 FIG.
23 to 25 are diagrams for explaining a multicast data packet transmission / reception operation performed in the dual ring network system according to the eighth embodiment of the present invention. FIG. 23 is a diagram illustrating a configuration example of a multicast data packet and a health check packet. FIG. 24 is a flowchart for explaining a transmission ring selection operation of a multicast data packet. FIG. 25 is a flowchart for explaining a multicast data packet reception operation.
[0150]
In the eighth embodiment, in the dual ring network system having the same configuration as shown in FIG. 1, each node having the same configuration as shown in FIG. 2 is a multicast data packet, that is, the destination node is a plurality of nodes. A method is shown for selecting a transmission ring for a data packet based on an identifier that identifies a group of destination nodes.
[0151]
For example, as shown in FIG. 23, the multicast data packet used in the eighth embodiment is provided with a multicast connection ID 92 instead of the destination node ID 33 in the configuration shown in FIG. Other configurations are the same as those shown in FIG.
[0152]
The multicast connection ID 92 is an identifier for identifying a group of a plurality of destination nodes. In the health check packet, since this multicast connection ID 92 is not used, the configuration is substantially the same as that shown in FIG.
[0153]
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, with reference to FIG. 24, the transmission ring selection operation of a multicast data packet will be described. The processing procedure (steps ST100 to ST103) illustrated in FIG. 24 is performed after the processing procedure described in FIG. 5 (1) (2) or FIG. 9 (1) (2) is performed.
[0154]
In FIG. 24, each node monitors arrival / non-arrival of a health check packet originating from its own node during a certain period for each source node and for each ring (step ST100), and the following (1) to (3) In this way, the presence or absence of a failure on the route is determined, and a transmission ring for multicast data packets is selected.
[0155]
(1) When health check packets originating from both nodes arrive from both rings during a certain period, both rings are determined to be normal. In this case, each node refers to the multicast connection ID 92 of the multicast data packet to be transmitted. For example, when the least significant bit of the multicast connection ID 92 is “0”, the primary ring is selected and “1” is selected. In this case, a secondary ring is selected, and a multicast data packet is transmitted to the corresponding ring (step ST101). As a result, multicast data packets are distributed to both rings according to the destination node. Needless to say, the bit position in the multicast connection ID referred to select the transmission ring does not need to be the least significant bit, and a bit at an arbitrary position may be determined as the reference bit.
[0156]
(2) When a self-node-originated health check packet arrives from only one ring during a certain period, it is determined that only that one ring is 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 ST102).
[0157]
(3) When the health check packets originating from both nodes do not arrive from both rings during a certain period, both rings are determined 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]
Next, the multicast data packet reception operation will be described with reference to FIG. In FIG. 25, steps 105 to ST107 and ST111 are processing procedures in the switch unit 23. Steps 108 to ST111 are processing procedures in the data packet processing unit 24.
[0159]
In FIG. 25, the switch unit 23 of each node refers to the source node ID 34 of the multicast data packet arriving from each ring (step ST105), and determines whether it is a multicast data packet originating from another node (step ST106). ). If the result of the determination in step ST106 is a multicast data packet originating from another node (step ST106: Yes), the TTL value is decremented by one, relayed along the ring, and captured (step ST107). On the other hand, if the result of the determination in step ST106 is a multicast data packet originating from the own node (step ST106: No), the multicast data packet is discarded (step ST111).
[0160]
Further, the data packet processing unit 24 of each node refers to the multicast connection ID 92 of the multicast data packet captured by the switch unit 23 (step ST108), and determines whether or not the own node is included in the destination node group (step ST108). Step ST109). If the result of the determination in step ST109 is that the own node is included in the destination node group (step ST109: Yes), the multicast data packet reception process is performed (step ST110), and if not included (step ST109: No), the multicast data packet is discarded (step ST111).
[0161]
As described above, according to the eighth embodiment, each node transmits a health check packet to quickly detect a change in node configuration or occurrence of a failure, and arrives at each destination node as a multicast data packet transmission ring. Possible rings can be selected quickly. Therefore, as in the seventh embodiment, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, and device management is facilitated.
[0162]
Also, when both rings are normal, multicast data packets are distributed to both rings according to the destination node, so that the transmission band on the ring can be used efficiently as in the seventh embodiment. Network performance can be easily improved.
[0163]
Furthermore, as can be understood from the above description, the ring selection processing due to the occurrence of a failure is simple, and is not familiar with software processing, and hardware processing is preferable. Therefore, speeding up of the ring selection can be easily realized.
[0164]
Embodiment 9 FIG.
FIG. 26 is a block diagram showing a configuration of a dual ring network system according to the ninth embodiment of the present invention. In FIG. 26, the double ring network system is connected to each other using a double ring 1 composed of a primary ring 11 and a secondary ring 12 having opposite directions, and the double ring 1 as a transmission medium or line. A plurality of nodes 94-1 to 94-n, and 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. A plurality of terminals 98 are accommodated in the node 94-4. A plurality of terminals 99 are accommodated in the node 94-n.
[0165]
FIG. 27 is a block diagram showing an example of the internal configuration of the node shown in FIG. As shown in FIG. 27, the node 100 includes ring interface units (ring I / F units) 101 and 102, a ring switch unit 103, a health check packet processing unit 104, a branch line switch unit 105, and a branch line interface unit (branch line I / F). Part) 106-1 to 106-m.
[0166]
Ring I / F units 101 and 102 terminate ring circuits (primary ring 11 and secondary ring 12) connected to ring ports 107 and 108, respectively. The branch line I / F units 106-1 to 106-m terminate the terminal lines connected to the branch line ports 109-1 to 109-m.
[0167]
The health check packet processing unit 104 processes the health check packet passed from the ring switch unit 103 and processes the health check packet passed to the ring switch unit 103. As described above, the health check packet is a packet for notifying other nodes of the health of the own node.
[0168]
The ring switch unit 103 exchanges a packet to be transferred between the ring I / F units 101 and 102, the branch line switch unit 105, and the health check packet processing unit 104 based on various kinds of information written at the head part of the packet.
[0169]
The branch line switch unit 105 exchanges a packet to be transferred between the 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) written at the head of the packet. To do.
[0170]
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 a unicast data packet is transmitted / received between terminals, an operation of relaying the unicast data packet using a primary ring or a secondary ring between nodes accommodating the terminals is performed.
[0171]
FIG. 28 is a diagram illustrating a configuration example of a unicast data packet and a health check packet employed in the ninth embodiment. As shown in FIG. 28, the unicast data packet adopted in the ninth embodiment is provided with a destination terminal ID 110 in place of the destination node ID 33 in the configuration shown in FIG. The other configuration is the same as that shown in FIG. The destination terminal ID 110 is an identifier of a 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]
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 FIG. 29 and FIG. FIG. 29 is a flowchart for explaining a transmission ring selection operation of a unicast data packet. FIG. 30 is a flowchart for explaining a receiving operation of a unicast data packet.
[0173]
First, with reference to FIG. 29, the transmission ring selection operation | movement of a unicast data packet is demonstrated. The processing procedure (steps ST115 to ST118) shown in FIG. 29 is performed after the processing procedure described in FIG. 5 (1) (2) or FIG. 9 (1) (2) is performed.
[0174]
In FIG. 29, each node monitors 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 ST115), and the following (1) to (3) In this way, the presence / absence of a failure on the route is determined, and the transmission ring of the unicast data packet is selected.
[0175]
(1) When health check packets originating from both nodes arrive from both rings during a certain period, both rings are determined to be normal. In this case, each node refers to the destination terminal ID 110 of the unicast data packet that is exchanged from the branch port to the ring port for transmission. For example, when the least significant bit of the destination terminal ID 110 is “0”, A primary ring is selected. If “1”, a secondary ring is selected, and a unicast data packet is transmitted to the corresponding ring (step ST116). As a result, unicast data packets are distributed to both rings according to the destination terminal. Needless to say, the bit position in the destination terminal ID 110 referred to for selecting the transmission ring does not need to be the least significant bit, and a bit at an arbitrary position may be determined as the reference bit.
[0176]
(2) When a self-node-originated health check packet arrives from only one ring during a certain period, it is determined that only that one ring is 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 exchanged from the branch port to the ring port for transmission. (Step ST117).
[0177]
(3) When the health check packets originating from both nodes do not arrive from both rings during a certain period, both rings are determined to be abnormal. In this case, each node selects both rings and transmits the unicast data packet regardless of the destination terminal ID 110 of the unicast data packet to be exchanged from the branch port to the ring port and transmitted (step ST118).
[0178]
Next, the operation of receiving a unicast data packet will be described with reference to FIG. In FIG. 30, steps 120 to ST122 and ST126 are processing procedures in the ring switch unit 103. Steps 123 to ST126 are processing procedures in the branch line switch unit 105.
[0179]
In FIG. 30, the ring switch section 103 of each node refers to the transmission source node ID 34 of the unicast data packet arriving from each ring (step ST120), and determines whether it is a unicast data packet originating from another node. (Step ST121). If the result of the determination in step ST121 is a unicast data packet originating from another node (step ST121: Yes), the TTL value is decremented by one, relayed along the ring, and captured (step ST122). On the other hand, if the result of the determination in step ST121 is a unicast data packet originating from the own node (step ST121: No), the unicast data packet is discarded (step ST126).
[0180]
Further, the branch line switch unit 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 the node is addressed to the terminal accommodated by the node (step ST123). Step ST124). As a result of the determination in step ST124, 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 port (step ST125), and addressed to the terminal accommodated by the own node If not (step ST124: No), the unicast data packet is discarded (step ST126).
[0181]
As described above, according to the ninth 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 unicast data packet transmission ring, A ring that can be reached for each destination node can be quickly selected. Therefore, as in the seventh and eighth embodiments, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, and device management is facilitated.
[0182]
Further, each node accommodates a plurality of terminals and exchanges based on the destination terminal ID 110 of the unicast data packet, so that a larger and more flexible network can be constructed.
[0183]
Furthermore, as can be understood from the above description, the ring selection processing due to the occurrence of a failure is simple, and is not familiar with software processing, and hardware processing is preferable. Therefore, speeding up of the ring selection can be easily realized.
[0184]
Embodiment 10 FIG.
FIGS. 31 and 32 are flowcharts illustrating multicast data packet transmission / reception operations performed in the dual ring network system according to the tenth embodiment of the present invention. FIG. 31 is a flowchart for explaining a transmission ring selection operation for multicast data packets. FIG. 32 is a flowchart for explaining a multicast data packet reception operation.
[0185]
In the tenth embodiment, in a dual ring network system having the same configuration as shown in FIG. 26, each node having the same configuration as shown in FIG. 27 transmits multicast data packet data having the configuration shown in FIG. A method for selecting a ring based on an identifier identifying a group of a plurality of destination terminals is shown.
[0186]
That is, the multicast connection ID 92 in the multicast data packet shown in FIG. 23 is used as an identifier for identifying a group of a plurality of destination terminals in the tenth embodiment.
[0187]
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, a transmission ring selection operation of a multicast data packet will be described. The processing procedure (steps ST128 to ST131) illustrated in FIG. 31 is performed after the processing procedure described in FIG. 5 (1) (2) or FIG. 9 (1) (2) is performed.
[0188]
In FIG. 31, each node monitors the arrival / non-arrival of the health check packet originating from its own node during a certain period for each source node and for each ring (step ST128), and the following (1) to (3) In this way, the presence or absence of a failure on the route is determined, and a transmission ring for multicast data packets is selected.
[0189]
(1) When health check packets originating from both nodes arrive from both rings during a certain period, both rings are determined to be normal. In this case, each node refers to the multicast connection ID 92 of the multicast data packet exchanged from the branch port to the ring port and transmits, for example, when the least significant bit of the multicast connection ID 92 is “0”, 1 The next ring is selected. If “1”, the secondary ring is selected, and the multicast data packet is transmitted to the corresponding ring (step ST129). As a result, multicast data packets are distributed to both rings according to the destination terminal. Needless to say, the bit position in the multicast connection ID 92 to be referred to select the transmission ring does not need to be the least significant bit, and a bit at an arbitrary position may be determined as the reference bit.
[0190]
(2) When a self-node-originated health check packet arrives from only one ring during a certain period, it is determined that only that one ring is 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 exchanged from the branch port to the ring port and transmitted ( Step ST130).
[0191]
(3) When the health check packets originating from both nodes do not arrive from both rings during a certain period, both rings are determined 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 by exchanging from the branch port to the ring port (step ST131).
[0192]
Next, the operation of receiving a unicast data packet will be described with reference to FIG. In FIG. 32, steps 133 to ST135 and ST139 are processing procedures in the ring switch unit 103. Steps 136 to ST139 are processing procedures in the branch line switch unit 105.
[0193]
In FIG. 32, the ring switch section 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 it is a multicast data packet originating from another node (step ST133). ST134). If the result of the determination in step ST134 is a multicast data packet originating from another node (step ST134: Yes), the TTL value is decremented by one, relayed along the ring, and captured (step ST135). On the other hand, if the result of the determination in step ST134 is a multicast data packet originating from the own node (step ST134: No), the multicast data packet is discarded (step ST139).
[0194]
Further, the branch line switch unit 105 of each node refers to the multicast connection ID 92 of the multicast data packet captured by the ring switch unit 103 (step ST136), and whether or not the terminal accommodated by the own node is included in the group of destination terminals. Is determined (step ST137). If the result of the determination in step ST137 is that the terminal accommodated by the own node is included in the destination terminal group (step ST137: Yes), the multicast data packet is exchanged for the corresponding branch port (step ST138), If the accommodated terminal is not included in the destination terminal group (step ST137: No), the multicast data packet is discarded (step ST139).
[0195]
As described above, according to the tenth embodiment, each node transmits a health check packet to quickly detect a change in node configuration or occurrence of a failure, and arrives at each destination terminal as a multicast data packet transmission ring. Possible rings can be selected quickly. Therefore, as in the seventh to ninth embodiments, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, and device management is facilitated.
[0196]
Further, when both rings are normal, multicast data packets are distributed to both rings according to the destination terminal, that is, the destination node. Therefore, as in the seventh to ninth embodiments, the transmission bandwidth on the ring is efficiently reduced. The network performance can be easily improved.
[0197]
Further, since each node accommodates a plurality of terminals and exchanges based on the destination terminal ID of the multicast data packet, a larger and more 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, does not become familiar with the software process, and the hardware process is suitable. Therefore, it is possible to easily realize high-speed ring selection.
[0199]
Embodiment 11 FIG.
FIG. 33 is a flowchart for explaining a data packet transmission ring selection operation performed in the dual ring network system according to the eleventh embodiment of the present invention. In the eleventh embodiment, a modification of the method for selecting a transmission ring using the identifier described in the seventh to tenth embodiments is shown.
[0200]
That is, in FIG. 33, each node monitors the arrival of its own node health check packet from both rings during a certain period (step ST140). When the health check packets originating from both nodes arrive 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 identifier of the data packet to be transmitted to obtain a randomly determined random 1-bit value (step ST141). Next, the logical value of the 1-bit value is determined (step ST142). If 1-bit value = “0” (step ST142: Yes), for example, the primary ring is selected and transmitted (step ST143). If the 1-bit value is not “0” (step ST142: No), the secondary ring is selected and transmitted (step ST144).
[0201]
Therefore, according to the eleventh embodiment, when both rings are normal, the probability of evenly distributing data packets to both rings can be further improved, so that the transmission band on the ring is used more efficiently. Network performance can be easily improved.
[0202]
【The invention's effect】
As described above, according to the present invention, in each node, the health check packet indicating the remaining time is periodically transmitted to both rings by the health check packet transmission / reception means, and the health check packet originated from other nodes arrived. The remaining time is subtracted and relayed along the ring, while the arrived self-node health check packet is discarded. In the process in which such health check packets are sent and received, the receiving ring selection means monitors the arrival / non-arrival of health check packets originating from other nodes for each transmission source node. A ring in which a health check packet having a longer time arrives is selected as a reception ring for the data packet originating from the other node, and when the ring arrives only from one ring, the other ring is used as a reception ring for the data packet originating from the other node Is selected, and the relationship of the reception ring with respect to the transmission source node is obtained and held updatable. In this state, in the data packet transmission / reception means, 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 received data packet addressed to the own node is the reception ring selection means Reception or discarding is performed based on the stored content. In this way, each node autonomously generates and maintains the relationship of the receiving ring with the source node so that it can be updated, so that it can quickly detect changes in the node configuration and the occurrence of failures and retain them. The content can be reflected autonomously. Therefore, it is not necessary to set the node connection order in advance for each node, and management becomes easy. In addition, each node autonomously generates or updates the relationship of the receiving ring to the source node so that it can be received from a ring with a large number of hops, that is, with a small delay time, for each combination of nodes. Can be improved. Furthermore, the ring selection processing due to the occurrence of a failure is simple as described above, and is not familiar with software processing, and hardware processing is preferable. Therefore, it is possible to easily realize high-speed ring selection.
[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, The arrived self-node health check packet is discarded. In the process of sending and receiving such health check packets, the receiving ring selection means monitors arrival / non-arrival of health check packets originating from other nodes for each transmission source node. The ring in which the check packet arrives first is selected as the reception ring for the data packet originating from the other node, and if it arrives from only one ring, the one ring is selected as the reception ring for the data packet originating from the other node As a result, the relationship of the reception ring with respect to the transmission source node is obtained and held updatable. In this state, in the data packet transmission / reception means, 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 received data packet addressed to the own node is the reception ring selection means Reception or discarding is performed based on the stored content. In this way, when obtaining the relationship of the receiving ring with respect to the transmission source node, 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 In addition, considering the distance and bandwidth of the transmission path, it is possible to generate or update the relationship of the reception ring with respect to the transmission source node so as to receive from the ring with a small delay time, and further improve the performance of the network. .
[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, while the arrived health check packet from the other node is relayed along the ring, The arrived self-node health check packet is discarded. When such a health check packet is sent and received, the transmission ring selection means monitors the arrival / non-arrival of the health check packet for each transmission source node, and the health check packet originating from both nodes arrives from both rings In this case, the ring on which the health check packet arrives later is selected as the transmission ring for the data packet addressed to the other node from the own node, and when the ring arrives from only one ring, the one ring is all destinations. If a node is selected as a common transmit ring and does not arrive from both rings, both rings are selected as a common transmit ring for all destination nodes, so that the relationship of the transmit ring with respect to the destination node is determined and maintained updatable. Is done. In this state, the data packet transmitting / receiving means transmits the data packet to both rings based on the contents held by the transmission ring selecting means, and the arrived data packet addressed to the other node is relayed along the ring. The data packet addressed to the node is received. Thus, when obtaining the relationship of the transmission ring to the destination node, if the health check packet originating from the other node arrives 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 transmission ring relationship with the destination node can be created or updated so as to transmit to the ring with a short delay time, so that the transmission band on the ring can be used more efficiently. Thus, the network performance can be further improved.
[0208]
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 from other nodes subtracts the remaining time. While being relayed along the ring, the arrived self-node health check packet is discarded. In the process of sending and receiving such health check packets, the receiving ring selection process monitors the arrival / non-arrival of health check packets from other nodes for each source node. A ring in which a health check packet having a longer time arrives is selected as a reception ring for the data packet originating from the other node, and when the ring arrives only from one ring, the other ring is used as a reception ring for the data packet originating from the other node Is selected, and the relationship of the reception ring with respect to the transmission source node is obtained and held updatable. 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 received data packet addressed to the own node is the reception ring selection table. Reception or discarding is performed based on the setting. In this way, each node autonomously generates the relationship of the receiving ring with the source node and holds it updatable so that it can quickly detect changes in the node configuration and the occurrence of failures and hold them The content can be reflected autonomously. Therefore, it is not necessary to set the node connection order in advance for each node, and management becomes easy. In addition, each node autonomously generates or updates the relation of the receiving ring to the source node so that it can be received from a ring having a large number of hops, that is, a delay time is small for each combination of nodes, thereby facilitating network performance. Can be improved. Furthermore, the ring selection processing due to the occurrence of a failure is simple as described above, and is not familiar with software processing, and hardware processing is preferable. Therefore, it is possible to easily realize high-speed ring selection.
[0209]
According to the next invention, in each node, in the health check packet transmission / reception step, health check packets are periodically transmitted to both rings, and arrived health check packets from other nodes are relayed along the rings, The arrived self-node health check packet is discarded. In the process of sending and receiving such health check packets, the receiving ring selection process monitors the arrival / non-arrival of health check packets originating from other nodes for each transmission source node. The ring in which the check packet arrives first is selected as the reception ring for the data packet originating from the other node, and if it arrives from only one ring, the one ring is selected as the reception ring for the data packet originating from the other node As a result, the relationship of the reception ring with respect to the transmission source node is obtained and held updatable. In this state, in the data packet transmission / reception step, the data packet is transmitted to both rings, and the data packet addressed to the other node is relayed along the ring, while the data packet addressed to the own node is received by the reception ring selection table. Reception or discarding is performed based on the setting. In this way, when obtaining the relationship of the receiving ring with respect to the transmission source node, 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 In addition, considering the distance and bandwidth of the transmission path, it is possible to generate or update the relationship of the reception ring with respect to the transmission source node so as to receive from the ring with a small delay time, and further improve the performance of the network. .
[0211]
According to the next invention, in each node, in the health check packet transmission / reception step, the health check packet is periodically transmitted to both rings, and the arrived health check packet from other nodes is relayed along the ring, The arrived self-node health check packet is discarded. In the process of sending and receiving such health check packets, when the transmission ring selection process monitors the arrival / non-arrival of health check packets for each source node, and the health check packets originating from both nodes arrive from both rings In this case, the ring on which the health check packet arrives later is selected as the transmission ring for the data packet addressed to the other node from the own node, and when the ring arrives from only one ring, the one ring is all destinations. If a node is selected as a common transmit ring and does not arrive from both rings, both rings are selected as a common transmit ring for all destination nodes, so that the relationship of the transmit ring with respect to the destination node is determined and maintained updatable. Is done. 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 data packet addressed to the other node arrives while being relayed along the ring. The data packet addressed to the own node is received. Thus, when obtaining the relationship of the transmission ring to the destination node, if the health check packet originating from the other node arrives 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 transmission ring relationship with the destination node can be created or updated so as to transmit to the ring with a short delay time, so that the transmission band on the ring can be used more efficiently. Thus, the network performance can be further improved.
[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, while the arrived health check packet from the other node is relayed along the ring, The arrived self-node health check packet is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means monitors the arrival / non-arrival of the own node-originated health check packet for each transmission 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 node identifier of the unicast data packet to be transmitted is selected as the transmission ring, and arrives from only one ring. In such a case, one of the rings is selected as a transmission ring, and when both rings do not arrive, both rings are selected as transmission rings. As a result, the data packet transmitting / receiving means transmits a 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 received unicast data packet addressed to the own node is subjected to reception processing. In this way, each node transmits a health check packet to quickly detect a change in node configuration or occurrence of a failure, and quickly selects a ring that can be reached for each destination node as a unicast data packet transmission ring. Therefore, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, and device management is facilitated. In addition, when both rings are normal, unicast data packets are distributed to both rings according to the destination node, so the transmission bandwidth on the rings can be used efficiently, and network performance is easy. Can be improved.
[0215]
According to the next invention, in each node, the health check packet transmitting / receiving means periodically transmits the health check packet to both rings, while the arrived health check packet from the other node is relayed along the ring, The arrived self-node health check packet is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means monitors the arrival / non-arrival of the own node-originated health check packet for each transmission source node. Then, when arriving from both rings, a ring determined according to a logical value of a bit at a predetermined bit position of a destination node group identifier for identifying a group of a plurality of destination nodes of a multicast data packet to be transmitted is used as a transmission ring. If it is selected and arrives from only one ring, then that one ring is selected as the transmit ring, and if it does not arrive from both rings, both rings are selected as transmit rings. As a result, the multicast data packet is transmitted to the ring based on the selection result by the data packet transmitting / receiving means. Then, the arrived multicast data packet from the other node is relayed along the ring and a reception process is performed. In addition, the 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 in node configuration or occurrence of a failure, and quickly selects a reachable ring for each destination node as a transmission ring for multicast data packets. Therefore, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, and device management is facilitated. Also, when both rings are normal, multicast data packets are distributed to both rings according to the destination node, so that the transmission band on the ring can be used efficiently as in the seventh embodiment. Network performance can be easily improved.
[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, while the arrived health check packet from the other node is relayed along the ring, The arrived self-node health check packet is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means monitors the arrival / non-arrival of the own node-originated health check packet for each transmission 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. In such a case, one of the rings is selected as a transmission ring, and when both rings do not arrive, both rings are selected as transmission rings. As a result, the data packet transmission / reception means transmits the unicast data packet transmitted from the accommodated terminal to the ring based on the selection result. The arrived unicast data packet from another node is relayed along the ring, and when it is addressed to the terminal accommodated by the own node, the unicast data packet is relayed to the accommodated terminal. In addition, the arriving unicast data packet originating from the own node is discarded. In this way, each node transmits a health check packet to quickly detect a change in node configuration or occurrence of a failure, and a unicast data packet transmission ring that can be reached for each destination terminal, that is, for each destination node Therefore, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, which facilitates device management. Further, since each node accommodates a plurality of terminals and exchanges based on the identifier of the destination terminal of the unicast data packet, a larger and more 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, while the arrived health check packet from the other node is relayed along the ring, The arrived self-node health check packet is discarded. In the process of transmitting and receiving such a health check packet, the transmission ring selection means monitors the arrival / non-arrival of the own node-originated health check packet for each transmission source node. Then, when arriving from both rings, a ring determined according to a logical value of a bit at a predetermined bit position of a destination terminal group identifier for identifying a group of a plurality of destination terminals of a multicast data packet to be transmitted is used as a transmission ring. If it is selected and arrives from only one ring, then that one ring is selected as the transmit ring, and if it does not arrive from both rings, both rings are selected as transmit rings. As a result, the data packet transmission / reception means transmits the multicast data packet sent from the accommodated terminal to the ring based on the selection result. The arriving 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 accommodating terminal. In addition, the 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 in the node configuration or occurrence of a failure, and quickly selects a reachable ring for each destination terminal as a multicast data packet transmission ring. Therefore, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, and device management is facilitated. In addition, 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 bandwidth on the ring can be used efficiently, and the network performance Can be improved easily.
[0218]
According to the next invention, in the above invention, the transmission ring selection means performs a predetermined calculation on a part or all of the identifier when the health check packet originating from the own node arrives from both rings. A random bit value is obtained, 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 data packets to both rings can be further improved, so that the transmission bandwidth on the rings can be used more efficiently and the network performance can be improved. It can be improved easily.
[0219]
According to the next invention, in each node, in the health check packet transmission / reception step, the health check packet is periodically transmitted to both rings, and the arrived health check packet from other nodes is relayed along the ring, The arrived self-node health check packet 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 transmission 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 node identifier of the unicast data packet to be transmitted is selected as the transmission ring, and arrives from only one ring. In such a case, one of the rings is selected as a transmission ring, and when both rings do not arrive, both rings are selected as transmission rings. As a result, in the data packet transmission / reception step, a 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 received unicast data packet addressed to the own node is subjected to reception processing. In this way, each node transmits a health check packet to quickly detect a change in node configuration or occurrence of a failure, and quickly selects a ring that can be reached for each destination node as a unicast data packet transmission ring. Therefore, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, and device management is facilitated. In addition, when both rings are normal, unicast data packets are distributed to both rings according to the destination node, so the transmission bandwidth on the rings can be used efficiently, and network performance is easy. Can be improved.
[0220]
According to the next invention, in each node, in the health check packet transmission / reception step, the health check packet is periodically transmitted to both rings, and the arrived health check packet from other nodes is relayed along the ring, The arrived self-node health check packet 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 transmission source node in the transmission ring selection step. Then, when arriving from both rings, a ring determined according to a logical value of a bit at a predetermined bit position of a destination node group identifier for identifying a group of a plurality of destination nodes of a multicast data packet to be transmitted is used as a transmission ring. If it is selected and arrives from only one ring, then that one ring is selected as the transmit ring, and if it does not arrive from both rings, both rings are selected as transmit rings. As a result, in the data packet transmission / reception step, the multicast data packet is transmitted to the ring based on the selection result. Then, the arrived multicast data packet from the other node is relayed along the ring and a reception process is performed. In addition, the 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 in node configuration or occurrence of a failure, and quickly selects a reachable ring for each destination node as a transmission ring for multicast data packets. Therefore, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, and device management is facilitated. Also, when both rings are normal, multicast data packets are distributed to both rings according to the destination node, so that the transmission band on the ring can be used efficiently as in the seventh embodiment. Network performance can be easily improved.
[0221]
According to the next invention, in each node, in the health check packet transmission / reception step, the health check packet is periodically transmitted to both rings, and the arrived health check packet from other nodes is relayed along the ring, The arrived self-node health check packet 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 transmission 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 identifier of the unicast data packet to be transmitted is selected as the transmission ring, and arrives from only one ring. In such a case, one of the rings is selected as a transmission ring, and when both rings do not arrive, both rings are selected as transmission rings. As a result, in the data packet transmission / reception step, the unicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result. The arrived unicast data packet from another node is relayed along the ring, and when it is addressed to the terminal accommodated by the own node, the unicast data packet is relayed to the accommodated terminal. In addition, the arriving unicast data packet originating from the own node is discarded. In this way, each node transmits a health check packet to quickly detect a change in node configuration or occurrence of a failure, and a unicast data packet transmission ring that can be reached for each destination terminal, that is, for each destination node Therefore, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, which facilitates device management. Further, since each node accommodates a plurality of terminals and exchanges based on the identifier of the destination terminal of the unicast data packet, a larger and more flexible network can be constructed.
[0222]
According to the next invention, in each node, in the health check packet transmission / reception step, the health check packet is periodically transmitted to both rings, and the arrived health check packet from other nodes is relayed along the ring, The arrived self-node health check packet 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 transmission source node in the transmission ring selection step. Then, when arriving from both rings, a ring determined according to a logical value of a bit at a predetermined bit position of a destination terminal group identifier for identifying a group of a plurality of destination terminals of a multicast data packet to be transmitted is used as a transmission ring. If it is selected and arrives from only one ring, then that one ring is selected as the transmit ring, and if it does not arrive from both rings, both rings are selected as transmit rings. As a result, in the data packet transmission / reception step, the multicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result. The arriving 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 accommodating terminal. In addition, the 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 in the node configuration or occurrence of a failure, and quickly selects a reachable ring for each destination terminal as a multicast data packet transmission ring. Therefore, it is not necessary to set in advance a database describing the node connection order on the ring and the position of the own node in each node, and device management is facilitated. In addition, 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 bandwidth on the ring can be used efficiently, and the network performance Can be improved easily.
[0223]
According to the next invention, in the above-described invention, in the transmission ring selection step, when the self-node-originating health check packets arrive from both rings, a predetermined calculation is performed on a part or all of the identifiers. A random bit value is obtained, 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 data packets to both rings can be further improved, so that the transmission bandwidth on the rings can be used more efficiently and the network performance can be improved. It can be improved easily.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of a dual ring network system according to a first embodiment of the present invention.
FIG. 2 is a block diagram illustrating an internal configuration example of a node illustrated in FIG. 1;
3 is a diagram illustrating a configuration example of a data packet and a health check packet employed in the first embodiment. FIG.
FIG. 4 is a diagram illustrating a configuration example of a reception ring selection table employed in the first embodiment.
FIG. 5 is a flowchart for explaining a generation operation of a reception ring selection table based on transmission / reception of health check packets according to the first embodiment.
FIG. 6 is a flowchart for explaining a data packet transmission / reception operation according to the first embodiment;
FIG. 7 is a diagram for explaining a ring selection operation due to the occurrence of a failure according to the first embodiment.
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.
FIG. 9 is a flowchart for explaining a reception ring selection table generation operation performed in the dual ring network system according to the second embodiment of the present invention;
FIG. 10 is a diagram showing a configuration example of a transmission ring selection table employed in the dual ring network system according to the third embodiment of the present invention.
FIG. 11 is a flowchart for explaining a generation operation of a transmission ring selection table based on transmission / reception of health check packets according to the third embodiment.
FIG. 12 is a flowchart for explaining a data packet transmission / reception operation according to the third embodiment;
FIG. 13 is a diagram for explaining a ring selection operation by occurrence of a failure according to the third embodiment.
FIG. 14 is a diagram illustrating the contents of a transmission ring selection table that is updated during a ring selection operation due to the occurrence of a failure according to the third embodiment.
FIG. 15 is a flowchart illustrating a transmission ring selection table generation operation performed in the dual ring network system according to the fourth embodiment of the present invention.
FIG. 16 is a diagram showing a configuration example of a data packet and a health check packet employed in the dual ring network system according to the fifth embodiment of the present invention.
FIG. 17 is a flowchart for explaining a data packet transmission / reception operation according to the fifth embodiment;
FIG. 18 is a flowchart for explaining a data packet transmission / reception operation performed in the dual ring network system according to the sixth embodiment of the present invention;
FIG. 19 is a flowchart for explaining a transmission ring selection operation of a unicast data packet performed in the dual ring network system according to the seventh embodiment of the present invention.
FIG. 20 is a flowchart for explaining a unicast data packet receiving operation performed in the dual ring network system according to the seventh embodiment of the present invention;
FIG. 21 is a diagram for explaining a ring selection operation due to the occurrence of a failure according to the seventh embodiment.
22 is a diagram for explaining the relationship between a destination node ID and a transmission ring in the ring selection operation in FIG. 21;
FIG. 23 is a diagram showing a configuration example of a multicast data packet and a health check packet employed in the dual ring network system according to the eighth embodiment of the present invention.
FIG. 24 is a flowchart for explaining a transmission ring selection operation of a multicast data packet performed in the dual ring network system according to the eighth embodiment of the present invention.
FIG. 25 is a flowchart for explaining a multicast data packet reception operation performed in the dual ring network system according to the eighth embodiment of the present invention;
FIG. 26 is a block diagram showing a configuration of a dual ring network system according to the ninth embodiment of the present invention.
27 is a block diagram illustrating an example of an internal configuration of a node illustrated in FIG. 26;
FIG. 28 is a diagram illustrating a configuration example of a unicast data packet and a health check packet employed in the ninth embodiment.
FIG. 29 is a flowchart for explaining a unicast data packet transmission ring selection operation performed in the dual ring network system according to the ninth embodiment of the present invention;
FIG. 30 is a flowchart for explaining a unicast data packet reception operation performed in the dual ring network system according to the ninth embodiment of the present invention;
FIG. 31 is a flowchart for explaining a transmission ring selection operation of a multicast data packet performed in the dual ring network system according to the tenth embodiment of the present invention.
FIG. 32 is a flowchart for explaining a multicast data packet reception operation performed in the dual ring network system according to the tenth embodiment of the present invention;
FIG. 33 is a flowchart for explaining a data packet transmission ring selection operation performed in the dual ring network system according to the eleventh embodiment of the present invention;
FIG. 34 is a diagram showing a configuration example of a conventional dual ring network system.
35 is a block diagram showing an internal configuration of the conventional node shown in FIG. 34.
[Explanation of symbols]
1 Double ring, 2-1 to 2-n, 20, 51 to 55, 71 to 75, 83 to 87, 94-1 to 94-n, 100 nodes, 11 Primary ring, 12 Secondary ring, 21, 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-99 multiple Terminal, 103 ring switch unit, 105 branch line switch unit, 106-1 to 106-m branch line interface unit (branch line I / F unit), 109-1 to 109-m branch port, 33 destination node ID, 92 multicast connection ID, 110 Destination terminal ID.

Claims (16)

相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、
前記複数のノードは、
残存時間を記したヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットの残存時間を減算してリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段
と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、残存時間のより多いヘルスチェックパケットが到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係を求め更新可能に保持する受信リング選択手段と、
データパケットを両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを前記受信リング選択手段の保持内容に基づき受信または廃棄するデータパケット送受信手段と、
を備えたことを特徴とする二重リングネットワークシステム。
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are:
The health check packet indicating the remaining time is periodically sent to both rings, and the remaining time of the health check packet originating from other nodes is subtracted and relayed along the ring, while the health check packet originating from the own node arrives. A health check packet transmission / reception means to be discarded;
In the process of transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet originating from the other node is monitored for each source node, and when it arrives from both rings, the health check packet with longer remaining time arrives If the received ring is received from only one ring and the other ring is selected as the receiving ring for the data packet originating from the other node, the source node is selected. Receiving ring selection means for obtaining the relationship of the receiving ring with respect to and holding it updatable,
Data packet transmission / reception that transmits data packets to both rings, relays data packets addressed to other nodes along the ring, and receives or discards data packets addressed to its own node based on the contents held in the reception ring selection means Means,
A dual ring network system characterized by comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、
前記複数のノードは、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、ヘルスチェックパケットが先に到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係を求め更新可能に保持する受信リング選択手段と、
データパケットを両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを前記受信リング選択手段の保持内容に基づき受信または廃棄するデータパケット送受信手段と、
を備えたことを特徴とする二重リングネットワークシステム。
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are:
Health check packet transmitting / receiving means for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet originating from other nodes is monitored for each source node. When receiving from only one ring, the receiving ring for the data packet originating from the other node is selected as the receiving ring for the data packet originating from the other node. Receiving ring selection means for obtaining the relationship of
Data packet transmission / reception that transmits data packets to both rings, relays data packets addressed to other nodes along the ring, and receives or discards data packets addressed to its own node based on the contents held in the reception ring selection means Means,
A dual ring network system characterized by comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、
前記複数のノードは、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信ノード毎にヘルスチェックパケットが後に到着したリングを前記他ノードが宛先ノードであるデータパケットの送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを全宛先ノードに共通の送信リングとして選択し、両リングから到着しない場合には、両リングを全宛先ノードに共通の送信リングとして選択することにより、宛先ノードに対する送信リングの関係を求め更新可能に保持する送信リング選択手段と、
データパケットを前記送信リング選択手段の保持内容に基づき両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを受信するデータパケット送受信手段と、
を備えたことを特徴とする二重リングネットワークシステム。
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are:
Health check packet transmitting / receiving means for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet is monitored for each transmission source node. When the health check packet originating from both nodes arrives from both rings, the health check is performed for each transmission node The ring where the packet arrived later is selected as the transmission ring for the data packet whose destination node is the other node, and if it arrives from only one ring, that one ring is selected as the transmission ring common to all destination nodes And, when not arriving from both rings, by selecting both rings as a transmission ring common to all destination nodes, transmission ring selection means for obtaining and maintaining the relationship of the transmission ring with respect to the destination node,
Data packet transmitting / receiving means for transmitting data packets to both rings based on the contents held in the transmission ring selection means and relaying the data packets addressed to other nodes along the ring while receiving the data packets addressed to its own node ,
A dual ring network system characterized by comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおけるリング選択方法であって、
前記複数のノード側は、
残存時間を記したヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットの残存時間を減算してリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程
と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、残存時間のより多いヘルスチェックパケットが到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係を求め更新可能に保持する受信リング選択工程と、
データパケットを両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを前記受信リング選択工程での保持内容に基づき受信または廃棄するデータパケット送受信工程と、
を含むことを特徴とする二重リングネットワークシステムにおけるリング選択方法。
A ring selection method in a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are
The health check packet indicating the remaining time is periodically sent to both rings, and the remaining time of the health check packet originating from other nodes is subtracted and relayed along the ring, while the health check packet originating from the own node arrives. A health check packet transmission / reception process to be discarded;
In the process of transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet originating from the other node is monitored for each source node, and when it arrives from both rings, the health check packet with longer remaining time arrives If the received ring is received from only one ring and the other ring is selected as the receiving ring for the data packet originating from the other node, the source node is selected. A receiving ring selection step for obtaining a relationship of the receiving ring with respect to and holding the update ring updatable;
A data packet that transmits data packets to both rings and relays data packets addressed to other nodes that arrived, while receiving or discarding the data packets addressed to its own node based on the contents held in the receiving ring selection step A transmission and reception process;
A ring selection method in a dual ring network system, comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおけるリング選択方法であって、
前記複数のノード側は、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に他ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、ヘルスチェックパケットが先に到着したリングを前記他ノード発データパケットの受信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを前記他ノード発データパケットの受信リングとして選択することにより、送信元ノードに対する受信リングの関係を求め更新可能に保持する受信リング選択工程と、
データパケットを両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを前記受信リング選択工程での保持内容に基づき受信または廃棄するデータパケット送受信工程と、
を含むことを特徴とする二重リングネットワークシステムにおけるリング選択方法。
A ring selection method in a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are
Health check packet transmission and reception step for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet originating from other nodes is monitored for each source node. When receiving from only one ring, the receiving ring for the data packet originating from the other node is selected as the receiving ring for the data packet originating from the other node. The receiving ring selection process for obtaining the relationship of
A data packet that transmits data packets to both rings and relays data packets addressed to other nodes that arrived, while receiving or discarding the data packets addressed to its own node based on the contents held in the receiving ring selection step A transmission and reception process;
A ring selection method in a dual ring network system, comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおけるリング選択方法であって、
前記複数のノード側は、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信ノード毎にヘルスチェックパケットが後に到着したリングを前記他ノードが宛先ノードであるデータパケットの送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを全宛先ノードに共通の送信リングとして選択し、両リングから到着しない場合には、両リングを全宛先ノードに共通の送信リングとして選択することにより、宛先ノードに対する送信リングの関係を求め更新可能に保持する送信リング選択工程と、
データパケットを前記送信リング選択工程での保持内容に基づき両リングに送信し、到着した他ノード宛データパケットをリングに沿って中継する一方、到着した自ノード宛データパケットを受信するデータパケット送受信工程と、
を含むことを特徴とする二重リングネットワークシステムにおけるリング選択方法。
A ring selection method in a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are
Health check packet transmission and reception step for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet is monitored for each transmission source node. When the health check packet originating from both nodes arrives from both rings, the health check is performed for each transmission node. The ring where the packet arrived later is selected as the transmission ring for the data packet whose destination node is the other node, and if it arrives from only one ring, that one ring is selected as the transmission ring common to all destination nodes And, if not arriving from both rings, by selecting both rings as a transmission ring that is common to all destination nodes, a transmission ring selection step for obtaining and maintaining the relationship of the transmission rings with respect to the destination nodes; and
Data packet transmission / reception step of transmitting data packets to both rings based on the contents held in the transmission ring selection step and relaying the data packets addressed to other nodes along the ring while receiving the data packets addressed to its own node When,
A ring selection method in a dual ring network system, comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、
前記複数のノードは、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、送信するユニキャストデータパケットの宛先ノード識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択手段と、
ユニキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード宛ユニキャストデータパケットをリングに沿って中継し、到着した自ノード宛ユニキャストデータパケットを受信処理するデータパケット送受信手段と、
を備えたことを特徴とする二重リングネットワークシステム。
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are:
Health check packet transmitting / receiving means for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet originating from the own node is monitored for each transmission source node, and when arriving from both rings, the destination node identifier of the unicast data packet to be transmitted If a ring determined according to the logical value of a bit at a predetermined bit position is selected as a transmission ring and arrives from only one ring, the one ring is selected as a transmission ring and arrives from both rings. If not, transmit ring selection means for selecting both rings as transmit rings,
A data packet transmitting / receiving means for transmitting a unicast data packet to the ring based on the selection result, relaying the arrived unicast data packet addressed to another node along the ring, and receiving the received unicast data packet addressed to its own node; ,
A dual ring network system characterized by comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、
前記複数のノードは、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先ノードのグループを識別する宛先ノードグループ識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択手段と、
マルチキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発マルチキャストデータパケットをリングに沿って中継するとともに、受信処理を行い、到着した自ノード発マルチキャストデータパケットを廃棄処理するデータパケット送受信手段と、
を備えたことを特徴とする二重リングネットワークシステム。
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are:
Health check packet transmitting / receiving means for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting / receiving the health check packet, the arrival / non-arrival of the health check packet originating from the own node is monitored for each source node, and when arriving from both rings, a plurality of destination nodes of the multicast data packet to be transmitted A ring determined according to the logical value of a bit at a predetermined bit position of a destination node group identifier for identifying a group of the selected node is selected as a transmission ring. A transmit ring selection means for selecting both rings as transmit rings if they do not arrive from both rings,
A data packet that transmits a multicast 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 its own node Transmitting and receiving means;
A dual ring network system characterized by comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、
前記複数のノードは、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信するユニキャストデータパケットの宛先端末識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択手段と、
収容する端末から送られてきたユニキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発ユニキャストデータパケットをリングに沿って中継するとともに、自ノードが収容する端末宛であるときはそのユニキャストデータパケットを当該収容端末に中継し、到着した自ノード発ユニキャストデータパケットを廃棄処理するデータパケット送受信手段と、
を備えたことを特徴とする二重リングネットワークシステム。
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are:
Health check packet transmitting / receiving means for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting / receiving the health check packet, the arrival / non-arrival of the health check packet is monitored for each transmission source node, and when the health check packet originating from both nodes arrives from both rings, the unicast data packet to be transmitted If a ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal identifier of the destination terminal is selected as a transmission ring and arrives from only one ring, the one ring is selected as the transmission ring, and both If the ring does not arrive from the other ring, the transmission ring selection means for selecting both rings as the transmission ring, and
A unicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result, and the unicast data packet originating from the other node is relayed along the ring and addressed to the terminal accommodated by the own node. Data packet transmission / reception means for relaying the unicast data packet to the accommodating terminal and discarding the unicast data packet originating from the own node,
A dual ring network system characterized by comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、
前記複数のノードは、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信手段と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先端末のグループを識別する宛先端末グループ識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択手段と、
収容する端末から送られてきたマルチキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発マルチキャストデータパケットをリングに沿って中継するとともに、自ノードが収容する端末宛であるときはそのマルチキャストデータパケットを当該収容端末に中継し、到着した自ノード発マルチキャストデータパケットを廃棄処理するデータパケット送受信手段と、
を備えたことを特徴とする二重リングネットワークシステム。
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are:
Health check packet transmitting / receiving means for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet is monitored for each transmission source node. When the health check packet originating from the own node arrives from both rings, the multicast data packet to be transmitted When a ring defined according to a logical value of a bit at a predetermined bit position of a destination terminal group identifier for identifying a group of a plurality of destination terminals is selected as a transmission ring, Selecting a ring as the transmit ring and, if not arriving from both rings, transmit ring selection means for selecting both rings as transmit rings;
When the multicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result, and the multicast data packet originating from the other node is relayed along the ring, and when the own node is addressed to the accommodating terminal Data packet transmission / reception means for relaying the multicast data packet to the accommodating terminal and discarding the multicast data packet originating from the own node;
A dual ring network system characterized by comprising:
前記送信リング選択手段は、
自ノード発ヘルスチェックパケットが両リングから到着した場合において、前記識別子の一部または全部に対して所定の計算を実施してランダムなビット値を求める手段を備
え、そのビット値に応じて定められたリングを送信リングとして選択する、
ことを特徴とする請求項〜1のいずれか一つに記載の二重リングネットワークシステム。
The transmission ring selection means includes
When self-node health check packets arrive from both rings, a means for performing a predetermined calculation on part or all of the identifier to obtain a random bit value is provided, which is determined according to the bit value. Select a ring as a transmit ring,
The double ring network system according to any one of claims 7 to 10 , wherein
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおけるリング選択方法であって、
前記複数のノード側は、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、送信するユニキャストデータパケットの宛先ノード識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択工程と、
ユニキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード宛ユニキャストデータパケットをリングに沿って中継し、到着した自ノード宛ユニキャストデータパケットを受信処理するデータパケット送受信工程と、
を含むことを特徴とする二重リングネットワークシステムにおけるリング選択方法。
A ring selection method in a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are
Health check packet transmission and reception step for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet originating from the own node is monitored for each transmission source node, and when arriving from both rings, the destination node identifier of the unicast data packet to be transmitted If a ring determined according to the logical value of a bit at a predetermined bit position is selected as a transmission ring and arrives from only one ring, the one ring is selected as a transmission ring and arrives from both rings. If not, a transmit ring selection step of selecting both rings as transmit rings,
A data packet transmitting / receiving step of transmitting a unicast data packet to the ring based on the selection result, relaying the arrived unicast data packet addressed to another node along the ring, and receiving the received unicast data packet addressed to its own node; ,
A ring selection method in a dual ring network system, comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、
前記複数のノード側は、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎に自ノード発ヘルスチェックパケットの到着/未着を監視し、両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先ノードのグループを識別する宛先ノードグループ識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択工程と、
マルチキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発マルチキャストデータパケットをリングに沿って中継するとともに、受信処理を行い、到着した自ノード発マルチキャストデータパケットを廃棄処理するデータパケット送受信工程と、
を含むことを特徴とする二重リングネットワークシステムにおけるリング選択方法。
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are
Health check packet transmission and reception step for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting / receiving the health check packet, the arrival / non-arrival of the health check packet originating from the own node is monitored for each source node, and when arriving from both rings, a plurality of destination nodes of the multicast data packet to be transmitted A ring determined according to the logical value of a bit at a predetermined bit position of a destination node group identifier for identifying a group of the selected node is selected as a transmission ring. A transmit ring selection step that selects both rings as transmit rings if they do not arrive from both rings, and
A data packet that transmits a multicast 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 its own node A transmission and reception process;
A ring selection method in a dual ring network system, comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、
前記複数のノード側は、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信するユニキャストデータパケットの宛先端末識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択工程と、
収容する端末から送られてきたユニキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発ユニキャストデータパケットをリングに沿って中継するとともに、自ノードが収容する端末宛であるときはそのユニキャストデータパケットを当該収容端末に中継し、到着した自ノード発ユニキャストデータパケットを廃棄処理するデータパケット送受信工程と、
を含むことを特徴とする二重リングネットワークシステムにおけるリング選択方法。
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are
Health check packet transmission and reception step for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting / receiving the health check packet, the arrival / non-arrival of the health check packet is monitored for each transmission source node, and when the health check packet originating from both nodes arrives from both rings, the unicast data packet to be transmitted If a ring determined according to the logical value of the bit at the predetermined bit position of the destination terminal identifier of the destination terminal is selected as a transmission ring and arrives from only one ring, the one ring is selected as the transmission ring, and both If the ring does not arrive from the ring, a transmit ring selection step of selecting both rings as transmit rings,
A unicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result, and the unicast data packet originating from the other node is relayed along the ring and addressed to the terminal accommodated by the own node. When the data packet transmission / reception step of relaying the unicast data packet to the accommodating terminal and discarding the unicast data packet originating from the own node,
A ring selection method in a dual ring network system, comprising:
相反する方向性を持つ1次リングと2次リングの二重リングからなる伝送媒体または回線を介して複数のノードが接続される二重リングネットワークシステムにおいて、
前記複数のノード側は、
ヘルスチェックパケットを両リングに周期的に送信し、到着した他ノード発ヘルスチェックパケットをリングに沿って中継する一方、到着した自ノード発ヘルスチェックパケットを廃棄するヘルスチェックパケット送受信工程と、
前記ヘルスチェックパケットが送受信される過程で、送信元ノード毎にヘルスチェックパケットの到着/未着を監視し、自ノード発ヘルスチェックパケットが両リングから到着した場合には、送信するマルチキャストデータパケットの複数の宛先端末のグループを識別する宛先端末グループ識別子の所定ビット位置のビットの論理値に応じて定められたリングを送信リングとして選択し、一方のリングのみから到着した場合には、当該一方のリングを送信リングとして選択し、両方のリングから到着しない場合は、両方のリングを送信リングとして選択する送信リング選択工程と、
収容する端末から送られてきたマルチキャストデータパケットを前記選択結果に基づくリングに送信し、到着した他ノード発マルチキャストデータパケットをリングに沿って中継するとともに、自ノードが収容する端末宛であるときはそのマルチキャストデータパケットを当該収容端末に中継し、到着した自ノード発マルチキャストデータパケットを廃棄処理するデータパケット送受信工程と、
を含むことを特徴とする二重リングネットワークシステムにおけるリング選択方法。
In a dual ring network system in which a plurality of nodes are connected via a transmission medium or a line composed of a double ring of a primary ring and a secondary ring having opposite directions,
The plurality of nodes are
Health check packet transmission and reception step for periodically transmitting health check packets to both rings, relaying health check packets originating from other nodes along the ring, while discarding health check packets originating from the own node,
In the process of transmitting and receiving the health check packet, the arrival / non-arrival of the health check packet is monitored for each transmission source node. When the health check packet originating from the own node arrives from both rings, the multicast data packet to be transmitted When a ring defined according to a logical value of a bit at a predetermined bit position of a destination terminal group identifier for identifying a group of a plurality of destination terminals is selected as a transmission ring, Selecting a ring as a transmit ring and, if not arriving from both rings, a transmit ring selection step of selecting both rings as transmit rings;
When the multicast data packet sent from the accommodating terminal is transmitted to the ring based on the selection result, and the multicast data packet originating from the other node is relayed along the ring, and when the own node is addressed to the accommodating terminal A data packet transmission / reception step for relaying the multicast data packet to the accommodating terminal and discarding the multicast data packet originating from the own node;
A ring selection method in a dual ring network system, comprising:
前記送信リング選択工程は、
自ノード発ヘルスチェックパケットが両リングから到着した場合において、前記識別子の一部または全部に対して所定の計算を実施してランダムなビット値を求める工程を含み、そのビット値に応じて定められたリングを送信リングとして選択する、
ことを特徴とする請求項115のいずれか一つに記載の二重リングネットワークシステムにおけるリング選択方法。
The transmission ring selection step includes:
When a self-node health check packet arrives from both rings, a predetermined calculation is performed on a part or all of the identifier to obtain a random bit value, which is determined according to the bit value. Select a ring as a transmit ring,
The ring selection method in a dual ring network system according to any one of claims 12 to 15 , wherein
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
JP2001374314 2001-12-07
JP2001-374314 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 JP2003234747A (en) 2003-08-22
JP3983621B2 true 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)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4687176B2 (en) 2005-03-22 2011-05-25 富士通株式会社 Packet relay device
JP4739141B2 (en) 2006-02-24 2011-08-03 アラクサラネットワークス株式会社 Ring network and master node
JP4760504B2 (en) * 2006-04-12 2011-08-31 株式会社日立製作所 Network system and communication device
JP4848254B2 (en) 2006-11-29 2011-12-28 アラクサラネットワークス株式会社 Devices that make up a ring network
CN100534048C (en) 2007-04-27 2009-08-26 中控科技集团有限公司 Distributed Ethernet system and method for inspecting fault based thereon
JP5207106B2 (en) * 2007-06-06 2013-06-12 国立大学法人名古屋大学 In-vehicle communication system and in-vehicle communication method
JP5026921B2 (en) * 2007-10-26 2012-09-19 三菱電機株式会社 Node device and ring network state change monitoring system using the same
JP2009188525A (en) 2008-02-04 2009-08-20 Nec Corp Network node, communication system, state switching method in network node and program
JP4760927B2 (en) * 2009-02-09 2011-08-31 株式会社日立製作所 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
JP7088075B2 (en) * 2019-02-22 2022-06-21 株式会社デンソー Electronic control device

Also Published As

Publication number Publication date
JP2003234747A (en) 2003-08-22

Similar Documents

Publication Publication Date Title
JP4743201B2 (en) Packet ring network system, connection method between packet rings, and connection node between rings
US5265092A (en) Synchronization mechanism for link state packet routing
JP3983621B2 (en) Dual ring network system and ring selection method
JP4948054B2 (en) Management apparatus, communication terminal apparatus, communication system, and communication management method
US5905714A (en) Method for rerouting a packet-mode data connection
JP2003218902A (en) Method and apparatus for bypassing spanning tree
JP2505063B2 (en) Method and system for establishing and managing virtual chains
CA2053397A1 (en) Method and apparatus for distance vector routing on datagram point-to-point links
WO2004082225A1 (en) Radio ad hoc communication system, terminal, processing method in the terminal, and program causing the terminal to execute the method
CN101141391A (en) Method for implementing fault switching
US5598403A (en) Path setting control system in communication network
JP3449541B2 (en) Data packet transfer network and data packet transfer method
JP5903192B2 (en) Service processing method and network device in ring network
AU686812B2 (en) Method for preventing circular routing in a telecommunication network
CA2228028C (en) Route finding in communications networks
JP3562421B2 (en) Wireless packet relay route construction method
US6820120B1 (en) Routing of data packets in heterogeneous networks
JP5029612B2 (en) Packet ring network system, packet transfer method and interlink node
US5490145A (en) Communication system for a ring-type network
JP4723032B2 (en) Ring identifier assigning method and apparatus
KR20040074434A (en) method and apparatus for reliable routing information exchange in distributed router
KR19990036307A (en) Additional Route Determination Methods and Nodes Used in Node Networks
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
JPH0895931A (en) Faust detecting method for distributed computer system

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