JP6586864B2 - Node connection configuration method - Google Patents
Node connection configuration method Download PDFInfo
- Publication number
- JP6586864B2 JP6586864B2 JP2015230267A JP2015230267A JP6586864B2 JP 6586864 B2 JP6586864 B2 JP 6586864B2 JP 2015230267 A JP2015230267 A JP 2015230267A JP 2015230267 A JP2015230267 A JP 2015230267A JP 6586864 B2 JP6586864 B2 JP 6586864B2
- Authority
- JP
- Japan
- Prior art keywords
- bridge
- ring map
- ring
- advertisement
- node connection
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 15
- 238000010586 diagram Methods 0.000 claims description 23
- 239000013598 vector Substances 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 claims description 11
- 230000000903 blocking effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Description
本発明は、ノード接続構成方法に係わり、特に、リング型トポロジーでスパニングツリーアルゴリズムを使ってネットワーク構成図を作成するノード接続構成方法に関するものである。 The present invention relates to a node connection configuration method, and more particularly to a node connection configuration method for creating a network configuration diagram using a spanning tree algorithm in a ring topology.
複数経路のネットワークにおいては、相互接続の重複による弊害を回避するために各ブリッジにスパニングツリープロトコルが実行される。この経路制御に使われるスパニングツリーアルゴリズムは、距離ベクトルアルゴリズムを使ってルートブリッジへの最短パスを抽出し、それ以外のパスを遮断することでループ発生を防止する仕組みとなっている。 In a multi-path network, a spanning tree protocol is executed on each bridge in order to avoid adverse effects caused by overlapping interconnections. The spanning tree algorithm used for this route control has a mechanism that prevents the occurrence of a loop by extracting the shortest path to the root bridge using a distance vector algorithm and blocking other paths.
距離ベクトルアルゴリズムでは、ノード数がいくら増えても各ノードが保持する経路情報の量は一定である。すなわち、一つのノードは、ルートブリッジへの距離ベクトル(宛先=ルートブリッジ、距離、代表ブリッジ)のみを保持し、これをネイバーに広告し合うことにより、結果的にネットワーク全体で経路制御が可能な仕組みとなっている。 In the distance vector algorithm, the amount of path information held by each node is constant regardless of the number of nodes. In other words, one node holds only the distance vector to the root bridge (destination = root bridge, distance, representative bridge), and advertises this to neighbors, so that the entire network can be controlled as a result. It is a mechanism.
経路制御の仕組みは、経路情報のサイズがネットワークの構成や規模によらず一定であることは利点であるが、しかし、ノード接続構成図を作成しようとすると、逆に情報不足となる。全ノードが自身の距離ベクトルをブロードキャストし、各ノードがそれらを全て収集すれば、アクティブパスの構成図を作成することは可能であるが、この方法では代替パスの存在を検出することができない。
なお、ネットワークにスパニングツリープロトコルを実行させるものとしては特許文献1などが公知となっている。
The route control mechanism is advantageous in that the size of the route information is constant regardless of the configuration and scale of the network. However, when a node connection configuration diagram is created, information is insufficient. If all nodes broadcast their distance vectors and each node collects them all, it is possible to create an active path configuration diagram, but this method cannot detect the existence of an alternative path.
Note that
図6はネットワーク構成の概念図を示したものである。以下は、リングトポロジーでのノード接続構成図を「リングマップ」と称す。図6は、B1〜BNによるN台のノードから構成されたリングトポロジーを示したものである。このリングトポロジー上でスパニングツリーアルゴリズムを実行した結果、ブリッジBXの左側のポートが遮断された状態にあることを示している。ブリッジBX−BX+1のリンクは代替パスである。
FIG. 6 shows a conceptual diagram of the network configuration. Hereinafter, a node connection configuration diagram in a ring topology is referred to as a “ring map”. FIG. 6 shows a ring topology composed of N nodes by B 1 to B N. The ring topology on a result of executing the spanning tree algorithm, indicating that in which a left port is blocked bridge B X. The link of bridge B X -B X + 1 is an alternative path.
スパニングツリーアルゴリズムを実行しているブリッジは、ルートブリッジB1への距離ベクトルを持っている。これを代表距離ベクトルと呼ぶ。仮に、あるブリッジをBiとすると、代表距離ベクトルは(B1,Di,Bi)である。ここで、DiはBiからB1への距離である。後述のように本発明では、各ブリッジ自身の代表距離ベクトルをリング上でブロードキャストする。以下、このメッセージをリングマップ広告と呼ぶ。 Bridge running spanning tree algorithm has the distance vector to the root bridge B 1. This is called a representative distance vector. If a certain bridge is Bi, the representative distance vector is (B 1 , Di, Bi). Here, Di is the distance from Bi to B 1. As described later, in the present invention, the representative distance vector of each bridge itself is broadcast on the ring. Hereinafter, this message is referred to as a ring map advertisement.
各ブリッジがブロードキャストしたリングマップ広告は、他のブリッジによって収集され、これをリングマップデータベースRingMapDB(以下RMDBという)にキャシュする。図6では、RMDBをブリッジBiにのみ記載しているが、このRMDBはB1〜BNの全てのブリッジが持っている。各ブリッジは、RMDBにキャシュされたリングマップ広告から、ノード接続図生成部RMGenでノード間接続を再生してリングマップを構成し、コンソールでの表示、または情報管理ベースMIBなどの形でユーザーに提供する。これにより、ユーザーは任意のブリッジからリングマップを取得することができる。 Ring map advertisements broadcast by each bridge are collected by other bridges and cached in a ring map database RingMapDB (hereinafter referred to as RMDB). In FIG. 6, the RMDB is described only in the bridge Bi, but this RMDB is possessed by all the bridges B 1 to B N. Each bridge replays the inter-node connection in the node connection diagram generation unit RMGen from the ring map advertisement cached in the RMDB, composes the ring map, and displays it on the console or the information management base MIB to the user provide. Thereby, the user can acquire a ring map from an arbitrary bridge.
ここで、RMDBからリングマップを作成するのに一つの障害がある。それは、
代表距離ベクトルに含まれる距離値は、ルートブリッジB1から離れるほど大きな値になることである。よって、RMDBからリングマップを構成するために、収集した代表距離ベクトルを距離順にソートするだけでは接続関係が不明になる。すなわち、リングトポロジーでは、ルートブリッジB1から二つのパスが伸びているため、単純にソートしただけでは各パスのノードが混在することで接続関係が分らなくなる。
Here, there is one obstacle to creating a ring map from RMDB. that is,
Distance value included in the representative distance vector is to a large value as the distance from the root bridge B 1. Therefore, in order to construct a ring map from the RMDB, the connection relationship becomes unclear simply by sorting the collected representative distance vectors in order of distance. In other words, in the ring topology, two paths extend from the root bridge B 1, and therefore, simply sorting them makes it difficult to understand the connection relationship because the nodes of each path are mixed.
例えば、図6において、単純にソートすると以下のようになる。ただし、[]内の数字は距離値を示す。
B1[0]、B2[1]、BN[1]、B3[2]、BN-1[2]…、
これは明らかに実際の接続順序のようには並んでいない。本発明は、この問題を解決するものである。
For example, in FIG. 6, simple sorting results in the following. However, the number in [] shows the distance value.
B 1 [0], B 2 [1], B N [1], B 3 [2], B N-1 [2]...
This is clearly not in line with the actual connection order. The present invention solves this problem.
問題解決のために次の二つのアプローチが考えられる。
(1)リングマップ広告中に、指定ブリッジ(DesignatedBrige)IDを含める。(または、DesignatedRootPathVector)
(2)リングのパス毎にソートできるように工夫する。
(1),(2)何れの方法でも問題解決は可能であるが、(1)の方法では次のような課題がある。
a.リングマップ構成図を作成するための処理が複雑になる。
b.リングマップ広告をサポートしないノードがあると、そのノード以降の全ての接続図が構成できない。
これに対し、(2)の方法では、リングマップ広告未対応のノードがあっても、そのノード以外は接続図の構成ができる。
c.リングマップ広告に含めなければならないデータ量が増える。
The following two approaches can be considered to solve the problem.
(1) The designated bridge ID is included in the ring map advertisement. (Or DesignatedRootPathVector)
(2) Devise so that it can be sorted for each ring path.
Although the methods (1) and (2) can solve the problem, the method (1) has the following problems.
a. The process for creating the ring map configuration diagram is complicated.
b. If there is a node that does not support ring map advertisements, all connection diagrams after that node cannot be constructed.
On the other hand, in the method (2), even if there is a node that does not support the ring map advertisement, a connection diagram can be configured except for the node.
c. The amount of data that must be included in a ring map ad increases.
よって本発明では(2)の方法を採用し、適用トポロジーをリングに限定することにより、各ノードの代表距離ベクトルを収集するだけでネットワーク上での事故発生により伝送路が切断されたとき、どの位置で切断されたかのノード接続構成図が作成できるノード接続構成方法を提供することにある。 Therefore, in the present invention, by adopting the method (2) and limiting the applicable topology to the ring, it is possible to select which one when the transmission line is disconnected due to the occurrence of an accident on the network only by collecting representative distance vectors of each node. It is an object of the present invention to provide a node connection configuration method capable of creating a node connection configuration diagram that is disconnected at a position.
本発明は、ルートブリッジを含む複数のブリッジをリング状に接続したリングトポロジーでスパニングツリーアルゴリズムを使用して経路制御するネットワークであって、各ブリッジにリングマップデータベース、ノード接続図生成部を備えて信号の授受を行う方法において、
ネットワーク遮断時に、前記ルートブリッジは、リングマップ広告の代表距離ベクトルに遮断箇所までを1系/2系統に分けたフラグを付加して系統別に各ブリッジに送信し、
各ブリッジは、ルートブリッジからのリングマップ広告受信をトリガーとして、
ルートブリッジからの系統別フラグを自身のリングマップ広告に付加して他の全てのブリッジに送信すると共に、
前記リングマップデータベースには、各ブリッジからのリングマップ広告で広告された代表距離ベクトルを1系/2系統に分けて収容し、
前記ノード接続図生成部は、1系/2系統に分類された代表距離ベクトルを距離順にソートすることを特徴とする。
The present invention is a network that performs routing control using a spanning tree algorithm in a ring topology in which a plurality of bridges including a root bridge are connected in a ring shape, and each bridge includes a ring map database and a node connection diagram generation unit. In the method of exchanging signals,
When the network is shut down, the root bridge adds a flag divided into 1 system / 2 systems up to the shut-off point to the representative distance vector of the ring map advertisement and transmits it to each bridge by system,
Each bridge is triggered by receiving a ring map advertisement from the root bridge.
Attach a system-specific flag from the root bridge to your ring map advertisement and send it to all other bridges,
In the ring map database, representative distance vectors advertised by ring map advertisements from each bridge are accommodated in 1 system / 2 systems,
The node connection diagram generating unit sorts representative distance vectors classified into 1 system / 2 systems in order of distance.
本発明のルートブリッジは、各ブリッジへのリングマップ広告送信を、1系と2系にずらしたタイミングで送信することを特徴とする。 The root bridge of the present invention is characterized in that ring map advertisement transmission to each bridge is transmitted at a timing shifted to the first system and the second system.
本発明の各ブリッジは、他の全てのブリッジに送信するリングマップ広告を、ルートブリッジからのリングマップ広告受信からランダムのタイミングで送信することを特徴とする。 Each bridge of the present invention is characterized in that a ring map advertisement to be transmitted to all other bridges is transmitted at random timing from the reception of the ring map advertisement from the root bridge.
以上のとおり、本発明によれば、リングトポロジーでスパニングツリーアルゴリズムを使用して経路制御するネットワーク上のノード接続構成図を作成することができる。これにより、ネットワーク上での事故発生により伝送路が切断されたとき、どの位置で切断されたかを容易に突き止めることが可能となる。 As described above, according to the present invention, it is possible to create a node connection configuration diagram on a network that performs routing control using a spanning tree algorithm in a ring topology. As a result, when the transmission path is disconnected due to the occurrence of an accident on the network, it is possible to easily find out where the transmission path was disconnected.
本発明は、図1で示す系統分類図のように、リングトポロジー上でスパニングツリーアルゴリズムの実行結果に、例えばブリッジBxの左側のポートが遮断された場合、ルートブリッジB1からBxのブロッキングポートまでの区間を、1系、2系に分類して取り扱う。以下具体的に手順を説明する。 As shown in the system classification diagram shown in FIG. 1, the present invention blocks the root bridges B 1 to B x when, for example, the port on the left side of the bridge B x is blocked by the execution result of the spanning tree algorithm on the ring topology. The section up to the port is handled by classifying into 1 system and 2 system. The procedure will be specifically described below.
手順1
図2で示すように、ルートブリッジB1は、代表距離ベクトル(B1,0,B1)に1系および2系のフラグ1F,2Fが各別にセットされたリングマップ広告を1系、2系に送信する。リングマップ広告は、ブロードキャストまたは全ブリッジが受信できるマルチキャストであることから、各系に一瞬で伝搬される。ただし、ブロッキングポートを越えることはできないので、無限転送されることはない。なお、送信に当たっては、リングマップ広告のラッシュを避けるために、1系と2系の送信タイミングをずらすことが望ましい。
As shown in FIG. 2, the root bridge B 1 uses a ring map advertisement in which the 1-system and 2-
手順2
ルートブリッジB1からのリングマップ広告を受信した他のブリッジは、当該広告を各自のRMDBに蓄積する。受信したリングマップ広告がルートブリッジB1からのものであるか否かは、距離値=0であることから判別できる。または、自身の代表距離ベクトルに含まれるルートブリッジIDから判別することも可能である。
Other bridges that have received the ring map advertisement from the root bridge B 1 store the advertisement in their RMDB. Whether or not the received ring map advertisement is from the root bridge B 1 can be determined from the distance value = 0. Alternatively, it is possible to determine from the root bridge ID included in its representative distance vector.
次に各ブリッジは、ルートブリッジB1からの広告受信をトリガーとして、自身のリングマップ広告を他の全てのブリッジに送信する。このとき、リングマップ広告に含まれる1系/2系のフラグは、ルートブリッジB1から受信した広告と同じものとする。すなわち、1系のブリッジは1系Fのフラグを立てたリングマップ広告を他の全てのブリッジに送信し、2系のブリッジは2系Fのフラグを立てたリングマップ広告を他の全てのブリッジに送信する。 Next, each bridge transmits its ring map advertisement to all other bridges triggered by receiving an advertisement from the root bridge B 1 . At this time, the 1-system / 2 system flags contained in the ring map ad is the same as the advertisement received from the root bridge B 1. That is, the 1st-system bridge transmits a ring map advertisement with the 1st-system F flag set to all other bridges, and the 2nd-system bridge transmits the 2nd-system F flagged ring map advertisement to all the other bridges. Send to.
なお、リングマップ広告のラッシュを避けるため、各ブリッジは、ルートブリッジB1からのリングマップ広告受信からランダムの待ち時間を設け、自身のリングマップ広告を他の全てのブリッジに送信することが望ましい。
図3は、ブリッジBiとBNがリングマップ広告を他の全てのブリッジに送信している状態を示している。勿論、他のブリッジもタイミングをずらしてリングマップ広告の送信を他の全てのブリッジに対して行う。
In order to avoid the rush of the ring map advertisement, it is desirable that each bridge provides a random waiting time from the reception of the ring map advertisement from the root bridge B 1 and transmits its own ring map advertisement to all other bridges. .
FIG. 3 shows a state where the bridges B i and B N are sending ring map advertisements to all other bridges. Of course, other bridges also transmit the ring map advertisement to all other bridges at different timings.
手順3
各ブリッジは受信したリングマップ広告は、各ブリッジがそれぞれ自身のRMDBに収集する。RMDBにキャッシュするときは、図4で示すように1系、2系に分けてキャッシュする。その際、距離値順にソートする。
Step 3
Each bridge receives the ring map advertisement received by each bridge in its own RMDB. When cached in the RMDB, as shown in FIG. In that case, it sorts in order of distance value.
手順4
ユーザーが任意のブリッジにおいてリングマップ取得を求めたとき、当該ブリッジはRMDBにキャッシュしたエントリーからノード接続図生成部RMGenを介してリングマップを構成しユーザーに提供する。仮にコンソール表示を行う場合には、1系/2系のエントリーを並べて表示することでリングマップ表示となる。図5はその表示例を示したものである。
Step 4
When the user requests to acquire a ring map in an arbitrary bridge, the bridge configures a ring map from the entry cached in the RMDB via the node connection diagram generation unit RMGen and provides the ring map to the user. If the console display is performed, a ring map display is obtained by displaying the entries of the 1 system / 2 system side by side. FIG. 5 shows an example of the display.
以上本発明によれば、リング型のトポロジーでスパニングツリーアルゴリズムを使用して経路制御しているネットワーク上でのノード接続構成図を作成することができる。これにより、ネットワーク上での事故発生により伝送路が切断されたとき、どの位置で切断されたかを容易に突き止めることが可能となる。 As described above, according to the present invention, it is possible to create a node connection configuration diagram on a network that is route-controlled using a spanning tree algorithm in a ring topology. As a result, when the transmission path is disconnected due to the occurrence of an accident on the network, it is possible to easily find out where the transmission path was disconnected.
B1〜BN… ブリッジ
RMGen… ノード接続図生成部
RMDB… リングマップデータベース
B 1 to B N ... Bridge
RMGen… Node connection diagram generator
RMDB ... Ring map database
Claims (3)
前記ネットワーク遮断時に、前記ルートブリッジは、リングマップ広告の代表距離ベクトルに遮断箇所までを1系/2系統に分けたフラグを付加して系統別に各ブリッジに送信し、
各ブリッジは、ルートブリッジからのリングマップ広告受信をトリガーとして、ルートブリッジからの系統別フラグを自身のリングマップ広告に付加して他の全てのブリッジに送信すると共に、
前記リングマップデータベースには、各ブリッジからのリングマップ広告で広告された代表距離ベクトルを1系/2系統に分けて収容し、
前記ノード接続図生成部は、1系/2系統に分類された代表距離ベクトルを距離順にソートすることを特徴としたノード接続構成方法。 A network that uses a spanning tree algorithm to control routing in a ring topology in which multiple bridges, including the root bridge, are connected in a ring shape. Each bridge is equipped with a ring map database and a node connection diagram generator to send and receive signals. In the way to do
When the network is shut down, the root bridge adds a flag divided into 1 system / 2 systems up to the shut-off point to the representative distance vector of the ring map advertisement, and transmits it to each bridge for each system,
Each bridge uses a ring map advertisement reception from the root bridge as a trigger, adds a system-specific flag from the root bridge to its ring map advertisement, and sends it to all other bridges.
In the ring map database, representative distance vectors advertised by ring map advertisements from each bridge are accommodated in 1 system / 2 systems,
The node connection diagram generating unit sorts the representative distance vectors classified into 1 system / 2 systems in order of distance.
3. The node connection configuration method according to claim 1, wherein each bridge transmits a ring map advertisement to be transmitted to all other bridges at a random timing from reception of the ring map advertisement from the root bridge.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015230267A JP6586864B2 (en) | 2015-11-26 | 2015-11-26 | Node connection configuration method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2015230267A JP6586864B2 (en) | 2015-11-26 | 2015-11-26 | Node connection configuration method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2017098804A JP2017098804A (en) | 2017-06-01 |
| JP6586864B2 true JP6586864B2 (en) | 2019-10-09 |
Family
ID=58803821
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2015230267A Active JP6586864B2 (en) | 2015-11-26 | 2015-11-26 | Node connection configuration method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6586864B2 (en) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004095779A1 (en) * | 2003-04-24 | 2004-11-04 | Fujitsu Limited | Inter-ring connection device and data transfer control method |
| JP4449684B2 (en) * | 2004-10-07 | 2010-04-14 | 株式会社明電舎 | bridge |
| CN101272352B (en) * | 2008-05-20 | 2012-01-04 | 杭州华三通信技术有限公司 | Looped network routing method and looped network node |
| JP5618946B2 (en) * | 2011-08-22 | 2014-11-05 | 三菱電機株式会社 | Communication apparatus and communication system |
| JP2013198077A (en) * | 2012-03-22 | 2013-09-30 | Yazaki Corp | Network and bridge |
-
2015
- 2015-11-26 JP JP2015230267A patent/JP6586864B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2017098804A (en) | 2017-06-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7096251B2 (en) | Calculation of layered routes in a distributed manner | |
| CN103001875B (en) | Quantum cryptography network dynamic routing method | |
| US8976697B2 (en) | Network status mapping | |
| US8897141B2 (en) | Network system and routing method | |
| CN107959636B (en) | Method and device for sending BGP (Border gateway protocol) message | |
| US20120039190A1 (en) | Partitioning directed acyclic graph (dag) topologies | |
| US20120287937A1 (en) | Relay device, network system and computer program product | |
| EP3061211A1 (en) | Multi-domain source routed forwarding based on collaborating network controllers | |
| US9258191B2 (en) | Direct network having plural distributed connections to each resource | |
| CN103609067A (en) | Management of misbehaving nodes in a computer network | |
| Abu-Ryash et al. | Comparison studies for different shortest path algorithms | |
| JP2012217164A5 (en) | ||
| Mufadhol et al. | The network planning concept for increase quality of service using packet tracer | |
| CN107835128A (en) | It is a kind of that OSPF method for routing is strengthened based on the spatial network for determining Link State | |
| CN105450524B (en) | Method for optimizing and calculating media forwarding route | |
| Haddou et al. | Implantation of the global dynamic routing scheme in scale-free networks under the shortest path strategy | |
| JP6586864B2 (en) | Node connection configuration method | |
| Yang et al. | Message-oriented middleware with QoS awareness | |
| Ghosal et al. | L2star: A star type level-2 2d mesh architecture for noc | |
| Xiong et al. | Congestion performance improvement in wireless sensor networks | |
| CN101714940A (en) | Path-calculating and establishing methods and path-calculating element, nodes and network | |
| You et al. | An inter-domain multi-path flow transfer mechanism based on SDN and multi-domain collaboration | |
| Kruthi et al. | Reliable wireless sensor network using ant colony optimization (ACO) | |
| Ayub et al. | Optimization of epidemic router by new forwarding queue mode TSMF | |
| Wu et al. | Traffic systems recovery from complete congestion by the targeted dropping of packets |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181026 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190806 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190813 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190826 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6586864 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |