JP2012050045A - Route table creation device and route table creation method - Google Patents

Route table creation device and route table creation method Download PDF

Info

Publication number
JP2012050045A
JP2012050045A JP2010192956A JP2010192956A JP2012050045A JP 2012050045 A JP2012050045 A JP 2012050045A JP 2010192956 A JP2010192956 A JP 2010192956A JP 2010192956 A JP2010192956 A JP 2010192956A JP 2012050045 A JP2012050045 A JP 2012050045A
Authority
JP
Japan
Prior art keywords
link
destination address
route
working
devices
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.)
Granted
Application number
JP2010192956A
Other languages
Japanese (ja)
Other versions
JP5421880B2 (en
Inventor
Tomonori Takeda
知典 武田
Kohei Shiomoto
公平 塩本
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2010192956A priority Critical patent/JP5421880B2/en
Publication of JP2012050045A publication Critical patent/JP2012050045A/en
Application granted granted Critical
Publication of JP5421880B2 publication Critical patent/JP5421880B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce a burden of creation processing of a route table including an alternative route in the occurrence of a failure within a network.SOLUTION: Using reachability information 132 indicating a device reachable to each destination address and topology information 133 of a communication network, a route table creation device creates a route table 133 including a first transfer destination (active) and a second transfer destination (preliminary) to be used at the devices of the communication network, for each of the devices. Then, the created route table 133 is transmitted to each device 40.

Description

本発明は、IP(Internet Protocol)網の各ルータ等において宛先アドレスまたはサブネットワークに対する転送先を決定するために用いられる経路表の作成技術に関する。   The present invention relates to a technology for creating a routing table used for determining a destination address or a transfer destination for a subnetwork in each router or the like of an IP (Internet Protocol) network.

従来、IP網内のルータ等の各装置がパケット転送に用いる経路表は、各装置が、OSPF(Open Shortest Path First)やBGP(Border Gateway Protocol)等のルーティングプロトコルを用いて作成する(非特許文献1,2参照)。また、網内の装置や、各装置間を接続するリンクに故障が発生したときに、高速に迂回経路への切り替えを行うため、各装置において、故障発生前の転送路(第1の転送路)に加え、迂回経路である第2の転送路を事前に計算しておく技術も提案されている。   Conventionally, a route table used by each device such as a router in an IP network for packet transfer is created by each device using a routing protocol such as OSPF (Open Shortest Path First) or BGP (Border Gateway Protocol) (non-patented). References 1 and 2). In addition, when a failure occurs in a device in the network or a link connecting each device, switching to the detour route is performed at high speed. Therefore, in each device, the transfer path before the failure (first transfer path) In addition to the above, a technique for calculating in advance a second transfer path that is a detour path has also been proposed.

IETF RFC2328 “OSPF Version 2”, April 1998.IETF RFC2328 “OSPF Version 2”, April 1998. IETF RFC 4271, “A Border Gateway Protocol 4 (BGP-4)”, January 2006.IETF RFC 4271, “A Border Gateway Protocol 4 (BGP-4)”, January 2006.

しかし、従来技術により、各装置においてルーティングプロトコルを動作させ、迂回経路を含む経路表を作成するのは処理負荷が大きいという問題があった。特に、網内の装置それぞれが、他の多数の装置と接続されているようなトポロジの場合(例えば、網内の各装置がフルメッシュで接続されているトポロジの場合)、各装置における経路表作成処理の負荷は極めて大きくなる。さらに、そこで、本発明は、前記した問題を解決し、網内の故障発生時の迂回経路を含む経路表の作成処理の負荷を軽減することを目的とする。   However, according to the prior art, there is a problem that a processing load is large when a routing protocol is operated in each device and a route table including a detour route is created. In particular, when the topology is such that each device in the network is connected to many other devices (for example, a topology in which each device in the network is connected by a full mesh), the routing table in each device. The load of the creation process is extremely large. Furthermore, an object of the present invention is to solve the above-described problems and to reduce the load of processing for creating a route table including a detour route when a failure occurs in the network.

前記した課題を解決するため、本発明は、網内の各装置においてパケットの転送処理に用いられる経路表を作成する経路表作成装置が以下の処理を行う。すなわち、この経路表作成装置は、宛先アドレスごとに、当該宛先アドレスの装置またはサブネットワークへ到達可能な装置の識別情報を示した到達性情報の入力を受け付け記憶部に記憶する。また、ネットワークを構成する各装置の接続状態および各装置を接続するリンクを示したトポロジ情報の入力を受け付け記憶部に記憶する。そして、この経路表作成装置は、到達性情報に示される宛先アドレスごとに、当該宛先アドレスへ到達可能な装置群の中から、現用装置と予備装置とを選択する。そして、経路表作成装置は、トポロジ情報に示される装置それぞれについて、当該装置を始点装置としたとき、始点装置から当該宛先アドレスへ到達可能な現用装置への現用経路を計算する。また、この始点装置から当該宛先アドレスへ到達可能な予備装置への予備経路とを計算する。そして、トポロジ情報を参照して、始点装置が現用経路で用いるリンクである現用リンクと、予備経路で用いるリンクである予備リンクとを選択する。この後、経路表作成装置は、始点装置それぞれについて、宛先アドレスごとに、当該宛先アドレスへの現用リンクおよび予備リンクを示した経路表を作成する。そして、経路表作成装置は、作成した経路表を、始点装置である各装置へ送信する。   In order to solve the above-described problems, in the present invention, a routing table creation device that creates a routing table used for packet transfer processing in each device in the network performs the following processing. That is, for each destination address, this routing table creation device accepts input of reachability information indicating identification information of a device at the destination address or a device that can reach the subnetwork, and stores it in the storage unit. In addition, input of topology information indicating a connection state of each device configuring the network and a link connecting each device is received and stored in the storage unit. Then, for each destination address indicated in the reachability information, this routing table creation device selects an active device and a spare device from a group of devices that can reach the destination address. Then, for each of the devices indicated in the topology information, the route table creation device calculates a working route from the starting point device to the working device that can reach the destination address when the device is the starting point device. Also, a backup route from the start point device to the backup device that can reach the destination address is calculated. Then, referring to the topology information, a working link that is a link used by the starting point device in the working route and a backup link that is a link used in the backup route are selected. Thereafter, the routing table creation device creates a routing table indicating the working link and the protection link to the destination address for each destination address for each of the start point devices. Then, the routing table creation device transmits the created routing table to each device that is the starting point device.

このように経路表作成装置が、網内の故障発生時の迂回経路を含む各装置の経路表を作成するので、各装置がルーティングプロトコルを動作させて経路表を作成する必要がなくなる。   In this way, the routing table creation device creates a routing table for each device including a detour route when a failure occurs in the network, so that it is not necessary for each device to create a routing table by operating a routing protocol.

本発明は、網内の各装置においてパケットの転送処理に用いられる経路表を作成する経路表作成装置が以下の処理を行う。すなわち、この経路表作成装置は、到達性情報の入力を受け付け記憶部に記憶する。また、ネットワークを構成する各装置の接続状態および各装置を接続するリンクと、当該リンクが現用経路に用いられる現用リンクである場合、当該リンクに対する予備リンクの識別情報とを含むトポロジ情報との入力を受け付け、記憶部に記憶する。そして、経路表作成装置は、到達性情報に示される宛先アドレスごとに、当該宛先アドレスへ到達可能な装置群の中から、現用装置を選択する。次に、トポロジ情報に示される装置それぞれについて、当該装置を始点装置としたとき、始点装置から当該宛先アドレスへ到達可能な現用装置への現用経路を計算する。そして、トポロジ情報を参照して、現用経路に用いる現用リンクを選択し、トポロジ情報において、この選択した現用リンクに対する予備リンクを選択する。その後、経路表作成装置は、始点装置それぞれについて、宛先アドレスごとに、当該宛先アドレスへの現用リンクおよび予備リンクを示した経路表を作成する作成する。そして、経路表作成装置は、作成した経路表を、始点装置である各装置へ送信する。   In the present invention, a routing table creation device that creates a routing table used for packet transfer processing in each device in the network performs the following processing. That is, this route table creation device accepts the input of reachability information and stores it in the storage unit. Also, input of topology information including the connection state of each device constituting the network, the link connecting each device, and, when the link is a working link used for a working route, identification information of a backup link for the link Is stored in the storage unit. Then, for each destination address indicated in the reachability information, the routing table creation device selects an active device from a group of devices that can reach the destination address. Next, for each of the devices indicated in the topology information, when the device is the start point device, a working path from the start point device to the active device that can reach the destination address is calculated. Then, referring to the topology information, a working link used for the working route is selected, and a backup link for the selected working link is selected in the topology information. Thereafter, the routing table creation device creates, for each destination address, a routing table indicating the working link and the protection link to the destination address for each destination address. Then, the routing table creation device transmits the created routing table to each device that is the starting point device.

このように経路表作成装置が、網内の故障発生時の迂回経路を含む各装置の経路表を作成するので、各装置がルーティングプロトコルを動作させて経路表を作成する必要がなくなる。また、この経路表作成装置によれば、トポロジ情報上で現用リンクとペアになる予備リンクを選択して経路表を作成するので、経路表作成の処理負荷を軽減できる。   In this way, the routing table creation device creates a routing table for each device including a detour route when a failure occurs in the network, so that it is not necessary for each device to create a routing table by operating a routing protocol. Further, according to this routing table creation device, the route table is created by selecting the backup link paired with the working link on the topology information, so that the processing load for creating the routing table can be reduced.

本発明は、網内の各装置においてパケットの転送処理に用いられる経路表を作成する経路表作成装置が以下の処理を行う。すなわち、この経路表作成装置は、到達性情報と、トポロジ情報との入力を受け付け、記憶部に記憶する。経路表作成装置は、到達性情報に示される同じ宛先アドレスへの到達可能装置が2つ以上いずれかのリングに含まれるまで、トポロジ情報を参照して、リングを構成する装置群を探索する。そして、到達性情報を参照して、リングを構成する装置群ごとに、当該装置群がエッジノードとなっている宛先アドレス群を抽出する。次に、経路表作成装置は、トポロジ情報を参照して、リングを構成する装置群の装置それぞれについて、当該装置を始点装置としたとき、当該装置群により構成されるリングにおいて第1の回転方向の装置に接続されるリンクを現用リンクとして選択する。また、(2)当該リングにおいて第1の回転方向と逆の回転方向の装置に接続されるリンクを予備リンクとして選択する。その後、経路表作成装置は、始点装置それぞれについて、宛先アドレス群に示される宛先アドレスごとに、当該宛先アドレスへの現用リンクおよび予備リンクを示した経路表を作成する作成する。そして、経路表作成装置は、作成した経路表を、始点装置である各装置へ送信する。   In the present invention, a routing table creation device that creates a routing table used for packet transfer processing in each device in the network performs the following processing. That is, this routing table creation device accepts input of reachability information and topology information and stores them in the storage unit. The route table creation device searches the device group constituting the ring with reference to the topology information until two or more reachable devices to the same destination address indicated in the reachability information are included in any one of the rings. Then, with reference to the reachability information, for each device group constituting the ring, a destination address group in which the device group is an edge node is extracted. Next, the routing table creation device refers to the topology information, and for each device in the device group that constitutes the ring, when the device is the starting point device, the first rotation direction in the ring constituted by the device group The link connected to the device is selected as the working link. In addition, (2) a link connected to a device having a rotation direction opposite to the first rotation direction in the ring is selected as a spare link. Thereafter, the routing table creation device creates a routing table for each destination address indicated in the destination address group for each starting point device, and shows a working link and a backup link to the destination address. Then, the routing table creation device transmits the created routing table to each device that is the starting point device.

このように経路表作成装置が、網内の故障発生時の迂回経路を含む各装置の経路表を作成するので、各装置がルーティングプロトコルを動作させて経路表を作成する必要がなくなる。また、この経路表作成装置によれば、トポロジ情報に、リング状に接続される装置群がある場合、その中の始点装置からみて第1の回転方向(例えば、時計回りの方向)に接続されるリンクを当該宛先アドレスへの現用リンクとして選択する。また、第1の回転方向と逆の回転方向(例えば、反時計回りの方向)の装置に接続されるリンクを当該宛先アドレスへの予備リンクとして選択する。例えば、装置A,B,C,Dがリング状に接続されている場合において、装置Aから見て時計回りの方向に装置Bが接続されていれば、経路表作成装置は、装置Aから装置Bへのリンクを、装置Aから当該宛先アドレスへの現用リンクとして選択する。また、装置Aから装置Cへのリンクを、装置Aから当該宛先アドレスへの予備リンクとして選択する。このようにすることで、経路表作成装置は、経路表作成の処理負荷を軽減できる。   In this way, the routing table creation device creates a routing table for each device including a detour route when a failure occurs in the network, so that it is not necessary for each device to create a routing table by operating a routing protocol. Further, according to this route table creation device, when there is a device group connected in a ring shape in the topology information, it is connected in the first rotation direction (for example, clockwise direction) as seen from the start point device in the topology information. Link as the working link to the destination address. In addition, a link connected to a device having a rotation direction opposite to the first rotation direction (for example, a counterclockwise direction) is selected as a spare link to the destination address. For example, in the case where the devices A, B, C, and D are connected in a ring shape, if the device B is connected in the clockwise direction when viewed from the device A, the routing table creation device is changed from the device A to the device. The link to B is selected as the working link from device A to the destination address. Further, the link from the device A to the device C is selected as a backup link from the device A to the destination address. By doing so, the routing table creation device can reduce the processing load for creating the routing table.

本発明は、網内の各装置においてパケットの転送処理に用いられる経路表を作成する経路表作成装置が以下の処理を行う。すなわち、この経路表作成装置は、到達性情報と、トポロジ情報との入力を受け付け、記憶部に記憶する。そして、経路表作成装置は、到達性情報に、宛先アドレスが複数ある装置が複数登録され、かつ、当該装置間で設定された宛先アドレス群の少なくとも一部が同じであるとき、当該装置それぞれの宛先アドレスの集合である宛先グループを計算する。次に、経路表作成装置は、到達性情報に示される宛先アドレスごとに、当該宛先アドレスへ到達可能な装置群の中から、現用装置と予備装置とを選択する。そして、経路表作成装置は、トポロジ情報に示される装置それぞれについて、当該装置を始点装置としたとき、始点装置から当該宛先アドレスに到達可能な現用装置への現用経路を計算する。また、この始点装置から当該宛先アドレスに到達可能な予備装置への予備経路とを計算する。そして、トポロジ情報を参照して、始点装置が現用経路で用いるリンクである現用リンクと、予備経路で用いるリンクである予備リンクとを選択する。その後、経路表作成装置は、始点装置それぞれについて、計算した宛先グループの宛先アドレスごとに、当該宛先グループの宛先アドレスへの現用リンクおよび予備リンクを示した経路表を作成する。そして、経路表作成装置は、この作成した経路表を、始点装置である各装置へ送信する。   In the present invention, a routing table creation device that creates a routing table used for packet transfer processing in each device in the network performs the following processing. That is, this routing table creation device accepts input of reachability information and topology information and stores them in the storage unit. Then, when a plurality of devices having a plurality of destination addresses are registered in the reachability information and at least a part of the destination address group set between the devices is the same, the routing table creation device A destination group that is a set of destination addresses is calculated. Next, for each destination address indicated in the reachability information, the routing table creation device selects an active device and a spare device from a group of devices that can reach the destination address. Then, for each of the devices indicated in the topology information, the route table creation device calculates a working route from the starting point device to the working device that can reach the destination address when the device is the starting point device. Also, a backup route from the start device to the backup device that can reach the destination address is calculated. Then, referring to the topology information, a working link that is a link used by the starting point device in the working route and a backup link that is a link used in the backup route are selected. Thereafter, the routing table creation device creates a routing table showing the working link and the protection link to the destination address of the destination group for each destination address of the calculated destination group for each of the start point devices. Then, the routing table creation device transmits the created routing table to each device that is the starting point device.

このようにすることで、経路表作成装置は、宛先アドレスごとに現用リンクおよび予備リンクを求める必要がなくなる。つまり、始点装置から宛先アドレスそれぞれについて現用リンクおよび予備リンクを選択する必要がなくなるので、経路表作成の処理負荷を軽減できる。   In this way, the routing table creation device does not need to obtain a working link and a backup link for each destination address. That is, since it is not necessary to select the working link and the protection link for each destination address from the starting point device, the processing load for creating the routing table can be reduced.

また、本発明の経路表作成装置のリンク選択部は、現用経路および予備経路を計算するとき、トポロジ情報を参照して、ホップ数またはリンクコストが最小となる経路を計算する。   In addition, when calculating the working route and the backup route, the link selection unit of the route table creation apparatus according to the present invention refers to the topology information and calculates the route that minimizes the number of hops or the link cost.

このようにすることで、経路表作成装置は、始点装置から現用装置(または予備装置)へのホップ数またはリンクコストが最小となる経路の経路表を作成できる。   By doing in this way, the route table creation device can create a route table of a route that minimizes the number of hops or link cost from the starting point device to the active device (or spare device).

また、本発明の経路表作成装置のリンク選択部は、現用経路および予備経路を計算するとき、トポロジ情報を参照して、現用経路および予備経路が互いに、同じ装置またはリンクを経由しない経路を選択する。   In addition, the link selection unit of the routing table creation device of the present invention refers to topology information when calculating the working route and the backup route, and selects the route in which the working route and the protection route do not pass through the same device or link. To do.

このようにすることで、経路表作成装置は、現用経路上で障害が発生したときでも、その障害の影響を受けづらい予備経路を含む経路表を作成できる。   In this way, the routing table creation device can create a routing table including a backup route that is not easily affected by the failure even when a failure occurs on the working route.

また、本発明の経路表作成装置の装置選択部は、現用装置を選択するとき、トポロジ情報を参照して、当該宛先アドレスへのホップ数またはリンクコストが最小の装置を選択する。   In addition, when selecting a working device, the device selection unit of the routing table creation device of the present invention refers to the topology information and selects a device with the smallest number of hops or link cost to the destination address.

このようにすることで、経路表作成装置は、始点装置から現用装置へのホップ数またはリンクコストが最小となる経路の経路表を作成できる。   In this way, the routing table creation device can create a routing table for a route that minimizes the number of hops or link cost from the starting point device to the active device.

本発明によれば、網内の故障発生時の迂回経路を含む経路表の作成処理の負荷を軽減できる。   ADVANTAGE OF THE INVENTION According to this invention, the load of the preparation process of the routing table containing the detour route at the time of the failure occurrence in a network can be reduced.

(a)は、各実施の形態のシステムの全体構成を例示した図であり、(b)は、通信ネットワークのトポロジを例示した図である。(A) is the figure which illustrated the whole structure of the system of each embodiment, (b) is the figure which illustrated the topology of the communication network. (a)は、第1の実施の形態の経路表作成装置の処理概要を概念的に示した図であり、(b)は、到達性情報を例示した図である。(c)は、トポロジ情報を例示した図であり、(d)は、経路表を例示した図である。(A) is the figure which showed notionally the process outline | summary of the routing table preparation apparatus of 1st Embodiment, (b) is the figure which illustrated reachability information. (C) is a diagram illustrating topology information, and (d) is a diagram illustrating a routing table. 第1の実施の形態および第2の実施の形態の経路表作成装置の構成を示した図である。It is the figure which showed the structure of the routing table preparation apparatus of 1st Embodiment and 2nd Embodiment. 第1の実施の形態の経路表作成装置の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the routing table preparation apparatus of 1st Embodiment. (a)は、通信ネットワークのトポロジの例および第2の実施の形態の経路表作成装置の処理概要を概念的に示した図であり、(b)は、到達性情報を例示した図である。(c)は、トポロジ情報を例示した図であり、(d)は、経路表を例示した図である。(A) is the figure which showed the example of the topology of a communication network, and the process outline | summary of the routing table preparation apparatus of 2nd Embodiment notionally, (b) is the figure which illustrated reachability information. . (C) is a diagram illustrating topology information, and (d) is a diagram illustrating a routing table. 第2の実施の形態の経路表作成装置の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the routing table preparation apparatus of 2nd Embodiment. (a)は、通信ネットワークのトポロジの例および第2の実施の形態の経路表作成装置の処理概要を概念的に示した図であり、(b)は、到達性情報を例示した図である。(c)は、トポロジ情報を例示した図であり、(d)は、経路表を例示した図である。(A) is the figure which showed the example of the topology of a communication network, and the process outline | summary of the routing table preparation apparatus of 2nd Embodiment notionally, (b) is the figure which illustrated reachability information. . (C) is a diagram illustrating topology information, and (d) is a diagram illustrating a routing table. 第3の実施の形態の経路表作成装置の構成を示した図である。It is the figure which showed the structure of the routing table preparation apparatus of 3rd Embodiment. 第3の実施の形態の経路表作成装置の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the routing table preparation apparatus of 3rd Embodiment. (a)は、第4の実施の形態の経路表作成装置の処理概要を概念的に示した図であり、(b)は、到達性情報を例示した図である。(c)は、トポロジ情報を例示した図であり、(d)は、経路表を例示した図である。(A) is the figure which showed notionally the process outline | summary of the routing table preparation apparatus of 4th Embodiment, (b) is the figure which illustrated reachability information. (C) is a diagram illustrating topology information, and (d) is a diagram illustrating a routing table. 第4の実施の形態の経路表作成装置の構成を示した図である。It is the figure which showed the structure of the routing table preparation apparatus of 4th Embodiment. 第4の実施の形態の経路表作成装置の処理手順を示したフローチャートである。It is the flowchart which showed the process sequence of the routing table preparation apparatus of 4th Embodiment.

以下、図面を参照しながら、本発明の実施の形態を、第1の実施の形態から第4の実施の形態に分けて説明する。まず、図1を用いて、各実施の形態の経路表作成装置10,10A,10B,10Cに共通するシステムの全体構成例を説明する。   Hereinafter, embodiments of the present invention will be described by dividing them from the first embodiment to the fourth embodiment with reference to the drawings. First, an example of the overall configuration of a system common to the routing table creation apparatuses 10, 10A, 10B, and 10C of each embodiment will be described with reference to FIG.

図1(a)に示すようにシステムは、通信ネットワークと、経路表作成装置10と、ネットワーク情報取得装置20とを含んで構成される。この通信ネットワークは、複数の装置40(例えば、IPルータ等のノード)がリンク(例えば、光ファイバ等)により接続されたIP網等である。経路表作成装置10,10A,10B,10Cは、ネットワーク情報取得装置20から取得した情報(例えば、トポロジ情報131や到達性情報132の元となる情報)に基づき、各装置40の経路表133(後記)を作成する。そして、この経路表133を各装置40へ送信し、各装置40は受信した経路表133に基づきパケットを転送する。ネットワーク情報取得装置20は、通信ネットワークから各装置40の接続状態等の情報を取得し、経路表作成装置10,10A,10B,10Cへ送信する。経路表作成装置10,10A,10B,10Cおよびネットワーク情報取得装置20は、IP等の通信プロトコルにより通信可能なコンピュータにより実現される。この経路表作成装置10,10A,10B,10Cは、現用経路のほかに、この現用経路の予備経路も含む経路表133を作成する。これにより、この経路表133を受信した各装置40は、網内の障害発生時に迂回経路(予備経路)への切り替えを高速に行うことができる。   As shown in FIG. 1A, the system includes a communication network, a route table creation device 10, and a network information acquisition device 20. This communication network is an IP network in which a plurality of devices 40 (for example, nodes such as IP routers) are connected by links (for example, optical fibers). The routing table creation devices 10, 10 </ b> A, 10 </ b> B, and 10 </ b> C are based on information acquired from the network information acquisition device 20 (for example, information that is the basis of the topology information 131 and reachability information 132). Create a postscript). Then, this route table 133 is transmitted to each device 40, and each device 40 transfers a packet based on the received route table 133. The network information acquisition device 20 acquires information such as the connection status of each device 40 from the communication network, and transmits the information to the routing table creation devices 10, 10A, 10B, and 10C. The routing table creation devices 10, 10A, 10B, and 10C and the network information acquisition device 20 are realized by computers that can communicate using a communication protocol such as IP. The routing table creation devices 10, 10A, 10B, and 10C create a routing table 133 that includes a backup route of the working route in addition to the working route. As a result, each device 40 that has received this route table 133 can switch to a detour route (backup route) at a high speed when a failure occurs in the network.

<第1の実施の形態>
まず、第1の実施の形態の経路表作成装置10を説明する。ここでは、経路表作成装置10が、図1(b)に示すようなトポロジの通信ネットワークの経路表133を作成する場合を例に説明する。図1(b)の装置A,B,C,Dは、装置40に相当する。装置A,Bはそれぞれ宛先アドレスd1,d2へ到達可能な装置であることを示す。この宛先アドレスは、宛先となる装置のIPアドレスでもよいし、サブネットワークのアドレスであってもよい。
<First Embodiment>
First, the routing table creation device 10 according to the first embodiment will be described. Here, a case where the routing table creation device 10 creates the routing table 133 of the communication network having the topology as shown in FIG. 1B will be described as an example. The devices A, B, C, and D in FIG. The devices A and B indicate that they can reach the destination addresses d1 and d2, respectively. The destination address may be an IP address of a destination device or a subnetwork address.

経路表作成装置10は、図2(a)に示すように、到達性情報132(宛先アドレスごとに、その宛先アドレスへの到達可能な通信ネットワークのエッジノードの装置40を示した情報(図2(b)参照))と、通信ネットワークのトポロジ情報131(図2(c)参照)とを参照して経路表計算を行い、通信ネットワークにおける各装置40の経路表133(図2(d)参照)を作成する。この経路表133は、宛先アドレス(宛先)ごとに、その宛先アドレスへの第1の転送先へのリンク(現用リンク)と、第2の転送先へのリンク(予備リンク)とを示した情報である。つまり、経路表133は、通信ネットワーク内の故障発生時において装置40が迂回経路への高速切り替えを実現するため、同じ宛先アドレスに対し現用リンクと予備リンクとの両方を示した情報である。なお、図2(d)には、装置C,Dの経路表133のみを示しているが、装置A,Bの経路表133についても同様に作成される。   As shown in FIG. 2A, the routing table creation device 10 has reachability information 132 (information indicating the device 40 of the edge node of the communication network that can reach the destination address for each destination address (FIG. 2). (See (b))) and the topology information 131 of the communication network (see FIG. 2 (c)), the route table is calculated, and the route table 133 of each device 40 in the communication network (see FIG. 2 (d)). ). The routing table 133 is information indicating, for each destination address (destination), a link to the first transfer destination (working link) to the destination address and a link to the second transfer destination (backup link). It is. That is, the route table 133 is information indicating both the working link and the protection link for the same destination address in order for the device 40 to realize high-speed switching to the detour route when a failure occurs in the communication network. 2D shows only the route table 133 of the devices C and D, the route table 133 of the devices A and B is similarly created.

次に、図3を用いて経路表作成装置10の構成を説明する。経路表作成装置10は、大きく入出力部(入力部および出力部)11、処理部12および記憶部13に分けられる。入出力部11は、ネットワーク情報取得装置20や通信ネットワークの各装置40とのデータ送受信を司る。例えば、トポロジ情報131や到達性情報132の元となる情報を取得したり、経路表作成装置10で作成した各装置40の経路表133を、各装置40へ送信したりする。処理部12は、この経路表作成装置10全体の制御を司り、主に各装置40の経路表133を作成する。記憶部13は、処理部12が各装置40の経路表133を作成するときに参照する各種情報を記憶する。   Next, the configuration of the routing table creation device 10 will be described with reference to FIG. The route table creation apparatus 10 is roughly divided into an input / output unit (input unit and output unit) 11, a processing unit 12, and a storage unit 13. The input / output unit 11 performs data transmission / reception with the network information acquisition device 20 and each device 40 of the communication network. For example, the base information of the topology information 131 and the reachability information 132 is acquired, or the route table 133 of each device 40 created by the route table creation device 10 is transmitted to each device 40. The processing unit 12 controls the entire route table creation device 10 and mainly creates the route table 133 of each device 40. The storage unit 13 stores various types of information that the processing unit 12 refers to when creating the route table 133 of each device 40.

入出力部11は、入出力インタフェースやIPにより通信可能な通信インタフェース等から構成される。また、処理部12は、この経路表作成装置10(10A,10B,10C)が備えるCPU(Central Processing Unit)によるプログラム実行処理や、専用回路等により実現される。さらに、記憶部13は、RAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disk Drive)、フラッシュメモリ等の記憶媒体から構成される。なお、経路表作成装置10,10A,10B,10Cをプログラム実行処理により実現する場合、記憶部13には、この経路表作成装置10(10A,10B,10C)の機能を実現するためのプログラムが格納される。   The input / output unit 11 includes an input / output interface, a communication interface capable of communicating by IP, and the like. The processing unit 12 is realized by a program execution process by a CPU (Central Processing Unit) included in the routing table creation device 10 (10A, 10B, 10C), a dedicated circuit, or the like. Further, the storage unit 13 includes a storage medium such as a random access memory (RAM), a read only memory (ROM), a hard disk drive (HDD), and a flash memory. When the routing table creation devices 10, 10A, 10B, and 10C are realized by program execution processing, the storage unit 13 has a program for realizing the functions of the routing table creation device 10 (10A, 10B, and 10C). Stored.

記憶部13は、トポロジ情報131と、到達性情報132とを記憶する。また、記憶部13は、各装置40の経路表133を記憶する領域を備える。   The storage unit 13 stores topology information 131 and reachability information 132. In addition, the storage unit 13 includes an area for storing the route table 133 of each device 40.

トポロジ情報131は、前記したとおり、通信ネットワークを構成する各装置40の接続状態および各装置40を接続するリンクを示した情報である。例えば、図2(c)に示すトポロジ情報131は、図1(b)に示す通信ネットワークのトポロジを示した情報であり、装置A,B間はリンク#1により接続されることを示す。なお、このトポロジ情報131は、各リンクのリンクコストの値を含んでいてもよい。また、例えば、装置A→装置Bの通信に用いるリンクと、装置B→装置Aの通信に用いるリンクとを区別する等、通信の方向によって用いるリンクを区別するようにしてもよい。   As described above, the topology information 131 is information indicating a connection state of each device 40 configuring the communication network and a link connecting each device 40. For example, the topology information 131 shown in FIG. 2C is information indicating the topology of the communication network shown in FIG. 1B, and indicates that the apparatuses A and B are connected by the link # 1. The topology information 131 may include a link cost value for each link. Further, for example, the link used for communication from device A → device B and the link used for communication from device B → device A may be distinguished from each other, depending on the direction of communication.

到達性情報132は、宛先アドレスごとに、当該宛先アドレスの装置またはサブネットワークに到達可能な装置40(到達可能装置)の識別情報を示した情報である。例えば、図2(b)に示す到達性情報132は、図1(b)に示す通信ネットワークの到達性情報であり、宛先アドレスd1への到達可能装置は、装置A,Bであり、宛先アドレスd2への到達可能装置も、装置A,Bであることを示す。つまり、宛先アドレスd1,d2へパケットを転送する場合、通信ネットワークの装置40(始点装置)は、このいずれかの装置40を目指してパケットを転送すればよいことを示す。   The reachability information 132 is information indicating identification information of a device 40 (reachable device) that can reach the device of the destination address or the subnetwork for each destination address. For example, the reachability information 132 shown in FIG. 2B is reachability information of the communication network shown in FIG. 1B, and the reachable devices to the destination address d1 are the devices A and B, and the destination address The devices that can reach d2 are also devices A and B. That is, when a packet is transferred to the destination addresses d1 and d2, the device 40 (starting device) of the communication network only needs to transfer the packet toward any one of the devices 40.

なお、このトポロジ情報131および到達性情報132は、経路表作成部123が経路表133を作成する際に参照される。このトポロジ情報131および到達性情報132は、ネットワーク情報取得装置20から受信した情報をもとに処理部12が作成してもよいし、予め外部装置で作成しておいたものを入出力部11経由で入力してもよい。   The topology information 131 and the reachability information 132 are referred to when the routing table creation unit 123 creates the routing table 133. The topology information 131 and the reachability information 132 may be created by the processing unit 12 based on information received from the network information acquisition device 20, or information previously created by an external device may be input / output unit 11 You may enter via.

処理部12は、装置選択部121と、リンク選択部122と、経路表作成部123と、経路表送信部124とを備える。   The processing unit 12 includes a device selection unit 121, a link selection unit 122, a route table creation unit 123, and a route table transmission unit 124.

装置選択部121は、到達性情報132(図2(b)参照)に示される宛先アドレスへの到達可能装置の中から現用装置と予備装置とを選択する。選択した現用装置および予備装置それぞれの識別情報は、リンク選択部122へ出力する。なお、装置選択部121は、現用装置および予備装置を選択するとき、到達性情報132にBGP(Border Gate Protocol)の優先度の情報が含まれていれば、この優先度の値をもとに装置40を選択してもよい。例えば、到達性情報132において、同じ宛先アドレスへの到達可能装置のうち、BGPの優先度が最も高い装置40を現用装置として選択し、次に優先度が高い装置40を予備装置として選択してもよい。また、装置選択部121は、現用装置および予備装置を選択する際、トポロジ情報131を参照して、始点装置からのホップ数やリンクコストの合計値をもとに現用装置および予備装置として選択してもよい。例えば、始点装置からのホップ数やリンクコストの合計値が最も小さい装置40を、現用装置として選択し、その次に小さい装置40を、予備装置として選択してもよい。   The device selection unit 121 selects a working device and a standby device from among devices that can reach the destination address indicated in the reachability information 132 (see FIG. 2B). The identification information of each of the selected active device and spare device is output to the link selection unit 122. When the device selection unit 121 selects a working device and a spare device, if the reachability information 132 includes BGP (Border Gate Protocol) priority information, the device selection unit 121 uses the priority value. The device 40 may be selected. For example, in the reachability information 132, the device 40 having the highest BGP priority is selected as the active device among the devices that can reach the same destination address, and the device 40 having the next highest priority is selected as the spare device. Also good. Further, when selecting the working device and the spare device, the device selection unit 121 refers to the topology information 131 and selects the working device and the spare device based on the total number of hops from the starting device and the link cost. May be. For example, the device 40 having the smallest total number of hops and link costs from the starting device may be selected as the active device, and the next smallest device 40 may be selected as the spare device.

リンク選択部122は、トポロジ情報131(図2(c)参照)に示される装置40それぞれについて、当該装置40を始点装置としたとき、この始点装置から現用装置への現用経路(第1の転送路)と、始点装置から予備装置への予備経路(第2の転送路)とを計算する。そして、トポロジ情報131に示されるリンク情報を参照して、始点装置が現用経路で用いるリンクである現用リンクおよび始点装置が予備経路で用いるリンクである予備リンクを選択する。そして、選択した各装置40の現用リンクおよび予備リンクを、経路表作成部123へ出力する。また、リンク選択部122は、現用経路や予備経路を計算する際、同じ現用装置や予備装置への経路が複数あったとき、そのうちホップ数またはリンクコストが最小となる経路を選択してもよい。また、トポロジ情報131を参照して、現用経路および予備経路が互いに、同じ装置40またはリンクを経由しない経路を選択するようにしてもよい。   For each of the devices 40 indicated in the topology information 131 (see FIG. 2C), the link selection unit 122 assumes that the device 40 is a starting device, and the working path (first transfer) from the starting device to the working device. Path) and a backup path (second transfer path) from the starting point device to the backup device. Then, referring to the link information shown in the topology information 131, the working link that is the link used by the start point device in the working route and the backup link that is the link used by the start point device in the backup route are selected. Then, the working link and the protection link of each selected device 40 are output to the route table creation unit 123. Further, when calculating the working route and the backup route, the link selection unit 122 may select the route having the smallest hop count or link cost when there are a plurality of routes to the same working device or the backup device. . In addition, referring to the topology information 131, a route in which the working route and the backup route do not pass through the same device 40 or link may be selected.

経路表作成部123は、装置40それぞれについて、宛先アドレスごとに、当該宛先アドレスへの現用リンクおよび予備リンクを示した経路表133(図2(d)参照)を作成する。   The route table creation unit 123 creates a route table 133 (see FIG. 2D) indicating the working link and the spare link to the destination address for each device 40 for each device 40.

経路表送信部124は、各装置40の経路表133を、入出力部11経由で通信ネットワーク装置の装置40へ送信する。   The route table transmission unit 124 transmits the route table 133 of each device 40 to the device 40 of the communication network device via the input / output unit 11.

このようにすることで経路表作成装置10は、各装置40の経路表133を作成し、各装置40へ送信することができる。   By doing so, the routing table creation device 10 can create the routing table 133 of each device 40 and transmit it to each device 40.

<処理手順>
次に、図2,3を参照しつつ、図4を用いて、経路表作成装置10の処理手順を説明する。
<Processing procedure>
Next, the processing procedure of the routing table creation device 10 will be described with reference to FIGS.

まず、図3の経路表作成装置10の装置選択部121は、到達性情報132を参照して、ある宛先アドレス(例えば、図2(a)のd1)に対するすべての到達可能装置(例えば、装置A,B)を抽出する(S11)。つまり、到達性情報132に示される宛先アドレスから1つの宛先アドレスを選択し、宛先アドレスに対するすべての到達可能装置(装置40)を抽出する。そして、装置選択部121は、抽出した到達可能装置から、現用装置(例えば、装置A)と予備装置(例えば、装置B)とを選択する(S12)。   First, the device selection unit 121 of the routing table creation device 10 in FIG. 3 refers to the reachability information 132 and all reachable devices (for example, devices) for a certain destination address (for example, d1 in FIG. 2 (a)). A, B) are extracted (S11). That is, one destination address is selected from the destination addresses indicated in the reachability information 132, and all reachable devices (devices 40) for the destination address are extracted. Then, the device selection unit 121 selects an active device (for example, device A) and a standby device (for example, device B) from the extracted reachable devices (S12).

次に、リンク選択部122は、トポロジ情報131(図2(c)参照)に示される装置40を1つ選択し、この装置40(例えば、装置C)を始点装置として現用装置(例えば、装置A)に到達するための現用リンク(例えば、リンク#2)を選択する。また、この始点装置から予備装置(例えば、装置B)に到達するための予備リンク(例えば、リンク#4)とを選択する(S13)。つまり、まず、リンク選択部122は、始点装置から現用装置への現用経路と、始点装置から予備装置への予備経路とを計算する。そして、トポロジ情報131に示されるリンク情報を参照して、始点装置が現用経路で用いるリンクである現用リンクおよび予備経路で用いるリンクである予備リンクを選択する。選択された始点装置の現用リンクおよび予備リンクは、経路表作成部123が、当該始点装置(装置40)に関する経路表133に記憶する。   Next, the link selection unit 122 selects one device 40 indicated in the topology information 131 (see FIG. 2C), and uses this device 40 (for example, device C) as a starting point device (for example, device). A working link (for example, link # 2) for reaching A) is selected. Further, a backup link (for example, link # 4) for reaching the backup device (for example, device B) from this starting point device is selected (S13). That is, first, the link selection unit 122 calculates a working path from the starting point device to the working device and a spare path from the starting point device to the spare device. Then, referring to the link information shown in the topology information 131, the working link that is the link used by the start point device in the working route and the protection link that is the link used in the protection route are selected. The routing table creation unit 123 stores the active link and the backup link of the selected starting point device in the routing table 133 related to the starting point device (device 40).

そして、トポロジ情報131に示されるすべての装置40について処理を終了し(S14のYes)、かつ、到達性情報132に示されるすべての宛先アドレスについて処理を終了していれば(S15のYes)、経路表作成処理を終了する。そして、経路表送信部124が、経路表133を、各装置40へ送信する。   Then, if all the devices 40 indicated in the topology information 131 have been processed (Yes in S14), and if all the destination addresses indicated in the reachability information 132 have been processed (Yes in S15), The routing table creation process ends. Then, the route table transmission unit 124 transmits the route table 133 to each device 40.

一方、トポロジ情報131に示される装置40のうち、未処理の装置40があれば(S14のNo)、装置選択部121は、未処理の装置40に対し、S12以降の処理を行う。また、到達性情報132に示される宛先アドレスについて未処理の宛先アドレスがあれば(S15のNo)、装置選択部121は、その未処理の宛先アドレスについてS11以降の処理を実行する。   On the other hand, if there is an unprocessed device 40 among the devices 40 indicated in the topology information 131 (No in S14), the device selection unit 121 performs the processing from S12 on the unprocessed device 40. If there is an unprocessed destination address for the destination address indicated in the reachability information 132 (No in S15), the device selection unit 121 executes the processing from S11 on for the unprocessed destination address.

このようにすることで、経路表作成装置10は、通信ネットワークの各装置40で用いる経路表133を作成することができる。この経路表133は、各宛先アドレスの現用経路へのリンク(現用リンク)のみならず、予備経路へのリンク(予備リンク)も含む。よって、各装置40は、網内に障害が発生した場合でも、迂回経路への経路切り替えを高速に行うことができる。   In this way, the routing table creation device 10 can create the routing table 133 used by each device 40 of the communication network. This route table 133 includes not only a link (working link) of each destination address to a working route but also a link (backup link) to a backup route. Therefore, each device 40 can switch the route to the detour route at high speed even when a failure occurs in the network.

<第2の実施の形態>
次に、第2の実施の形態の経路表作成装置10Aを説明する。前記した実施の形態と同様の構成要素は、同じ符号を付して説明を省略する。
<Second Embodiment>
Next, the routing table creation device 10A of the second exemplary embodiment will be described. Constituent elements similar to those of the above-described embodiment are denoted by the same reference numerals and description thereof is omitted.

経路表作成装置10Aは、図5(a)に示すように、経路表計算を行う際、到達性情報132(図5(b)参照)と、トポロジ情報131A(図5(c)参照)とを参照することを特徴とする。このトポロジ情報131Aは、図5(c)に例示するように、各リンクが、現用経路に用いるリンク(現用リンク)か、予備経路に用いるリンク(予備リンク)であるかを示す情報を含む。また、当該リンクが現用リンクである場合、ペアとなる予備リンクの識別情報を含み、当該リンクが予備リンクである場合、ペアとなる現用リンクの識別情報を含む。そして、経路表作成装置10Aは、ある装置40の現用リンクを求めた後、予備リンクを選択するときには、このトポロジ情報131Aに示される当該現用リンクの予備リンクを選択する。   As shown in FIG. 5A, the routing table creation device 10A performs reachability information 132 (see FIG. 5B) and topology information 131A (see FIG. 5C) when performing routing table calculation. It is characterized by referring to. As illustrated in FIG. 5C, the topology information 131A includes information indicating whether each link is a link used for a working path (working link) or a link used for a backup path (protection link). In addition, when the link is a working link, it includes identification information of a pair of protection links, and when the link is a protection link, identification information of a pair of working links is included. Then, after obtaining the working link of a certain device 40, the routing table creation device 10A selects the working link of the working link indicated in the topology information 131A when selecting the working link.

このような経路表作成装置10Aの処理部12は、図3に示すように、装置選択部121に代えて、装置選択部121Aを備え、リンク選択部122に代えてリンク選択部122Aを備える。さらに、トポロジ情報131に代えてトポロジ情報131Aを備える。その他の構成は、経路表作成装置10と同様なので説明を省略する。   As illustrated in FIG. 3, the processing unit 12 of the route table creation apparatus 10 </ b> A includes a device selection unit 121 </ b> A instead of the device selection unit 121 and a link selection unit 122 </ b> A instead of the link selection unit 122. Further, topology information 131A is provided instead of the topology information 131. The other configuration is the same as that of the routing table creation device 10, and thus the description thereof is omitted.

装置選択部121Aは、到達性情報132に示される宛先アドレスごとに、当該宛先アドレスへの到達可能装置群の中から、現用装置を選択する。選択した現用装置は、リンク選択部122Aへ出力する。なお、この現用装置を選択するとき、例えば、トポロジ情報131Aを参照して、当該宛先アドレスへのホップ数またはリンクコストが最小の装置を選択する。   For each destination address indicated in the reachability information 132, the device selection unit 121A selects a working device from a group of devices that can reach the destination address. The selected active device is output to the link selection unit 122A. When selecting this working device, for example, referring to the topology information 131A, the device with the smallest hop count or link cost to the destination address is selected.

リンク選択部122Aは、トポロジ情報131に示される装置40それぞれについて、当該装置40を始点装置としたとき、始点装置から、装置選択部121Aで選択した現用装置への現用経路を計算する。そして、トポロジ情報131Aを参照して、現用経路に用いる現用リンクを選択すると、トポロジ情報131Aを参照して、この現用リンクとペアになる予備リンクを選択する。選択した現用リンクおよび予備リンクは、経路表作成部123へ出力する。なお、このトポロジ情報131Aに現用リンクの予備リンクが無い場合には、リンク選択部122Aは、第1の実施の形態と同様に、現用装置と同じ宛先アドレスへの到達可能装置から予備装置を選択し、この予備装置への経路を計算して、予備リンクを求めるようにしてよい。   For each device 40 indicated in the topology information 131, the link selection unit 122A calculates a working path from the starting point device to the working device selected by the device selecting unit 121A when the device 40 is the starting point device. When the working link used for the working route is selected with reference to the topology information 131A, the protection link paired with the working link is selected with reference to the topology information 131A. The selected current link and backup link are output to the route table creation unit 123. If the topology information 131A does not include a spare link for the working link, the link selection unit 122A selects a spare device from devices that can reach the same destination address as the working device, as in the first embodiment. Then, the route to the spare device may be calculated to obtain the spare link.

<処理手順>
次に、図3,5を参照しつつ、図6を用いて、経路表作成装置10Aの処理手順を説明する。S21は、前記したS11と同様なので、S22から説明する。経路表作成装置10Aの装置選択部121Aは、S21で抽出した到達可能装置から、装置40を1つ選択する(S22)。例えば、図5(a)の装置Aを選択する。
<Processing procedure>
Next, the processing procedure of the routing table creation device 10A will be described with reference to FIGS. S21 is the same as S11 described above, and will be described from S22. The device selection unit 121A of the route table creation device 10A selects one device 40 from the reachable devices extracted in S21 (S22). For example, the device A shown in FIG.

次に、リンク選択部122Aは、トポロジ情報131A(図5(c)参照)に示される装置40それぞれについて、当該装置40を始点装置(例えば、装置C)としたとき、始点装置から、S22で選択した装置40(例えば、装置A)に到達するための現用リンク(例えば、リンク#2)を、トポロジ情報131Aを参照して選択する(S23)。つまり、リンク選択部122Aは、S22で選択した装置40を現用装置として、始点装置からこの現用装置への現用経路を計算する。そして、トポロジ情報131Aに示されるリンク情報を参照して、始点装置で用いる現用リンクを選択する。   Next, for each device 40 indicated in the topology information 131A (see FIG. 5C), the link selection unit 122A sets the device 40 as a start device (for example, device C) from the start device in S22. A working link (for example, link # 2) for reaching the selected device 40 (for example, device A) is selected with reference to the topology information 131A (S23). That is, the link selection unit 122A calculates the working path from the starting point device to the working device with the device 40 selected in S22 as the working device. Then, referring to the link information indicated in the topology information 131A, the working link used in the starting point device is selected.

また、リンク選択部122Aは、トポロジ情報131Aを参照して、S23で選択したリンク(現用リンク)の予備リンク(例えば、リンク#5)を選択する(S24)。選択した始点装置の現用リンクおよび予備リンクは、経路表作成部123が、当該始点装置(例えば、装置C)の経路表133に記録する。この後のS25およびS26の処理は、前記したS14およびS15の処理と同様なので説明を省略する。   Further, the link selection unit 122A refers to the topology information 131A and selects a backup link (for example, link # 5) of the link (working link) selected in S23 (S24). The routing table creation unit 123 records the active link and the backup link of the selected starting point device in the routing table 133 of the starting point device (for example, device C). Subsequent processes in S25 and S26 are the same as the processes in S14 and S15 described above, and thus the description thereof is omitted.

このような経路表作成装置10Aによれば、予備リンクを選択する際、トポロジ情報131A上に設定されている予備リンクを選択すればよいので、経路表作成の処理負荷を軽減できる。   According to such a routing table creation device 10A, when a backup link is selected, it is only necessary to select a backup link set on the topology information 131A, so that the processing load for creating the routing table can be reduced.

<第3の実施の形態>
次に、第3の実施の形態を説明する。前記した実施の形態と同様の構成要素は、同じ符号を付して説明を省略する。
<Third Embodiment>
Next, a third embodiment will be described. Constituent elements similar to those of the above-described embodiment are denoted by the same reference numerals and description thereof is omitted.

経路表作成装置10Bは、図7(a)に示すように、経路表計算を行うとき、トポロジ上でリング状に接続される装置40を探索するリング探索を行い、このリングを用いて転送先計算を行うことを特徴とする。   As shown in FIG. 7A, the routing table creation device 10B performs a ring search for searching for a device 40 connected in a ring shape on the topology when performing routing table calculation, and uses this ring as a forwarding destination. It is characterized by performing a calculation.

例えば、経路表作成装置10Bは、宛先アドレスd1,d2への到達可能装置である装置A,Bを含むリング(装置A,B,C,D)を用いる場合を考える。この場合、装置Cから宛先アドレスd1(またはd2)への現用リンクとして、自身の装置Cを含むリングの時計周りの方向に隣接する装置Dへのリンク#5を選択する。また、予備リンクとして、リングの反時計周りの方向に隣接する装置Aへのリンク#2を選択する。つまり、トポロジ上で、ある宛先アドレスへの到達可能装置を複数含むリングを見つければ、そのリングを構成する装置40はそれぞれ、その宛先アドレスへのリンクを2本持つことになる。よって、その2本のリンクのうち1本のリンクを現用リンクとし、もう1本のリンクを予備リンクとすれば、現用リンクと予備リンクとを1本ずつ選ぶことができる。   For example, consider a case where the routing table creation device 10B uses a ring (devices A, B, C, and D) including devices A and B that are reachable to the destination addresses d1 and d2. In this case, as the working link from the device C to the destination address d1 (or d2), the link # 5 to the device D adjacent in the clockwise direction of the ring including the device C is selected. Further, the link # 2 to the device A adjacent in the counterclockwise direction of the ring is selected as the spare link. That is, if a ring including a plurality of devices that can reach a certain destination address is found on the topology, each of the devices 40 constituting the ring has two links to the destination address. Therefore, if one of the two links is a working link and the other link is a spare link, the working link and the spare link can be selected one by one.

このような経路表作成装置10Bの処理部12は、図8に示すように、リンク選択部122Bと、経路表作成部123と、経路表送信部124と、リング探索部125と、宛先アドレス抽出部126とを備える。   As shown in FIG. 8, the processing unit 12 of the routing table creation apparatus 10B has a link selection unit 122B, a routing table creation unit 123, a routing table transmission unit 124, a ring search unit 125, and a destination address extraction. Part 126.

リンク選択部122Bは、トポロジ情報131(図7(c)参照)に示されるリンク情報を参照して、リングを構成する装置群の装置40それぞれについて、各装置40を始点装置としたときの現用リンクと予備リンクとを選択する。このリンク選択部122Bのリンク選択処理の詳細は、図9を用いて後記する。   The link selection unit 122B refers to the link information shown in the topology information 131 (see FIG. 7C), and for each of the devices 40 in the device group constituting the ring, the link selection unit 122B is used when each device 40 is a start device. Select a link and a backup link. Details of the link selection processing of the link selection unit 122B will be described later with reference to FIG.

リング探索部125は、到達性情報132に示される同じ宛先アドレスへの到達可能装置が2つ以上、いずれかのリングに含まれるまで、トポロジ情報131から、リングを構成する装置群を探索する。これにより、各リングに、同じ宛先アドレスへの現用装置と予備装置とが含まれることになる。   The ring search unit 125 searches the topology information 131 for a group of devices constituting the ring until two or more reachable devices to the same destination address indicated in the reachability information 132 are included in any ring. As a result, each ring includes an active device and a spare device for the same destination address.

宛先アドレス抽出部126は、到達性情報132(図7(b)参照)を参照して、リングを構成する装置群(例えば、図7(a)の装置A,B,C,D)から到達可能な宛先アドレス群(例えば、宛先アドレスd1,d2)を抽出する。   The destination address extraction unit 126 refers to the reachability information 132 (see FIG. 7B) and arrives from a group of devices constituting the ring (for example, the devices A, B, C, and D in FIG. 7A). Possible destination address groups (for example, destination addresses d1 and d2) are extracted.

なお、経路表作成部123は、宛先アドレス抽出部126により抽出された宛先アドレス群に示される宛先アドレス(例えば、宛先アドレスd1,d2)ごとに、当該宛先アドレスへの転送に用いる現用リンクおよび予備リンクを示した経路表133(図7(d)参照)を作成する。   Note that the routing table creation unit 123 performs, for each destination address (for example, destination addresses d1 and d2) indicated in the destination address group extracted by the destination address extraction unit 126, a working link and a spare used for transfer to the destination address. A route table 133 (see FIG. 7D) showing the links is created.

<処理手順>
次に、図7,8を参照しつつ、図9を用いて、経路表作成装置10Bの処理手順を説明する。
<Processing procedure>
Next, the processing procedure of the routing table creation device 10B will be described with reference to FIGS.

まず、図8の経路表作成装置10Bのリング探索部125は、到達性情報132およびトポロジ情報131を参照して、リング状に接続される装置群(例えば、図7(a)の装置A,B,C,D)を探索する(S31)。このリング状に接続される装置群の探索にあたっては、到達性情報132を参照して、当該リングが、同じ宛先アドレス(例えば、宛先アドレスd1)への到達可能装置を2つ以上を含むようなものを探索する。   First, the ring search unit 125 of the routing table creation device 10B in FIG. 8 refers to the reachability information 132 and the topology information 131, and a group of devices connected in a ring shape (for example, the devices A and A in FIG. 7A). B, C, D) are searched (S31). In searching for a group of devices connected in a ring shape, the reachability information 132 is referred to, and the ring includes two or more reachable devices to the same destination address (for example, the destination address d1). Explore things.

宛先アドレス抽出部126は、到達性情報132を参照して、リングを構成する装置群(例えば装置A,B,C,D)から到達できる宛先アドレス(例えば、宛先アドレスd1,d2)を抽出する(S32)。   The destination address extraction unit 126 refers to the reachability information 132 and extracts destination addresses (for example, destination addresses d1 and d2) that can be reached from a group of devices (for example, devices A, B, C, and D) constituting the ring. (S32).

リンク選択部122Bは、S31で探索したリングを構成する装置40のうち、ある装置40から、S32で抽出した宛先アドレス群(例えば、宛先アドレスd1,d2)への現用リンクをリングの時計回りに決定し(S33)、また、リンク選択部122Bは、この装置40から、S32で抽出した宛先アドレス群への現用リンクをリングの反時計回りに決定する(S34)。つまり、リンク選択部122Bは、S31で探索したリングを構成する装置40(例えば、装置A,B,C,D)のうち、ある装置40(例えば、装置C)を始点装置として、その始点装置からリングの時計回りの方向に接続される装置40(例えば、装置D)へのリンク(例えば、リンク#5)を現用リンクとして選択する。また、リンク選択部122Bは、その始点装置からリングの反時計回りに接続される装置40(例えば、装置A)に接続へのリンク(例えば、リンク#2)を予備リンクとして選択する。そして、経路表作成部123は、当該始点装置(装置40)に関する経路表133の当該宛先アドレス群(例えば、宛先アドレスd1,d2)への転送先の欄に、選択した現用リンクおよび予備リンクを記憶する。   The link selection unit 122B sets the working link from a certain device 40 to the destination address group (for example, the destination addresses d1 and d2) extracted in S32 among the devices 40 constituting the ring searched in S31 in the clockwise direction of the ring. The link selection unit 122B determines the working link from the device 40 to the destination address group extracted in S32 in the counterclockwise direction of the ring (S34). That is, the link selection unit 122B uses a certain device 40 (for example, the device C) as a starting point device among the devices 40 (for example, the devices A, B, C, and D) constituting the ring searched in S31, and the starting point device. The link (for example, link # 5) to the device 40 (for example, device D) connected in the clockwise direction of the ring is selected as the working link. Further, the link selection unit 122B selects a link (for example, link # 2) to be connected to the device 40 (for example, the device A) connected counterclockwise from the starting point device as a spare link. Then, the routing table creation unit 123 sets the selected current link and backup link in the transfer destination column of the destination address group (for example, destination addresses d1 and d2) in the routing table 133 related to the source device (device 40). Remember.

ここで、S31で探索したリングを構成する装置40(例えば、装置A,B,C,D)すべてについて処理を終了し(S35のYes)、かつ、到達性情報132に示されるすべての宛先アドレスについて、到達可能装置が2つ以上、いずれかのリングの装置群に属していれば(S36のYes)、経路表作成処理を終了する。   Here, the processing is finished for all the devices 40 (for example, devices A, B, C, and D) constituting the ring searched in S31 (Yes in S35), and all the destination addresses indicated in the reachability information 132 are displayed. If two or more reachable devices belong to one of the ring device groups (Yes in S36), the routing table creation process is terminated.

一方、S31で探索したリングを構成する装置40(例えば、装置A,B,C,D)のうち未処理の装置40があれば(S35のNo)、未処理の装置40に対し、S33以降の処理を行う。また、到達性情報132に示される到達可能装置のうち、まだ到達性情報132に示される宛先アドレスのうち、到達可能装置が2以上いずれかのリングの装置群に属していないものがあるとき(S36のNo)、S31以降の処理を実行する。   On the other hand, if there is an unprocessed device 40 among the devices 40 (for example, devices A, B, C, and D) constituting the ring searched in S31 (No in S35), the process after S33 is performed on the unprocessed device 40. Perform the process. Further, among the reachable devices indicated in the reachability information 132, among the destination addresses indicated in the reachability information 132, there are those whose reachable devices do not belong to any of the ring device groups (2 or more) ( No in S36), the processing after S31 is executed.

このようにすることで、経路表作成装置10Bは、経路表133の作成にあたり、各装置40の現用リンクと予備リンクとをリング上での向きで決定するので、経路表作成の処理負荷を軽減できる。   By doing so, the routing table creation device 10B determines the working link and the backup link of each device 40 in the direction on the ring when creating the routing table 133, thereby reducing the processing load for creating the routing table. it can.

<第4の実施の形態>
次に、第4の実施の形態を説明する。前記した実施の形態と同様の構成要素は、同じ符号を付して説明を省略する。第4の実施の形態の経路表作成装置10Cは、図10(a)に示すように、経路表計算を行うとき、まず、到達性情報132(図10(b)参照)およびトポロジ情報131(図10(c)参照)を参照して宛先グループを計算することを特徴とする。この宛先グループとは、同じ装置40の集合から到達可能な宛先アドレス群をまとめたものである。そして、その宛先グループを用いて転送先計算を行い、各装置40の転送先を示した経路表133を作成する。
<Fourth embodiment>
Next, a fourth embodiment will be described. Constituent elements similar to those of the above-described embodiment are denoted by the same reference numerals and description thereof is omitted. As shown in FIG. 10A, the route table creation apparatus 10C according to the fourth embodiment first performs reachability information 132 (see FIG. 10B) and topology information 131 (see FIG. 10B). The destination group is calculated with reference to FIG. 10C). This destination group is a group of destination addresses that can be reached from the same set of devices 40. Then, transfer destination calculation is performed using the destination group, and a route table 133 indicating the transfer destination of each device 40 is created.

この宛先グループの計算について、具体例を用いて説明すると、例えば、経路表作成装置10Cが、図10(b)に示す到達性情報132を参照して、図1(b)に示す通信ネットワークの経路計算を行う場合を考える。この場合、図10(b)の到達性情報132には、装置A,Bともに到達可能な宛先アドレスとしてd1,d2が設定されているので、宛先グループは、d1,d2となる。そして、経路表作成装置10Cは、始点装置となる装置40から、この宛先グループの宛先アドレス(宛先アドレスd1,d2)への現用経路と予備経路とを計算する。このように、経路表作成装置10Cは、宛先グループ単位で経路計算を行うので、宛先アドレス単位で経路計算を行う必要がなくなる。これにより、経路表作成の処理負荷を軽減できる。   The calculation of the destination group will be described using a specific example. For example, the routing table creation device 10C refers to the reachability information 132 shown in FIG. 10B, and the communication network shown in FIG. Consider the case where route calculation is performed. In this case, d1 and d2 are set as reachable addresses for both apparatuses A and B in the reachability information 132 in FIG. 10B, and the destination groups are d1 and d2. Then, the routing table creation device 10C calculates the working route and the backup route from the device 40 serving as the starting point device to the destination address (destination address d1, d2) of this destination group. In this way, the route table creation apparatus 10C performs route calculation in units of destination groups, so that it is not necessary to perform route calculation in units of destination addresses. Thereby, the processing load for creating the routing table can be reduced.

このような経路表作成装置10Cの処理部12は、図11に示すように、装置選択部121Cと、リンク選択部122と、経路表作成部123Cと、宛先グループ計算部127と、経路表送信部124とを備える。その他の構成は、前記した経路表作成装置10と同様なので説明を省略する。   As shown in FIG. 11, the processing unit 12 of the routing table creation apparatus 10C has a device selection unit 121C, a link selection unit 122, a routing table creation unit 123C, a destination group calculation unit 127, and a routing table transmission. Part 124. Other configurations are the same as those of the routing table creation apparatus 10 described above, and thus the description thereof is omitted.

装置選択部121Cは、宛先グループ計算部127で計算された宛先グループごとに、到達性情報132を参照して、当該宛先グループの宛先アドレスへの到達可能装置群の中から、現用装置と予備装置とを選択する。例えば、図10(b)に示す到達性情報132において、宛先アドレスd1,d2への到達可能装置は、装置A,Bであるので、装置選択部121Cは、これらの装置のうち、装置Aを現用装置として選択する。また、装置Bを予備装置として選択する。そして、装置選択部121Cは、この現用装置と予備装置との識別情報をリンク選択部122へ出力する。   The device selection unit 121C refers to the reachability information 132 for each destination group calculated by the destination group calculation unit 127, and selects a working device and a spare device from among a group of devices that can reach the destination address of the destination group. And select. For example, in the reachability information 132 shown in FIG. 10B, the devices that can reach the destination addresses d1 and d2 are the devices A and B. Therefore, the device selection unit 121C selects the device A among these devices. Select as the working device. Also, the device B is selected as a spare device. Then, the device selection unit 121C outputs the identification information between the active device and the standby device to the link selection unit 122.

経路表作成部123Cは、始点装置(例えば、装置A,B,C,D)それぞれについて、宛先グループ(例えば、宛先アドレスd1,d2)への現用リンクおよび予備リンクを示した経路表133(図10(d)参照)を作成する。   The routing table creation unit 123C has a routing table 133 (for example, devices A, B, C, and D) indicating a working link and a protection link to a destination group (for example, destination addresses d1 and d2) for each of the start point devices (for example, devices A, B, C, and D) 10 (d)).

宛先グループ計算部127は、到達性情報132に、(1)宛先アドレスが複数ある到達可能装置が複数登録され、かつ、(2)その到達可能装置間で宛先アドレス群の少なくとも一部が同じであるとき、その到達可能装置それぞれに設定された宛先アドレスの集合である宛先グループを求める。例えば、図10(b)の到達性情報132上で、宛先アドレスが複数ある到達可能装置(装置40)は装置A,Bである。そして、その装置A,Bの宛先アドレスはいずれもd1,d2なので、宛先グループは、宛先アドレスd1,d2となる。宛先グループ計算部127は、この計算した宛先グループを、装置選択部121Cへ出力する。   The destination group calculation unit 127 registers (1) a plurality of reachable devices having a plurality of destination addresses in the reachability information 132, and (2) at least a part of the destination address group is the same among the reachable devices. At one time, a destination group that is a set of destination addresses set for each reachable device is obtained. For example, the reachable devices (devices 40) having a plurality of destination addresses on the reachability information 132 in FIG. 10B are devices A and B. Since the destination addresses of the devices A and B are both d1 and d2, the destination group is the destination addresses d1 and d2. The destination group calculation unit 127 outputs the calculated destination group to the device selection unit 121C.

<処理手順>
次に、図10,11を参照しつつ、図12を用いて、経路表作成装置10Cの処理手順を説明する。
<Processing procedure>
Next, the processing procedure of the routing table creation device 10C will be described with reference to FIGS.

まず、図11の経路表作成装置10Cの宛先グループ計算部127は、到達性情報132に示される装置40の中から、同じ装置40の集合(装置A,B)から到達可能な宛先アドレスの集合である宛先グループ(宛先アドレスd1,d2)を計算する(S41)。   First, the destination group calculation unit 127 of the routing table creation device 10C of FIG. 11 sets a destination address that can be reached from the same set of devices 40 (devices A and B) among the devices 40 indicated in the reachability information 132. The destination group (destination address d1, d2) is calculated (S41).

次に、装置選択部121Cは、到達性情報132を参照して、ある宛先グループに対するすべての到達可能装置を抽出する(S42)。例えば、図10(b)の到達性情報132上で、宛先グループ(宛先アドレスd1,d2)に対する到達可能装置は装置A,Bなので、装置A,Bを抽出する。   Next, the device selection unit 121C refers to the reachability information 132 and extracts all reachable devices for a certain destination group (S42). For example, on the reachability information 132 in FIG. 10B, since the reachable devices for the destination group (destination addresses d1, d2) are the devices A and B, the devices A and B are extracted.

そして、装置選択部121Cは、S42で抽出した装置40(例えば、装置A,B)の中から、現用装置(例えば、装置A)および予備装置(例えば、装置B)を選択する(S43)。   Then, the device selection unit 121C selects an active device (for example, device A) and a standby device (for example, device B) from the devices 40 (for example, devices A and B) extracted in S42 (S43).

次に、リンク選択部122は、図4のS13と同様に、現用装置に到達するための現用リンクと、予備装置に到達するための予備リンクとを選択する(S44)。つまり、リンク選択部122は、トポロジ情報131(図10(c)参照)に示される装置40それぞれについて、当該装置40(例えば、装置C)を始点装置としたとき、この始点装置から現用装置(例えば、装置A)に到達するための現用リンク(例えば、リンク#2)を選択する。また、この始点装置から予備装置(例えば、装置B)に到達するための予備リンク(例えば、リンク#4)とを選択する。選択された始点装置(例えば、装置C)の宛先グループ(宛先アドレスd1,d2)への現用リンク(例えば、リンク#2)および予備リンク(例えば、リンク#4)は、経路表作成部123が、当該始点装置の経路表133(図10(d)の装置Cの経路表133参照)に記憶する。   Next, similarly to S13 of FIG. 4, the link selection unit 122 selects a working link for reaching the working device and a spare link for reaching the spare device (S44). That is, for each device 40 indicated in the topology information 131 (see FIG. 10C), the link selection unit 122 determines that the device 40 (for example, device C) is the starting device, and the active device ( For example, a working link (for example, link # 2) for reaching device A) is selected. In addition, a backup link (for example, link # 4) for reaching the backup device (for example, device B) from this starting point device is selected. The routing table creation unit 123 sets the working link (for example, link # 2) and the spare link (for example, link # 4) to the destination group (destination address d1, d2) of the selected start point device (for example, device C). And stored in the route table 133 of the starting point device (see the route table 133 of the device C in FIG. 10D).

S44の後、トポロジ情報131に示されるすべての装置40について処理を終了し(S45のYes)、かつ、S41で計算したすべての宛先グループについて処理を終了していれば(S46のYes)、経路表作成処理を終了する。   After S44, the process is completed for all the devices 40 indicated in the topology information 131 (Yes in S45), and the process is completed for all the destination groups calculated in S41 (Yes in S46). The table creation process ends.

一方、トポロジ情報131に示される装置40のうち、未処理の装置40があれば(S45のNo)、装置選択部121Cは、この未処理の装置40に対し、S42以降の処理を行う。また、未処理の宛先グループがあれば(S46のNo)、装置選択部121Cは、その未処理の宛先グループについてS41以降の処理を実行する。   On the other hand, if there is an unprocessed device 40 among the devices 40 indicated in the topology information 131 (No in S45), the device selection unit 121C performs the processing from S42 on this unprocessed device 40. If there is an unprocessed destination group (No in S46), the device selection unit 121C executes the processing from S41 on for the unprocessed destination group.

このように経路表作成装置10Cは、宛先グループを対象に現用リンクおよび予備リンクを求めるので、宛先アドレスごとに現用リンクおよび予備リンクを求める必要がなくなる。これにより、経路表作成の処理負荷を軽減できる。   Thus, since the routing table creation device 10C obtains the working link and the protection link for the destination group, it is not necessary to obtain the working link and the protection link for each destination address. Thereby, the processing load for creating the routing table can be reduced.

10,10A,10B,10C 経路表作成装置
11 入出力部
12 処理部
13 記憶部
20 ネットワーク情報取得装置
40 装置
121,121A,121C 装置選択部
122,122A,122B,122C リンク選択部
123,123C 経路表作成部
124 経路表送信部
125 リング探索部
126 宛先アドレス抽出部
127 宛先グループ計算部
131,131A トポロジ情報
132 到達性情報
133 経路表
10, 10A, 10B, 10C Route table creation device 11 Input / output unit 12 Processing unit 13 Storage unit 20 Network information acquisition device 40 Device 121, 121A, 121C Device selection unit 122, 122A, 122B, 122C Link selection unit 123, 123C Route Table creation unit 124 Route table transmission unit 125 Ring search unit 126 Destination address extraction unit 127 Destination group calculation unit 131, 131A Topology information 132 Reachability information 133 Route table

Claims (8)

網内の各装置においてパケットの転送処理に用いられる経路表を作成する経路表作成装置であって、
宛先アドレスごとに、当該宛先アドレスの装置またはサブネットワークへ到達可能な装置の識別情報を示した到達性情報と、前記ネットワークを構成する各装置の接続状態および前記各装置を接続するリンクを示したトポロジ情報との入力を受け付け、記憶部に記憶する入力部と、
前記到達性情報に示される宛先アドレスごとに、当該宛先アドレスへ到達可能な装置群の中から、現用装置と予備装置とを選択する装置選択部と、
前記トポロジ情報に示される装置それぞれについて、当該装置を始点装置としたとき、前記始点装置から当該宛先アドレスへ到達可能な前記現用装置への現用経路と、前記始点装置から当該宛先アドレスへ到達可能な前記予備装置への予備経路とを計算し、前記トポロジ情報を参照して、前記始点装置が前記現用経路で用いるリンクである現用リンクと、前記予備経路で用いるリンクである予備リンクとを選択するリンク選択部と、
前記始点装置それぞれについて、前記宛先アドレスごとに、当該宛先アドレスへの前記現用リンクおよび前記予備リンクを示した経路表を作成する経路表作成部と、
前記作成した経路表を、前記始点装置である各装置へ送信する出力部とを備えることを特徴とする経路表作成装置。
A routing table creation device that creates a routing table used for packet transfer processing in each device in the network,
For each destination address, the reachability information indicating the identification information of the device of the destination address or the device that can reach the subnetwork, the connection state of each device constituting the network, and the link connecting the devices are shown. An input unit that receives input of topology information and stores it in the storage unit;
For each destination address indicated in the reachability information, a device selection unit that selects a working device and a standby device from a group of devices that can reach the destination address;
For each device indicated in the topology information, when the device is a starting point device, the working path from the starting point device to the working device that can reach the destination address, and the destination device can reach the destination address The spare route to the spare device is calculated, and the topology information is referred to, and the working link that is the link used by the starting device in the working route and the spare link that is the link used in the spare route are selected. A link selector,
For each of the start point devices, for each destination address, a routing table creation unit that creates a routing table showing the working link and the backup link to the destination address;
An output unit that transmits the created route table to each device that is the starting point device.
網内の各装置においてパケットの転送処理に用いられる経路表を作成する経路表作成装置であって、
宛先アドレスごとに、当該宛先アドレスの装置またはサブネットワークへ到達可能な装置の識別情報を示した到達性情報と、前記ネットワークを構成する各装置の接続状態および前記各装置を接続するリンクならびに当該リンクが現用経路に用いられる現用リンクである場合、当該リンクに対する予備リンクの識別情報を含むトポロジ情報との入力を受け付け、記憶部に記憶する入力部と、
前記到達性情報に示される宛先アドレスごとに、当該宛先アドレスへ到達可能な装置群の中から、現用装置を選択する装置選択部と、
前記トポロジ情報に示される装置それぞれについて、当該装置を始点装置としたとき、前記始点装置から当該宛先アドレスへ到達可能な前記現用装置への現用経路を計算し、前記トポロジ情報を参照して、前記始点装置が前記現用経路に用いる現用リンクを選択し、前記トポロジ情報において前記選択した現用リンクに対する予備リンクを選択するリンク選択部と、
前記始点装置それぞれについて、前記宛先アドレスごとに、当該宛先アドレスへの前記現用リンクおよび前記予備リンクを示した経路表を作成する作成する経路表作成部と、
前記作成した経路表を、前記始点装置である各装置へ送信する出力部とを備えることを特徴とする経路表作成装置。
A routing table creation device that creates a routing table used for packet transfer processing in each device in the network,
For each destination address, reachability information indicating identification information of a device at the destination address or a device that can reach the subnetwork, a connection state of each device configuring the network, a link connecting the devices, and the link Is a working link used for the working route, an input unit that receives input of topology information including identification information of a protection link for the link, and stores it in a storage unit;
For each destination address indicated in the reachability information, a device selection unit that selects a working device from a group of devices that can reach the destination address; and
For each of the devices indicated in the topology information, when the device is a starting device, calculate a working path from the starting device to the working device that can reach the destination address, refer to the topology information, and A link selection unit that selects a working link used by the starting point device for the working route, and selects a backup link for the selected working link in the topology information;
For each of the start point devices, for each destination address, a route table creation unit that creates a route table indicating the working link and the backup link to the destination address;
An output unit that transmits the created route table to each device that is the starting point device.
網内の各装置においてパケットの転送処理に用いられる経路表を作成する経路表作成装置であって、
宛先アドレスごとに、当該宛先アドレスの装置またはサブネットワークへ到達可能な装置の識別情報を示した到達性情報と、前記ネットワークを構成する各装置の接続状態および前記各装置を接続するリンクを示したトポロジ情報との入力を受け付け、記憶部に記憶する入力部と、
前記到達性情報に示される同じ宛先アドレスへの到達可能装置が2つ以上いずれかのリングに含まれるまで、前記トポロジ情報を参照して、前記リングを構成する装置群を探索するリング探索部と、
前記到達性情報を参照して、前記リングを構成する装置群ごとに、当該装置群がエッジノードとなっている宛先アドレス群を抽出する宛先アドレス抽出部と、
前記トポロジ情報を参照して、前記リングを構成する装置群の装置それぞれについて、当該装置を始点装置としたとき、(1)当該装置群により構成されるリングにおいて第1の回転方向の装置に接続されるリンクを現用リンクとして選択し、(2)当該リングにおいて第1の回転方向と逆の回転方向の装置に接続されるリンクを予備リンクとして選択するリンク選択部と、
前記始点装置それぞれについて、前記宛先アドレス群に示される宛先アドレスごとに、当該宛先アドレスへの前記現用リンクおよび前記予備リンクを示した経路表を作成する作成する経路表作成部と、
前記作成した経路表を、前記始点装置である各装置へ送信する出力部とを備えることを特徴とする経路表作成装置。
A routing table creation device that creates a routing table used for packet transfer processing in each device in the network,
For each destination address, the reachability information indicating the identification information of the device of the destination address or the device that can reach the subnetwork, the connection state of each device constituting the network, and the link connecting the devices are shown. An input unit that receives input of topology information and stores it in the storage unit;
A ring search unit that searches for a group of devices constituting the ring with reference to the topology information until two or more devices reachable to the same destination address indicated in the reachability information are included in any one of the rings; ,
With reference to the reachability information, for each device group that constitutes the ring, a destination address extraction unit that extracts a destination address group in which the device group is an edge node;
Referring to the topology information, for each device in the device group that constitutes the ring, when the device is a starting point device, (1) connected to the device in the first rotation direction in the ring constituted by the device group A link selection unit that selects, as a working link, (2) a link that is connected to a device having a rotation direction opposite to the first rotation direction in the ring as a backup link;
For each of the start point devices, for each destination address indicated in the destination address group, a route table creation unit for creating a route table showing the working link and the backup link to the destination address;
An output unit that transmits the created route table to each device that is the starting point device.
網内の各装置においてパケットの転送処理に用いられる経路表を作成する経路表作成装置であって、
宛先アドレスごとに、当該宛先アドレスの装置またはサブネットワークへ到達可能な装置の識別情報を示した到達性情報と、前記ネットワークを構成する各装置の接続状態および前記各装置を接続するリンクを示したトポロジ情報との入力を受け付け、記憶部に記憶する入力部と、
前記到達性情報に、前記宛先アドレスが複数ある装置が複数登録され、かつ、当該装置間で前記設定された宛先アドレス群の少なくとも一部が同じであるとき、当該装置それぞれの宛先アドレスの集合である宛先グループを計算する宛先グループ計算部と、
前記到達性情報に示される宛先アドレスごとに、当該宛先アドレスへ到達可能な装置群の中から、現用装置と予備装置とを選択する装置選択部と、
前記トポロジ情報に示される装置それぞれについて、当該装置を始点装置としたとき、前記始点装置から当該宛先アドレスに到達可能な前記現用装置への現用経路と、前記始点装置から当該宛先アドレスに到達可能な前記予備装置への予備経路とを計算し、前記トポロジ情報を参照して、前記始点装置が前記現用経路で用いるリンクである現用リンクと、前記予備経路で用いるリンクである予備リンクとを選択するリンク選択部と、
前記始点装置それぞれについて、前記計算した宛先グループの宛先アドレスごとに、当該宛先グループの宛先アドレスへの前記現用リンクおよび前記予備リンクを示した経路表を作成する経路表作成部と、
前記作成した経路表を、前記始点装置である各装置へ送信する出力部とを備えることを特徴とする経路表作成装置。
A routing table creation device that creates a routing table used for packet transfer processing in each device in the network,
For each destination address, the reachability information indicating the identification information of the device of the destination address or the device that can reach the subnetwork, the connection state of each device constituting the network, and the link connecting the devices are shown. An input unit that receives input of topology information and stores it in the storage unit;
When a plurality of devices having a plurality of the destination addresses are registered in the reachability information and at least a part of the set destination addresses among the devices is the same, a set of destination addresses of the devices A destination group calculator for calculating a destination group;
For each destination address indicated in the reachability information, a device selection unit that selects a working device and a standby device from a group of devices that can reach the destination address;
For each of the devices indicated in the topology information, when the device is a starting point device, the working path from the starting point device to the working device that can reach the destination address, and the destination device can reach the destination address The spare route to the spare device is calculated, and the topology information is referred to, and the working link that is the link used by the starting device in the working route and the spare link that is the link used in the spare route are selected. A link selector,
For each of the start point devices, for each destination address of the calculated destination group, a route table creation unit that creates a route table indicating the working link and the spare link to the destination address of the destination group;
An output unit that transmits the created route table to each device that is the starting point device.
前記リンク選択部は、
前記現用経路および予備経路を計算するとき、
前記トポロジ情報を参照して、ホップ数またはリンクコストが最小となる経路を計算することを特徴とする請求項1、請求項2および請求項4のいずれか1項に記載の経路表作成装置。
The link selection unit
When calculating the working route and the backup route,
5. The route table creation apparatus according to claim 1, wherein a route that minimizes the number of hops or a link cost is calculated with reference to the topology information.
前記リンク選択部は、
前記現用経路および予備経路を計算するとき、
前記トポロジ情報を参照して、前記現用経路および予備経路が互いに、同じ装置またはリンクを経由しない経路を選択することを特徴とする請求項1、請求項2および請求項4のいずれか1項に記載の経路表作成装置。
The link selection unit
When calculating the working route and the backup route,
5. The route according to claim 1, wherein the working route and the backup route select a route that does not pass through the same device or link with reference to the topology information. The described routing table creation device.
前記装置選択部は、
前記現用装置を選択するとき、前記トポロジ情報を参照して、当該宛先アドレスへのホップ数またはリンクコストが最小の装置を選択することを特徴とする請求項3に記載の経路表作成装置。
The device selector is
4. The route table creation apparatus according to claim 3, wherein when the active device is selected, a device with the smallest number of hops or link cost to the destination address is selected with reference to the topology information.
網内の各装置においてパケットの転送処理に用いられる経路表を作成する経路表作成装置が、
宛先アドレスごとに、当該宛先アドレスの装置またはサブネットワークへ到達可能な装置の識別情報を示した到達性情報と、前記ネットワークを構成する各装置の接続状態および前記各装置を接続するリンクを示したトポロジ情報との入力を受け付け、記憶部に記憶するステップと、
前記到達性情報に示される宛先アドレスごとに、当該宛先アドレスへパケットを転送するエッジノードの装置群の中から、現用装置と予備装置とを選択するステップと、、
前記トポロジ情報に示される装置それぞれについて、当該装置を始点装置としたとき、前記始点装置から前記現用装置への現用経路と、前記始点装置から前記予備装置への予備経路とを計算し、前記トポロジ情報を参照して、前記始点装置が前記現用経路で用いるリンクである現用リンクおよび前記予備経路で用いるリンクである予備リンクを選択するステップと、
前記始点装置それぞれについて、前記宛先アドレスごとに、当該宛先アドレスへの前記現用リンクおよび前記予備リンクを示した経路表を作成するステップと、
前記作成した経路表を、前記始点装置である各装置へ送信するステップとを実行する経路表作成方法。
A routing table creation device that creates a routing table used for packet transfer processing in each device in the network,
For each destination address, the reachability information indicating the identification information of the device of the destination address or the device that can reach the subnetwork, the connection state of each device constituting the network, and the link connecting the devices are shown. Receiving input of topology information and storing it in a storage unit;
For each destination address indicated in the reachability information, selecting a working device and a spare device from a group of edge nodes that transfer packets to the destination address; and
For each of the devices indicated in the topology information, when the device is a starting point device, a working route from the starting point device to the working device and a backup route from the starting point device to the spare device are calculated, and the topology Referring to information, selecting a working link that is a link used by the starting point device in the working route and a spare link that is a link used in the backup route;
For each of the start point devices, for each destination address, creating a routing table indicating the working link and the backup link to the destination address;
And a step of transmitting the created routing table to each device as the starting point device.
JP2010192956A 2010-08-30 2010-08-30 Routing table creation device and routing table creation method Expired - Fee Related JP5421880B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010192956A JP5421880B2 (en) 2010-08-30 2010-08-30 Routing table creation device and routing table creation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010192956A JP5421880B2 (en) 2010-08-30 2010-08-30 Routing table creation device and routing table creation method

Publications (2)

Publication Number Publication Date
JP2012050045A true JP2012050045A (en) 2012-03-08
JP5421880B2 JP5421880B2 (en) 2014-02-19

Family

ID=45904343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010192956A Expired - Fee Related JP5421880B2 (en) 2010-08-30 2010-08-30 Routing table creation device and routing table creation method

Country Status (1)

Country Link
JP (1) JP5421880B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003143145A (en) * 2001-10-31 2003-05-16 Nec Corp Fault recovery method, path setting method, communication network, centralized controller used for the same, and node equipment
JP2004080211A (en) * 2002-08-13 2004-03-11 Nippon Telegr & Teleph Corp <Ntt> Path control method and apparatus, path control program, and storage medium stored with path control program
JP2005236881A (en) * 2004-02-23 2005-09-02 Nippon Telegr & Teleph Corp <Ntt> Bgp path information management system and program thereof
JP2006262293A (en) * 2005-03-18 2006-09-28 Fujitsu Ltd Transmission apparatus and free label search method
JP2008099297A (en) * 2006-10-16 2008-04-24 Fujitsu Ltd System and method for establishing protected connection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003143145A (en) * 2001-10-31 2003-05-16 Nec Corp Fault recovery method, path setting method, communication network, centralized controller used for the same, and node equipment
JP2004080211A (en) * 2002-08-13 2004-03-11 Nippon Telegr & Teleph Corp <Ntt> Path control method and apparatus, path control program, and storage medium stored with path control program
JP2005236881A (en) * 2004-02-23 2005-09-02 Nippon Telegr & Teleph Corp <Ntt> Bgp path information management system and program thereof
JP2006262293A (en) * 2005-03-18 2006-09-28 Fujitsu Ltd Transmission apparatus and free label search method
JP2008099297A (en) * 2006-10-16 2008-04-24 Fujitsu Ltd System and method for establishing protected connection

Also Published As

Publication number Publication date
JP5421880B2 (en) 2014-02-19

Similar Documents

Publication Publication Date Title
US10778564B2 (en) Proxy of routing protocols to redundant controllers
US8842522B2 (en) Incremental deployment of MRT based IPFRR
JP6085263B2 (en) Relay node and route control method
US8456982B2 (en) System and method for fast network restoration
EP2761832B1 (en) Optimizing endpoint selection of mrt-frr detour paths
JPWO2011083780A1 (en) Communication system, control device, processing rule setting method, packet transmission method and program
JP5625121B2 (en) Prioritizing routing information updates
US10320653B2 (en) Route topology discovery in data networks
JP6204168B2 (en) Transfer device, server, and route change method
WO2014048339A1 (en) Routing update method, switch and system
JPWO2018047943A1 (en) Communication system, edge node, communication method and program
US8750166B2 (en) Route topology discovery in data networks
JP6044706B2 (en) Control device, communication system, communication node control method and program
JP5421880B2 (en) Routing table creation device and routing table creation method
JP2013176021A (en) Micro loop prevention setting method, communication system and micro loop prevention device
JP6264469B2 (en) Control device, communication system, and control method of relay device
JP5338947B2 (en) Router
CN117640512A (en) Communication method and device
MEENAKSHI Study and Analysis of Techniques for Development of Quality of Service in Networks
Tian et al. One-hop overlay path recovery model with super-relay nodes
JP2020047968A (en) Transfer device and transfer method
JP2009246802A (en) Router

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120928

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20130201

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130726

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130903

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131021

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: 20131119

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131122

R150 Certificate of patent or registration of utility model

Ref document number: 5421880

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees