JP2004282409A - Information transfer system, and logical topology construction method for information transfer system - Google Patents

Information transfer system, and logical topology construction method for information transfer system Download PDF

Info

Publication number
JP2004282409A
JP2004282409A JP2003071164A JP2003071164A JP2004282409A JP 2004282409 A JP2004282409 A JP 2004282409A JP 2003071164 A JP2003071164 A JP 2003071164A JP 2003071164 A JP2003071164 A JP 2003071164A JP 2004282409 A JP2004282409 A JP 2004282409A
Authority
JP
Japan
Prior art keywords
node
rpdu
port
arbitration
topology
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003071164A
Other languages
Japanese (ja)
Inventor
Masayuki Kawagishi
正幸 川岸
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP2003071164A priority Critical patent/JP2004282409A/en
Publication of JP2004282409A publication Critical patent/JP2004282409A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information transfer system capable of preventing the abnormality occurrence and stall of the information transfer system. <P>SOLUTION: A master node periodically transmits arbitration RPDU (ring protocol data unit) in order to show that a node is alive and in a good condition. Each slave node always monitors an upper node, discards current topology information when the slave node does not receive the arbitration RPDU for a fixed period or more, returns to the master node and starts arbitration for itself. When the master node fails, this enables all slave nodes to recognize that the master node fails after the lapse of a fixed time, and when a slave node fails, this enables all slaves existing at the downstream of the slave to recognize that the slave fails to be able to restarts logical topology construction work, preventing node down. In addition, a countermeasure against message loss, cache clearance, address learning inhibition, the prevention of a message infinite circulation and a spontaneous blocking are included. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、スイッチングハブなどの多数のフレーム転送装置間の情報転送システムに係り、特に、フレーム転送装置間がリング状に接続されたとき、どこか1箇所を論理的に切断し、フレームが無限に転送され続けることを防止するための機構に関する。
【0002】
【従来の技術】
この種の情報転送システムでは、情報転送ルートとして、物理的にループを含むトポロジから不要なパス(リンク)を論理的に切断し、ループのない論理的な木構造を構築する機構を設けている。また、木構造を構成するノード間に物理的または論理的な切断(断線)が発生したときには木構造を再構築できる機構を設けている。
【0003】
上記の木構造構築と再構築を可能とする機構として、スパニングツリープロトコル(STP)がある(例えば、非特許文献1参照)。
【0004】
このSTPのアルゴリズムは、大まかには2つに分けられ、1つは木構造を構成するためのトポロジ情報の処理、もう1つはステーションキャッシュのリフレッシュを支援する処理(変更通知機構)になる。
【0005】
木構造を構築するには、どれか1つのノードをルートとして決め、他の各ノードについては隣接するノード間でトポロジ情報を交換しあい、ポート(接続端)の接続先がルートにより近いノードを「親(ルートポート)」、ルートからより遠いノードを「子(代表ポート)」を決定するという処理をすべてのノードで実行し、これら親子関係のトポロジ情報を系全体に広めて木構造を構築する。
【0006】
なお、各ノードは、受信したトポロジ情報をそのまま伝送するのではなく、自ノードの保有トポロジ情報の更新に使われ、次のトポロジ情報送信時に更新された情報を送信することで、新しいトポロジ情報が間接的に伝搬していく。また、トポロジ情報はBPDU(Bridge Protocol Data Unit)に格納される。
【0007】
木構造の再構築には、変更通知機構を使用する。この変更通知処理は、・トポロジの変更を検知したらルートに通知する、・ルートは全ノードに変更を通知する、・トポロジ変更通知が出ている間はステーションキャッシュのエージングタイムを短くする、という処理になる。
【0008】
上記のスパニングツリープロトコル(STP)によるポートステート制御およびトポロジ修復には以下の問題があった。
【0009】
(1)論理的トポロジの構築までに長い時間が必要
STPを使った場合には論理的トポロジ構築までに数十秒オーダの時間を要する。STPブリッジがポートを転送可能状態(フォワーディング状態)に遷移させるまでの過程を図7に示す。
【0010】
この処理は、隣接するブリッジ同士は、設定BPDUの送受信を通じてお互いのトポロジ情報を交換し、その優先順位を比較することでブリッジ間の上下関係を決定し、最終的にポートロールを決定する。
【0011】
ここで、ポートロールとは、ポートの論理的な役割であり、ルートポート、代表ポートであればフォワーディング状態へ遷移でき、補欠ポートならばブロッキング状態を維持しなければならない。但し、ルートポートまたは代表ポートに選定されてからすぐにフォワーディング状態に遷移できるわけでなく、以下に説明するように長い時間がかかる。
【0012】
図7において、ポートPは、設定BPDUを受信したときに、トポロジ情報の評価によって、ルートポートまたは代表ポートに選ばれたとすると、リスニング状態に遷移させる。このリスニング状態のポートPは転送遅延時間(あるブリッジから発信された情報が系全体に広まるのにかかる時間)Tfwd経過後にラーニング状態に遷移させる。次いで、ラーニング状態のポートPは転送遅延時間Tfwd経過後にフォワーディング状態に遷移させる。
【0013】
従って、ポートロールが決定してから転送遅延時間の2倍の時間が経過しないと、そのポートは一般フレームを転送することはできない。
【0014】
(2)断線発生時に論理的トポロジを修復するまでに更に時間がかかる。
【0015】
断線が発生した場合には、(可能ならば)切断箇所を迂回する新たな論理的トポロジを構築しなければならない。速やかな論理的トポロジ構築の為には、断線があったことを系全体にアナウンスする必要がある。
【0016】
STPでは系全体に速報する手段としてTCNメッセージがあるが、これはステーションキャッシュをクリアする為だけに使われ、トポロジ情報更新のトリガとしての意味は持たない。しかも、TCNメッセージ方式では一度ルートブリッジまでTCNメッセージを通知し、次にルートブリッジが系全体に通知するというステツプを踏むために、ケースによっては余計な時間がかかってしまう。
【0017】
このため、STPブリッジは定期的に受信する設定BPDUが来なくなったことでしか断線を検出することができない。断線発生からトポロジ復帰までにかかる時間は、図8に示すように、系全体が断線に気づくまでの転送遅延時間Tfwdがトポロジ再構築にかかる時間Tfwd×2に追加され、理論的には転送遅延時間Tfwd×3となる。
【0018】
なお、STPに改良を加え、トポロジ収束時間の短縮を図ったRSTP(ラピッドスパニングツリープロトコル)が提案されている。このRSTPは、ポートがフォワーディング状態に遷移できる条件をいくつか追加することで、ループ発生の心配がないケースにおいてのみ時間短縮してフォワーディング状態に移れるとしている。しかし、このRSTPにおいても、遷移条件が限られる上、ノード数が数千など大量になる場合に待ち時間無しでフォワーディング状態に遷移できるものでないと推察される。
【0019】
以上までの課題を解消する方式として、ポートをフォワーディング状態にするための待ち時間を無くし、トポロジ構築およびトポロジ修復を高速化できる情報転送システムおよび情報転送システムの論理的トポロジ構築方法を本願出願人は既に提案している(特許文献1参照)。
【0020】
このシステムは、各ノードNi(iはノードID)を図9に示す機能ブロックで構成する。その主たる機能ブロックは、ポートステート制御ブロック(ブロッキングポートドリフト機構)1とトポロジ情報更新器(再調停トリガ機構)2にある。これらを以下に説明する。
【0021】
(A)ブロッキングポートドリフト機構
隣接するノード同士は調停RPDU(Ring Protocol Data Unit)の送受信を通じて互いのトポロジ情報を交換し、その優先順位を比較することでノード間の上下関係を決定し、最終的にはポートロールを決定する。図9では、ノードNiの両端ポートLまたはポートRを介してトポロジ情報バッファ3L,3Rで隣接ノードとは調停RPDUを送受信し、受信したトポロジ情報はトポロジ優劣判定アルゴリズム4で優先順位を判定し、決定したポートロールをポートロール記憶部5L,5Rに保存する。
【0022】
調停RPDUはRTP固有のフレームで、この中にトポロジ情報や各種フラグ類が格納される。調停RPDUを送信するポートがブロッキング状態の時は、その調停RPDUの中にあるブロッキング要求フラグをセットして送信する(ブロッキング要求メッセージと呼ぶ)。
【0023】
ポートステート制御ブロック1は、ブロッキング要求メッセージによって生じた調停にて敗北した場合、そのブロッキング要求を受け入れてポートをブロッキング状態に遷移させ、上位ノードに対してブロッキング要求受理フラグをセツトした調停RPDUを返信する(ブロッキング要求受理メッセージ)。そして、ブロッキング要求受理メッセージを受信したとき、受信したポートを直ちにフォワーディング状態に遷移させる。
【0024】
この調停動作の繰り返しによって、ブロッキングポートは確実に下流へと漂流してゆく。最終的にはマスタノードから最も遠いノードがブロッキングをし続けることでリングトポロジのループが切断される。
【0025】
このようにして調停されたポートステートは、その設定部6L,6Rに設定され、スイッチングアルゴリズム&アドレステーブル7に保存および隣接ポート間のフレーム転送制御に使用する。
【0026】
(B)再調停トリガ機構
各ノードはハードウェア的にリンク状態を監視し、リンクダウンなどによって通信障害を検出したら、再調停トリガ機構2により、直ちにそのポートをブロッキング状態に固定して調停トリガRPDUを送信する(トポロジ復旧メッセージ)。その次に、そのノード自身のトポロジ情報をクリアし、マスタノードとして調停を開始する。
【0027】
トポロジ復旧メッセージを受信したノードは直ちにそのメッセージを対向ポートに転送して、自身のトポロジ情報をクリアし、マスタノードとして調停を開始する。
【0028】
トポロジ復旧メッセージはリング上を転送されてゆき、その経路上にいるノードのトポロジ情報をクリアすることで次々と調停動作のトリガを引いてゆき、断線箇所に到達した時点で消滅する。
【0029】
このトポロジ復旧メッセージが迅速に回覧されることによって調停開始の出遅れを最小限に抑えることが可能となる。
【0030】
【非特許文献1】
ISO/IEC Final DIS 15802−3(IEEE P802.1D/D17)〜8章 The spanning tree algorithm and protocol
【0031】
【特許文献1】
特願2002−293210
【0032】
【発明が解決しようとする課題】
従来のRTPではシステムに異常発生やさらには機能停止になる場合があり、具体的には以下の問題がある。
【0033】
(1)ノードダウン
従来のRTPでは、リングダウンの検出がトポロジ復旧動作の唯一のきっかけであった。ところが、あるノードが(機器異常などによって)リングダウンを伴わずに頓死した場合には、隣接ノードはトポロジ状変を検出することができず、従って論理的ブロッキングも解除することができない。これを図10の(a)、(b)で説明する。なお、図中において、“●−‖”印がブロッキングポートを示している。また“○”印(上位ポート)および“●”印(下位ポート)はフォワーディングポートを示している。
【0034】
図10の(a)は通常のトポロジ復旧が可能な場合を示し、ノードNの電源が落ち[step:0]、隣接ノードとのリンクが切れた状態[step:1]になることによって、ノードNとNがトポロジ状変を検出することができる。この場合、再調停トリガ機構が動作することによって論理トポロジが再構築され、論理ブロッキングを解除することができる。
【0035】
これに対して、図10の(b)では、機器異常等によりノードNがリングダウンを発生せずにノードNが転送処理をできなくなった場合[step:0]、隣接ノードはノードNの異変に気がつかず、いつまでも論理トポロジが復旧されない。
【0036】
(2)メッセージ損失
RPDUがノイズなどによって破壊され、相手ノードがこれを受け取ることができなかったとき、プロトコル動作がそこで止まってしまう。以下に調停RPDUが損失した場合に、論理トポロジ構築が滞ってしまう例を示す。
【0037】
図11に示すように、ノードNをマスタノードとする論理トポロジが構築されている状態[step:0]において、ノードNが既存のトポロジに加わった場合[step:1]、但し、ノードNのプライオリティはノードNよりも高いものとする。このとき、ノードNとノードNの間で調停RPDUのやり取りが行われるが、運悪くノードNが送信したRPDUがノイズなどの影響でノードNに届かなかった場合[step:2]、ノードNはノードNから調停RPDUを受け取るが、調停に勝利するのでそのRPDUには従わず、相手ノード(N)が調停での敗北を認めて論理ブロッキング受理を通知して来るのを待っている[step:3]。このとき、ノードNは相手ノード(N)から調停RPDUが来るのを待ち続ける。つまり、お互いが待ちに入っている状態であり、トポロジ構築を催促するイベントが発生しない限り、これ以上調停が進まない状況となる。
【0038】
(3)ステーションキャッシュクリア
プロッキングポートがドリフト(drift)すると、一般フレームの転送ポートを変更する必要が生じることがある。転送ポートを更新するにはステーションキャッシュをクリアしなければならない。しかし、現行の方式ではステーションキャッシュがクリアされないため、フレームが目的地に届かない場合がある。
【0039】
この例を図12で説明する。[step:0]ではノードNとノードNの間で一般フレームが転送される場合、図中矢印の経路で中継される。従って、ノードNのスイッチングデバイスはノードN宛てのフレームをポートP1Lに転送する。また、ノードNのスイッチングデバイスはノードN宛てのフレームをポートP3Rに転送する。
【0040】
この状況において、論理ブロッキングポートがドリフトし、[step:1]のようになったとする。少なくともノードNは論理ブロッキングポートのドリフトを知ることができるのでステーションキャッシュをクリアすることができ、「ノードN宛てのフレームをポートP3Rに転送する」という学習を破棄できる。この結果、ノードNからノードN宛てのフレームは直ちに新たな経路にも転送されるようになる。一方、ノードNは論理ブロッキングポートのドリフトを知ることができない。
【0041】
従って、論理ブロッキングポートがドリフトした後も、ノードN宛てのフレームはポートP1Lに転送されてしまう。ポートP1Lに転送されたノードN宛てのフレームは中継されてゆくものの、ノードNのポートP3Rで塞き止められてしまう。
【0042】
「ノードN宛てのフレームをポートP1Lに転送する」という学習がクリアされるまでにはアドレスエージング時間がかかるが、通常この値は分オーダーの値が設定されるため、通信経路が確立されているにもかからわず、実際にフレームが転送されるようになるにはかなりの時間がかかってしまう。
【0043】
(4)誤ったアドレス学習
RPDUのソースアドレスが学習されてしまって、一般フレームが本来転送されるべきポートに転送されなくなってしまう。
【0044】
例えば、図13に示すように、ノードNからノード2に一般フレームが転送されている状態[step:0]では、ノードNのスイッチングデバイスは「ノードN」宛てのフレームをポートP5Lに転送する」と既に学習している。
【0045】
このとき、ノードNからノードNに何らかのRPDUフレームが転送されたとする[step:1]。このとき、ノードNのスイッチングデバイスは上記フレームのソースアドレスと受信ポートをマッピングする。その結果、ノードNのスイッチングデバイスは、「ノードN宛てのフレームをポートP5Lに転送する」という以前の学習を捨てて「ノードN宛てのフレームをポートP5Rに転送する」と新たに学習し直す。
【0046】
この結果、ノードNのスイッチングデバイスは新しい学習に基づいて、ノードN宛てのフレームをポートP5Rに転送するようになる[step:2]。これにより、ポートP5Rから送信されたフレームはノードNの論理ブロッキングポートに阻まれて宛て先までは届かない。
【0047】
(5)メッセージの無限巡回
ノード間がリング状に接続されていると、一度送信されたメッセージが延々とリング上を転送され続けてしまう。以下に再調停トリガRPDUがリング上を無限巡回してしまう例を説明する。
【0048】
図14に示すように、ノードNとN間で断線が発生したとする[step:0]。これにより、ノードNとNが再調停トリガRPDUを発信する[step:1]。この発信は「Healing Message」で示す。
【0049】
このとき、再調停トリガRPDUがリングトポロジ上を巡回している間に該当断線箇所が復帰した場合[step:2]、再調停トリガRPDUが元断線箇所を通過し、リングトポロジ上を巡回し続ける[step:3]。これでは、どこかで新たに断線が発生しない限り、再調停トリガRPDUの巡回が延々と続けられる。
【0050】
(6)マスタノード変更
例えば、既存のマスタノードのIDを変更してリセットをかけたとする。このリセットによってリングダウンが発生しなかった場合に、古いマスタノードIDがトポロジ上に残留してしまい、正しい調停動作を妨げる。
【0051】
この例を図15で説明する。ノードNがマスタノードとなって論理トポロジが構築されている[step:0]。この状態で、ノードNの固有ノードIDが1から7に変更されたとする[step:1]。このとき、ノードNはプロトコル動作を1からやり直すため、ポートが一度ブロッキングされる。
【0052】
このブロッキングで、ノードNは隣接ノードN、Nとの間で調停を行なう[step:2]。この結果、ノードNは以前の自分自身が広めたトポロジ情報に感染してしまう[step:3]。これによって、真のマスタノードが不在となって論理トポロジが正しく構築されないので、論理ブロッキングポートドリフト機構が正常に動作しない(論理プロッキングポートがトポロジ下流にドリフトされなくなる)。
【0053】
結果的に、論理ブロッキングポートがリング末端に集約されず、論理トポロジが分断された状態になってしまう。
【0054】
(7)論理ブロッキングポート欠落対策
プロトコルが正常に動作している限りはありえないことだが、例えば、ノイズ等の影響で誤ったブロッキング応答メッセージが発生してしまい、リング上の全ポートがフォワーディンク状態になってしまったとする。この状態に陥ると、ブロッキングドリフト機構がまったく無意味となり、どこかでリングダウンが発生しない限りブロッキング箇所ゼロの状態が継続され、危険である。
【0055】
本発明の目的は、以上のような原因によるシステムの異常発生やさらには機能停止を防止できる情報転送システムを提供することにある。
【0056】
【課題を解決するための手段】
本発明は、前記の課題を解決するため、以下のシステムおよび論理的トポロジ構築方法を特徴とする。
【0057】
(システムの発明)
(1)多数のフレーム転送装置間で情報転送するため、各フレーム転送装置をノードとし、物理的にループを含むトポロジから不要なリンクを論理的に切断し、各ノード間をループのない論理的トポロジを構築するポートステート制御機構、および前記ノード間の通信障害発生時に論理的トポロジを再構築する再調停トリガ機構を備え、
前記ポートステート制御機構は、リングトポロジにある各ノードにおいて、ブロッキング状態のポートからブロッキング要求を出す手段と、この要求による調停に負けたノードはブロッキング状態に遷移させ、上位ノードに対してブロッキング要求受理を通知する手段と、ブロッキング要求受理を通知されたノードは直ちにブロッキング状態を解除してフォワーディンング状態に遷移させる手段とを備え、
前記再調停トリガ機構は、ハードウェア的に通信障害を検出したノードのポートをブロッキング状態にし、トポロジ情報をクリアし、トポロジ復旧メッセージを次のノードに転送する手段と、前記メッセージを受信したノードはトポロジ情報を捨ててマスタノードとなり次のノードに対して調停を開始する手段とを備えた情報転送システムであって、
前記マスタノードは互いのトポロジ情報を交換し、その優先順位を比較することでノード間の上下関係を決定し、最終的にはポートロールを決定する調停RPDUを定期的に送信する手段を設け、
前記スレーブノードは、マスタノードからの前記調停RPDUが一定時間以上来なくなったときに、再調停トリガRPDU受信の有無に拘わらず直ちにマスタノードに復帰する手段を設けたことを特徴とする。
【0058】
(2)前記ノードのうち、メッセージの送り手は、送信したメッセージに対する着信応答を受け取るまで定期的にメッセージの再送を行なう手段を設け、
前記メッセージの受け手は、受信したメッセージに対して着信応答を返信する手段を設け、
前記調停RPDUに“ACKフラグ”を設け、着信応答としてメッセージを返信する場合にはこのフラグをセツトする手段を設けたことを特徴とする。
【0059】
(3)前記ノードはポートステートを変更したとき、他のノードにキャッシュクリアを促すキャッシュクリアRPDUを下記の条件で発信する手段を設け、
・ポートステートを変更したノードがマスタノードの場合、フォワーディンク状態のリングポートからキャッシュクリアRPDUを送信する。
【0060】
・ポートステートを変更したノードがスレーブノードの場合、上位ポートからキャッシュクリアRPDUを送信する。
【0061】
前記キャッシュクリアRPDUを受信したノードは、
・キャッシュクリアRPDUを受信したノードがマスタノードの場合、受信ポートがフォワーディンク状態で、且つ、転送先ポートがフォワーディンク状態であるときにキャッシュクリアRPDUを転送する手段を設け、
・キャッシュクリアRPDUを受信したノードがスレーブノードの場合、受信ポートがフォワーディンク状態で、且つ、転送先ポートが上位ポートであるときにキャッシュクリアRPDUを転送する手段を設けたことを特徴とする。
【0062】
(4)前記リングトポロジにおいてマスタノードから最も遠いリング末端ポートは、
・前記調停RPDUにリング末端ポートであることを通知するための“末端フラグ”を設け、
この調停RPDUを受信した対向ノードは受信ポートのアドレス学習を禁止する手段を設けたことを特徴とする。
【0063】
(5)前記調停RPDUを受信したポートは、転送先ポートが上位ポートでなく、かつ転送先ポートが末端ポートでないときに調停RPDUを転送する手段を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUは“送信元ノードID”と“寿命”というパラメータを添付して送信する手段を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUを最初に送信するノードは、前記“送信元ノードID”に自身の固有ノードIDを書き込み、かつ前記“寿命”に最大リングノード数を書き込む手段を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUを受信したノードは、前記“送信元ノードID”と自身の固有ノードIDが一致しないこと、および前記“寿命”をデクリメントした値が1以上あるときに該再調停トリガRPDUまたはキャッシュクリアRPDUを転送する手段を設けたことを特徴とする。
【0064】
(6)前記スレーブノードは、上位ポートから受信した前記調停RPDUによって通知されるトポロジ情報の優先度の変化を常に監視し続け、前回に受け取ったトポロジ情報よりも優先度の低いトポロジ情報を受け取った場合に、そのパターンにより以下の対応手段、
・マスタノードIDの値が不変でディスタンス値が増加した場合、マスタノードに復帰し、再調停トリガRPDUを発信する。
【0065】
・マスタノードIDの値が増加したが、自身の固有ノードIDよりは優先度が高い場合、そのトポロジ情報に従属する。
【0066】
・マスタノードIDの値が増加し、自身の固有ノードIDよりも優先度が低くなった場合、マスタノードに復帰する。
を設けたことを特徴とする。
【0067】
(7)前記リング末端にいるノードは、自身がリング末端であることを認識したときに、隣接ノードからブロッキング要求を受けていなくても、リングポートのひとつを自発的にブロッキングする手段を設けたことを特徴とする。
【0068】
(方法の発明)
(8)多数のフレーム転送装置間で情報転送するため、各フレーム転送装置をノードとし、物理的にループを含むトポロジから不要なリンクを論理的に切断し、各ノード間をループのない論理的トポロジを構築するポートステート制御機構、および前記ノード間の通信障害発生時に論理的トポロジを再構築する再調停トリガ機構を備え、
前記ポートステート制御機構は、リングトポロジにある各ノードにおいて、ブロッキング状態のポートからブロッキング要求を出す手段と、この要求による調停に負けたノードはブロッキング状態に遷移させ、上位ノードに対してブロッキング要求受理を通知する手段と、ブロッキング要求受理を通知されたノードは直ちにブロッキング状態を解除してフォワーディンング状態に遷移させる手段とを備え、
前記再調停トリガ機構は、ハードウェア的に通信障害を検出したノードのポートをブロッキング状態にし、トポロジ情報をクリアし、トポロジ復旧メッセージを次のノードに転送する手段と、前記メッセージを受信したノードはトポロジ情報を捨ててマスタノードとなり次のノードに対して調停を開始する手段とを備えた情報転送システムの論理的トポロジ構築方法であって、
前記マスタノードは互いのトポロジ情報を交換し、その優先順位を比較することでノード間の上下関係を決定し、最終的にはポートロールを決定する調停RPDUを定期的に送信する過程を設け、
前記スレーブノードは、マスタノードからの前記調停RPDUが一定時間以上来なくなったときに、再調停トリガRPDU受信の有無に拘わらず直ちにマスタノードに復帰する過程を設けたことを特徴とする。
【0069】
(9)前記ノードのうち、メッセージの送り手は、送信したメッセージに対する着信応答を受け取るまで定期的にメッセージの再送を行なう過程を設け、
前記メッセージの受け手は、受信したメッセージに対して着信応答を返信する過程を設け、
前記調停RPDUに“ACKフラグ”を設け、着信応答としてメッセージを返信する場合にはこのフラグをセツトする過程を設けたことを特徴とする。
【0070】
(10)前記ノードはポートステートを変更したとき、他のノードにキャッシュクリアを促すキャッシュクリアRPDUを下記の条件で発信する過程を設け、
・ポートステートを変更したノードがマスタノードの場合、フォワーディンク状態のリングポートからキャッシュクリアRPDUを送信する。
【0071】
・ポートステートを変更したノードがスレーブノードの場合、上位ポートからキャッシュクリアRPDUを送信する。
【0072】
前記キャッシュクリアRPDUを受信したノードは、
・キャッシュクリアRPDUを受信したノードがマスタノードの場合、受信ポートがフォワーディンク状態で、且つ、転送先ポートがフォワーディンク状態であるときにキャッシュクリアRPDUを転送する過程を設け、
・キャッシュクリアRPDUを受信したノードがスレーブノードの場合、受信ポートがフォワーディンク状態で、且つ、転送先ポートが上位ポートであるときにキャッシュクリアRPDUを転送する過程を設けたことを特徴とする。
【0073】
(11)前記リングトポロジにおいてマスタノードから最も遠いリング末端ポートは、
・前記調停RPDUにリング末端ポートであることを通知するための“末端フラグ”を設け、
この調停RPDUを受信した対向ノードは受信ポートのアドレス学習を禁止する過程を設けたことを特徴とする。
【0074】
(12)前記調停RPDUを受信したポートは、転送先ポートが上位ポートでなく、かつ転送先ポートが末端ポートでないときに調停RPDUを転送する過程を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUは“送信元ノードID”と“寿命”というパラメータを添付して送信する過程を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUを最初に送信するノードは、前記“送信元ノードID”に自身の固有ノードIDを書き込み、かつ前記“寿命”に最大リングノード数を書き込む過程を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUを受信したノードは、前記“送信元ノードID”と自身の固有ノードIDが一致しないこと、および前記“寿命”をデクリメントした値が1以上あるときに該再調停トリガRPDUまたはキャッシュクリアRPDUを転送する過程を設けたことを特徴とする。
【0075】
(13)前記スレーブノードは、上位ポートから受信した前記調停RPDUによって通知されるトポロジ情報の優先度の変化を常に監視し続け、前回に受け取ったトポロジ情報よりも優先度の低いトポロジ情報を受け取った場合に、そのパターンにより以下の対応過程、
・マスタノードIDの値が不変でディスタンス値が増加した場合、マスタノードに復帰し、再調停トリガRPDUを発信する。
【0076】
・マスタノードIDの値が増加したが、自身の固有ノードIDよりは優先度が高い場合、そのトポロジ情報に従属する。
【0077】
・マスタノードIDの値が増加し、自身の固有ノードIDよりも優先度が低くなった場合、マスタノードに復帰する。
を設けたことを特徴とする。
【0078】
(14)前記リング末端にいるノードは、自身がリング末端であることを認識したときに、隣接ノードからブロッキング要求を受けていなくても、リングポートのひとつを自発的にブロッキングする過程を設けたことを特徴とする。
【0079】
【発明の実施の形態】
(実施形態1)ノードダウン対策
本実施形態では、ノードが健在であることを示すために、マスタノードは定期的に調停RPDUを送信する。各スレーブノードは上位ポート(2つあるリングポートのうち、マスタノードに近い方のリングポート)を常に監視していて、一定時間以上調停RPDUを受信しない場合には現行のトポロジ情報を廃棄し、マスタノードに復帰し、自ら調停を開始する。
【0080】
この機能付加によって、・マスタノードがダウンした場合には一定時間経過後に全てのスレーブノードがそれに気がつき、・スレーブノードがダウンした場合には一定時間経過後にそのスレーブの下流にいる全スレーブがそれに気がつくことができ、論理トポロジ構築作業を再開することができるようになる。
【0081】
この例を図1に示し、以下のstep:0〜step:3によりノードダウンに対する論理トポロジを改築を得る。
【0082】
[step:0]の状態では、ノードNをマスタノードとして論理トポロジが構築されている(図中では、論理ブロッキングポートをPと表記する)。この状態において、機器異常等によりスレーブノードNがダウンしたとする。但し、隣接ノードはノードNの異変に気がついていない。
【0083】
[step:1]では、スレーブノードN、Nは引き続き上位ポート(図中○印)から調停RPDUを受信し続ける。一方、スレーブノードN、NはノードNが調停RPDUを中継しなくなったので、上位ポートから調停RPDUを受信しない状態である。なお、ノードNの上位ポートはノードN側のポートである。
【0084】
[step:2]では、スレーブノードN、Nは上位ポートから調停RPDUを受信しなくなってから一定時間が経過したのでマスタノードに復帰して調停を始める。
【0085】
[step:3]では、調停によってノードN、NはノードN経由のトポロジ情報に従属する。また、この調停によって論理ブロッキングポートPはノードNの下位ポートまでドリフトされる。
【0086】
以上の行程によって論理トポロジが再構築される。したがって、本実施形態によれば、機器故障やS/W暴走などによって、あるノードがリングダウンを伴わなずにRTPプロトコル動作を停止した場合(すなわち、従来のRTPにおける再調停トリガ機構2が正常に起動されない場合)においても、ある程度の時間が経過すれば論理トポロジの再構築が開始され、迂回経路があれば故障箇所を迂回する通信経路が確立される。
【0087】
(実施形態2)メッセージ損失対策
本実施形態では、図2に示すように、送信ノードはメッセージに対する応答(ACK)が来るまで再送を続ける。受信ノードはメッセージに対してACKを返すようにする。これにより、メッセージが幾ら損失しても、再送が繰り返されるため、プロトコル動作が停止してしまうことがなくなる。
【0088】
この例を図3に示し、以下のstep:0〜step:3によりメッセージ損失を防止する。
【0089】
[step:0]では、ノードNとNが調停RPDUをそれぞれ送信したが、ノードNから送信された方が損失した。
【0090】
[step:1]では、ノードNは調停RPDUを受信したが、調停に勝利したので相手ノードからの従属の知らせを待つ。ノードNは相手ノードからの調停RPDUがくるのを待っている。
【0091】
[step:2]では、ノードN,Nはしばらく待ったが、相手から返事が来ないので、ノードN、Nは調停RPDUを再送した。今度は損失することなく、相手ノードに届いた。
【0092】
[step:3]では、ノードNはノードNに従属し、トポロジ情報を然るべき値に更新し、論理ブロッキングポートを引き継ぐ。次に、ノードNはノードN側にそれらを中継するために新たな調停を始める。また、ノードNに対してACKを返信し、メッセージを受信した旨を知らせる。ACK受信を以ってノードNは調停RPDUの再送を打ち切る。
【0093】
以降も同様の手順で調停を進めてゆき。論理トポロジを完成させる。したがって、本実施形態によれば、伝送ノイズあるいは過渡的な過負荷などの影響で、調停RPDUや通知RPDU(再調停トリガRPDU、キャッシュクリアRPDU)が送信途中で失われた場合にもメッセージの再送が行われ、論理トポロジ収束時間に影響は出るものの)プロトコル動作自体が損なわれる不都合はなくなる。
【0094】
(実施形態3)ステーションキャッシュクリア機構
従来の問題点で説明したように、論理ブロッキングポートがドリフトしたときに一般フレームの転送経路変更が必要になる場合がある。この経路変更を行なうために、各ノードが学習していたアドレス転送情報を一度廃棄させ、アドレス学習をやり直させなければならない。
【0095】
そこで、本実施形態では、あるノードが自身のリングポートのポートステートを変更したら(つまり論理ブロッキングポートがドリフトしたら)、それを系全体に通報する下記の手段A,Bを新たに設けることにする。
【0096】
(手段A)アドレス学習やり直しの要求発行
ポートステートを変更したノードは以下に示す条件に従ってステーションキャッシュのクリアを要求する特殊なメッセージ(以下、「キャッシュクリアRPDU」と呼ぶ)を送信する。
【0097】
・当該ノードがマスタノードの場合…その時点でフォワーディンク状態であるリングポートからキャッシュクリアRPDUを送信する。
【0098】
・当該ノードがスレーブノードの場合…上位ポートからキャッシュクリアRPDUを送信する。
【0099】
(手段B)キャッシュクリアRPDUの中継
キャッシュクリアRPDUを受信したノードは以下に示す条件に従って同メッセージを反対側のリングポートへ転送する。
【0100】
・当該ノードがマスタノードの場合…受信したポートがフォワーディンク状態で、且つ、転送先リングポートがフォワーディンク状態であるならば、キャッシュクリアRPDUを転送する。
【0101】
・当該ノードがスレーブノードの場合…受信したポートがフォワーディンク状態で、且つ、転送先リングポートが上位ポートであるならばキャッシュクリアRPDUを転送する。
【0102】
以上の手続きによって、その時点においてフォワーディングポートで連結されている全ノードがステーションキャッシュ更新を通報されることになる。
【0103】
キャッシュクリアRPDUはブロッキングポートの向こう側にいるノード群には中継されないが、調停によってブロッキングポートがドリフトしてゆき、最後のブロッキングポートドリフトが完了して、トポロジ上の全ノードがフォワーディングポートで連結されたときに、全ノードがステーションキャッシュクリアを通報される。つまり、ブロッキングポートの向こう側にキャッシュクリアRPDUを中継しなくても必要十分なステーションキャッシュのクリアを達成することができるだけでなく、不要なキャッシュクリアRPDU転送が抑制される。
【0104】
図4は、キャッシュクリアRPDU(同図中、“CC”と表記)によってノードNが以前に学習した古い転送経路がクリアされる過程を示す。
【0105】
[step:0]では、ブロッキングドリフト要求がノードNから送信された(調停RPDUのブロッキングフラグがセットされて送信された)状態とする。
【0106】
[step:1]では、ノードNは調停に敗北したのでブロッキング要求を受け入れてポートP3Rをブロッキングした。ノードNはポートステートを変更した(ポートP3Rのポートステート:Forwarding→Blocking)ので、キャッシュクリアRPDUを上位ポートから送信する。
【0107】
[step:2]では、ノードNはキャッシュクリアRPDUを受信したが、受信ポートがブロッキング状態なのでこれを無視する。ノードNは論理ブロッキングを受理した旨をノードNに通知する(図中、ACKと表記)。
【0108】
[step:3]では、ノードNはブロッキングACKを受信したので下位ポートのブロッキングを解除した。また、ノードNはキャッシュクリアRPDUを上位ポートから送信する。ノードNはこのキャッシュクリアRPDUを受信することで、自身のステーションキャッシュをクリアするため、古い学習が破棄される。
【0109】
この後、キャッシュクリアRPDUは順次中継され、経路上の各ノードのステーションキャッシュがクリアされてゆき、ノードNのポートP3Rで消滅する(ブロッキングポートで受信したキャッシュクリアRPDUは転送されない)。
【0110】
したがって、本実施形態によれば、論理ブロッキングポートがドリフトしたことによって一般フレームの転送経路が変わった場合において、各ノードのスイッチングデバイスが持っている古いアドレス情報が速やかにクリアされることによって通常のエージング時間(一般的には分オーダーの時間)が経過するのを待つことなく通信状態を回復できる。
【0111】
(実施形態4)アドレス学習の禁止
本実施形態では、リングトポロジにおいて末端ポート(リングトポロジにおいて定常的に論理ブロッキングの維持を担っているポート)の対向ポートのアドレス学習を禁止する以下の手段を用意する。
【0112】
(手段A)末端ポートの通知…調停RPDUに「末端フラグ」を設け、末端ポートから調停RPDUを送信する場合には同フラグをセットする。
【0113】
(手段B)末端ポートの対向…ポート末端フラグがセットされた調停RPDUを受信したノードはその受信ポートのアドレス学習を禁止する。
【0114】
(手段C)アドレス学習許可…末端フラグがクリアされた調停RPDUを受信したノードはその受信ポートのアドレス学習を許可する。
【0115】
アドレス学習禁止処理を例を図5に示す。
【0116】
[step:0]では、ノードNからノードNに一般フレームが転送されている状態とする。このとき、ノードNのスイッチングデバイスは「ノードN宛てのフレームをポートP5Lに転送する」と既に学習している。
【0117】
[step:1]では、ノードNからノードNに何らかの調停RPDUフレームが転送されたとする。但し、ポートP2Lは末端ポートなので調停RPDUの末端フラグがセットされる(図中では、flag Terminal=1と表記)。
【0118】
このとき、ノードNは受信した調停RPDUの末端フラグがセツトされているのでポートP5Rのアドレス学習を禁止する。ノードNのスイッチングデバイスはポートP5Rのアドレス学習を停止させたため、「ノードN宛てのフレームをポートP5Lに転送する」という以前の学習は捨てられずに残っている。
【0119】
[step:2]では、ノードNのスイッチングデバイスは以前の学習に基づいて、ノードN宛てのフレームをポートP5Lに転送し続ける。ポートP5Lから送信されたフレームは従来通りの経路を通ってノードNを経由し、最終宛て先まで中継される。
【0120】
したがって、本実施形態によれば、RPDUが引き起こす、誤ったアドレス学習を防止することによって、一般フレームの転送が妨害される現象を解消することができる。
【0121】
(実施形態5)メッセージ無限ループ防止
本実施形態では、リングトポロジが構成されているときにRPDUがリング上を無限巡回するのを以下のように防止する。
【0122】
(A)調停RPDUの場合
・調停RPDUを受信した場合の転送条件としては、転送先ポートが上位ポートではないこと、且つ、転送先ポートが末端ポートではないと設定する。
【0123】
この条件によって、図6の(a)に示すように、調停RPDUは必ず上位→下位方向に転送され、リングトポロジ上においてマスタノードから一番遠くに位置するノードで転送が止まる(下位→上位方向には転送されない)。
【0124】
(B)再調停トリガRPDU、キャッシュクリアRPDUの場合
以下に示す2つのパラメータを再調停トリガRPDUおよびキャッシュクリアRPDU(以下、これらのRPDUを“通知RPDU”と呼ぶ)に添付する。
【0125】
・送信元ノードID
・寿命
初めに通知RPDUを送信するノードは、送信元ノードIDに自身の固有ノードIDを、寿命に最大リングノード数を書き込む。通知RPDUを受信したノードは以下の条件を満たす場合にのみ、同RPDUを転送する。
【0126】
(条件A)送信元ノードIDと自身の固有ノードIDを比較し、一致しないこと。(自分自身が送信した通知)
(条件B)寿命をデクリメント(値を1減らす)し、その値が1以上あること。
【0127】
条件Aは、通知RPDUの後始末をその送信元ノードIDに負わせるもので、この制限によって図6の(b)に示すように、通知RPDUはリングを1周したときに消滅するようになる。
【0128】
条件bは、あるノードNが通知RPDUを送信して同RPDUがリング上を1周して来るまでの間にノードNの固有ノードIDが変更された場合、すなわち通知RPDUを後始末するノードがいなくなってしまった場合にも無限巡回が起きないようにするための制限である。
【0129】
したがって、本実施形態によれば、リングトポロジ内をRPDUが無限巡回することを防止し、無用なトラフィックの発生を抑制することができる。
【0130】
(実施形態6)マスタノードID変更対策
本実施形態では、無効なマスタノードIDをいち早く検出し、それが広まるのを防止するために以下のルールを設定する。なお、このルールはスレーブノードに対して適用されるものである。
【0131】
凡例:あるスレーブノードNの代表トポロジ情報(マスタノードID、ディスタンス、ソースノードID)をTとする(T=(M,D,S)とする)。ここで,ノードNが上位ポートで新たに調停RPDUを受信したとする。この調停RPDUに格納されていたトポロジ情報Tを以下、受信トポロジ情報と表記する(T=(M,D,S))。また、ノードNの固有ノードIDをUとする。
【0132】
(条件1)受信トポロジ情報が代表トポロジ情報よりも優れているか等しい場合…受信トポロジ情報を基にして代表トポロジ情報を計算し直す(従来通りの処理)。
【0133】
(条件2)受信トポロジ情報が代表トポロジ情報よりも劣っていた場合、
・この条件2で、代表マスタノードIDと受信マスタノードIDの値が等しい場合(M=M)、ノードNsはマスタノードに復帰し、再調停トリガRPDUを発信する。
【0134】
・条件2で、代表マスタノードIDと受信マスタノードIDの値が異なり(M≠M)、かつ受信マスタノードIDの値がノードNsの固有ノードIDの値よりも小さい場合(M<U)…受信トポロジ情報を基にして代表トポロジ情報を計算し直す(従来通りの処理)。
【0135】
・条件2で、受信マスタノードIDの値がノードNの固有ノードIDの値よりも大きい場合(M>U)…ノードNはマスタノードに復帰し、再調停トリガRPDUを発信しない。
【0136】
したがって、本実施形態によれば、マスタノードに就任中のノードの固有ノードIDが変更され、その値が以前よりも大きくなった(つまり、優先度が以前よりも低くなった)場合において、古いトポロジ情報がトポロジ内に残留しなくなり、論理トポロジが正しく再構築されるようになる。
【0137】
(実施形態7)自発的ブロッキング
本実施形態では、リング末端に位置するノードは(上位ノードからのブロッキング要求がなくても)リングポートのひとつを自発的にブロッキングするようにする。また、リング末端ノードがブロッキングしているポートでブロッキング応答を受信してもブロッキングを解除しないようにする。
【0138】
したがって、本実施形態によれば、何らかの原因(例えば捏造されたRPDUの混入など)によって、リンクトポロジ上のブロッキングポートが全て解除されてしまった場合においても、リング末端に位置するノードが自発的に論理ブロッキングを維持することによってループ状態が放置されることを防止することができる。
【0139】
【発明の効果】
以上のとおり、本発明によれば、従来のリングトポロジプロトコルによる情報転送システムにおける、ノードダウンへの耐性向上、プロトコルメッセージ損失への耐性向上、ステーションキャッシュクリアの確保、誤ったアドレス学習防止、メッセージの無限巡回防止、マスタノード変更に対する正しい調停の確保、自発的なブロッキング確保が可能となる。
【図面の簡単な説明】
【図1】本発明の実施形態1を示すノードダウン対策の処理過程図。
【図2】本発明の実施形態2におけるメッセージとACKの関係図。
【図3】本発明の実施形態2を示すメッセージ損失対策の処理過程図。
【図4】本発明の実施形態3を示すキャッシュクリアRPDUによるキャッシュクリア処理過程図。
【図5】本発明の実施形態4を示すアドレス学習禁止処理過程図。
【図6】本発明の実施形態5を示すメッセージ無限巡回の防止の説明図。
【図7】STPブリッジのポートステートの遷移図。
【図8】STPの断線リカバリの過程図。
【図9】RTPの機能ブロック図。
【図10】RTPでのノードダウンの例。
【図11】RTPでのメッセージ損失による調停の停滞例。
【図12】RTPでの論理ブロッキングポートのドリフトによる転送ポートの変化の例。
【図13】RTPでの誤ったアドレス学習による転送障害発生の仕組み。
【図14】RTPでのメッセージの無限巡回の例。
【図15】RTPでの古いトポロジ情報の残留現象例。
【符号の説明】
1…ポートステート制御ブロック
2…トポロジ情報更新器
3L,3R…トポロジ情報バッファ
4…トポロジ優劣判定アルゴリズム
5L,5R…ポートロール保存部
6L,6R…ポートステート保存部
7…スイッチングアルゴリズム&アドレステーブル
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an information transfer system between a number of frame transfer devices such as a switching hub, and in particular, when the frame transfer devices are connected in a ring, somewhere is logically cut off so that the number of frames is infinite. And a mechanism for preventing the data from being continued to be transferred.
[0002]
[Prior art]
In this type of information transfer system, an information transfer route is provided with a mechanism for logically cutting unnecessary paths (links) from a topology that physically includes loops and constructing a logical tree structure without loops. . Further, a mechanism is provided which can reconstruct the tree structure when a physical or logical disconnection (breakage) occurs between nodes constituting the tree structure.
[0003]
As a mechanism capable of constructing and reconstructing the tree structure, there is a spanning tree protocol (STP) (for example, see Non-Patent Document 1).
[0004]
The STP algorithm is roughly divided into two. One is processing of topology information for forming a tree structure, and the other is processing for supporting refresh of a station cache (change notification mechanism).
[0005]
In order to construct a tree structure, one of the nodes is determined as a root, topology information is exchanged between adjacent nodes for each of the other nodes, and a node whose port (connection end) is closer to the root is determined as “ A process of determining a parent (root port) and a node farther from the root as a "child (representative port)" is executed at all nodes, and topology information of the parent-child relationship is spread throughout the system to construct a tree structure. .
[0006]
In addition, each node does not transmit the received topology information as it is, but is used for updating its own topology information, and transmits the updated information at the time of transmitting the next topology information, so that new topology information is transmitted. Propagating indirectly. The topology information is stored in a BPDU (Bridge Protocol Data Unit).
[0007]
The change notification mechanism is used for reconstructing the tree structure. In this change notification processing, when a topology change is detected, the route is notified.- The root notifies all nodes of the change.- While the topology change notification is issued, the aging time of the station cache is shortened. become.
[0008]
There are the following problems in port state control and topology restoration by the Spanning Tree Protocol (STP) described above.
[0009]
(1) Long time is required to construct a logical topology
When STP is used, it takes several tens of seconds to construct a logical topology. FIG. 7 shows a process until the STP bridge transitions the port to the transfer enabled state (forwarding state).
[0010]
In this process, adjacent bridges exchange topology information with each other through transmission / reception of a setting BPDU, determine the hierarchical relationship between the bridges by comparing their priorities, and finally determine a port role.
[0011]
Here, the port role is a logical role of the port. If the port is a root port or a representative port, the port can transition to the forwarding state, and if the port is an auxiliary port, the port must maintain the blocking state. However, it is not always possible to transition to the forwarding state immediately after being selected as the root port or the representative port, and it takes a long time as described below.
[0012]
In FIG. 7, when the port P receives the setting BPDU, if it is selected as the root port or the representative port by the evaluation of the topology information, the port P transits to the listening state. The port P in the listening state has a transfer delay time (the time required for information transmitted from a certain bridge to spread throughout the system) T fwd After the elapse, the state is changed to the learning state. Next, the port P in the learning state outputs the transfer delay time T. fwd After the elapse, the state is changed to the forwarding state.
[0013]
Therefore, the port cannot transfer a general frame until twice the transfer delay time has elapsed since the port role was determined.
[0014]
(2) It takes more time to restore the logical topology when a disconnection occurs.
[0015]
If a disconnection occurs, a new logical topology must be constructed to bypass the disconnection (if possible). In order to quickly construct a logical topology, it is necessary to announce the disconnection to the entire system.
[0016]
In the STP, there is a TCN message as a means for reporting the entire system, but this is used only for clearing the station cache and has no meaning as a trigger for updating the topology information. In addition, in the TCN message method, an extra time is required depending on the case because the TCN message is once notified to the root bridge and then the root bridge notifies the entire system.
[0017]
For this reason, the STP bridge can detect the disconnection only when the set BPDU that is received periodically does not come. As shown in FIG. 8, the time required from the occurrence of disconnection to the return to topology is the transfer delay time T until the entire system notices the disconnection. fwd Is the time T required for topology reconstruction fwd × 2, theoretically the transfer delay time T fwd × 3.
[0018]
Note that RSTP (Rapid Spanning Tree Protocol) has been proposed in which STP is improved to shorten the topology convergence time. The RSTP states that by adding some conditions under which a port can transit to the forwarding state, the time can be reduced to the forwarding state only in a case where there is no concern about occurrence of a loop. However, even in this RSTP, it is presumed that the transition condition is limited, and when the number of nodes becomes large, such as several thousands, it is not possible to transition to the forwarding state without waiting time.
[0019]
As a method for solving the above problems, the applicant of the present application has proposed an information transfer system and a logical topology construction method of the information transfer system which can eliminate the waiting time for bringing the port into the forwarding state and can speed up the topology construction and the topology restoration. It has already been proposed (see Patent Document 1).
[0020]
In this system, each node Ni (i is a node ID) is configured by a functional block shown in FIG. The main functional blocks are a port state control block (blocking port drift mechanism) 1 and a topology information updater (re-arbitration trigger mechanism) 2. These are described below.
[0021]
(A) Blocking port drift mechanism
Neighboring nodes exchange topology information with each other through transmission and reception of an arbitrated RPDU (Ring Protocol Data Unit), determine the hierarchical relationship between the nodes by comparing their priorities, and finally determine a port role. . In FIG. 9, the topology information buffers 3L and 3R transmit / receive arbitration RPDUs to / from adjacent nodes via the ports L or R at both ends of the node Ni, and the received topology information determines the priority in the topology priority determination algorithm 4, The determined port roles are stored in the port role storage units 5L and 5R.
[0022]
The arbitration RPDU is an RTP-specific frame in which topology information and various flags are stored. When the port transmitting the arbitration RPDU is in a blocking state, the arbitration RPDU is set with a blocking request flag and transmitted (referred to as a blocking request message).
[0023]
If the arbitration caused by the blocking request message is lost, the port state control block 1 accepts the blocking request, shifts the port to the blocking state, and returns an arbitration RPDU with the blocking request acceptance flag set to the upper node. Yes (blocking request acceptance message). Then, upon receiving the blocking request acceptance message, the receiving port immediately transitions to the forwarding state.
[0024]
The repetition of this arbitration operation ensures that the blocking port drifts downstream. Eventually, the loop of the ring topology is broken by the node farthest from the master node continuing to block.
[0025]
The arbitrated port state is set in the setting units 6L and 6R, stored in the switching algorithm & address table 7, and used for frame transfer control between adjacent ports.
[0026]
(B) Re-arbitration trigger mechanism
Each node monitors the link state by hardware, and if a communication failure is detected due to link down or the like, the port is immediately fixed to the blocking state by the re-arbitration trigger mechanism 2 and the arbitration trigger RPDU is transmitted (topology restoration message ). Next, the node clears its own topology information and starts arbitration as the master node.
[0027]
The node that has received the topology restoration message immediately transfers the message to the opposite port, clears its own topology information, and starts arbitration as a master node.
[0028]
The topology restoration message is transferred on the ring, and the arbitration operation is triggered one after another by clearing the topology information of the nodes on the route, and disappears when the disconnection point is reached.
[0029]
By circulating the topology restoration message quickly, it is possible to minimize the delay in starting arbitration.
[0030]
[Non-patent document 1]
ISO / IEC Final DIS 15802-3 (IEEE P802D / D17)-Chapter 8 The spanning tree algorithm and protocol
[0031]
[Patent Document 1]
Japanese Patent Application No. 2002-293210
[0032]
[Problems to be solved by the invention]
In the conventional RTP, an error may occur in the system or the function may be stopped. Specifically, there are the following problems.
[0033]
(1) Node down
In the conventional RTP, the detection of the ring-down is the only trigger of the topology recovery operation. However, when a certain node dies without a ring-down (due to a device abnormality or the like), the adjacent node cannot detect a topology change and cannot release logical blocking. This will be described with reference to FIGS. In the drawing, "●-“ "marks indicate blocking ports. Further, ““ ”(upper port) and“ ● ”(lower port) indicate forwarding ports.
[0034]
FIG. 10A shows a case where normal topology restoration is possible, and the node N 6 Is turned off [step: 0] and the link to the adjacent node is cut off [step: 1]. 1 And N 3 Can detect topological changes. In this case, the logical topology is reconstructed by the operation of the re-arbitration trigger mechanism, and the logical blocking can be released.
[0035]
On the other hand, in FIG. 10B, the node N 6 Node N without ring-down 6 Is unable to perform the transfer process [step: 0], the adjacent node is the node N 6 And the logical topology is not restored forever.
[0036]
(2) Message loss
When the RPDU is destroyed by noise or the like and the partner node cannot receive it, the protocol operation stops there. An example in which the logical topology construction is delayed when the arbitration RPDU is lost will be described below.
[0037]
As shown in FIG. 2 In a state [step: 0] in which a logical topology in which is the master node is constructed, the node N 1 Joins the existing topology [step: 1], except that node N 1 Priority is node N 2 And higher. At this time, the node N 1 And node N 6 Arbitration RPDUs are exchanged between 1 RPDU transmitted by node N 6 [Step: 2], the node N 1 Is the node N 6 Receives the arbitration RPDU from the other node, but does not follow the RPDU because it wins the arbitration. 6 ) Acknowledges the defeat in the arbitration and notifies the reception of the logical blocking [step: 3]. At this time, the node N 6 Is the partner node (N 1 )) And waits for an arbitration RPDU. In other words, the parties are in a waiting state, and the arbitration will not proceed further unless an event urging the topology construction occurs.
[0038]
(3) Station cache clear
If the blocking port drifts, it may be necessary to change the transfer port of the general frame. To update the forwarding port, the station cache must be cleared. However, in the current method, the frame may not reach the destination because the station cache is not cleared.
[0039]
This example will be described with reference to FIG. In [step: 0], node N 1 And node N 3 When a general frame is transferred between, the frame is relayed along the path indicated by the arrow in the figure. Therefore, node N 1 Switching device is node N 3 Frame addressed to port P 1L Transfer to Node N 3 Switching device is node N 1 Frame addressed to port P 3R Transfer to
[0040]
In this situation, it is assumed that the logical blocking port has drifted and has become [step: 1]. At least node N 3 Can know the drift of the logical blocking port, and can clear the station cache. 1 Frame addressed to port P 3R Transfer to "" can be discarded. As a result, node N 3 To node N 1 The frame addressed to it is immediately transferred to the new path. On the other hand, node N 1 Cannot know the drift of the logical blocking port.
[0041]
Therefore, even after the logical blocking port drifts, the node N 3 Frame addressed to port P 1L Will be transferred to Port P 1L Node N forwarded to 3 Although the frame addressed to is forwarded, the node N 3 Port P of 3R Will be blocked.
[0042]
"Node N 3 Frame addressed to port P 1L It takes an address aging time until the learning of `` transfer to '' is cleared, but since this value is usually set in the order of minutes, regardless of the established communication path, It takes a considerable amount of time before frames can be transferred.
[0043]
(4) Incorrect address learning
The source address of the RPDU is learned, and the general frame is not transferred to the port to which the frame should be transferred.
[0044]
For example, as shown in FIG. 5 From node N In the state [step: 0] in which the general frame is transferred to the node N2, 5 Switching device is "Node N 2 "To port P 5L To transfer to. "
[0045]
At this time, the node N 2 To node N 5 It is assumed that some RPDU frame has been transferred [step: 1]. At this time, the node N 5 The switching device maps the source address of the frame and the receiving port. As a result, node N 5 The switching device of "Node N 2 Frame addressed to port P 5L Discard the previous learning of "transfer to 2 Frame addressed to port P 5R Transfer to "" and learn again.
[0046]
As a result, node N 5 The switching devices of node N 2 Frame addressed to port P 5R [Step: 2]. This allows port P 5R Transmitted from node N 2 Is blocked by the logical blocking port.
[0047]
(5) Infinite tour of messages
If the nodes are connected in a ring, the message once transmitted is continuously transferred on the ring endlessly. An example in which the re-arbitration trigger RPDU makes an infinite round on the ring will be described below.
[0048]
As shown in FIG. 1 And N 6 It is assumed that disconnection has occurred between [step: 0]. Thereby, the node N 1 And N 6 Sends a re-arbitration trigger RPDU [step: 1]. This transmission is indicated by "Healing Message".
[0049]
At this time, if the disconnection point returns while the re-arbitration trigger RPDU circulates on the ring topology [step: 2], the re-arbitration trigger RPDU passes through the original disconnection point and continues to circulate on the ring topology. [Step: 3]. In this case, the circulation of the re-arbitration trigger RPDU is continuously continued unless a new disconnection occurs somewhere.
[0050]
(6) Master node change
For example, assume that the ID of the existing master node is changed and reset. If ring-down does not occur due to this reset, the old master node ID remains on the topology, preventing correct arbitration operation.
[0051]
This example will be described with reference to FIG. Node N 1 Is a master node and a logical topology is constructed [step: 0]. In this state, the node N 1 Is changed from 1 to 7 [step: 1]. At this time, the node N 1 The port is blocked once to restart the protocol operation from 1.
[0052]
With this blocking, node N 1 Is the adjacent node N 4 , N 6 And arbitration with [step: 2]. As a result, node N 1 Is infected with the topology information that he has spread himself before [step: 3]. As a result, the logical mastering node is absent and the logical topology is not correctly constructed, so that the logical blocking port drift mechanism does not operate normally (the logical blocking port does not drift downstream in the topology).
[0053]
As a result, the logical blocking ports are not aggregated at the end of the ring, and the logical topology is divided.
[0054]
(7) Measures against lack of logical blocking port
Although it is impossible as long as the protocol is operating normally, it is assumed that an erroneous blocking response message is generated due to noise or the like, and all ports on the ring are in a forwarding state. If this situation occurs, the blocking drift mechanism becomes completely useless, and unless a ring-down occurs somewhere, the state of zero blocking is continued, which is dangerous.
[0055]
An object of the present invention is to provide an information transfer system that can prevent the occurrence of system abnormalities and the suspension of functions due to the above-described causes.
[0056]
[Means for Solving the Problems]
The present invention is characterized by the following system and logical topology construction method in order to solve the above problems.
[0057]
(System invention)
(1) In order to transfer information between a large number of frame transfer devices, each frame transfer device is used as a node, and unnecessary links are logically disconnected from a topology physically including a loop, and a logical connection between each node without a loop is provided. A port state control mechanism for constructing a topology, and a re-arbitration trigger mechanism for reconstructing a logical topology when a communication failure occurs between the nodes,
The port state control mechanism includes means for issuing a blocking request from a port in a blocking state at each node in the ring topology, and causing a node that has lost arbitration due to this request to transition to the blocking state and receive a blocking request from an upper node. Means, and the node notified of the blocking request reception comprises means for immediately canceling the blocking state and transitioning to the forwarding state,
The re-arbitration trigger mechanism sets a port of a node that has detected a communication failure in a blocking state in hardware, clears topology information, and transfers a topology restoration message to a next node. Means for discarding the topology information and becoming a master node and starting arbitration for the next node, comprising:
The master node exchanges topology information with each other, determines the hierarchical relationship between the nodes by comparing the priorities, and finally provides a means for periodically transmitting an arbitration RPDU for finally determining a port role,
The slave node is characterized in that a means is provided for immediately returning to the master node when the arbitration RPDU from the master node does not arrive for a predetermined time or longer, regardless of whether or not a re-arbitration trigger RPDU has been received.
[0058]
(2) Among the nodes, the sender of the message is provided with a means for periodically retransmitting the message until receiving an incoming response to the transmitted message;
The message receiver is provided with means for returning an incoming response to the received message,
An ACK flag is provided in the arbitration RPDU, and means for setting this flag when a message is returned as an incoming response is provided.
[0059]
(3) When the node changes the port state, a means is provided for transmitting a cache clear RPDU urging another node to clear the cache under the following conditions:
If the node whose port state has been changed is the master node, a cache clear RPDU is transmitted from the ring port in the forwarding state.
[0060]
If the node whose port state has been changed is a slave node, a cache clear RPDU is transmitted from the upper port.
[0061]
The node receiving the cache clear RPDU,
Means for transferring the cache clear RPDU when the receiving port is in the forwarding state and the transfer destination port is in the forwarding state, when the node receiving the cache clear RPDU is the master node,
When the node receiving the cache clear RPDU is a slave node, means for transferring the cache clear RPDU when the receiving port is in the forwarding state and the transfer destination port is the upper port is provided.
[0062]
(4) The ring terminal port farthest from the master node in the ring topology is:
-Provide an "end flag" for notifying the arbitration RPDU that it is a ring end port;
The opposite node that has received the arbitrated RPDU is provided with a means for inhibiting the learning of the address of the receiving port.
[0063]
(5) The port that has received the arbitrated RPDU is provided with means for transferring the arbitrated RPDU when the transfer destination port is not the upper port and the transfer destination port is not the terminal port;
The re-arbitration trigger RPDU or the cache clear RPDU is provided with a unit for transmitting by attaching a parameter of "source node ID" and a parameter of "lifetime",
A node that first transmits the re-arbitration trigger RPDU or the cache clear RPDU includes a unit that writes its own unique node ID in the “source node ID” and a maximum number of ring nodes in the “lifetime”;
The node that has received the re-arbitration trigger RPDU or the cache clear RPDU determines that the “source node ID” does not match its own unique node ID and that the “lifetime” is decremented by 1 or more. A means for transferring an arbitration trigger RPDU or a cache clear RPDU is provided.
[0064]
(6) The slave node constantly monitors a change in the priority of the topology information notified by the arbitration RPDU received from the upper port, and receives topology information having a lower priority than the topology information received last time. In that case, depending on the pattern,
If the value of the master node ID does not change and the distance value increases, the node returns to the master node and sends a re-arbitration trigger RPDU.
[0065]
-If the value of the master node ID increases but the priority is higher than its own unique node ID, it depends on the topology information.
[0066]
When the value of the master node ID increases and the priority becomes lower than the own unique node ID, the process returns to the master node.
Is provided.
[0067]
(7) The node at the end of the ring is provided with a means for spontaneously blocking one of the ring ports when it recognizes that it is the end of the ring, even if it has not received a blocking request from an adjacent node. It is characterized by the following.
[0068]
(Invention of method)
(8) In order to transfer information between a large number of frame transfer devices, each frame transfer device is used as a node, and unnecessary links are logically disconnected from a topology including a physical loop, and a logical connection between each node without a loop is provided. A port state control mechanism for constructing a topology, and a re-arbitration trigger mechanism for reconstructing a logical topology when a communication failure occurs between the nodes,
The port state control mechanism includes means for issuing a blocking request from a port in a blocking state at each node in the ring topology, and causing a node that has lost arbitration due to this request to transition to the blocking state and receive a blocking request from an upper node. Means, and the node notified of the blocking request reception comprises means for immediately canceling the blocking state and transitioning to the forwarding state,
The re-arbitration trigger mechanism sets a port of a node that has detected a communication failure in a blocking state in hardware, clears topology information, and transfers a topology restoration message to a next node. Means for constructing a logical topology of an information transfer system, comprising means for discarding topology information and becoming a master node and starting arbitration for the next node,
The master node exchanges topology information with each other, determines a hierarchical relationship between the nodes by comparing their priorities, and finally provides a process of periodically transmitting an arbitration RPDU for determining a port role,
The slave node is characterized in that, when the arbitration RPDU from the master node does not arrive for a predetermined time or more, a step of immediately returning to the master node is provided regardless of whether or not a re-arbitration trigger RPDU is received.
[0069]
(9) Among the nodes, the message sender has a process of periodically retransmitting the message until receiving an incoming response to the transmitted message,
The message receiver has a process of returning an incoming response to the received message,
An ACK flag is provided in the arbitration RPDU, and a step of setting this flag when a message is returned as an incoming response is provided.
[0070]
(10) When the node changes the port state, a step of transmitting a cache clear RPDU urging another node to clear the cache under the following conditions is provided:
If the node whose port state has been changed is the master node, a cache clear RPDU is transmitted from the ring port in the forwarding state.
[0071]
If the node whose port state has been changed is a slave node, a cache clear RPDU is transmitted from the upper port.
[0072]
The node receiving the cache clear RPDU,
When the node that has received the cache clear RPDU is the master node, a step of transferring the cache clear RPDU when the receiving port is in the forwarding state and the transfer destination port is in the forwarding state is provided;
When the node that has received the cache clear RPDU is a slave node, a step of transferring the cache clear RPDU when the receiving port is in the forwarding state and the transfer destination port is the upper port is provided.
[0073]
(11) In the ring topology, the ring terminal port farthest from the master node is:
-Provide an "end flag" for notifying the arbitration RPDU that it is a ring end port;
The opposite node that has received the arbitrated RPDU is characterized in that a process for inhibiting address learning of the receiving port is provided.
[0074]
(12) The port receiving the arbitrated RPDU is provided with a step of transferring the arbitrated RPDU when the transfer destination port is not the upper port and the transfer destination port is not the terminal port;
The re-arbitration trigger RPDU or the cache clear RPDU is provided with a process of attaching a parameter of “source node ID” and a parameter of “lifetime” and transmitting the same.
The node that first transmits the re-arbitration trigger RPDU or the cache clear RPDU includes a process of writing its own unique node ID in the “source node ID” and writing a maximum number of ring nodes in the “lifetime”.
The node that has received the re-arbitration trigger RPDU or the cache clear RPDU determines that the “source node ID” does not match its own unique node ID and that the “lifetime” is decremented by 1 or more. A process for transferring an arbitration trigger RPDU or a cache clear RPDU is provided.
[0075]
(13) The slave node constantly monitors the change in the priority of the topology information notified by the arbitration RPDU received from the upper port, and receives the topology information having a lower priority than the previously received topology information. In that case, the following response process depending on the pattern,
If the value of the master node ID does not change and the distance value increases, the node returns to the master node and sends a re-arbitration trigger RPDU.
[0076]
-If the value of the master node ID increases but the priority is higher than its own unique node ID, it depends on the topology information.
[0077]
When the value of the master node ID increases and the priority becomes lower than the own unique node ID, the process returns to the master node.
Is provided.
[0078]
(14) The node at the end of the ring, when recognizing that it is the end of the ring, has a process of spontaneously blocking one of the ring ports even if it has not received a blocking request from an adjacent node. It is characterized by the following.
[0079]
BEST MODE FOR CARRYING OUT THE INVENTION
(Embodiment 1) Node down countermeasures
In this embodiment, the master node periodically sends an arbitration RPDU to indicate that the node is alive. Each slave node constantly monitors the upper port (the ring port closer to the master node among the two ring ports), and discards the current topology information if it does not receive an arbitrated RPDU for a certain period of time, Return to the master node and start arbitration by itself.
[0080]
By adding this function, if the master node goes down, all slave nodes will notice after a certain period of time, and if the slave node goes down, all slaves downstream of that slave will notice after a certain period And the logical topology construction work can be resumed.
[0081]
This example is shown in FIG. 1, and the logical topology for the node down is reconstructed by the following step: 0 to step: 3.
[0082]
In the state of [step: 0], the node N 1 The logical topology is constructed using as the master node (in the figure, the logical blocking port is P B Notation). In this state, the slave node N 6 Is down. However, the adjacent node is node N 6 Did not notice the unusual.
[0083]
In [step: 1], the slave node N 4 , N 5 Continue to receive the arbitrated RPDU from the upper port (indicated by a circle in the figure). On the other hand, slave node N 3 , N 2 Is the node N 6 Does not receive the arbitration RPDU from the upper port because the arbitration RPDU is no longer relayed. Note that node N 2 The upper port is Node N 3 Side port.
[0084]
In [step: 2], the slave node N 3 , N 2 Since a certain period of time has passed since the arbitration RPDU is no longer received from the upper port, it returns to the master node and starts arbitration.
[0085]
In [step: 3], the arbitration causes the node N 2 , N 3 Is the node N 5 Depends on the topology information via This arbitration also causes the logical blocking port P B Is the node N 3 Is drifted down to the lower port.
[0086]
Through the above steps, the logical topology is reconstructed. Therefore, according to the present embodiment, when a certain node stops the RTP protocol operation without causing a ring-down due to a device failure or S / W runaway (that is, the re-arbitration trigger mechanism 2 in the conventional RTP operates normally). In this case, the logical topology is started to be reconstructed after a certain period of time has elapsed, and if there is a bypass route, a communication route that bypasses the failure location is established.
[0087]
(Embodiment 2) Message loss countermeasures
In the present embodiment, as shown in FIG. 2, the transmitting node continues retransmission until a response (ACK) to the message arrives. The receiving node returns an ACK to the message. As a result, even if the message is lost, retransmission is repeated, so that the protocol operation does not stop.
[0088]
This example is shown in FIG. 3, and the following step: 0 to step: 3 prevents message loss.
[0089]
In [step: 0], the node N 1 And N 6 Sent arbitration RPDUs respectively, but node N 1 The one sent from lost.
[0090]
In [step: 1], the node N 1 Has received the arbitration RPDU, but has won the arbitration, and thus waits for the notification of the subordination from the partner node. Node N 6 Is waiting for an arbitration RPDU from the partner node.
[0091]
In [step: 2], the node N 1 , N 6 Waited for a while, but since there was no reply from the other party, node N 1 , N 6 Retransmitted the arbitration RPDU. This time it arrived at the other node without any loss.
[0092]
In [step: 3], the node N 6 Is the node N 1 And updates the topology information to the appropriate values and takes over the logical blocking port. Next, node N 6 Is the node N 3 Start a new arbitration to relay them to the side. Node N 1 ACK is returned to inform that the message has been received. Node N with ACK received 1 Terminates the retransmission of the arbitration RPDU.
[0093]
After that, proceed with arbitration in the same manner. Complete the logical topology. Therefore, according to the present embodiment, even if an arbitration RPDU or a notification RPDU (rearbitration trigger RPDU, cache clear RPDU) is lost during transmission due to the influence of transmission noise or transient overload, message retransmission is performed. Is performed, and the inconvenience of impairing the protocol operation itself is eliminated, although the logical topology convergence time is affected.
[0094]
(Embodiment 3) Station cache clear mechanism
As described in the conventional problem, when the logical blocking port drifts, the transfer route of the general frame may need to be changed. In order to change the route, the address transfer information learned by each node must be once discarded and the address learning must be performed again.
[0095]
Therefore, in the present embodiment, when a certain node changes the port state of its own ring port (that is, when the logical blocking port drifts), the following means A and B for notifying the change to the entire system are newly provided. .
[0096]
(Means A) Issuance of request for address learning redo
The node that has changed the port state transmits a special message (hereinafter, referred to as “cache clear RPDU”) requesting clearing of the station cache according to the following conditions.
[0097]
-When the node is a master node ... A cache clear RPDU is transmitted from the ring port in the forwarding state at that time.
[0098]
When the node is a slave node: The cache clear RPDU is transmitted from the upper port.
[0099]
(Means B) Relay of cache clear RPDU
The node that has received the cache clear RPDU transfers the same message to the opposite ring port according to the following conditions.
[0100]
When the node is a master node: If the received port is in the forwarding state and the transfer destination ring port is in the forwarding state, the cache clear RPDU is transferred.
[0101]
When the node is a slave node: If the received port is in the forwarding state and the transfer destination ring port is the upper port, the cache clear RPDU is transferred.
[0102]
By the above procedure, all nodes connected by the forwarding port at that time are notified of the station cache update.
[0103]
Although the cache clear RPDU is not relayed to the nodes behind the blocking port, the blocking port drifts due to arbitration, and the final blocking port drift is completed, and all nodes on the topology are connected by the forwarding port. All nodes are notified of station cache clear. In other words, not only can the necessary and sufficient station cache be cleared without relaying the cache clear RPDU beyond the blocking port, but unnecessary cache clear RPDU transfer is suppressed.
[0104]
FIG. 4 shows a case where a node N is indicated by a cache clear RPDU (denoted as “CC” in FIG. 1 Shows a process in which an old transfer route learned previously is cleared.
[0105]
In [step: 0], the blocking drift request is 6 (The blocking flag of the arbitration RPDU is set and transmitted).
[0106]
In [step: 1], the node N 3 Accepted the blocking request because it lost the arbitration 3R Was blocked. Node N 3 Changed the port state (port P 3R Port state: Forwarding → Blocking), the cache clear RPDU is transmitted from the upper port.
[0107]
In [step: 2], the node N 6 Has received the cache clear RPDU, but ignores it because the receiving port is in a blocking state. Node N 3 Indicates that the logical blocking has been accepted 6 (ACK in the figure).
[0108]
In [step: 3], the node N 6 Received the blocking ACK and released the blocking of the lower port. Node N 6 Sends a cache clear RPDU from the upper port. Node N 1 Receives this cache clear RPDU, clears its own station cache, and discards old learning.
[0109]
Thereafter, the cache clear RPDU is sequentially relayed, the station cache of each node on the route is cleared, and the node N 3 Port P of 3R (The cache clear RPDU received at the blocking port is not transferred).
[0110]
Therefore, according to the present embodiment, when the transfer route of the general frame is changed due to the drift of the logical blocking port, the old address information held by the switching device of each node is quickly cleared, so that the normal The communication state can be restored without waiting for the aging time (generally, the time on the order of minutes) to elapse.
[0111]
(Embodiment 4) Prohibition of address learning
In the present embodiment, the following means is provided to prohibit address learning of a port facing a terminal port (a port that constantly maintains logical blocking in the ring topology) in the ring topology.
[0112]
(Means A) Notification of end port: An "end flag" is provided in the arbitration RPDU, and when the arbitration RPDU is transmitted from the end port, the flag is set.
[0113]
(Means B) Opposite end port ... A node that has received an arbitrated RPDU in which a port end flag is set prohibits address learning of the receiving port.
[0114]
(Means C) Address learning permission: The node that has received the arbitrated RPDU with the terminal flag cleared clears the address learning of the receiving port.
[0115]
FIG. 5 shows an example of the address learning prohibition process.
[0116]
In [step: 0], the node N 5 To node N 2 Is a state where a general frame is being transferred. At this time, the node N 5 Switching device is "Node N 2 Frame addressed to port P 5L To transfer to. "
[0117]
In [step: 1], the node N 2 To node N 5 Assume that some arbitration RPDU frame has been transferred. However, port P 2L Is a terminal port, the terminal flag of the arbitration RPDU is set (in the figure, flag Terminal = 1 is indicated).
[0118]
At this time, the node N 5 Is the port P because the terminal flag of the received arbitration RPDU is set. 5R Prohibit address learning. Node N 5 Switching device is port P 5R Has stopped learning the address of node N 2 Frame addressed to port P 5L The previous learning of "transfer to" remains without being abandoned.
[0119]
In [step: 2], the node N 5 The switching device of node N 2 Frame addressed to port P 5L Continue to transfer to. Port P 5L Transmitted from the node N through the conventional route 2 And is relayed to the final destination.
[0120]
Therefore, according to the present embodiment, the phenomenon that the transfer of the general frame is obstructed can be solved by preventing the erroneous address learning caused by the RPDU.
[0121]
(Embodiment 5) Infinite loop prevention of message
In the present embodiment, when a ring topology is configured, RPDU is prevented from going infinitely on the ring as follows.
[0122]
(A) Arbitration RPDU
The transfer conditions when an arbitrated RPDU is received are set such that the transfer destination port is not an upper port and that the transfer destination port is not a terminal port.
[0123]
According to this condition, as shown in FIG. 6A, the arbitrated RPDU is always transferred in the upper order → lower direction, and the transfer stops at the node located farthest from the master node on the ring topology (lower order → upper direction). Will not be forwarded to
[0124]
(B) Re-arbitration trigger RPDU and cache clear RPDU
The following two parameters are attached to the re-arbitration trigger RPDU and the cache clear RPDU (these RPDUs are hereinafter referred to as "notification RPDUs").
[0125]
-Source node ID
·lifespan
First, the node transmitting the notification RPDU writes its own unique node ID in the transmission source node ID and the maximum number of ring nodes in the lifetime. The node that has received the notification RPDU transfers the RPDU only when the following conditions are satisfied.
[0126]
(Condition A) The source node ID is compared with its own unique node ID, and they do not match. (Notification sent by yourself)
(Condition B) The life is decremented (decrease the value by 1) and the value is 1 or more.
[0127]
The condition A imposes the tail of the notification RPDU on the transmission source node ID. Due to this restriction, the notification RPDU disappears when it makes one round of the ring, as shown in FIG. 6B. .
[0128]
Condition b is that when the unique node ID of the node N is changed before a certain node N transmits the notification RPDU and the RPDU makes one round on the ring, that is, there is a node that cleans up the notification RPDU. This is a restriction to prevent an infinite tour even if it disappears.
[0129]
Therefore, according to the present embodiment, it is possible to prevent the RPDU from infinitely circulating in the ring topology, and to suppress the generation of unnecessary traffic.
[0130]
(Embodiment 6) Master node ID change countermeasures
In the present embodiment, the following rule is set to detect an invalid master node ID as soon as possible and prevent it from being spread. This rule is applied to the slave node.
[0131]
Legend: a certain slave node N S Representative topology information (master node ID, distance, source node ID) D (T D = (M D , D D , S D ))). Here, node N S Has newly received an arbitrated RPDU at an upper port. Topology information T stored in this arbitration RPDU R Is hereinafter referred to as reception topology information (T R = (M R , D R , S R )). Node N S The unique node ID of U S And
[0132]
(Condition 1) When the received topology information is superior to or equal to the representative topology information: The representative topology information is recalculated based on the received topology information (process as in the related art).
[0133]
(Condition 2) When the received topology information is inferior to the representative topology information,
When the value of the representative master node ID is equal to the value of the receiving master node ID under the condition 2 (M D = M R ), The node Ns returns to the master node and transmits a re-arbitration trigger RPDU.
[0134]
In the condition 2, the values of the representative master node ID and the receiving master node ID are different (M D ≠ M R ) And the value of the receiving master node ID is smaller than the value of the unique node ID of the node Ns (M R <U S ) ... Recalculate the representative topology information based on the received topology information (process as in the past).
[0135]
In the condition 2, the value of the reception master node ID is the node N S Is larger than the value of the unique node ID (M R > U S ) ... Node N S Returns to the master node and does not send a re-arbitration trigger RPDU.
[0136]
Therefore, according to the present embodiment, when the unique node ID of the node currently serving as the master node is changed and its value becomes larger than before (that is, the priority becomes lower than before), The topology information no longer remains in the topology, and the logical topology is correctly reconstructed.
[0137]
(Embodiment 7) Spontaneous blocking
In the present embodiment, the node located at the end of the ring spontaneously blocks one of the ring ports (even if there is no blocking request from the upper node). Also, even if a blocking response is received at a port where the ring terminal node is blocking, the blocking is not released.
[0138]
Therefore, according to the present embodiment, even if all the blocking ports on the link topology have been released due to some cause (for example, mixing of a forged RPDU), the node located at the end of the ring is automatically activated. Maintaining the logical blocking can prevent the loop state from being left.
[0139]
【The invention's effect】
As described above, according to the present invention, in an information transfer system using a conventional ring topology protocol, improved resistance to node down, improved resistance to protocol message loss, secure station cache clear, prevention of erroneous address learning, and It is possible to prevent infinite patrol, secure correct arbitration for master node change, and secure voluntary blocking.
[Brief description of the drawings]
FIG. 1 is a process diagram of a node down countermeasure according to a first embodiment of the present invention.
FIG. 2 is a diagram illustrating a relationship between a message and an ACK according to the second embodiment of the present invention.
FIG. 3 is a processing diagram of a message loss countermeasure according to the second embodiment of the present invention.
FIG. 4 is a diagram illustrating a cache clearing process using a cache clear RPDU according to a third embodiment of the present invention.
FIG. 5 is a diagram illustrating an address learning prohibition process according to a fourth embodiment of the present invention.
FIG. 6 is an explanatory diagram showing prevention of infinite message circulation according to the fifth embodiment of the present invention.
FIG. 7 is a transition diagram of the port state of the STP bridge.
FIG. 8 is a process diagram of STP disconnection recovery.
FIG. 9 is a functional block diagram of an RTP.
FIG. 10 is an example of node down in RTP.
FIG. 11 is an example of stagnation of arbitration due to message loss in RTP.
FIG. 12 is an example of a change of a transfer port due to a drift of a logical blocking port in RTP.
FIG. 13 shows a mechanism of occurrence of a transfer failure due to incorrect address learning in RTP.
FIG. 14 is an example of infinite circulation of a message in RTP.
FIG. 15 is an example of a residual phenomenon of old topology information in RTP.
[Explanation of symbols]
1: Port state control block
2. Topology information updater
3L, 3R: Topology information buffer
4. Topology superiority / disadvantage determination algorithm
5L, 5R: Port roll storage unit
6L, 6R: Port state storage unit
7: Switching algorithm & address table

Claims (14)

多数のフレーム転送装置間で情報転送するため、各フレーム転送装置をノードとし、物理的にループを含むトポロジから不要なリンクを論理的に切断し、各ノード間をループのない論理的トポロジを構築するポートステート制御機構、および前記ノード間の通信障害発生時に論理的トポロジを再構築する再調停トリガ機構を備え、
前記ポートステート制御機構は、リングトポロジにある各ノードにおいて、ブロッキング状態のポートからブロッキング要求を出す手段と、この要求による調停に負けたノードはブロッキング状態に遷移させ、上位ノードに対してブロッキング要求受理を通知する手段と、ブロッキング要求受理を通知されたノードは直ちにブロッキング状態を解除してフォワーディンング状態に遷移させる手段とを備え、
前記再調停トリガ機構は、ハードウェア的に通信障害を検出したノードのポートをブロッキング状態にし、トポロジ情報をクリアし、トポロジ復旧メッセージを次のノードに転送する手段と、前記メッセージを受信したノードはトポロジ情報を捨ててマスタノードとなり次のノードに対して調停を開始する手段とを備えた情報転送システムであって、
前記マスタノードは互いのトポロジ情報を交換し、その優先順位を比較することでノード間の上下関係を決定し、最終的にはポートロールを決定する調停RPDUを定期的に送信する手段を設け、
前記スレーブノードは、マスタノードからの前記調停RPDUが一定時間以上来なくなったときに、再調停トリガRPDU受信の有無に拘わらず直ちにマスタノードに復帰する手段を設けたことを特徴とする情報転送システム。
In order to transfer information between a large number of frame transfer devices, each frame transfer device is used as a node, and unnecessary links are logically disconnected from the topology that physically includes loops, creating a logical topology without loops between each node. A port state control mechanism, and a re-arbitration trigger mechanism for reconstructing a logical topology when a communication failure occurs between the nodes,
The port state control mechanism includes means for issuing a blocking request from a port in a blocking state at each node in the ring topology, and causing a node that has lost arbitration due to this request to transition to the blocking state and receive a blocking request from an upper node. Means, and the node notified of the blocking request reception comprises means for immediately canceling the blocking state and transitioning to the forwarding state,
The re-arbitration trigger mechanism sets a port of a node that has detected a communication failure in a blocking state in hardware, clears topology information, and transfers a topology restoration message to a next node. Means for discarding the topology information and becoming a master node and starting arbitration for the next node, comprising:
The master node exchanges topology information with each other, determines the hierarchical relationship between the nodes by comparing the priorities, and finally provides a means for periodically transmitting an arbitration RPDU for finally determining a port role,
The information transfer system according to claim 1, wherein said slave node is provided with a means for immediately returning to the master node when the arbitration RPDU from the master node does not arrive for a predetermined time or longer, regardless of whether a re-arbitration trigger RPDU is received. .
前記ノードのうち、メッセージの送り手は、送信したメッセージに対する着信応答を受け取るまで定期的にメッセージの再送を行なう手段を設け、
前記メッセージの受け手は、受信したメッセージに対して着信応答を返信する手段を設け、
前記調停RPDUに“ACKフラグ”を設け、着信応答としてメッセージを返信する場合にはこのフラグをセツトする手段を設けたことを特徴とする請求項1に記載の情報転送システム。
Among the nodes, a message sender is provided with a means for periodically resending a message until an incoming response to the transmitted message is received,
The message receiver is provided with means for returning an incoming response to the received message,
2. The information transfer system according to claim 1, wherein an "ACK flag" is provided in the arbitration RPDU, and means for setting this flag when a message is returned as an incoming response is provided.
前記ノードはポートステートを変更したとき、他のノードにキャッシュクリアを促すキャッシュクリアRPDUを下記の条件で発信する手段を設け、
・ポートステートを変更したノードがマスタノードの場合、フォワーディンク状態のリングポートからキャッシュクリアRPDUを送信する。
・ポートステートを変更したノードがスレーブノードの場合、上位ポートからキャッシュクリアRPDUを送信する。
前記キャッシュクリアRPDUを受信したノードは、
・キャッシュクリアRPDUを受信したノードがマスタノードの場合、受信ポートがフォワーディンク状態で、且つ、転送先ポートがフォワーディンク状態であるときにキャッシュクリアRPDUを転送する手段を設け、
・キャッシュクリアRPDUを受信したノードがスレーブノードの場合、受信ポートがフォワーディンク状態で、且つ、転送先ポートが上位ポートであるときにキャッシュクリアRPDUを転送する手段を設けたことを特徴とする請求項1または2に記載の情報転送システム。
When the node changes the port state, a means for transmitting a cache clear RPDU urging another node to clear the cache under the following conditions is provided:
If the node whose port state has been changed is the master node, a cache clear RPDU is transmitted from the ring port in the forwarding state.
If the node whose port state has been changed is a slave node, a cache clear RPDU is transmitted from the upper port.
The node receiving the cache clear RPDU,
Means for transferring the cache clear RPDU when the receiving port is in the forwarding state and the transfer destination port is in the forwarding state, when the node receiving the cache clear RPDU is the master node,
When the node receiving the cache clear RPDU is a slave node, means for transferring the cache clear RPDU when the receiving port is in the forwarding state and the transfer destination port is the upper port is provided. Item 3. The information transfer system according to item 1 or 2.
前記リングトポロジにおいてマスタノードから最も遠いリング末端ポートは、
・前記調停RPDUにリング末端ポートであることを通知するための“末端フラグ”を設け、
この調停RPDUを受信した対向ノードは受信ポートのアドレス学習を禁止する手段を設けたことを特徴とする請求項1〜3のいずれか1項に記載の情報転送システム。
The ring terminal port farthest from the master node in the ring topology is
-Provide an "end flag" for notifying the arbitration RPDU that it is a ring end port;
The information transfer system according to any one of claims 1 to 3, wherein the opposite node that has received the arbitrated RPDU is provided with a unit that prohibits address learning of a receiving port.
前記調停RPDUを受信したポートは、転送先ポートが上位ポートでなく、かつ転送先ポートが末端ポートでないときに調停RPDUを転送する手段を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUは“送信元ノードID”と“寿命”というパラメータを添付して送信する手段を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUを最初に送信するノードは、前記“送信元ノードID”に自身の固有ノードIDを書き込み、かつ前記“寿命”に最大リングノード数を書き込む手段を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUを受信したノードは、前記“送信元ノードID”と自身の固有ノードIDが一致しないこと、および前記“寿命”をデクリメントした値が1以上あるときに該再調停トリガRPDUまたはキャッシュクリアRPDUを転送する手段を設けたことを特徴とする請求項1〜4のいずれか1項に記載の情報転送システム。
The port receiving the arbitration RPDU is provided with means for transferring the arbitration RPDU when the transfer destination port is not the upper port and the transfer destination port is not the terminal port,
The re-arbitration trigger RPDU or the cache clear RPDU is provided with a unit for transmitting by attaching a parameter of "source node ID" and a parameter of "lifetime",
A node that first transmits the re-arbitration trigger RPDU or the cache clear RPDU includes a unit that writes its own unique node ID in the “source node ID” and a maximum number of ring nodes in the “lifetime”;
The node that has received the re-arbitration trigger RPDU or the cache clear RPDU determines that the “source node ID” does not match its own unique node ID and that the “lifetime” is decremented by 1 or more. 5. The information transfer system according to claim 1, further comprising means for transferring an arbitration trigger RPDU or a cache clear RPDU.
前記スレーブノードは、上位ポートから受信した前記調停RPDUによって通知されるトポロジ情報の優先度の変化を常に監視し続け、前回に受け取ったトポロジ情報よりも優先度の低いトポロジ情報を受け取った場合に、そのパターンにより以下の対応手段、
・マスタノードIDの値が不変でディスタンス値が増加した場合、マスタノードに復帰し、再調停トリガRPDUを発信する。
・マスタノードIDの値が増加したが、自身の固有ノードIDよりは優先度が高い場合、そのトポロジ情報に従属する。
・マスタノードIDの値が増加し、自身の固有ノードIDよりも優先度が低くなった場合、マスタノードに復帰する。
を設けたことを特徴とする請求項1〜5のいずれか1項に記載の情報転送システム。
The slave node continuously monitors the change in the priority of the topology information notified by the arbitration RPDU received from the upper port, and when receiving the topology information having a lower priority than the previously received topology information, Depending on the pattern,
If the value of the master node ID does not change and the distance value increases, the node returns to the master node and sends a re-arbitration trigger RPDU.
-If the value of the master node ID increases but the priority is higher than its own unique node ID, it depends on the topology information.
When the value of the master node ID increases and the priority becomes lower than the own unique node ID, the process returns to the master node.
The information transfer system according to any one of claims 1 to 5, further comprising:
前記リング末端にいるノードは、自身がリング末端であることを認識したときに、隣接ノードからブロッキング要求を受けていなくても、リングポートのひとつを自発的にブロッキングする手段を設けたことを特徴とする請求項1〜6のいずれか1項に記載の情報転送システム。The node at the end of the ring, when recognizing that the node is the end of the ring, has a means for spontaneously blocking one of the ring ports even if it has not received a blocking request from an adjacent node. The information transfer system according to any one of claims 1 to 6, wherein 多数のフレーム転送装置間で情報転送するため、各フレーム転送装置をノードとし、物理的にループを含むトポロジから不要なリンクを論理的に切断し、各ノード間をループのない論理的トポロジを構築するポートステート制御機構、および前記ノード間の通信障害発生時に論理的トポロジを再構築する再調停トリガ機構を備え、
前記ポートステート制御機構は、リングトポロジにある各ノードにおいて、ブロッキング状態のポートからブロッキング要求を出す手段と、この要求による調停に負けたノードはブロッキング状態に遷移させ、上位ノードに対してブロッキング要求受理を通知する手段と、ブロッキング要求受理を通知されたノードは直ちにブロッキング状態を解除してフォワーディンング状態に遷移させる手段とを備え、
前記再調停トリガ機構は、ハードウェア的に通信障害を検出したノードのポートをブロッキング状態にし、トポロジ情報をクリアし、トポロジ復旧メッセージを次のノードに転送する手段と、前記メッセージを受信したノードはトポロジ情報を捨ててマスタノードとなり次のノードに対して調停を開始する手段とを備えた情報転送システムの論理的トポロジ構築方法であって、
前記マスタノードは互いのトポロジ情報を交換し、その優先順位を比較することでノード間の上下関係を決定し、最終的にはポートロールを決定する調停RPDUを定期的に送信する過程を設け、
前記スレーブノードは、マスタノードからの前記調停RPDUが一定時間以上来なくなったときに、再調停トリガRPDU受信の有無に拘わらず直ちにマスタノードに復帰する過程を設けたことを特徴とする情報転送システムの論理的トポロジ構築方法。
In order to transfer information between a large number of frame transfer devices, each frame transfer device is used as a node, and unnecessary links are logically disconnected from the topology that physically includes loops, creating a logical topology without loops between each node. A port state control mechanism, and a re-arbitration trigger mechanism for reconstructing a logical topology when a communication failure occurs between the nodes,
The port state control mechanism includes means for issuing a blocking request from a port in a blocking state at each node in the ring topology, and causing a node that has lost arbitration due to this request to transition to the blocking state and receive a blocking request from an upper node. Means, and the node notified of the blocking request reception comprises means for immediately canceling the blocking state and transitioning to the forwarding state,
The re-arbitration trigger mechanism sets a port of a node that has detected a communication failure in a blocking state in hardware, clears topology information, and transfers a topology restoration message to a next node. Means for constructing a logical topology of an information transfer system, comprising means for discarding topology information and becoming a master node and starting arbitration for the next node,
The master node exchanges topology information with each other, determines a hierarchical relationship between the nodes by comparing their priorities, and finally provides a process of periodically transmitting an arbitration RPDU for determining a port role,
An information transfer system, wherein the slave node immediately returns to the master node when the arbitration RPDU from the master node does not arrive for a predetermined time or longer, regardless of whether or not a re-arbitration trigger RPDU is received. How to build a logical topology.
前記ノードのうち、メッセージの送り手は、送信したメッセージに対する着信応答を受け取るまで定期的にメッセージの再送を行なう過程を設け、
前記メッセージの受け手は、受信したメッセージに対して着信応答を返信する過程を設け、
前記調停RPDUに“ACKフラグ”を設け、着信応答としてメッセージを返信する場合にはこのフラグをセツトする過程を設けたことを特徴とする請求項8に記載の情報転送システムの論理的トポロジ構築方法。
Among the nodes, a message sender is provided with a step of periodically retransmitting a message until receiving an incoming response to the transmitted message,
The message receiver has a process of returning an incoming response to the received message,
9. The method according to claim 8, further comprising the step of providing an "ACK flag" in the arbitration RPDU and setting the flag when a message is returned as an incoming response. .
前記ノードはポートステートを変更したとき、他のノードにキャッシュクリアを促すキャッシュクリアRPDUを下記の条件で発信する過程を設け、
・ポートステートを変更したノードがマスタノードの場合、フォワーディンク状態のリングポートからキャッシュクリアRPDUを送信する。
・ポートステートを変更したノードがスレーブノードの場合、上位ポートからキャッシュクリアRPDUを送信する。
前記キャッシュクリアRPDUを受信したノードは、
・キャッシュクリアRPDUを受信したノードがマスタノードの場合、受信ポートがフォワーディンク状態で、且つ、転送先ポートがフォワーディンク状態であるときにキャッシュクリアRPDUを転送する過程を設け、
・キャッシュクリアRPDUを受信したノードがスレーブノードの場合、受信ポートがフォワーディンク状態で、且つ、転送先ポートが上位ポートであるときにキャッシュクリアRPDUを転送する過程を設けたことを特徴とする請求項8または9に記載の情報転送システムの論理的トポロジ構築方法。
When the node changes the port state, the node provides a process of transmitting a cache clear RPDU urging another node to clear the cache under the following conditions,
If the node whose port state has been changed is the master node, a cache clear RPDU is transmitted from the ring port in the forwarding state.
If the node whose port state has been changed is a slave node, a cache clear RPDU is transmitted from the upper port.
The node receiving the cache clear RPDU,
When the node that has received the cache clear RPDU is the master node, a step of transferring the cache clear RPDU when the receiving port is in the forwarding state and the transfer destination port is in the forwarding state is provided;
When the node receiving the cache clear RPDU is a slave node, a step of transferring the cache clear RPDU when the receiving port is in the forwarding state and the transfer destination port is the upper port is provided. Item 10. The method for constructing a logical topology of an information transfer system according to item 8 or 9.
前記リングトポロジにおいてマスタノードから最も遠いリング末端ポートは、
・前記調停RPDUにリング末端ポートであることを通知するための“末端フラグ”を設け、
この調停RPDUを受信した対向ノードは受信ポートのアドレス学習を禁止する過程を設けたことを特徴とする請求項8〜10のいずれか1項に記載の情報転送システムの論理的トポロジ構築方法。
The ring terminal port farthest from the master node in the ring topology is
-Provide an "end flag" for notifying the arbitration RPDU that it is a ring end port;
The method according to any one of claims 8 to 10, further comprising a step of prohibiting a counterpart node that has received the arbitrated RPDU from learning the address of the receiving port.
前記調停RPDUを受信したポートは、転送先ポートが上位ポートでなく、かつ転送先ポートが末端ポートでないときに調停RPDUを転送する過程を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUは“送信元ノードID”と“寿命”というパラメータを添付して送信する過程を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUを最初に送信するノードは、前記“送信元ノードID”に自身の固有ノードIDを書き込み、かつ前記“寿命”に最大リングノード数を書き込む過程を設け、
前記再調停トリガRPDUまたはキャッシュクリアRPDUを受信したノードは、前記“送信元ノードID”と自身の固有ノードIDが一致しないこと、および前記“寿命”をデクリメントした値が1以上あるときに該再調停トリガRPDUまたはキャッシュクリアRPDUを転送する過程を設けたことを特徴とする請求項8〜11のいずれか1項に記載の情報転送システムの論理的トポロジ構築方法。
The port receiving the arbitration RPDU includes a step of transferring the arbitration RPDU when the transfer destination port is not the upper port and the transfer destination port is not the terminal port,
The re-arbitration trigger RPDU or the cache clear RPDU is provided with a process of attaching a parameter of “source node ID” and a parameter of “lifetime” and transmitting the same.
The node that first transmits the re-arbitration trigger RPDU or the cache clear RPDU includes a process of writing its own unique node ID in the “source node ID” and writing a maximum number of ring nodes in the “lifetime”.
The node that has received the re-arbitration trigger RPDU or the cache clear RPDU determines that the “source node ID” does not match its own unique node ID and that the “lifetime” is decremented by 1 or more. 12. The method according to claim 8, further comprising the step of transferring an arbitration trigger RPDU or a cache clear RPDU.
前記スレーブノードは、上位ポートから受信した前記調停RPDUによって通知されるトポロジ情報の優先度の変化を常に監視し続け、前回に受け取ったトポロジ情報よりも優先度の低いトポロジ情報を受け取った場合に、そのパターンにより以下の対応過程、
・マスタノードIDの値が不変でディスタンス値が増加した場合、マスタノードに復帰し、再調停トリガRPDUを発信する。
・マスタノードIDの値が増加したが、自身の固有ノードIDよりは優先度が高い場合、そのトポロジ情報に従属する。
・マスタノードIDの値が増加し、自身の固有ノードIDよりも優先度が低くなった場合、マスタノードに復帰する。
を設けたことを特徴とする請求項8〜12のいずれか1項に記載の情報転送システムの論理的トポロジ構築方法。
The slave node continuously monitors the change in the priority of the topology information notified by the arbitration RPDU received from the upper port, and when receiving the topology information having a lower priority than the previously received topology information, Depending on the pattern, the following response process,
If the value of the master node ID does not change and the distance value increases, the node returns to the master node and sends a re-arbitration trigger RPDU.
-If the value of the master node ID increases but the priority is higher than its own unique node ID, it depends on the topology information.
When the value of the master node ID increases and the priority becomes lower than the own unique node ID, the process returns to the master node.
The logical topology construction method for an information transfer system according to any one of claims 8 to 12, further comprising:
前記リング末端にいるノードは、自身がリング末端であることを認識したときに、隣接ノードからブロッキング要求を受けていなくても、リングポートのひとつを自発的にブロッキングする過程を設けたことを特徴とする請求項8〜13のいずれか1項に記載の情報転送システムの論理的トポロジ構築方法。The node at the end of the ring, when recognizing that it is the end of the ring, has a step of spontaneously blocking one of the ring ports even if it has not received a blocking request from an adjacent node. The method for constructing a logical topology of an information transfer system according to any one of claims 8 to 13.
JP2003071164A 2003-03-17 2003-03-17 Information transfer system, and logical topology construction method for information transfer system Pending JP2004282409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003071164A JP2004282409A (en) 2003-03-17 2003-03-17 Information transfer system, and logical topology construction method for information transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003071164A JP2004282409A (en) 2003-03-17 2003-03-17 Information transfer system, and logical topology construction method for information transfer system

Publications (1)

Publication Number Publication Date
JP2004282409A true JP2004282409A (en) 2004-10-07

Family

ID=33287669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003071164A Pending JP2004282409A (en) 2003-03-17 2003-03-17 Information transfer system, and logical topology construction method for information transfer system

Country Status (1)

Country Link
JP (1) JP2004282409A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008133250A1 (en) * 2007-04-25 2008-11-06 Yamatake Corporation Rstp processing method
JP2012529201A (en) * 2009-06-01 2012-11-15 ゼットティーイー コーポレーション Address refresh method and system
CN115080468A (en) * 2022-05-12 2022-09-20 珠海全志科技股份有限公司 Non-blocking information transmission method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008133250A1 (en) * 2007-04-25 2008-11-06 Yamatake Corporation Rstp processing method
JP2008271480A (en) * 2007-04-25 2008-11-06 Yamatake Corp Rstp processing system
KR101025529B1 (en) 2007-04-25 2011-04-04 가부시키가이샤 야마다케 Rstp processing method
US8213339B2 (en) 2007-04-25 2012-07-03 Yamatake Corporation RSTP processing system
JP2012529201A (en) * 2009-06-01 2012-11-15 ゼットティーイー コーポレーション Address refresh method and system
CN115080468A (en) * 2022-05-12 2022-09-20 珠海全志科技股份有限公司 Non-blocking information transmission method and device

Similar Documents

Publication Publication Date Title
US7944815B2 (en) System and method for network recovery from multiple link failures
US7355965B2 (en) Apparatus and method for rapid detection of unidirectional breaks in a network ring
US7911938B2 (en) System and method for preventing loops in the presence of control plane failures
US8811235B2 (en) System and method for assuring the operation of network devices in bridged networks
EP2117176B1 (en) Method for implementing intersecting ring network with arbitrary topology, node and intersecting ring network
US7339887B2 (en) Multipoint protected switching ring
US8804489B2 (en) Fast flooding based fast convergence to recover from network failures
JP5432928B2 (en) Method and apparatus for link state handshaking for loop prevention
US8050183B2 (en) System and method for implementing reflector ports within hierarchical networks
JP4074631B2 (en) Transmission path system, frame transmission apparatus in the system, and transmission path switching method
US8699380B2 (en) Port table flushing in ethernet networks
US20040223503A1 (en) Protected switching ring
JP2011515057A5 (en)
US8264954B2 (en) Method and device for operating a network and communication system comprising such device
JP2005260927A (en) Ethernet automatic protection switching
CN100493006C (en) Loop fault detecting method, subring main node and subring
JP2005130049A (en) Node
WO2010102490A1 (en) Address update method for ports of switching node, and switching node in ethernet ring network
WO2010031295A1 (en) Control method for ethernet failure recovery
JP2004282409A (en) Information transfer system, and logical topology construction method for information transfer system
JP4944986B2 (en) Transmission path system and transmission path construction method
JP4653800B2 (en) Transmission path system, frame transmission apparatus, transmission path switching method and program in transmission path system
JP2004129100A (en) Information transfer system, and logical topology construction method for information transfer system
JP2005341128A (en) Layer-2 transmission apparatus and control method of layer-2 transmission apparatus