JP4958746B2 - Network system and node device - Google Patents
Network system and node device Download PDFInfo
- Publication number
- JP4958746B2 JP4958746B2 JP2007303613A JP2007303613A JP4958746B2 JP 4958746 B2 JP4958746 B2 JP 4958746B2 JP 2007303613 A JP2007303613 A JP 2007303613A JP 2007303613 A JP2007303613 A JP 2007303613A JP 4958746 B2 JP4958746 B2 JP 4958746B2
- Authority
- JP
- Japan
- Prior art keywords
- node
- transmission quality
- transmission
- termination
- information
- 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
Links
- 230000005540 biological transmission Effects 0.000 claims description 364
- 238000012545 processing Methods 0.000 claims description 42
- 238000012544 monitoring process Methods 0.000 claims description 34
- 230000008859 change Effects 0.000 claims description 23
- 238000000034 method Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 11
- 238000001514 detection method Methods 0.000 description 8
- 230000015556 catabolic process Effects 0.000 description 6
- 238000006731 degradation reaction Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000003672 processing method Methods 0.000 description 3
- 206010048669 Terminal state Diseases 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003908 quality control method Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Description
本発明は、複数のノードが伝送路を介してリング状に接続されたネットワークシステム及びそのシステムに適用されるノード装置に関する。 The present invention relates to a network system in which a plurality of nodes are connected in a ring shape via a transmission line, and a node device applied to the system.
複数のノードが伝送路を介してリング状に接続されたネットワークシステムにおいて、データが無限に循環するのを防止するための制御手法の1つにスパニングツリープロトコル(STP:Spanning Tree Protocol)が知られている。STPは、非特許文献1に示すIEEE802.1Dとして標準化されたネットワークプロトコルで、ループ状に形成されたネットワーク内で、ネットワークに接続されているポートの一箇所を論理的に切断し、終端とすることにより、フレームが永久に循環することを防止する。更に、STPは、ポート間に障害が発生した際には、障害部位を切り離すとともに終端個所を再構成することにより迂回経路を確保することができる、ネットワークの耐障害性を高める制御手法の一つである。
In a network system in which a plurality of nodes are connected in a ring shape via a transmission line, a spanning tree protocol (STP) is known as one of control methods for preventing data from circulating infinitely. ing. STP is a network protocol standardized as IEEE802.1D shown in Non-Patent
STPによる障害発生時のネットワークの再構成の手法は、具体的には以下の通りである。あらかじめ、ネットワーク上に接続されているノードにユーザが任意の優先度を設定しておき、ノードの優先度情報と伝送速度の情報を持ったBPDU(Bridge Protocol Data Unit)と呼ばれるフレームを一定の間隔でやり取りする。このBPDUの情報を基に、優先度の一番高いノードを基準ノードとし、基準ノードから見た伝送速度が一番遅く、かつ優先度が一番低いノートのポートを終端とする。終端としたポートは通常の経路としては使用せず、障害時の迂回経路として設定する。これにより、ループを形成しているネットワークであっても、データがループの中を巡り続ける事を防ぐと共に、通常の経路でネットワーク障害が発生した場合は、終端箇所を伝送可能状態に変更し、障害発生箇所を終端箇所に変更することにより、ネットワークを再構成し、障害時の迂回経路を確保することができる。STPでは、BPDUフレームを各ノード間で数秒に一回の間隔でやり取りし、一定時間BPDUフレームを受信しないポートは障害が発生したと判断し、ネットワークを再構成する。
しかしながら、非特許文献1に記載された従来の技術では、終端ノードを決定する際、基準ノードから見た伝送速度が一番遅く、かつ優先度が一番低いノードのポートを終端としており、伝送品質を考慮せずに終端を決定していた。そのため、他の区間の伝送品質が悪い場合でも伝送品質の良い個所を終端とする場合があり、ネットワーク全体のデータ伝達率を低下させてしまうという問題がある。
However, in the conventional technique described in
また、非特許文献1に記載された従来の技術では、BPDUフレームを各ノード間で数秒に一回の間隔でやり取りし、一定時間BPDUフレームを受信しないポートを障害発生と判断している。そのため、例えば上記STPの障害判定時間より短い間隔で障害の発生と復旧を繰り返す間欠障害が発生した場合、障害検出することが出来ない。その結果、品質が低下した個所を使用することにより、ネットワーク全体のデータ伝達率を低下させてしまうという問題がある。
Further, according to the conventional technique described in
本発明はかかる点に鑑みてなされたものであり、複数のノードが伝送路を介してリング状に接続されたネットワークシステムにおいて、ネットワーク全体のスループットを向上させることを目的とする。 The present invention has been made in view of this point, and an object of the present invention is to improve the throughput of the entire network in a network system in which a plurality of nodes are connected in a ring shape via a transmission line.
本発明は、データ伝送を行う複数のノードをリング状に接続したネットワークにおいて、各ノードは、自ノードに接続されたポートの伝送品質を定周期で監視する伝送品質監視部と、伝送品質監視部により監視した伝送品質を格納する伝送品質管理テーブルと、伝送品質管理テーブルの情報を基に、ネットワーク上の終端箇所を判定する終端判定部と、自ノードのノード状態を管理するノード状態管理部を設ける。各ノードは、伝送品質監視部で監視した自ノードの伝送品質情報を全ノード宛に送信することにより、ネットワーク上の全ノードの伝送品質を伝送品質管理テーブルに格納し、格納した全ノードの伝送品質を比較することにより終端箇所を判定する構成とした。 The present invention relates to a network in which a plurality of nodes that perform data transmission are connected in a ring shape. Each node monitors a transmission quality of a port connected to its own node at a fixed period, and a transmission quality monitoring unit. A transmission quality management table for storing the transmission quality monitored by the network, a termination determination unit for determining a termination point on the network based on information in the transmission quality management table, and a node state management unit for managing the node state of the own node. Provide. Each node stores the transmission quality information of all nodes on the network in the transmission quality management table by transmitting the transmission quality information of its own node monitored by the transmission quality monitoring unit to all nodes, and the transmission of all stored nodes It was set as the structure which determines a terminal location by comparing quality.
また、伝送品質監視部は、定周期監視した自ポートの伝送品質を格納し、前回格納した伝送品質と今回監視した伝送品質とを比較することにより伝送品質の変化を検出し、伝送品質変化が検出された場合に、変化した伝送品質情報を全ノード宛に送信する。 Also, the transmission quality monitoring unit stores the transmission quality of its own port monitored periodically, and detects the change in transmission quality by comparing the previously stored transmission quality with the transmission quality monitored this time. If detected, the changed transmission quality information is transmitted to all nodes.
本発明によると、複数のノードが伝送路を介してリング状に接続された伝送路システムにおいて、各ノードが全ノードの伝送品質情報を共有することにより、最も伝送品質の悪い箇所を終端ノードとすることができる。そのため、安定した通信状態を維持することが可能となり、ネットワーク全体のスループットを向上させることが可能となる。 According to the present invention, in a transmission line system in which a plurality of nodes are connected in a ring shape via a transmission line, each node shares the transmission quality information of all the nodes, so that the point with the worst transmission quality is defined as a termination node. can do. Therefore, it is possible to maintain a stable communication state, and it is possible to improve the throughput of the entire network.
また、各ノードは伝送品質監視部により自ポートの伝送品質の変化を検出し、伝送品質情報を全ノードに送信するため、伝送障害の発生/復帰を繰り返す間欠障害が発生した場合でも、その品質変化を検出することができ、終端箇所に移行することができる。このように、障害発生箇所を迅速に終端へ移行することにより、ネットワークを最良の状態で運用することができる。 In addition, each node detects a change in transmission quality of its own port by the transmission quality monitoring unit and transmits transmission quality information to all nodes, so even if an intermittent failure that repeats the occurrence / recovery of a transmission failure occurs, the quality A change can be detected and a transition can be made to the end point. In this way, the network can be operated in the best state by quickly shifting the failure occurrence point to the terminal.
以下、本発明の一実施の形態を、添付図面を参照して説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.
図1は、本例によるネットワークシステム、ここでは、二重リング型ネットワークシステムの論理的な基本概念を示す図である。図1を参照し、本例によるネットワークシステムの基本的な動作について説明する。 FIG. 1 is a diagram showing a logical basic concept of a network system according to this example, here, a double ring network system. The basic operation of the network system according to this example will be described with reference to FIG.
図1において、ノードA1〜ノードF6は、フレーム伝送装置としてのノードであり、それぞれに、ユニークなノード番号が割り当てられている。これらのノードは、A系廻り(時計廻り)の伝送路9、B系廻り(反時計廻り)の伝送路10の2本の伝送路を介して接続することによりネットワークを構成している。例えば、ノードA1〜ノードF6が複数のポートを持つノードの場合、A系廻り(時計廻り)の伝送路9は各ノードのポートA側を接続した伝送ルートとし、B系廻り(反時計廻り)の伝送路10は各ノードのポートB側を接続した伝送ルートとして構築することができる。
In FIG. 1, nodes A1 to F6 are nodes as frame transmission apparatuses, and each is assigned a unique node number. These nodes constitute a network by connecting via two transmission lines, a
ノードA1は、A系廻りの伝送路9を終端するノードであり、ノードB2はB系廻りの伝送路10を終端するノードである。ノードA1とノードB2間を接続するポート11、12は終端(ブロッキングポート)となり、BPDUの送信およびデータフレームのフォワーディングは行わない。
The node A1 is a node that terminates the
終端ノード以外のノードC3〜ノードF6は中間ノードであり、A系廻り(時計廻り)の伝送路9、B系廻り(反時計廻り)の伝送路10の両伝送路に対して、BPDUフレームおよびデータフレームの伝送が可能なノードである。中間ノードC3〜F6は、いずれもポートA、ポートBともにネットワークに接続し、ポートA側、ポートB側の両方で双方向にフレーム伝送を行う。
Nodes C3 to F6 other than the termination node are intermediate nodes, and BPDU frames and
なお、端末7、8は、ノードA1〜ノードF6のいずれかに接続される端末であり、図1ではノードC3に端末7を、ノードE5に端末8を接続した例を示している。端末7、8は、A系廻り(時計廻り)の伝送路9、あるいはB系廻り(反時計廻り)の伝送路10を用いてデータ交換を行う。なお、図1における太線矢印は、データ交換を模式的に示したものである。例えば、端末7から送信したデータは、A系廻りの伝送路9、B系廻りの伝送路10を介してそれぞれ伝送され、端末8で受信される。
The
図2は、本例によるネットワークシステムで使用されるデータフレームのデータ形式の例を示す図である。図2に示すように、データフレームは、宛先アドレス21、送信元アドレス22、タグ23、フレーム長/タイプ24、データエリア25、CRC(Cyclic Redundancy Check)26の各フィールドにより構成する。CRCは誤り検出又は訂正を行う符合である。
FIG. 2 is a diagram illustrating an example of a data format of a data frame used in the network system according to the present example. As shown in FIG. 2, the data frame is composed of fields of a
なお、データエリア25は、ノード#27、フレーム認識番号28、品質通知情報29から構成する。フレーム認識番号28は、フレームの種類を表す認識番号であり、認識番号の内容を表281に示す。ここではフレームの種類を2ビットのコードで識別しており、伝送品質通知フレーム、伝送不可通知フレーム、終端要求フレーム、終端完了フレームの識別に用いられる。このうち、本例において、終端ノードの決定に用いる伝送品質情報は、伝送品質通知フレームと伝送不可通知フレームの情報である。ここで、伝送品質は、自ノードに接続されたポートの単位時間におけるビットエラー率で表す。
The
図3は、本例によるデータ伝送装置の内部構成例を示すブロック図であり、具体的には、図1に示す各ノードA1〜F6の内部構成を示している。本例のデータ伝送装置は、ポートの状態を制御するポート制御部33と、受信したフレームの種別を判定し、その種別に応じた処理を要求する受信処理部34と、自ノードの伝送品質を周期的に監視する伝送品質監視部35とを備える。また、受信処理部34または伝送品質監視部35からの要求により、他ノードから受信した伝送品質情報または自ノードの伝送品質情報を伝送品質記録部37に転送する伝送品質比較要否判定部36と、伝送品質比較要否判定部36から転送された情報を伝送品質管理テーブル42へ格納する伝送品質記録部37と、自ノードの伝送品質と他ノードの伝送品質とを比較し、比較結果を終端判定部39へ転送する伝送品質比較部38と、伝送品質比較部38から転送された伝送品質の比較結果を基に終端ノードを判定する終端判定部39とを備える。さらに、ノードの状態を管理し、終端判定部39の判定結果を基に、終端ノードを切り替える場合は送信処理部41に対し終端要求フレームの送信を要求するノード状態管理部40と、ノード状態管理部40または伝送品質監視部35からの要求により、要求されたフレームの情報を送信する送信処理部41とを備える。
FIG. 3 is a block diagram illustrating an internal configuration example of the data transmission apparatus according to the present example, and specifically illustrates the internal configuration of each of the nodes A1 to F6 illustrated in FIG. The data transmission apparatus of this example includes a
次に、各処理部の処理内容について説明する。 Next, the processing content of each processing unit will be described.
ポート制御部33は、A系廻りのポートであるポートA31、B系廻りのポートであるポートB32に対して、ポートの状態を制御する。ノード状態管理部40で管理している自ノードの状態が終端ノードであれば、ポートを終端状態(BPDUの送信およびデータフレームのフォワーディングは行わず、BPDUの受信のみ行う)にし、中間ノードであればポートをフォワーディング状態(BPDUの送受信およびデータフレームのフォワーディングを行う)にする。
The
受信処理部34は、受信したフレームの種別を判定し、その種別に応じた処理を要求する。種別が伝送品質通知フレーム、伝送不可通知フレームの場合は伝送品質比較要否判定部36へ、終端要求フレーム、終端完了フレームの場合はノード状態管理部40へフレームの情報を転送し、処理を要求する。
The
伝送品質監視部35は、自ノードの伝送品質を周期的に監視し、収集した伝送品質を格納する。更に、伝送品質監視部35は、前回収集した伝送品質と新たに収集した伝送品質とを比較し、品質変化を検出した場合、または新たに収集した伝送品質により伝送不可を検出した場合に、伝送品質比較要否判定部36と送信処理部41に品質変化検出または伝送不可検出の情報を転送する。
The transmission
伝送品質比較要否判定部36は、受信処理部34から転送された他ノードから受信した伝送品質通知フレームまたは伝送不可通知フレームの情報と、伝送品質監視部35から転送された自ノードの伝送品質変化検出または伝送不可検出の情報を伝送品質記録部37へ転送する。また、伝送品質比較要否判定部36は、自ノードが終端ノードの場合、伝送品質監視部35から転送された自ノードの伝送品質変化検出または伝送不可検出の情報を伝送品質比較部38に転送する。更に、自ノードが終端ノードの場合、他ノードから受信した伝送品質通知フレームの情報を伝送品質比較部38に転送する。
The transmission quality comparison
伝送品質記録部37は、伝送品質比較要否判定部36から転送された情報を基に、伝送品質管理テーブル42内の該当ノード番号の伝送品質情報を更新する。
The transmission
伝送品質比較部38は、自ノードが終端ノードの場合に、伝送品質比較要否判定部36からの要求により伝送品質の比較処理を行う。伝送品質比較要否判定部36から転送された情報が自ノードの伝送品質の場合、転送された自ノードの伝送品質と伝送品質管理テーブル42内の他ノードの伝送品質情報とを比較する。また、伝送品質比較要否判定部36から転送された情報が他ノードの伝送品質の場合、転送された他ノードの伝送品質と伝送品質管理テーブル42内の自ノードの伝送品質情報とを比較する。そして、伝送品質比較部38は、比較結果を終端判定部39に転送する。
The transmission
終端判定部39は、伝送品質比較部38から転送された伝送品質比較結果を基に、他ノードの伝送品質が自ノードの伝送品質より悪い、または全ノードが同じ伝送品質の場合、終端するノードを判定し、判定結果をノード状態管理部40に転送する。
Based on the transmission quality comparison result transferred from the transmission
ノード状態管理部40は、終端判定部39の判定結果から他ノードに終端ノードを切り替える場合、伝送品質管理テーブル42の閾値を新たに終端となるノードに設定し、送信処理部41に対し該当するノードへの終端要求フレームの送信を要求する。また、ノード状態管理部40は、自ノードが終端ノードの場合、受信処理部34から終端完了フレームの情報を受信すると、自ノードの状態を終端ノードから中間ノードに変更し、ポート制御部33に対して、ポートを終端状態からフォワーディング状態に変更するよう要求する。また、自ノードが中間ノードの場合、受信処理部34から終端要求フレームの情報を受信すると、自ノードの状態を中間ノードから終端ノードに変更し、ポート制御部33に対して、ポートをフォワーディング状態から終端状態に変更するよう要求した後、送信処理部41に対して、終端ノードへの終端完了フレームの送信を要求する。
When switching the termination node from the determination result of the
送信処理部41は、伝送品質監視部35からの要求により、自ノードの伝送品質変化検出時は、品質変化検出の情報を付加した伝送品質通知フレームを、伝送不可検出時は、伝送不可検出の情報を付加した伝送不可通知フレームを全ノード宛に送信する。また、送信処理部41は、ノード状態管理部40からの終端要求フレームまたは終端完了フレームの送信要求に応じて、該当する他ノードに対し終端要求フレームを、また、終端ノードに対し終端完了フレームを送信する。
In response to a request from the transmission
図4に、本例による伝送品質管理テーブル42のデータ構成例を示す。伝送品質管理テーブル42は、ネットワークを構成する全ノードの伝送品質情報を管理するためのテーブルであり、本テーブルの情報を全てのノードで共有することにより、伝送品質の変化を迅速に検出するとともに、安定した伝送品質を提供するための構成制御を行うことができる。 FIG. 4 shows a data configuration example of the transmission quality management table 42 according to this example. The transmission quality management table 42 is a table for managing the transmission quality information of all the nodes constituting the network. By sharing the information in this table with all the nodes, a change in transmission quality can be detected quickly. In addition, configuration control for providing stable transmission quality can be performed.
伝送品質管理テーブル42は、ノード番号421、伝送品質422、閾値フラグ423から構成する。伝送品質422には、各ノードのポートA、ポートBの伝送品質を格納し、受信した他ノードの伝送品質通知フレーム、または伝送品質監視部35により検出した自ノードの伝送品質の情報を基に随時更新する。閾値フラグ423は、終端ノードについてその伝送品質を格納する。終端ノードの伝送品質は、その時点で最も悪い伝送品質であるため、その値を終端の判定のための閾値として用いる。
The transmission quality management table 42 includes a
次に、本例による伝送品質の監視処理の内容と、終端ノードの変更処理の内容について説明する。 Next, the contents of the transmission quality monitoring process and the terminal node changing process according to this example will be described.
図5に、中間ノードの伝送品質監視部35による伝送品質の監視処理例を表すフローチャートを示す。本処理は、中間ノードが自ノードの伝送品質を監視するために一定周期で実行する処理である。
FIG. 5 is a flowchart showing an example of transmission quality monitoring processing by the transmission
まず、伝送品質監視部35は、自ノードの伝送品質を収集する(ステップS501)。次に、収集した伝送品質を基に、自ノードが伝送不可に変化したかを判定する(ステップS502)。判定の結果、自ノードが伝送不可の場合は、伝送品質記録部37により、品質管理テーブル42の伝送品質情報を更新し(ステップS503)、伝送不可通知フレームを全ノードに送信する(ステップS504)。ステップS502の判定の結果、伝送不可でない場合は、前回収集した自ノードの伝送品質と今回収集した伝送品質を比較し、伝送品質に変化があるかを判定する(ステップS505)。判定の結果、伝送品質に変化がある場合は、伝送品質記録部37により、品質管理テーブル42の伝送品質情報を更新し(ステップS506)、今回収集した伝送品質を伝送品質通知フレームとして全ノードに送信する(ステップS507)。ステップS505の判定の結果、伝送品質に変化がない場合は、処理を終了する。
First, the transmission
図6に、終端ノードが中間ノードから伝送品質通知フレームを受信した時の処理例を表すフローチャートを示す。終端ノードが他の中間ノードから受信するフレームは、伝送品質通知フレーム、伝送不可通知フレーム、終端完了フレームの3種類であるため、その種別に応じた処理を行う。 FIG. 6 is a flowchart showing a processing example when the terminal node receives a transmission quality notification frame from the intermediate node. There are three types of frames that the terminal node receives from other intermediate nodes: a transmission quality notification frame, a transmission impossible notification frame, and a terminal completion frame, and therefore processing according to the type is performed.
まず、受信処理部34において、中間ノードから送信されたフレームを受信する(ステップS601)。次に、受信したフレームの種別により処理を分岐する(ステップS602)。受信したフレームの種別が伝送品質通知フレームの場合は、伝送品質比較要否判定部36から伝送品質記録部37へフレームの情報を転送し、品質管理テーブル42の伝送品質情報を更新する(ステップS603)。次に、伝送品質比較部38により、受信した伝送品質通知フレームの伝送品質と伝送品質管理テーブル42内の閾値とを比較する(ステップS604)。なお、自ノードが終端ノードであるため、閾値には自ノードの伝送品質が設定されている。そのため、受信した伝送品質と自ノードの伝送品質とを比較することと同等である。次に、終端判定部39により、伝送品質の比較結果を基に受信した伝送品質通知フレームの伝送品質が閾値より悪いか判定する(ステップS605)。判定の結果、受信した伝送品質通知フレームの伝送品質が閾値より悪い場合は、ノード状態管理部40により、伝送品質管理テーブル42の伝送品質通知フレームの送信元ノードに該当するレコードに閾値を設定し、元の閾値は削除する(ステップS606)。最後に、伝送品質通知フレームの送信元ノードに終端要求フレームを送信し、処理を終了する(ステップS607)。ステップS605の判定の結果、受信した伝送品質通知フレームの伝送品質が閾値より悪くない場合、すなわち自ノードの伝送品質の方が悪い場合は、終端ノードは変更せず、そのまま処理を終了する。
First, the
ステップS602の分岐で、受信したフレームの種別が伝送不可通知フレームの場合、伝送品質記録部37により、品質管理テーブル42の伝送品質情報を更新する(ステップS608)。次に、伝送不可となったノードに終端ノードを切り替えるため、ノード状態管理部40により、伝送品質管理テーブル42の伝送不可通知フレームの送信元ノードに該当するレコードに閾値を設定し、元の閾値は削除する(ステップS609)。最後に、伝送不可通知フレームの送信元ノードに終端要求フレームを送信し、処理を終了する(ステップS610)。
If the received frame type is a transmission impossible notification frame at the branch of step S602, the transmission
ステップS602の分岐で、受信したフレームの種別が終端完了フレームの場合、ノード状態管理部40により、自ノードの状態を終端ノードから中間ノードに変更する(ステップS611)。次に、ポート制御部33により、ポートを終端状態からフォワーディング状態に変更し、処理を終了する(ステップS612)。
If the received frame type is the termination completion frame at the branch of step S602, the node
図7に、中間ノードが終端ノードから終端要求フレームを受信した時の処理例を表すフローチャートを示す。中間ノードが終端要求フレームを受信すると、自ノードを終端ノードに切り替える処理を行う。 FIG. 7 is a flowchart showing an example of processing when the intermediate node receives the termination request frame from the termination node. When the intermediate node receives the termination request frame, it performs a process of switching its own node to the termination node.
まず、受信処理部34において、終端ノードから終端要求フレームを受信する(ステップS701)。次に、ノード状態管理部40により、自ノードの状態を中間ノードから終端ノードに変更する(ステップS702)。次に、ポート制御部33により、ポートをフォワーディング状態から終端状態に変更し(ステップS703)、終端要求を送信してきた終端ノードに対して終端完了フレームを送信し、処理を終了する(ステップS704)。
First, the
図8に、終端ノードの伝送品質監視部35による伝送品質の監視処理例を表すフローチャートを示す。終端ノードも中間ノードと同様に、自ノードのポートの伝送品質を一定周期で監視している。
FIG. 8 is a flowchart showing an example of transmission quality monitoring processing by the transmission
まず、伝送品質監視部35は、自ノードの伝送品質を収集する(ステップS801)。次に、収集した伝送品質を基に、自ノードが伝送不可に変化したかを判定する(ステップS802)。判定の結果、自ノードが伝送不可の場合は、伝送品質記録部37により、品質管理テーブル42の伝送品質情報を更新し(ステップS803)、伝送不可通知フレームを全ノードに送信する(ステップS804)。ステップS802の判定の結果、伝送不可でない場合は、前回収集した自ノードの伝送品質と今回収集した伝送品質とを比較し、伝送品質に変化があるかを判定する(ステップS805)。判定の結果、伝送品質に変化がある場合は、伝送品質記録部37により、品質管理テーブル42の伝送品質情報を更新し(ステップS806)、今回収集した伝送品質を伝送品質通知フレームとして全ノードに送信する(ステップS807)。ステップS805の判定の結果、伝送品質に変化がない場合は、処理を終了する。以上の処理は、図5に示した中間ノードの伝送品質監視処理の内容と同等である。
First, the transmission
次に、伝送品質比較部38により、自ノードの伝送品質と伝送品質管理テーブル42内の他ノードの伝送品質とを比較し、比較結果を基に終端判定部39にて自ノードの伝送品質より悪いノードがあるかを判定する(ステップS808)。判定の結果、自ノードより伝送品質の悪いノードがある場合は、伝送品質の最も悪いノードに終端ノードを切り替えるため、ノード状態管理部40により、伝送品質管理テーブル42の閾値を新たに終端となるノードに設定し、当該ノードに終端要求フレームを送信する(ステップS809)。
Next, the transmission
ステップS808の判定の結果、自ノードの伝送品質より悪いノードがない場合は、更に自ノードの伝送品質と同じノードがあるかを判定する(ステップS810)。判定の結果、自ノードと同じ伝送品質のノードがある場合は、終端判定部39により、自ノードのノード番号より若いノード番号のノードがあるかを判定する(ステップS811)。判定の結果、自ノードのノード番号より若いノード番号のノードがある場合は、ノード番号の最も若番のノードに終端ノードを切り替えるため、ノード状態管理部40により、伝送品質管理テーブル42の閾値を新たに終端となるノードに設定し、当該ノードに終端要求フレームを送信する(ステップS812)。ステップS810の判定の結果、自ノードと同じ伝送品質のノードがない場合は、自ノードが最も伝送品質が悪いノードとなるため、終端ノードは変更せずに処理を終了する。また、ステップS811の判定の結果、自ノードより若番のノード番号のノードがない場合も、終端ノードは変更せずに処理を終了する。
If the result of determination in step S808 is that there is no node that is worse than the transmission quality of the own node, it is further determined whether there is a node that is the same as the transmission quality of the own node (step S810). As a result of the determination, if there is a node having the same transmission quality as the own node, the
なお、本例では、伝送品質が最も悪いノードが複数存在した場合に、ノード番号を基に終端ノードを決定しているが、他の処理方法で終端ノードを決定してもよい。例えば、予めユーザが任意に設定できるノード優先順の情報を設けておき、その優先順に従って終端ノードを決定する処理方法や、伝送路の使用状況などの情報を蓄積しておき、ネットワーク全体の中でより影響の少ないノードを終端に決定する処理方法などがある。 In this example, when there are a plurality of nodes having the worst transmission quality, the termination node is determined based on the node number. However, the termination node may be determined by another processing method. For example, node priority order information that can be arbitrarily set by the user is provided in advance, and information such as the processing method for determining the end node according to the priority order and the usage status of the transmission path is accumulated, There is a processing method that determines a node with less influence at the end.
上記説明した処理により、終端ノードの切り替え時の動作の具体例について説明する。 A specific example of the operation at the time of switching the terminal node will be described by the processing described above.
図9、図10に、ネットワーク上に伝送品質低下が発生した場合の終端箇所の切り替え動作の例を示す。図9、図10はノード#1〜ノード#6のノードを伝送路で接続した二重リング型ネットワークシステムの例を示している。図9(a)は、ネットワークシステムの初期状態を表し、ネットワーク上の全ノードの伝送品質が同一で差異がない状態とする。このように、伝送品質に差異がない場合は、ノード番号の最も若い番号のノードを終端ノードとするため、ノード#1がA系廻りの終端ノード、ノード#2がB系廻りの終端ノードなり、ノード#1のA側ポート11とノード#2のB側ポート12が終端となる。それ以外のノードは、中間ノードとなる。
FIG. 9 and FIG. 10 show an example of the switching operation of the terminal location when transmission quality degradation occurs on the network. 9 and 10 show an example of a dual ring network system in which the
ここで、図9(b)に示すように、ノード#4〜ノード#5間に伝送品質低下が発生した場合(図中、伝送品質低下箇所を点線で示す)、ノード#4は、他のノードに対して伝送品質通知フレームを送信する。終端ノードであるノード#1は、伝送品質通知フレームを受信すると、終端ノードの伝送品質(以降、終端閾値と呼ぶ)と受信した伝送品質を比較する。その結果、伝送品質通知ノードであるノード#4の伝送品質が自ノードの伝送品質より悪い場合は、終端ノードを切り替えるために、図10(c)に示すように、ノード#4に対して終端要求フレームを送信する。次に、図10(d)に示すように、ノード#4は、終端要求フレームを受信すると終端処理を行い、旧終端ノードであるノード#1に対して終端完了フレームを送信する。ノード#1は、終端完了フレームを受信すると終端を解除し、図10(e)に示すように終端箇所がノード#4のA側ポート13とノード#5のB側ポート14になり、終端箇所が切り替わる。終端箇所の切り替えにより終端閾値も変更し、新たに終端となったノード#4の伝送品質が終端閾値となる。
Here, as shown in FIG. 9B, when transmission quality degradation occurs between the
図10(e)の状態から、更に他の箇所で伝送品質低下が発生した場合について説明する。例えば、ノード#6〜ノード#1間で伝送品質低下が発生した場合、ノード#6は、伝送品質通知フレームを送信する。終端ノード#4は、伝送品質通知フレームを受信すると、終端閾値と受信した伝送品質とを比較し、終端閾値より受信した伝送品質が悪い場合は、ノード#6に対して終端要求フレームを送信する。ノード#6は、終端要求フレームを受信すると終端処理を行い、ノード#4に対して終端完了フレームを送信する。ノード#4は終端完了フレームを受信すると終端解除し、終端箇所を切り替える。このように、伝送品質の低下が複数の箇所で発生した場合は、伝送品質低下箇所の伝送品質を比較し、最も伝送品質の悪い箇所を終端とする。
A case will be described where transmission quality degradation occurs in another location from the state of FIG. For example, when transmission quality deterioration occurs between the
次に、伝送品質が改善した場合の終端箇所の切り替え動作の例を説明する。図11(a)は、ノード#4〜ノード#5間とノード#6〜ノード#1間で伝送品質低下が発生し、より伝送品質の悪いノード#6、ノード#1を終端ノードとした場合の例を示している。この状態から、ノード#6〜ノード#1間の伝送品質が改善した場合、終端ノードであるノード#6は、自ノードの伝送品質と伝送品質管理テーブル上の他ノードの伝送品質を比較し、伝送路上で最も伝送品質の悪いノード#4〜ノード#5間を終端箇所とする為に、終端要求フレームをノード#4に送信する。ノード#4は、終端要求フレームを受信すると終端処理を行い、ノード#6に対して終端完了フレームを送信する。ノード#6は終端完了フレームを受信すると終端解除し、終端箇所を切り替える。図11(b)は、終端箇所が切り替わり、ノード#4とノード#5が再度終端ノードに変わった状態を示している。このように、伝送品質が改善方向に変化した場合においても、伝送品質の変化を検出し、ネットワーク上で最も伝送品質の悪い箇所を終端とすることができる。
Next, an example of the switching operation of the terminal location when the transmission quality is improved will be described. FIG. 11A shows a case where transmission quality deteriorates between
次に、ネットワーク上に伝送不可状態が発生した場合の終端箇所の切り替え動作の例を説明する。図12、図13は、ノード#2〜ノード#3間で伝送不可が発生した場合の例を示している。図12(a)は、ノード#4〜ノード#5間とノード#6〜ノード#1間で伝送品質低下が発生し、より伝送品質の悪いノード#6、ノード#1を終端ノードとした場合で、更にノード#2〜ノード#3間に伝送不可状態が発生した状態の例を示している。伝送不可状態が発生すると、図12(b)に示すように、伝送不可が発生したノード#2は、他のノードに対して伝送不可通知フレームを送信する。終端ノードであるノード#6は、伝送不可通知フレームを受信すると、終端ノードを切り替えるために、図12(c)に示すように、ノード#2に対して終端要求フレームを送信する。
Next, an example of the switching operation of the terminal location when a transmission disabled state occurs on the network will be described. 12 and 13 show an example in the case where transmission failure occurs between the
次に、図13(d)に示すように、ノード#2は、終端要求フレームを受信すると終端処理を行い、旧終端ノードであるノード#6に対して終端完了フレームを送信する。ノード#6は、終端完了フレームを受信すると終端を解除し、図13(e)に示すように終端箇所がノード#2のA側ポート17とノード#3のB側ポート18になり、終端箇所が切り替わる。このとき、ノード#4〜ノード#5間とノード#6〜ノード#1間は伝送品質低下が発生した状態のままであるが、より伝送品質の悪い、伝送不可状態の箇所を終端とする。
Next, as illustrated in FIG. 13D, when the termination request frame is received, the
このように、本発明の実施の形態では、伝送路上の全ノードの伝送品質を周期的に監視することにより、伝送路上の伝送品質の変化を迅速に検出し、随時終端閾値を変化させることにより、伝送品質が最も悪いノードを終端ノードとすることが出来る。その結果、伝送効率を最良に保ち、伝送路の分断を防ぐことが出来る。 Thus, in the embodiment of the present invention, by periodically monitoring the transmission quality of all nodes on the transmission line, it is possible to quickly detect a change in transmission quality on the transmission line and change the termination threshold as needed. The node with the lowest transmission quality can be the end node. As a result, it is possible to keep the transmission efficiency optimal and prevent the transmission path from being divided.
1〜6…ノード、7、8…端末、9、10…伝送路、11〜18…終端(ブロッキングポート)、21…宛先アドレス、22…送信元アドレス、23…タグ、24…フレーム長/タイプ、25…データエリア、26…CRC、27…ノード#、28…フレーム認識番号、29…品質通知情報、31…ポートA、32…ポートB、33…ポート制御部、34…受信処理部、35…伝送品質監視部、36…伝送品質比較要否判定部、37…伝送品質記録部、38…伝送品質比較部、39…終端判定部、40…ノード状態管理部、41…送信処理部、42…伝送品質管理テーブル
1 to 6: Node, 7, 8 ... Terminal, 9, 10 ... Transmission path, 11-18 ... Termination (blocking port), 21 ... Destination address, 22 ... Source address, 23 ... Tag, 24 ... Frame length /
Claims (8)
前記ノードは、
自ノードに接続されたポートの伝送品質を定周期で監視する伝送品質監視部と、
前記伝送品質監視部により監視した伝送品質を格納する伝送品質管理テーブルと、
前記伝送品質管理テーブルの情報を基に、ネットワーク上の終端箇所を判定する終端判定部と、
自ノードのノード状態を管理するノード状態管理部を設け、
前記伝送品質監視部で監視した自ノードの伝送品質情報を全ノード宛に送信することにより、前記ネットワーク上の各ノードが、全ノードの伝送品質を前記伝送品質管理テーブルに格納し、格納した全ノードの伝送品質を比較することにより終端箇所を判定することを特徴とするネットワークシステム。 In a network system in which multiple nodes that perform data transmission are connected in a ring shape,
The node is
A transmission quality monitoring unit that monitors the transmission quality of the port connected to the own node at regular intervals;
A transmission quality management table for storing the transmission quality monitored by the transmission quality monitoring unit;
Based on the information of the transmission quality management table, a termination determination unit that determines a termination point on the network;
A node status management unit that manages the node status of its own node is provided,
By transmitting the transmission quality information of the own node monitored by the transmission quality monitoring unit to all nodes, each node on the network stores the transmission quality of all nodes in the transmission quality management table, and stores all stored A network system characterized in that a termination point is determined by comparing transmission quality of nodes.
前記伝送品質管理テーブルに格納された伝送品質の最も悪いものを閾値とし、前記伝送品質監視部で監視する伝送品質と閾値とを比較することにより、終端箇所を判定し、終端箇所を変更する場合は、終端箇所の伝送品質を閾値として設定することを特徴とするネットワークシステム。 The network system according to claim 1,
When determining the end point by changing the end point by comparing the transmission quality monitored by the transmission quality monitoring unit with the threshold value with the worst transmission quality stored in the transmission quality management table as a threshold value Is a network system characterized in that the transmission quality at the end point is set as a threshold value.
前記伝送品質監視部は、定周期監視した自ポートの伝送品質を格納し、前回格納した伝送品質と今回監視した伝送品質とを比較することにより伝送品質の変化を検出し、伝送品質変化が検出された場合に、変化した伝送品質情報を全ノード宛に送信することを特徴とするネットワークシステム。 The network system according to claim 1,
The transmission quality monitoring unit stores the transmission quality of its own port that is periodically monitored, detects the change in transmission quality by comparing the previously stored transmission quality with the transmission quality monitored this time, and detects the transmission quality change. A network system that transmits the changed transmission quality information to all nodes.
前記伝送品質監視部は、自ポートの伝送不可状態を検出した場合、伝送不可情報を全ノード宛に送信し、
前記終端判定部は、伝送不可情報を受信した場合、伝送不可情報の送信元のノードを終端箇所と判定することを特徴とするネットワークシステム。 The network system according to claim 1,
When the transmission quality monitoring unit detects a transmission disabled state of its own port, it transmits transmission disabled information to all nodes,
The termination determination unit, when receiving transmission disable information, determines a transmission source node of the transmission disabled information as a termination location.
前記終端判定部は、自ノードが終端ノードの場合、他ノードから受信した伝送品質情報と前記伝送品質管理テーブルに格納された伝送品質とを比較し、受信した伝送品質が最も悪い場合、送信元のノードを終端箇所と判定し、当該ノードに対して終端を要求する情報を送信することを特徴とするネットワークシステム。 The network system according to claim 1,
The termination determination unit compares the transmission quality information received from another node with the transmission quality stored in the transmission quality management table when the own node is the termination node, and if the received transmission quality is the worst, A network system characterized in that a node is determined as a termination point and information requesting termination is transmitted to the node.
前記終端判定部は、伝送品質の最も悪いノードが複数存在する場合、ネットワーク上の各ノードに予め設定された優先順の情報に基づき終端箇所を判定することを特徴とするネットワークシステム。 The network system according to claim 1,
The network system according to claim 1, wherein when there are a plurality of nodes having the worst transmission quality, the termination determination unit determines a termination location based on priority order information preset in each node on the network.
自ノードに接続されたポートの伝送品質を定周期で監視し、自ノードの伝送品質情報を全ノード宛に送信する伝送品質監視部と、
前記伝送品質監視部により監視した伝送品質と、前記ネットワーク上の各ノードから受信した伝送品質情報とを格納する伝送品質管理テーブルと、
前記伝送品質管理テーブルの情報を基に、ネットワーク上の終端箇所を判定する終端判定部と、
自ノードのノード状態を管理するノード状態管理部と、
情報を他ノードへ送信する送信処理部と、
他ノードからの情報を受信する受信処理部とから構成するノード装置。 A node device applied to a network in which a plurality of nodes performing data transmission are connected in a ring shape,
A transmission quality monitoring unit that monitors transmission quality of ports connected to the own node at regular intervals, and transmits transmission quality information of the own node to all nodes;
A transmission quality management table for storing transmission quality monitored by the transmission quality monitoring unit and transmission quality information received from each node on the network;
Based on the information of the transmission quality management table, a termination determination unit that determines a termination point on the network;
A node state management unit for managing the node state of the own node;
A transmission processing unit for transmitting information to another node;
A node device comprising a reception processing unit that receives information from another node.
前記ノード装置に接続した表示装置に、前記伝送品質管理テーブルに格納された各ノードの伝送品質情報を表示することを特徴とするノード装置。 The node device according to claim 7, wherein
A node device characterized in that transmission quality information of each node stored in the transmission quality management table is displayed on a display device connected to the node device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007303613A JP4958746B2 (en) | 2007-11-22 | 2007-11-22 | Network system and node device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007303613A JP4958746B2 (en) | 2007-11-22 | 2007-11-22 | Network system and node device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009130637A JP2009130637A (en) | 2009-06-11 |
JP4958746B2 true JP4958746B2 (en) | 2012-06-20 |
Family
ID=40821117
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007303613A Expired - Fee Related JP4958746B2 (en) | 2007-11-22 | 2007-11-22 | Network system and node device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4958746B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017098802A (en) * | 2015-11-26 | 2017-06-01 | 株式会社日立製作所 | Ring network system and network node |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4581748B2 (en) * | 2005-03-02 | 2010-11-17 | 日本電気株式会社 | Microwave radio communication system, microwave radio communication apparatus, and data transfer method used therefor |
-
2007
- 2007-11-22 JP JP2007303613A patent/JP4958746B2/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2017098802A (en) * | 2015-11-26 | 2017-06-01 | 株式会社日立製作所 | Ring network system and network node |
US10432424B2 (en) | 2015-11-26 | 2019-10-01 | Hitachi, Ltd. | Ring network system and network node |
Also Published As
Publication number | Publication date |
---|---|
JP2009130637A (en) | 2009-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7173934B2 (en) | System, device, and method for improving communication network reliability using trunk splitting | |
RU2424625C2 (en) | Scheme for ensuring fault tolerance in communication networks | |
US7742400B2 (en) | Method and system for detecting link failure between nodes in a hybrid network | |
US9634924B2 (en) | Server-layer shared link risk group analysis to identify potential client-layer network connectivity loss | |
US20040103179A1 (en) | Topology management of dual ring network | |
US20050243713A1 (en) | Node-redundancy control method and node-redundancy control apparatus | |
JP2017506462A (en) | Control device detection in networks with separate control and forwarding devices | |
EP1895721A1 (en) | Method and apparatus for end-to-end link detection and policy routing switching | |
US8917592B2 (en) | Communication apparatus, system, and method | |
US8737201B2 (en) | Data relay apparatus, and ring-type communication system | |
JP2006049963A (en) | Network system, node and node control program, and network control method | |
US9819536B2 (en) | Relay system and switching device | |
WO2009074105A1 (en) | Link state detection method and system thereof | |
US7660239B2 (en) | Network data re-routing | |
US20120275316A1 (en) | Failure Detection Method and Device for FCoE Virtual Link | |
US8072878B2 (en) | Packet ring network system, packet transfer system, redundancy node, and packet transfer program | |
US6490244B1 (en) | Layer 3 routing in self-healing networks | |
JP4958746B2 (en) | Network system and node device | |
US20180041379A1 (en) | Protection method and system for multi-domain network, and node | |
US10644989B2 (en) | Method for running a computer network | |
US8396955B2 (en) | Systems and methods for discovery of network topology using service OAM | |
JP2001308893A (en) | Dynamic reconfiguration system for routing information in loop-type topology network | |
JP2000278309A (en) | Point-to-point communication network system and communication control method | |
JP6301762B2 (en) | Relay system and switch device | |
JP2016181793A (en) | Information processing device and network system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100223 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120206 |
|
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: 20120221 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120319 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150330 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4958746 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |