JPH06232908A - Routing device - Google Patents
Routing deviceInfo
- Publication number
- JPH06232908A JPH06232908A JP4070593A JP4070593A JPH06232908A JP H06232908 A JPH06232908 A JP H06232908A JP 4070593 A JP4070593 A JP 4070593A JP 4070593 A JP4070593 A JP 4070593A JP H06232908 A JPH06232908 A JP H06232908A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- loop
- node
- relay
- history 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 claims abstract description 31
- 238000012545 processing Methods 0.000 abstract description 41
- 238000012546 transfer Methods 0.000 abstract description 32
- 206010000210 abortion Diseases 0.000 abstract 1
- 238000007689 inspection Methods 0.000 description 31
- 230000005540 biological transmission Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 14
- 230000005856 abnormality Effects 0.000 description 8
- 238000000034 method Methods 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000007704 transition Effects 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、ルーティング装置に
関するものであり、特にコンピュータネットワークシス
テムにおいて有利に適用されるルーティング装置に関す
るものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a routing device, and more particularly to a routing device that is advantageously applied in a computer network system.
【0002】[0002]
【従来の技術】特開昭62−53546号公報[ルーテ
ィングにおけるループ防止制御方式]には次のような技
術的事項が開示されている。即ち、幾つかの中継ノード
を備えた所定のネットワーク内を流れるフレームには、
各中継ノードに対応する通過済み表示域を有するノード
通過表示領域が設けられており、ある所定のフレームが
(自ノードとしての)ノードを通過したときに自ノード
通過済み表示を行うようにされている。そして、過去に
自ノードを通過したフレームが再度流れてきたときに
は、前記されたノード通過表示領域の内容を確かめるこ
とによってループが発生したと判断され、これに応じて
前記再度流れてきたフレームを廃棄するようにされてい
る。このようにすることで、ループを発生させるような
無駄なフレームを即座に廃棄することが可能にされて、
該当のネットワークにおける負荷の軽減に資するように
されている。2. Description of the Related Art Japanese Unexamined Patent Publication No. 62-53546 [Loop prevention control system in routing] discloses the following technical matters. That is, for a frame that flows in a given network with several relay nodes,
A node passing display area having a passing display area corresponding to each relay node is provided, and when a certain frame passes through the node (as the own node), the own node passing display is provided. There is. Then, when the frame that has passed through the own node in the past flows again, it is determined that a loop has occurred by checking the contents of the node passage display area, and the frame that has flowed again is discarded in response to this. It is supposed to do. By doing this, it is possible to immediately discard useless frames that cause loops,
It is designed to help reduce the load on the network.
【0003】ところで、ある所定のネットワークにおけ
る複数のノード間で伝送されるフレームについてループ
が発生するときには、このループの発生が生じる原因と
して、[1]そのルーティング情報に一時的な誤りが生
じた場合と、[2]該ルーティング情報に恒久的な誤り
が生じた場合とに大別することができる。ここで、
[1]ルーティング情報に一時的な誤りが生じたことが
原因とされたときには、前記公報に開示されているやり
方に即して対処することができる。即ち、ある所定のネ
ットワークにおける複数のノード間で伝送されるフレー
ムについてループが発生したことが検出されたときに
は、該当のフレームを単に廃棄するだけで、該当のネッ
トワークにおける上位層での再送等の処理によって、所
要の通信作業を正常に継続させることが可能である。し
かしながら、[2]ルーティング情報に恒久的な誤りが
生じたことが原因とされたときには、該当するルートを
介する正常な通信作業の継続が不可能になってしまう。
また、前記公報に開示されているループ発生の判定のや
り方によるときには、判定の対象となるフレームが実際
にループ状に転送された後で廃棄されることになるが、
このような場合には、ループ発生の起点ノードとその直
前のノードとの間のフレームの転送が無駄な作業にな
る。By the way, when a loop occurs in a frame transmitted between a plurality of nodes in a certain predetermined network, the cause of the loop is [1] when a temporary error occurs in the routing information. And [2] there is a permanent error in the routing information. here,
[1] When the cause is that a temporary error has occurred in the routing information, it can be dealt with according to the method disclosed in the above publication. That is, when it is detected that a loop has occurred in a frame transmitted between a plurality of nodes in a given network, the frame is simply discarded, and processing such as retransmission in an upper layer in the network is performed. The required communication work can be continued normally. However, [2] If the cause is a permanent error in the routing information, normal communication work via the corresponding route cannot be continued.
Further, when the method of determining the occurrence of a loop disclosed in the above publication is used, the frame to be determined is discarded after being actually transferred in a loop.
In such a case, the transfer of the frame between the origin node of the loop occurrence and the node immediately before it becomes a waste of work.
【0004】[0004]
【発明が解決しようとする課題】上記されたように、あ
る所定のネットワークにおける複数のノード間で伝送さ
れるフレームについてループが発生するときには、この
ループの発生が生じる原因として、[1]そのルーティ
ング情報に一時的な誤りが生じた場合と、[2]該ルー
ティング情報に恒久的な誤りが生じた場合とに大別する
ことができる。ここで、[1]ルーティング情報に一時
的な誤りが生じたことが原因とされたときは、上記され
た従来のこの種のルーティングのための技術に即して対
処することができる。即ち、ある所定のネットワークに
おける複数のノード間で伝送されるフレームについてル
ープが発生したことが検出されたときには、該当のフレ
ームを単に廃棄するだけで、該当のネットワークにおけ
る上位層での再送等の処理によって、所要の通信作業を
正常に継続させることが可能である。しかしながら、
[2]ルーティング情報に恒久的な誤りが生じたことが
原因とされたときには、該当するルートを介する正常な
通信作業の継続が不可能になってしまう。また、前記さ
れた従来の技術に係るループ発生の判定のやり方による
ときには、判定の対象となるフレームが実際にループ状
に転送された後で廃棄されることになり、ループ発生の
起点ノードとその直前のノードとの間のフレームの転送
が無駄な作業になるというような問題点があった。As described above, when a loop occurs in a frame transmitted between a plurality of nodes in a certain predetermined network, the cause of the loop is [1] its routing. It can be roughly classified into a case where a temporary error occurs in the information and a case where [2] a permanent error occurs in the routing information. Here, [1] When the cause is caused by a temporary error in the routing information, it is possible to deal with the above-described conventional technique for this type of routing. That is, when it is detected that a loop has occurred in a frame transmitted between a plurality of nodes in a given network, the frame is simply discarded, and processing such as retransmission in an upper layer in the network is performed. The required communication work can be continued normally. However,
[2] If the cause is that a permanent error has occurred in the routing information, normal communication work via the corresponding route cannot be continued. Further, when the method of determining the occurrence of a loop according to the above-described conventional technique is used, the frame to be determined is actually transferred in a loop and then discarded, and the starting node of the loop occurrence and its There is a problem that the transfer of the frame with the immediately preceding node becomes a wasteful work.
【0005】この発明は上記された問題点を解決するた
めになされたものであり、ルーティング時にレコードル
ート方式でループ検出を行うようにされたネットワーク
システムにおいて、ネットワーク内の複数のノード間に
おけるフレームの転送経路にループが検出された場合
に、該当のフレームを廃棄することに加えて、前記のル
ープ状経路に関する情報を該ノードにおけるコンソール
手段やロガー手段に表示ないし記録をすることにより、
経路にループが発生した旨をノードにおける管理者に通
知ないし伝達をするとともに、(ループ発生の検出がな
された時点で該当するフレームの転送を中断することに
より)ループ発生時の無駄なフレームの中継・転送を軽
減するようにされたルーティング装置を提供することを
目的とするものである。また、この発明は以下の別の目
的を果たすものである。即ち、ルーティング時にレコー
ドルート方式でループ検出を行うようにされたネットワ
ークシステムにおいて、転送されるフレームの経路にル
ープが発生したことが検出された場合に、当該フレーム
の廃棄をするとともに、ある所定のループ発生通知フレ
ームを送信することによって、前記のループが発生した
ことを隣接の中継ノードに通知するようにされる;そし
て、該当の中継ノードにおいては、前記ループ発生通知
フレームを受信したことに基づき、フレームが転送され
るべき経路に関する経路情報を的確に再構築する(即
ち、フレームの転送経路を適切なものに変更する)こと
により、前記ネットワークシステムの経路情報に関する
管理およびその保持が正確になされる;ものを提供する
ことを目的とするものである。The present invention has been made in order to solve the above-mentioned problems, and in a network system adapted to perform loop detection by a record route method at the time of routing, a frame between a plurality of nodes in the network When a loop is detected in the transfer route, in addition to discarding the corresponding frame, by displaying or recording the information on the loop route on the console means or logger means in the node,
Notifying or transmitting to the administrator of the node that a loop has occurred in the route, and relaying useless frames when a loop occurs (by interrupting the transfer of the relevant frame when the occurrence of the loop is detected) It is intended to provide a routing device adapted to reduce forwarding. The present invention also achieves the following other objects. That is, in a network system configured to detect a loop by the record route method at the time of routing, when it is detected that a loop occurs in the route of a frame to be transferred, the frame is discarded and a predetermined By transmitting the loop occurrence notification frame, the adjacent relay node is notified of the occurrence of the loop; and at the corresponding relay node, the loop occurrence notification frame is received. By accurately reconstructing the route information related to the route to which the frame is to be transferred (that is, changing the frame transfer route to an appropriate one), the management related to the route information of the network system and its retention can be performed accurately. The purpose is to provide things.
【0006】[0006]
【課題を解決するための手段】この発明は上記の目的を
果たすためになされたものであり、この発明に係るルー
ティング装置は、経路情報を参照して中継すべきフレー
ム(20)の宛先から中継先を決定し、該フレームの履
歴情報領域(22)に自装置の識別子(例えば、自己が
属するネットワークの番号)を記録して前記中継先に送
信するルーティング装置において、前記中継すべきフレ
ームの履歴情報領域に前記決定した中継先の識別子が記
録されている場合にループ検出とし、記録されていない
場合にループ非検出とするループ検出手段(16)と、
前記ループ検出手段によりループが検出された場合に当
該フレームを廃棄するフレーム廃棄手段(17)とを有
することを特徴とするものである。また、この発明に係
る別のルーティング装置は、前記ループ検出手段により
ループ検出とされた場合に他のルーティング装置にルー
プ発生通知フレームを送信するループ発生通知フレーム
送信手段(14)と、他のルーティング装置からループ
発生通知フレームを受信した場合に前記経路情報を再構
築する経路情報再構築手段(12A)とを更に有するこ
とを特徴とするものである。また、この発明に係る別の
ルーティング装置は、前記ループ検出手段によりループ
検出とされた場合に、当該フレームの履歴情報領域を参
照してループの発生したルートに関する情報を出力する
ループルート情報出力手段(16A)を更に有すること
を特徴とするものである。また、この発明に係る別のル
ーティング装置は、前記ループ検出手段(16)のかわ
りに、前記中継すべきフレームの履歴情報領域に自装置
の識別子が記録されている場合にループ検出とし、記録
されていない場合にループ非検出とする機能を果たすよ
うにされることを特徴とするものである。The present invention has been made to achieve the above object, and a routing device according to the present invention relays from a destination of a frame (20) to be relayed with reference to route information. In the routing device that determines the destination, records the identifier of the device itself (for example, the number of the network to which the device belongs) in the history information area (22) of the frame, and transmits it to the relay destination, the history of the frame to be relayed. Loop detecting means (16) for detecting a loop when the determined identifier of the relay destination is recorded in the information area and not detecting a loop when the identifier is not recorded,
A frame discarding means (17) for discarding the frame when a loop is detected by the loop detecting means. Further, another routing device according to the present invention includes a loop occurrence notification frame transmitting unit (14) for transmitting a loop occurrence notification frame to another routing device when the loop detection unit detects a loop, and another routing device. It further comprises a route information reconstructing means (12A) for reconstructing the route information when a loop occurrence notification frame is received from the device. Further, another routing device according to the present invention, when the loop detection means detects a loop, outputs the information regarding the route in which the loop has occurred by referring to the history information area of the frame concerned. It further comprises (16A). Further, another routing device according to the present invention, instead of the loop detection means (16), determines that the own device identifier is recorded in the history information area of the frame to be relayed, and records it as a loop detection. It is characterized in that it is adapted to fulfill the function of not detecting the loop when it is not.
【0007】[0007]
【作用】上記のように構成されたこの発明に係るルーテ
ィング装置においては、ある所定のネットワーク内の複
数のノード間におけるフレームの転送経路にループが検
出された場合に、該当のフレームを廃棄することに加え
て、前記のループ状経路に関する情報を該ノードにおけ
るコンソール手段やロガー手段に表示ないし記録をする
ことにより、経路にループが発生した旨をノードにおけ
る管理者に通知ないし伝達をするとともに、ループ発生
時の無駄なフレームの中継・転送を軽減することができ
るという利点がある。また、この発明に係るルーティン
グ装置においては、転送されるフレームの経路にループ
が発生したことが検出された場合に、当該フレームを廃
棄し、ある所定のループ発生通知フレームを送信するこ
とによって隣接の中継ノードにその旨を通知するととも
に、フレームの転送経路を適切なものに変更することが
できるという利点もある。In the routing device according to the present invention configured as described above, when a loop is detected in the frame transfer route between a plurality of nodes in a predetermined network, the corresponding frame is discarded. In addition, by displaying or recording the information about the looped route on the console means or the logger means in the node, the administrator in the node is notified or transmitted that the loop has occurred in the route, and the loop is generated. There is an advantage that it is possible to reduce unnecessary relaying / transferring of frames when they occur. In addition, in the routing device according to the present invention, when it is detected that a loop has occurred in the route of a frame to be transferred, the frame is discarded and a predetermined loop occurrence notification frame is transmitted, thereby adjoining the adjacent frame. There is also an advantage that the relay node can be notified of that fact and the frame transfer path can be changed to an appropriate one.
【0008】[0008]
【実施例】図1は、この発明の第1の実施例であるルー
ティング装置におけるノード装置の構成例示図である。
この図1において、ある所定のネットワークに備えられ
るノード装置10は、送受信されるフレームについて所
要のデータ処理を施すデータ処理部11,および、該ネ
ットワークにおいて送受信されるフレームに関するフレ
ーム送受信部12から構成されている。そして、前記の
フレーム送受信部12は次の諸手段から構成されてい
る。即ち、外部からのフレームを受信して中継する中継
処理部18,該中継処理部18からのフレームをデータ
処理部11に渡す受信部13,前記外部からのフレーム
に関する履歴情報のいかんを調べる履歴情報検査部1
5,該履歴情報検査部15における検査の結果に基づ
き、対応のフレームを廃棄するフレーム廃棄部17,前
記履歴情報検査部15における検査の結果に基づき、そ
の発生が判明したループに関するループ検出表示部1
6,データ処理部11からのフレームを外部に送出する
送信部14,および、前記履歴情報検査部15において
得られる履歴情報を、該送信部14からのフレームの適
所に設定する履歴情報設定部19から構成されている。
そして、これらの手段は次のような相互接続関係を有し
ている。即ち、後述のフレーム20を受け入れる中継処
理部18は、履歴情報検査部15(これは後述の履歴情
報設定部19に接続されている)および受信部13に接
続されており、この受信部13を介してデータ処理部1
1にフレーム20を渡すようにされている。ループ検出
表示部16およびフレーム廃棄部17は、前記の履歴情
報検査部15に接続されている。また、データ処理部1
1からのフレーム20は、送信部14から履歴情報設定
部19を介して外部に渡すようにされている。次に、図
1の下部には、ある所定のフレーム20のフォーマット
が例示されており、ここに、フレームヘッダ21は、該
当するフレームの受信先や送信元を表す情報等が含まれ
た領域であり、履歴情報領域22は、例えば、該当する
フレームが過去に通過したノードのような、フレームの
前歴に関する情報が保持される領域である。そして、デ
ータ領域23は、該当のフレームにおける本来のデータ
が格納されるべき領域である。ここで、前記履歴情報領
域22について説明を加えておくと、ある所定のフレー
ムが中継される中継ネットワークのネットワーク番号
が、当該ネットワークに関連する中継ノードの識別符号
として使用される。そして、フレームの中継動作に応答
して、関連する中継ノードの識別符号が、有限個のスロ
ット(図1では5個のスロット)に、その中継の順に保
持される。また、前記のネットワーク番号については、
後述の図2に示されているように、例えば、中継ノード
Aに関するネットワーク番号は0x01とされる。他の
中継ノードB,C,Dについても同様であり、それぞれ
に、0x02,0x03,0x04とされる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 is a block diagram of a node device in a routing device according to a first embodiment of the present invention.
In FIG. 1, a node device 10 provided in a certain predetermined network includes a data processing unit 11 that performs required data processing on a transmitted / received frame, and a frame transmission / reception unit 12 for a frame transmitted / received in the network. ing. The frame transmission / reception unit 12 is composed of the following means. That is, the relay processing unit 18 that receives and relays a frame from the outside, the receiving unit 13 that passes the frame from the relay processing unit 18 to the data processing unit 11, and the history information that checks the history information regarding the frame from the outside. Inspection department 1
5, a frame discarding unit 17 that discards the corresponding frame based on the inspection result by the history information inspection unit 15, and a loop detection display unit regarding a loop whose occurrence is found based on the inspection result by the history information inspection unit 15. 1
6, a transmission unit 14 for transmitting the frame from the data processing unit 11 to the outside, and a history information setting unit 19 for setting the history information obtained by the history information inspection unit 15 at a proper place of the frame from the transmission unit 14. It consists of
And these means have the following interconnection relations. That is, the relay processing unit 18 that accepts a frame 20 described later is connected to the history information inspection unit 15 (which is connected to the history information setting unit 19 described later) and the reception unit 13, and the reception unit 13 is connected to the reception unit 13. Through the data processing unit 1
The frame 20 is passed to the frame 1. The loop detection display section 16 and the frame discard section 17 are connected to the history information inspection section 15. In addition, the data processing unit 1
The frame 20 from 1 is passed from the transmission unit 14 to the outside via the history information setting unit 19. Next, in the lower part of FIG. 1, a format of a certain predetermined frame 20 is illustrated, and here, the frame header 21 is an area including information indicating a receiving destination and a transmitting source of the corresponding frame. The history information area 22 is an area in which information about the previous history of the frame is held, such as a node through which the corresponding frame has passed in the past. The data area 23 is an area where the original data in the corresponding frame should be stored. Here, if the history information area 22 is additionally described, the network number of the relay network to which a predetermined frame is relayed is used as the identification code of the relay node related to the network. Then, in response to the relay operation of the frame, the identification code of the related relay node is held in a finite number of slots (5 slots in FIG. 1) in the order of the relay. Also, regarding the above network number,
As shown in FIG. 2 described later, for example, the network number related to the relay node A is 0x01. The same applies to the other relay nodes B, C, and D, which are 0x02, 0x03, and 0x04, respectively.
【0009】図2は、上記第1の実施例に係るノードが
接続されたネットワークシステムに関する説明のための
システム構成図である。この図2において、A,B,
C,Dはそれぞれに中継ノードであり、ネットワーク内
の所要の部位を占有して、所望のフレームの中継・転送
をするようにされる。また、aおよびdはいずれも非中
継ノードであり、前者は中継ノードAに関連しており、
これに対して、後者は中継ノードDに関連している。こ
の図2において、いま、中継ノードAを有するネットワ
ーク(net#0x01)をフレームの発信元とし、中
継ノードDを有するネットワーク(net#0x04)
を当該フレームの受信元としてフレームの中継転送を実
行したときに、A−B−Cなるループが発生したとす
る。このときに、該当するフレームにおける履歴情報領
域22(図1)の情報の遷移は次の図3に例示されてい
る。FIG. 2 is a system configuration diagram for explaining a network system to which the nodes according to the first embodiment are connected. In FIG. 2, A, B,
Each of C and D is a relay node, which occupies a required part in the network and relays / transfers a desired frame. Also, both a and d are non-relay nodes, the former being associated with relay node A,
On the other hand, the latter is associated with the relay node D. In FIG. 2, the network having the relay node A (net # 0x01) is the source of the frame and the network having the relay node D (net # 0x04).
It is assumed that a loop ABC is generated when the relay transfer of the frame is executed with the frame as the receiving source of the frame. At this time, the transition of information in the history information area 22 (FIG. 1) in the corresponding frame is illustrated in FIG. 3 below.
【0010】図3は、上記第1の実施例の動作の態様に
関する(ある所定のループが発生した状態に関する)説
明図である。この図3において、 [1]:net#0x01なるネットワーク上の非中継
ノードaから、net#0x04なるネットワーク上の
非中継ノードdに宛てて、ある所定のフレーム20(図
1)を送信する際には、前者の非中継ノードaは、ま
ず、自己の属するネットワーク(即ち、net#0x0
1)上の中継ノードAに対して前記所定のフレーム20
を送信する。このときには、フレーム20における履歴
情報領域22の5個のスロット(それぞれに、#0,#
1,#2,#3,#4なるスロット番号が付与されてい
る)全てに、未使用を表す0x00が記入される(ただ
し、図3では簡単のために下位2桁の00だけが記入さ
れている)。 [2]:次に、中継ノードAにおいてnet#0x04
宛の前記所定のフレーム20が受信・中継されるときに
は、当該中継ノードAに属する履歴情報設定部19(図
1)において履歴情報領域22の第1のスロット(#
0)に自己ネットワークに対応する番号0x01が書き
込まれてから、net#0x02に属する中継ノードB
に対する送信がなされる。 [3]:前記のフレーム20が中継ノードBで受信され
ると、この中継ノードBに属する中継処理部18におい
ては、当該フレーム20のフレームヘッダ21における
宛先情報等から中継すべきものである(即ち、現在の自
己ノードとしての中継ノードBに宛てられたものではな
い)と判断されて、その転送先が求められる。ここで、
現に稼働中のネットワークシステムに異常がなければ、
net#0x04に属する中継ノードDに向けて転送さ
れることになるが、例えば、その転送経路に関する経路
情報に何等かの異常があり、このために、net#0x
03に属する中継ノードCに向けて転送されようとした
とする。このようなときには、ノードBに属する履歴情
報検査部15において、当該フレーム20の履歴情報領
域22にノードC対応のネットワークに関する番号0x
03が記録されているか否かの検査がなされる。この時
点において、前記履歴情報領域22には0x03が記録
されておらず、中継ノードBに属する履歴情報設定部1
9において履歴情報領域22の第2のスロット(#1)
に自己ネットワークに対応する番号0x02を書き込ん
でから、net#0x03に属する中継ノードCに対し
てフレーム20の送信を実行するようにされる。 [4]:そして、前記のフレーム20が中継ノードCで
受信されると、この中継ノードCに属する中継処理部1
8においても、当該フレーム20のフレームヘッダ21
における宛先情報等から中継すべきものである(即ち、
現在の自己ノードとしての中継ノードCに宛てられたも
のではない)と判断されて、その転送先が求められる。
前述されたように、ここで稼働中のネットワークシステ
ムには何等かの異常があり、このために、net#0x
01に属する中継ノードAに向けて転送されようとした
とする。このときにも、ノードCに属する履歴情報検査
部15において、当該フレーム20の履歴情報領域22
にノードA対応のネットワークに関する番号0x01が
記録されているか否かの検査がなされる。この時点にお
いて、前記履歴情報領域22には0x01が既に記録さ
れており、このために、ループの発生があるものと判断
される。前記中継ノードCにおいては、これに応答し
て、フレーム廃棄部17により該当のフレーム20が廃
棄され、また、ループ検出表示部16によりループ発生
の検出が関連部署に知らされる。ここで、前記ループ検
出表示部16の動作について詳細に説明しておくと、前
述のようなループの発生に関する情報に加えて、フレー
ム20のフレームヘッダ21に格納されている各種の情
報や時刻その他の付加情報を、例えばノード毎に備えら
れた適当なコンソール部(図示されない)に表示した
り、または、所要の記録機能を有するロガー部(これも
図示されない)に記録したりする作用をする。そして、
例えば前記ノード毎に指定された管理者による判断のた
めに必要な情報の付与がなされることになる。FIG. 3 is an explanatory diagram related to the mode of operation of the first embodiment (with respect to a state in which a certain predetermined loop has occurred). In FIG. 3, [1]: When a predetermined frame 20 (FIG. 1) is transmitted from the non-relay node a on the network # netx0x01 to the non-relay node d on the network # net0x04 In the first, the former non-relay node a firstly determines the network to which it belongs (that is, net # 0x0).
1) The predetermined frame 20 for the upper relay node A
To send. At this time, five slots in the history information area 22 in the frame 20 (# 0, #
0x00 indicating unused is written in all of the slots (1, 2, 2, 3 and 4 are assigned slot numbers) (However, in FIG. 3, only the lower two digits 00 are written for simplicity. ing). [2]: Next, at the relay node A, net # 0x04
When the predetermined frame 20 addressed to the relay node A is received and relayed, in the history information setting unit 19 (FIG. 1) belonging to the relay node A, the first slot (#
0), the number 0x01 corresponding to the own network is written, and then the relay node B belonging to net # 0x02
Is sent to. [3]: When the frame 20 is received by the relay node B, the relay processing unit 18 belonging to the relay node B should relay the destination information or the like in the frame header 21 of the frame 20 (that is, , It is not addressed to the current relay node B as its own node), and its transfer destination is obtained. here,
If there is no abnormality in the network system currently in operation,
The packet is transferred to the relay node D belonging to net # 0x04. For example, there is some abnormality in the route information regarding the transfer route.
Suppose that it is about to be transferred to the relay node C belonging to 03. In such a case, in the history information inspection unit 15 belonging to the node B, the history information area 22 of the frame 20 has a number 0x related to the network corresponding to the node C.
A check is made as to whether or not 03 is recorded. At this point, 0x03 is not recorded in the history information area 22, and the history information setting unit 1 belonging to the relay node B is
Second slot (# 1) of the history information area 22 in FIG.
After the number 0x02 corresponding to the own network is written in, the frame 20 is transmitted to the relay node C belonging to net # 0x03. [4]: When the frame 20 is received by the relay node C, the relay processing unit 1 belonging to this relay node C
8 also, the frame header 21 of the frame 20
Should be relayed from the destination information etc. in (
It is determined that it is not addressed to the current relay node C as its own node), and its transfer destination is obtained.
As mentioned above, there is something wrong with the network system running here, which is why net # 0x
It is assumed that the data is transferred to the relay node A belonging to 01. Also at this time, the history information inspection unit 15 belonging to the node C has the history information area 22 of the frame 20.
It is checked whether or not the number 0x01 relating to the network corresponding to the node A is recorded in. At this point, 0x01 has already been recorded in the history information area 22. Therefore, it is determined that a loop has occurred. In response to this, in the relay node C, the frame discarding unit 17 discards the corresponding frame 20, and the loop detection display unit 16 notifies the relevant department of the detection of the loop occurrence. Here, the operation of the loop detection display unit 16 will be described in detail. In addition to the information on the occurrence of the loop as described above, various information stored in the frame header 21 of the frame 20 and the time and the like are also included. The additional information is displayed on an appropriate console unit (not shown) provided for each node, or recorded on a logger unit (also not shown) having a required recording function. And
For example, information necessary for the judgment by the administrator designated for each node is added.
【0011】図4は、上記第1の実施例の動作の態様
(ループ検出の態様)を説明するためのフローチャート
である。この図4において、ある所定のノードにおいて
前段からのフレームの受信がなされた(S41)とす
る。例えば、net#0x01なるネットワーク上の出
発ノードである非中継ノードaから、net#0x04
なるネットワーク上の到達ノードである非中継ノードd
に向かうある所定のフレーム20が、net#0x02
に属する中継ノードBにおいて受信されたとする。この
中継ノードBにおいては、前記受信された所定のフレー
ム20が中継すべきものであるか否かの判断がなされる
(S42)。この判断の結果がNOであったときには、
即ち、中継すべきものではなく、現在の自己ノードであ
る中継ノードBで受信すべきものであったときには、こ
の中継ノードBにおいて受け取り、所要の処理を施すよ
うにされる(S43)。これに対して、前記ステップS
42における判断の結果がYESであったときには、即
ち、中継すべきものであると判断されたときには、前記
受信された所定のフレーム20が転送されるべき転送先
ネットワークの番号が求められる(S44)。ここでの
例によれば、転送先である非中継ノードdが属するne
t#0x04なるネットワークの番号が求められること
になる。これに続くステップS45においては、先に求
めた転送先のネットワーク番号がフレーム20の履歴情
報領域22に既に登録されているか否かの判断がなされ
る。この判断の結果がNOであったときには、即ち、ま
だ登録がなされておらず、現在の時点においてはループ
が発生していないと判断されたときには、ある所要の中
継処理がなされ(S48)てから、これ以降の処理が適
宜に施される。これに対して、前記ステップS45にお
ける判断の結果がYESであったときには、即ち、既に
登録がなされており、ループの発生があると判断された
ときには、フレーム廃棄部17により該当のフレーム2
0が廃棄され、また、ループ検出表示部16によりルー
プ発生の検出が表示されて(S46)から、所要の作業
が終了する(S47)。FIG. 4 is a flow chart for explaining an operation mode (loop detection mode) of the first embodiment. In FIG. 4, it is assumed that a predetermined node has received a frame from the preceding stage (S41). For example, from a non-relay node a, which is a departure node on the network called net # 0x01, to net # 0x04
Non-relay node d that is the reaching node on the network
Certain predetermined frame 20 heading toward the net # 0x02
Is received by the relay node B belonging to In the relay node B, it is judged whether or not the received predetermined frame 20 is to be relayed (S42). If the result of this determination is NO,
That is, when the relay node B, which is the current self-node, should receive it instead of relaying it, the relay node B receives it and performs the required processing (S43). On the other hand, the step S
When the result of the determination at 42 is YES, that is, when it is determined that the frame should be relayed, the number of the transfer destination network to which the received predetermined frame 20 is to be transferred is obtained (S44). According to the example here, ne to which the non-relay node d that is the transfer destination belongs
The network number t # 0x04 is required. In the subsequent step S45, it is determined whether or not the previously obtained transfer destination network number is already registered in the history information area 22 of the frame 20. When the result of this determination is NO, that is, when it is determined that the registration has not been made yet and the loop has not occurred at the present time point, a certain required relay process is performed (S48). The subsequent processing is appropriately performed. On the other hand, when the result of the determination in step S45 is YES, that is, when it is determined that registration has already been performed and a loop has occurred, the frame discarding unit 17 causes the corresponding frame 2
0 is discarded, and the detection of loop occurrence is displayed on the loop detection display unit 16 (S46), and the required work is completed (S47).
【0012】図5は、この発明の第2の実施例であるル
ーティング装置におけるノード装置の構成例示図であ
る。この図5において、ある所定のネットワークに備え
られるノード装置10は、送受信されるフレームについ
て所要のデータ処理を施すデータ処理部11,該ネット
ワークにおいて送受信されるフレームに関するフレーム
送受信部12,ネットワーク内を転送されるフレームの
経路情報を管理し、所要の更新を施す経路情報管理・更
新部12A,および、フレームの転送に際して発生する
ループに関する情報を出力するループルート情報出力部
16Aから構成されている。そして、前記のフレーム送
受信部12は次の諸手段から構成されている。即ち、外
部からのフレームを受信して中継する中継処理部18,
該中継処理部18からのフレームをデータ処理部11に
渡す受信部13,前記外部からのフレームに関する履歴
情報のいかんを調べる履歴情報検査部15,該履歴情報
検査部15における検査の結果に基づき、対応のフレー
ムを廃棄するフレーム廃棄部17,前記履歴情報検査部
15における検査の結果に基づき、その発生が判明した
ループに関するループ検出表示部16,データ処理部1
1からのフレームを外部に送出する送信部14,およ
び、前記履歴情報検査部15において得られる履歴情報
を、該送信部14からのフレームの適所に設定する履歴
情報設定部19から構成されている。そして、これらの
手段は次のような相互接続関係を有している。即ち、フ
レーム20を一旦受け入れる履歴情報検査部15は、ル
ープ検出表示部16(これはループルート情報出力部1
6Aに接続されている),フレーム廃棄部17および中
継処理部18(これは履歴情報設定部19および経路情
報管理・更新部12Aに接続されている)に接続されて
おり、また、受信部13とも接続されていて、前記フレ
ーム20をデータ処理部11に渡すようにされている。
また、データ処理部11からのフレーム20は、経路情
報管理・更新部12Aからの所要の情報とともに、送信
部14から履歴情報設定部19を介して外部に渡すよう
にされている。FIG. 5 is a block diagram showing the configuration of a node device in the routing device according to the second embodiment of the present invention. In FIG. 5, a node device 10 provided in a predetermined network transfers a data processing unit 11 that performs required data processing on a transmitted / received frame, a frame transmission / reception unit 12 regarding a frame transmitted / received in the network, and a transfer in the network. It is configured by a route information management / update unit 12A that manages the route information of a frame to be updated and performs a required update, and a loop route information output unit 16A that outputs information about a loop generated when the frame is transferred. The frame transmission / reception unit 12 is composed of the following means. That is, the relay processing unit 18, which receives and relays a frame from the outside,
Based on the receiving unit 13 that passes the frame from the relay processing unit 18 to the data processing unit 11, the history information inspection unit 15 that checks the history information regarding the frame from the outside, and the inspection result in the history information inspection unit 15, A frame discarding unit 17 that discards the corresponding frame, a loop detection display unit 16 regarding a loop whose occurrence is found based on the inspection result by the history information inspection unit 15, and a data processing unit 1.
The transmission unit 14 sends out the frame from the outside to the outside, and the history information setting unit 19 which sets the history information obtained by the history information inspection unit 15 in the proper place of the frame from the transmission unit 14. . And these means have the following interconnection relations. That is, the history information inspection unit 15 that temporarily accepts the frame 20 has the loop detection display unit 16 (this is the loop route information output unit 1
6A), the frame discarding unit 17 and the relay processing unit 18 (which are connected to the history information setting unit 19 and the route information managing / updating unit 12A), and the receiving unit 13 The frame 20 is also connected to the data processing unit 11.
Further, the frame 20 from the data processing unit 11 is passed to the outside from the transmission unit 14 via the history information setting unit 19 together with required information from the route information management / updating unit 12A.
【0013】上記第2の実施例に係るノードが接続され
たネットワークのシステム構成は、前述された第1の実
施例に関する説明のためのシステム構成図としての図2
と同様のものである。以下、この図2を再び参照しなが
ら上記第2の実施例について説明する。前述されたよう
に、A,B,C,Dはそれぞれに中継ノードであり、ネ
ットワーク内の所要の部位を占有して、所望のフレーム
の中継・転送をするようにされる。また、aおよびdは
いずれも非中継ノードであり、前者は中継ノードAに関
連しており、これに対して、後者は中継ノードDに関連
している。この図2において、いま、中継ノードAを有
するネットワーク(net#0x01)をフレームの発
信元とし、中継ノードDを有するネットワーク(net
#0x04)を当該フレームの受信元としてフレームの
中継転送を実行したときに、A−B−Cなるループが発
生したとする。このときに、該当のフレームにおける履
歴情報領域22(図5)の情報の遷移は、前記第1の実
施例の説明に関して用いられた図3に例示されている。The system configuration of the network to which the nodes according to the second embodiment are connected is shown in FIG. 2 as a system configuration diagram for explaining the above-mentioned first embodiment.
Is similar to. The second embodiment will be described below with reference to FIG. 2 again. As described above, each of A, B, C, and D is a relay node, which occupies a required part in the network and relays / transfers a desired frame. Further, both a and d are non-relay nodes, the former is associated with the relay node A, while the latter is associated with the relay node D. In FIG. 2, the network (net # 0x01) having the relay node A is now the source of the frame, and the network (net # 0x01) having the relay node D (net
It is assumed that a loop A-B-C occurs when the relay transfer of the frame is executed with # 0x04) as the receiving source of the frame. At this time, the transition of information in the history information area 22 (FIG. 5) in the corresponding frame is illustrated in FIG. 3 used in the description of the first embodiment.
【0014】図3は、上記第2の実施例の動作の態様
(ある所定のループが発生したときの態様)に関しても
使用できる説明図である。この図3において、 [1]:net#0x01なるネットワーク上の非中継
ノードaから、net#0x04なるネットワーク上の
非中継ノードdに宛てて、ある所定のフレーム20(図
5)を送信する際には、前者の非中継ノードaは、ま
ず、自己の属するネットワーク(即ち、net#0x0
1)上の中継ノードAに対して前記所定のフレーム20
を送信する。このときには、フレーム20における履歴
情報領域22の5個のスロット(それぞれに、#0,#
1,#2,#3,#4なるスロット番号が付与されてい
る)全てに未使用を表す0x00が記入される。 [2]:次に、中継ノードAにおいてnet#0x04
宛の前記所定のフレーム20が受信・中継されるときに
は、当該中継ノードAに属する履歴情報設定部19(図
5)において履歴情報領域22の第1のスロット(#
0)に自己ネットワークに対応する番号0x01が書き
込まれてから、net#0x02に属する中継ノードB
に対する送信がなされる。 [3]:前記のフレーム20が中継ノードBで受信され
ると、この中継ノードBに属する履歴情報検査部15に
おいて、当該フレーム20の履歴情報領域22の内容が
検査される。この検査の結果として、現在の自己ノード
である中継ノードBに関連するネット番号が前記履歴情
報領域22のスロットには存在していないことから、正
常な中継とみなされてこれに対応する中継処理が施され
る。ここで、現に稼働中のネットワークシステムに異常
がなければ、net#0x04に属する中継ノードDに
向けて転送されることになるが、例えば、その転送経路
に関する経路情報に何等かの異常があり、このために、
net#0x03に属する中継ノードCに向けて転送さ
れようとしたとする。このときには、ノードBに属する
履歴情報設定部19において履歴情報領域22の第2の
スロット(#1)に自己ネットワークに対応する番号0
x02を書き込んでから、net#0x03に属する中
継ノードCに対してフレーム20の送信を実行するよう
にされる。 [4]:そして、前記のフレーム20が中継ノードCで
受信されると、この中継ノードCに属する履歴情報検査
部15においても、当該フレーム20の履歴情報領域2
2の内容が検査される。この検査の結果として、現在の
自己ノードである中継ノードCに関連するネット番号が
前記履歴情報領域22のスロットには存在していないこ
とから、正常な中継とみなされてこれに対応する中継処
理が施される。ところが、例えば、その転送経路に関す
る経路情報に何等かの異常があり、このために、net
#0x01に属する中継ノードAに向けて転送されよう
としたとする。このときには、ノードCに属する履歴情
報設定部19において履歴情報領域22の第3のスロッ
ト(#2)に自己ネットワークに対応する番号0x03
が書き込まれてから、net#0x01に属する中継ノ
ードAに対する送信がなされる。このようにループして
戻されたフレーム20が中継ノードAにおいて受け入れ
られると、この中継ノードAに属する履歴情報検査部1
5において、当該フレーム20の履歴情報領域22の内
容が検査される。この検査の結果として、当該履歴情報
領域22の第1のスロット(#0)に、現在の自己ノー
ドである中継ノードAに属するネットワークの番号0x
01が存在していることが検出され、ループが発生した
ものと判断される。この判断の結果が知らされたことに
応じて、該当のフレーム20がフレーム廃棄部17によ
り廃棄され、また、ループが発生したことが経路情報管
理・更新部12Aに対して知らされる。この経路情報管
理・更新部12Aからは、フレーム20内のフレームヘ
ッダ21における所要の情報等の付加情報を含むループ
検出通知フレームが、隣接の中継ノードに対して送信さ
れる。また、このようなループ検出通知フレームを受信
した隣接の中継ノードにおいては、当該ノードに属する
経路情報管理・更新部12Aにおいて、フレームが転送
される経路に関する経路情報の的確な再構築を行うこと
により、所要の経路情報を正しく保持するようにされ
る。FIG. 3 is an explanatory diagram which can be used for the mode of operation of the second embodiment (mode when a certain predetermined loop occurs). In FIG. 3, [1]: when a predetermined frame 20 (FIG. 5) is transmitted from the non-relay node a on the network # netx0x01 to the non-relay node d on the network # net0x04 In the first, the former non-relay node a firstly determines the network to which it belongs (that is, net # 0x0).
1) The predetermined frame 20 for the upper relay node A
To send. At this time, five slots in the history information area 22 in the frame 20 (# 0, #
0x00 indicating unused is written in all of them (slot numbers of 1, # 2, # 3, and # 4 are given). [2]: Next, at the relay node A, net # 0x04
When the predetermined frame 20 addressed to the relay node A is received and relayed, the history information setting unit 19 (FIG. 5) belonging to the relay node A has the first slot (#
0), the number 0x01 corresponding to the own network is written, and then the relay node B belonging to net # 0x02
Is sent to. [3]: When the frame 20 is received by the relay node B, the history information inspection unit 15 belonging to this relay node B inspects the contents of the history information area 22 of the frame 20. As a result of this check, since the net number related to the relay node B which is the current self node does not exist in the slot of the history information area 22, it is regarded as a normal relay and the relay processing corresponding to this is performed. Is applied. Here, if there is no abnormality in the currently operating network system, it is transferred to the relay node D belonging to net # 0x04. For example, there is some abnormality in the route information regarding the transfer route, For this,
It is assumed that an attempt is made to transfer to the relay node C belonging to net # 0x03. At this time, in the history information setting unit 19 belonging to the node B, the second slot (# 1) of the history information area 22 is assigned the number 0 corresponding to its own network.
After writing x02, the frame 20 is transmitted to the relay node C belonging to net # 0x03. [4]: When the frame 20 is received by the relay node C, the history information inspection unit 15 belonging to the relay node C also receives the history information area 2 of the frame 20.
The contents of 2 are examined. As a result of this check, since the net number related to the relay node C which is the current self node does not exist in the slot of the history information area 22, it is regarded as a normal relay and the relay processing corresponding to this is performed. Is applied. However, for example, there is some abnormality in the route information related to the transfer route, and for this reason,
It is assumed that the data is transferred to the relay node A belonging to # 0x01. At this time, in the history information setting unit 19 belonging to the node C, the number 0x03 corresponding to the own network is assigned to the third slot (# 2) of the history information area 22.
Is written, the transmission is performed to the relay node A belonging to net # 0x01. When the frame 20 returned in a loop in this way is accepted by the relay node A, the history information inspection unit 1 belonging to this relay node A
At 5, the contents of the history information area 22 of the frame 20 are inspected. As a result of this check, in the first slot (# 0) of the history information area 22, the number 0x of the network belonging to the relay node A which is the current self node is displayed.
The presence of 01 is detected, and it is determined that a loop has occurred. In response to the notification of the result of this determination, the frame discarding unit 17 discards the corresponding frame 20 and also notifies the route information management / updating unit 12A that a loop has occurred. From this route information management / update unit 12A, a loop detection notification frame including additional information such as required information in the frame header 21 in the frame 20 is transmitted to the adjacent relay node. Further, in the adjacent relay node that receives such a loop detection notification frame, the route information management / updating unit 12A belonging to the node performs accurate reconstruction of the route information regarding the route to which the frame is transferred. , The required route information is properly retained.
【0015】図6は、この発明の第3の実施例であるル
ーティング装置におけるノード装置の構成例示図であ
る。この図6において、ある所定のネットワークに備え
られるノード装置10は、送受信されるフレームについ
て所要のデータ処理を施すデータ処理部11,および、
該ネットワークにおいて送受信されるフレームに関する
フレーム送受信部12から構成されている。そして、前
記のフレーム送受信部12は次の諸手段から構成されて
いる。即ち、外部からのフレームを受信して中継する中
継処理部18,該中継処理部18からのフレームをデー
タ処理部11に渡す受信部13,前記外部からのフレー
ムに関する履歴情報のいかんを調べる履歴情報検査部1
5,該履歴情報検査部15における検査の結果に基づ
き、対応のフレームを廃棄するフレーム廃棄部17,前
記履歴情報検査部15における検査の結果に基づき、そ
の発生が判明したループに関するループ検出表示部1
6,データ処理部11からのフレームを外部に送出する
送信部14,および、前記履歴情報検査部15において
得られる履歴情報を、該送信部14からのフレームの適
所に設定する履歴情報設定部19から構成されている。
そして、これらの手段は次のような相互接続関係を有し
ている。即ち、後述のフレーム20を一旦受け入れる履
歴情報検査部15は、ループ検出表示部16,フレーム
廃棄部17および中継処理部18(これは後述の履歴情
報設定部19に接続されている)に接続されており、ま
た、受信部13とも接続されていて、フレーム20をデ
ータ処理部11に渡すようにされている。また、データ
処理部11からのフレーム20は、送信部14から履歴
情報設定部19を介して外部に渡すようにされている。
次に、図6の下部には、ある所定のフレーム20のフォ
ーマットが例示されており、ここに、フレームヘッダ2
1は、該当するフレームの受信先や送信元を表す情報等
が含まれた領域であり、履歴情報領域22は、例えば、
該当するフレームが過去に通過したノードのような、フ
レームの各種の前歴に関する情報が保持される領域であ
る。そして、データ領域23は、該当のフレームにおけ
る本来のデータが格納されるべき領域である。FIG. 6 is a diagram showing the construction of a node device in a routing device according to the third embodiment of the present invention. In FIG. 6, a node device 10 provided in a predetermined network includes a data processing unit 11 that performs required data processing on a frame to be transmitted and received, and
It is composed of a frame transmitting / receiving unit 12 relating to frames transmitted / received in the network. The frame transmission / reception unit 12 is composed of the following means. That is, the relay processing unit 18 that receives and relays a frame from the outside, the receiving unit 13 that passes the frame from the relay processing unit 18 to the data processing unit 11, and the history information that checks the history information regarding the frame from the outside. Inspection department 1
5, a frame discarding unit 17 that discards the corresponding frame based on the inspection result by the history information inspection unit 15, and a loop detection display unit regarding a loop whose occurrence is found based on the inspection result by the history information inspection unit 15. 1
6, a transmission unit 14 for transmitting the frame from the data processing unit 11 to the outside, and a history information setting unit 19 for setting the history information obtained by the history information inspection unit 15 at a proper place of the frame from the transmission unit 14. It consists of
And these means have the following interconnection relations. That is, the history information inspection unit 15 that once receives a frame 20 described later is connected to the loop detection display unit 16, the frame discarding unit 17, and the relay processing unit 18 (which is connected to the history information setting unit 19 described later). Further, the frame 20 is also connected to the receiving unit 13 so as to pass the frame 20 to the data processing unit 11. Further, the frame 20 from the data processing unit 11 is adapted to be passed from the transmission unit 14 to the outside via the history information setting unit 19.
Next, in the lower part of FIG. 6, the format of a certain predetermined frame 20 is illustrated, and here, the frame header 2
Reference numeral 1 is an area including information indicating a receiving destination and a transmission source of the corresponding frame, and the history information area 22 is, for example,
This is an area in which information about various previous histories of a frame is held, such as a node through which the corresponding frame has passed in the past. The data area 23 is an area where the original data in the corresponding frame should be stored.
【0016】上記第3の実施例に係るノードが接続され
たネットワークのシステム構成は、前述された第1の実
施例に関する説明のためのシステム構成図としての図2
と同様のものである。以下、この図2を改めて参照しな
がら上記第3の実施例について説明する。前述されたよ
うに、A,B,C,Dはそれぞれに中継ノードであり、
ネットワーク内の所要の部位を占有して、所望のフレー
ムの中継・転送をするようにされる。また、aおよびd
はいずれも非中継ノードであり、前者は中継ノードAに
関連しており、これに対して、後者は中継ノードDに関
連している。この図2において、いま、中継ノードAを
有するネットワーク(net#0x01)をフレームの
発信元とし、中継ノードDを有するネットワーク(ne
t#0x04)を当該フレームの受信元としてフレーム
の中継転送を実行したときに、A−B−Cなるループが
発生したとする。このときに、該当のフレームにおける
履歴情報領域22(図6)の情報の遷移は、前記第1の
実施例の説明に関して用いられた図3に例示されてい
る。The system configuration of the network to which the nodes according to the third embodiment are connected is shown in FIG. 2 as a system configuration diagram for explaining the above-mentioned first embodiment.
Is similar to. The third embodiment will be described below with reference to FIG. 2 again. As described above, A, B, C and D are relay nodes,
It occupies a required part in the network and relays and transfers a desired frame. Also, a and d
Are non-relay nodes, the former being associated with relay node A, while the latter being associated with relay node D. In FIG. 2, the network (net # 0x01) having the relay node A is now the source of the frame, and the network (ne
It is assumed that a loop ABC is generated when the relay transfer of the frame is executed with t # 0x04) as the receiving source of the frame. At this time, the transition of information in the history information area 22 (FIG. 6) in the corresponding frame is illustrated in FIG. 3 used in the description of the first embodiment.
【0017】図3は、上記第3の実施例の動作の態様
(ある所定のループが発生したときの態様)に関しても
使用できる説明図である。この図3において、 [1]:net#0x01なるネットワーク上の非中継
ノードaから、net#0x04なるネットワーク上の
非中継ノードdに宛てて、ある所定のフレーム20(図
6)を送信する際には、前者の非中継ノードaは、ま
ず、自己の属するネットワーク(即ち、net#0x0
1)上の中継ノードAに対して前記所定のフレーム20
を送信する。このときには、フレーム20における履歴
情報領域22の5個のスロット(それぞれに、#0,#
1,#2,#3,#4なるスロット番号が付与されてい
る)全てに、未使用を表す0x00が記入される(ただ
し、図3では簡単のために下位2桁の00だけが記入さ
れている)。 [2]:次に、中継ノードAにおいてnet#0x04
宛の前記所定のフレーム20が受信・中継されるときに
は、当該中継ノードAに属する履歴情報設定部19(図
6)において履歴情報領域22の第1のスロット(#
0)に自己ネットワークに対応する番号0x01が書き
込まれてから、net#0x02に属する中継ノードB
に対する送信がなされる。 [3]:前記のフレーム20が中継ノードBで受信され
ると、この中継ノードBに属する履歴情報検査部15に
おいて、当該フレーム20の履歴情報領域22の内容が
検査される。この検査の結果として、現在の自己ノード
である中継ノードBに関連するネット番号が前記履歴情
報領域22のスロットには存在していないことから、正
常な中継とみなされてこれに対応する中継処理が施され
る。ここで、現に稼働中のネットワークシステムに異常
がなければ、net#0x04に属する中継ノードDに
向けて転送されることになるが、例えば、その転送経路
に関する経路情報に何等かの異常があり、このために、
net#0x03に属する中継ノードCに向けて転送さ
れようとしたとする。このときには、ノードBに属する
履歴情報設定部19において履歴情報領域22の第2の
スロット(#1)に自己ネットワークに対応する番号0
x02を書き込んでから、net#0x03に属する中
継ノードCに対してフレーム20の送信を実行するよう
にされる。 [4]:そして、前記のフレーム20が中継ノードCで
受信されると、この中継ノードCに属する履歴情報検査
部15においても、当該フレーム20の履歴情報領域2
2の内容が検査される。この検査の結果として、現在の
自己ノードである中継ノードCに関連するネット番号が
前記履歴情報領域22のスロットには存在していないこ
とから、正常な中継とみなされてこれに対応する中継処
理が施される。ところが、例えば、その転送経路に関す
る経路情報に何等かの異常があり、このために、net
#0x01に属する中継ノードAに向けて転送されよう
としたとする。このときには、ノードCに属する履歴情
報設定部19において履歴情報領域22の第3のスロッ
ト(#2)に自己ネットワークに対応する番号0x03
が書き込まれてから、net#0x01に属する中継ノ
ードAに対する送信がなされる。このようにループして
戻されたフレーム20が中継ノードAにおいて受け入れ
られると、この中継ノードAに属する履歴情報検査部1
5において、当該フレーム20の履歴情報領域22の内
容が検査される。この検査の結果として、現在の自己ノ
ードである中継ノードAが属するネットワークの番号0
x01の存在が発見され、ループが発生したものと判断
される。そして、これに応じて該当のフレーム20がフ
レーム廃棄部17により廃棄され、また、このループが
発生したことがループ検出表示部16に対して知らされ
る。このループ検出表示部16からは、フレーム20内
のフレームヘッダ21における各種の情報や時刻その他
の付加情報が、例えばノード毎に備えられた適当なコン
ソール部に表示されたり、または、所要の記録機能を有
するロガー部に記録されたりして、例えば前記ノード毎
に指定された管理者による判断に必要な情報の付与がな
されることになる。FIG. 3 is an explanatory diagram which can be used for the operation mode of the third embodiment (mode when a certain predetermined loop occurs). In FIG. 3, [1]: when a predetermined frame 20 (FIG. 6) is transmitted from the non-relay node a on the network net # 0x01 to the non-relay node d on the network net # 0x04 In the first, the former non-relay node a firstly determines the network to which it belongs (that is, net # 0x0).
1) The predetermined frame 20 for the upper relay node A
To send. At this time, five slots in the history information area 22 in the frame 20 (# 0, #
0x00 indicating unused is written in all of the slots (1, 2, 2, 3 and 4 are assigned slot numbers) (However, in FIG. 3, only the lower two digits 00 are written for simplicity. ing). [2]: Next, at the relay node A, net # 0x04
When the predetermined frame 20 addressed to the relay node A is received and relayed, in the history information setting unit 19 (FIG. 6) belonging to the relay node A, the first slot (#
0), the number 0x01 corresponding to the own network is written, and then the relay node B belonging to net # 0x02
Is sent to. [3]: When the frame 20 is received by the relay node B, the history information inspection unit 15 belonging to this relay node B inspects the contents of the history information area 22 of the frame 20. As a result of this check, since the net number related to the relay node B which is the current self node does not exist in the slot of the history information area 22, it is regarded as a normal relay and the relay processing corresponding to this is performed. Is applied. Here, if there is no abnormality in the currently operating network system, it is transferred to the relay node D belonging to net # 0x04. For example, there is some abnormality in the route information regarding the transfer route, For this,
It is assumed that an attempt is made to transfer to the relay node C belonging to net # 0x03. At this time, in the history information setting unit 19 belonging to the node B, the second slot (# 1) of the history information area 22 is assigned the number 0 corresponding to its own network.
After writing x02, the frame 20 is transmitted to the relay node C belonging to net # 0x03. [4]: When the frame 20 is received by the relay node C, the history information inspection unit 15 belonging to the relay node C also receives the history information area 2 of the frame 20.
The contents of 2 are examined. As a result of this check, since the net number related to the relay node C which is the current self node does not exist in the slot of the history information area 22, it is regarded as a normal relay and the relay processing corresponding to this is performed. Is applied. However, for example, there is some abnormality in the route information related to the transfer route, and for this reason,
It is assumed that the data is transferred to the relay node A belonging to # 0x01. At this time, in the history information setting unit 19 belonging to the node C, the number 0x03 corresponding to the own network is assigned to the third slot (# 2) of the history information area 22.
Is written, the transmission is performed to the relay node A belonging to net # 0x01. When the frame 20 returned in a loop in this way is accepted by the relay node A, the history information inspection unit 1 belonging to this relay node A
At 5, the contents of the history information area 22 of the frame 20 are inspected. As a result of this check, the number 0 of the network to which the relay node A, which is the current self node, belongs
The existence of x01 is discovered, and it is determined that a loop has occurred. In response to this, the corresponding frame 20 is discarded by the frame discarding unit 17, and the loop detection display unit 16 is notified that this loop has occurred. From the loop detection display unit 16, various information in the frame header 21 in the frame 20, time and other additional information are displayed on an appropriate console unit provided for each node, or a required recording function is provided. For example, the information is recorded in the logger unit having the information, and information necessary for judgment by the administrator designated for each node is added.
【0018】[0018]
【発明の効果】以上説明されたように、この発明に係る
ルーティング装置によれば、ある所定のネットワーク内
の複数のノード間におけるフレームの転送経路にループ
が検出された場合に、該当のフレームを廃棄することに
加えて、前記のループ状経路に関する情報を該ノードに
おけるコンソール手段やロガー手段に表示ないし記録を
することにより、経路にループが発生した旨をノードに
おける管理者に通知ないし伝達をするとともに、(フレ
ームの無用の転送を排除することにより)ループ発生時
の無駄なフレームの中継・転送を軽減することができる
という効果がある。また、この発明に係るルーティング
装置においては、転送されるフレームの経路にループが
発生したことが検出された場合に、当該フレームを廃棄
し、ある所定のループ発生通知フレームを送信すること
によって隣接の中継ノードにその旨を通知するととも
に、フレームの転送経路を適切なものに変更することが
できるという効果もある。As described above, according to the routing device of the present invention, when a loop is detected in the frame transfer route between a plurality of nodes in a predetermined network, the corresponding frame is detected. In addition to discarding, by displaying or recording the information about the looped route on the console means or logger means in the node, the administrator in the node is notified or transmitted that the route has a loop. At the same time, it is possible to reduce unnecessary relaying / transferring of frames when a loop occurs (by eliminating unnecessary transfer of frames). In addition, in the routing device according to the present invention, when it is detected that a loop has occurred in the route of a frame to be transferred, the frame is discarded and a predetermined loop occurrence notification frame is transmitted, thereby adjoining the adjacent frame. There is also an effect that the relay node can be notified of that fact and the frame transfer route can be changed to an appropriate one.
【図面の簡単な説明】[Brief description of drawings]
【図1】この発明の第1の実施例であるルーティング装
置におけるノード装置の構成例示図である。FIG. 1 is an exemplary configuration diagram of a node device in a routing device according to a first embodiment of the present invention.
【図2】上記実施例に係るノードが接続されたネットワ
ークシステムに関する説明のためのシステム構成図であ
る。FIG. 2 is a system configuration diagram for explaining a network system to which nodes according to the above embodiments are connected.
【図3】上記実施例の動作の態様に関する(ある所定の
ループが発生した状態に関する)説明図である。FIG. 3 is an explanatory diagram related to an operation mode of the above-described embodiment (related to a state in which a certain predetermined loop has occurred).
【図4】上記実施例の動作の態様を説明するためのフロ
ーチャートである。FIG. 4 is a flow chart for explaining a mode of operation of the above embodiment.
【図5】この発明の第2の実施例であるルーティング装
置におけるノード装置の構成例示図である。FIG. 5 is a diagram illustrating a configuration of a node device in the routing device according to the second embodiment of the present invention.
【図6】この発明の第3の実施例であるルーティング装
置におけるノード装置の構成例示図である。FIG. 6 is an exemplary configuration diagram of a node device in a routing device according to a third embodiment of the present invention.
10−−ノード装置;11−−データ処理部;12−−
フレーム送受信部;13−−受信部;14−−送信部;
15−−履歴情報検査部;16−−ループ検出表示部;
17−−フレーム廃棄部;18−−中継処理部;19−
−履歴情報設定部;20−−フレーム;21−−フレー
ムヘッダ;22−−履歴情報領域;23−−データ領
域。10 --- node device; 11 --- data processing unit; 12 ---
Frame transmitting / receiving unit; 13 --- Reception unit; 14 --- Transmission unit;
15 --- History information inspection unit; 16 --- Loop detection display unit;
17 --- Frame discarding unit; 18 --- Relay processing unit; 19-
-History information setting unit; 20 --- Frame; 21--Frame header; 22--History information area; 23--Data area.
Claims (4)
宛先から中継先を決定し、該フレームの履歴情報領域に
自装置の識別子を記録して前記中継先に送信するルーテ
ィング装置において、 前記中継すべきフレームの履歴情報領域に前記決定した
中継先の識別子が記録されている場合にループ検出と
し、記録されていない場合にループ非検出とするループ
検出手段と、 前記ループ検出手段によりループが検出された場合に当
該フレームを廃棄するフレーム廃棄手段と、 を有するルーティング装置。1. A routing device for determining a relay destination from a destination of a frame to be relayed by referring to route information, recording an identifier of the own device in a history information area of the frame, and transmitting the identifier to the relay destination. When the determined relay destination identifier is recorded in the history information area of the frame to be relayed, loop detection is performed, and when it is not recorded, loop detection is performed, and loop detection is performed by the loop detection means. A frame discarding unit that discards the frame when detected, and a routing device.
れた場合に他のルーティング装置にループ発生通知フレ
ームを送信するループ発生通知フレーム送信手段と、 他のルーティング装置からループ発生通知フレームを受
信した場合に前記経路情報を再構築する経路情報再構築
手段と、 を更に有する請求項1に記載のルーティング装置。2. A loop occurrence notification frame transmitting means for transmitting a loop occurrence notification frame to another routing device when the loop detection means detects a loop, and a loop occurrence notification frame received from another routing device. The routing device according to claim 1, further comprising: route information reconstructing means for reconstructing the route information.
れた場合に、当該フレームの履歴情報領域を参照してル
ープの発生したルートに関する情報を出力するループル
ート情報出力手段を更に有する、請求項1あるいは請求
項2に記載のルーティング装置。3. A loop route information output means for outputting information on a route in which a loop has occurred by referring to a history information area of the frame when the loop detection means detects a loop. Alternatively, the routing device according to claim 2.
すべきフレームの履歴情報領域に自装置の識別子が記録
されている場合にループ検出とし、記録されていない場
合にループ非検出とするループ検出手段を有する、請求
項2あるいは請求項3に記載のルーティング装置。4. A loop which, instead of the loop detecting means, detects a loop when the identifier of the own device is recorded in the history information area of the frame to be relayed, and a loop non-detection when the identifier is not recorded. The routing device according to claim 2 or 3, further comprising detection means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4070593A JPH06232908A (en) | 1993-02-05 | 1993-02-05 | Routing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4070593A JPH06232908A (en) | 1993-02-05 | 1993-02-05 | Routing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH06232908A true JPH06232908A (en) | 1994-08-19 |
Family
ID=12587994
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4070593A Pending JPH06232908A (en) | 1993-02-05 | 1993-02-05 | Routing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH06232908A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005064721A (en) * | 2003-08-08 | 2005-03-10 | Sony Corp | COMMUNICATION SYSTEM AND METHOD, COMMUNICATION TERMINAL DEVICE, ITS CONTROL METHOD, PROGRAM |
| US8005054B2 (en) | 2003-08-08 | 2011-08-23 | Sony Corporation | Communication system, communication method, communication terminal device, control method thereof, and program |
| JP2013232893A (en) * | 2012-04-30 | 2013-11-14 | Fujitsu Ltd | Duplicate packet restraint |
| JP2020191607A (en) * | 2019-05-24 | 2020-11-26 | 古河電気工業株式会社 | Communication system, control method of the same, and communication device |
| EP4007238A1 (en) * | 2020-11-25 | 2022-06-01 | Nokia Solutions and Networks Oy | Loop detection for ip packets |
| EP4369681A1 (en) * | 2022-11-08 | 2024-05-15 | Nokia Solutions and Networks Oy | Universal loop detection in communication networks |
-
1993
- 1993-02-05 JP JP4070593A patent/JPH06232908A/en active Pending
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005064721A (en) * | 2003-08-08 | 2005-03-10 | Sony Corp | COMMUNICATION SYSTEM AND METHOD, COMMUNICATION TERMINAL DEVICE, ITS CONTROL METHOD, PROGRAM |
| US8005054B2 (en) | 2003-08-08 | 2011-08-23 | Sony Corporation | Communication system, communication method, communication terminal device, control method thereof, and program |
| US8755294B2 (en) | 2003-08-08 | 2014-06-17 | Sony Corporation | Communication system, communication method, communication terminal device, control method thereof, and program |
| JP2013232893A (en) * | 2012-04-30 | 2013-11-14 | Fujitsu Ltd | Duplicate packet restraint |
| JP2020191607A (en) * | 2019-05-24 | 2020-11-26 | 古河電気工業株式会社 | Communication system, control method of the same, and communication device |
| EP4007238A1 (en) * | 2020-11-25 | 2022-06-01 | Nokia Solutions and Networks Oy | Loop detection for ip packets |
| US12132605B2 (en) | 2020-11-25 | 2024-10-29 | Nokia Solutions And Networks Oy | Loop detection for IP packets |
| EP4369681A1 (en) * | 2022-11-08 | 2024-05-15 | Nokia Solutions and Networks Oy | Universal loop detection in communication networks |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6173324B1 (en) | Method and apparatus for fault detection and isolation in data | |
| JP3990272B2 (en) | Mailing list management system and e-mail transmission / reception device | |
| JP2003174479A (en) | Packet communication method and apparatus | |
| US20040202186A1 (en) | ATM bridge device and method for detecting loop in ATM bridge transmission | |
| JP4665639B2 (en) | Communication quality monitoring system, communication quality monitoring device, communication quality degradation point identifying device, method and program in the device | |
| JPH06232908A (en) | Routing device | |
| US6463037B1 (en) | Looping detection apparatus | |
| US20030012131A1 (en) | Communication network with a ring topology | |
| JPH11313094A (en) | Ring network monitoring system | |
| JP2000124952A (en) | Method and system for tracking electronic data and recording medium | |
| JP2746221B2 (en) | Bridge device | |
| JPH09214545A (en) | Network communication control system | |
| JP3466860B2 (en) | Node arrangement order check method for ring network | |
| JPS5827449A (en) | Route selecting system for packet exchange | |
| CN117896279B (en) | Flow traction result determining method and device based on loopback detection | |
| JPH07264178A (en) | Security method | |
| JPH10289178A (en) | Message processing method, device therefor, message processing system provided with the device and mechanically readable recording medium recording program | |
| JPH0537541A (en) | Network system equipped with failure analysis device | |
| JP3284304B2 (en) | Signal transmission control method for distributed control device | |
| JP2000101618A (en) | Communication method and communication system in ring network | |
| JPH0964872A (en) | Network system | |
| JPH06252895A (en) | Data transmission system | |
| CN100481777C (en) | Network nodes, and method for informing bugs | |
| JP3456078B2 (en) | Method for identifying adjacent relay device in ring network | |
| JPS6253546A (en) | Loop prevention control system for routing |