[go: up one dir, main page]

JP4533354B2 - Route calculation method, route calculation program, and route calculation device - Google Patents

Route calculation method, route calculation program, and route calculation device Download PDF

Info

Publication number
JP4533354B2
JP4533354B2 JP2006231057A JP2006231057A JP4533354B2 JP 4533354 B2 JP4533354 B2 JP 4533354B2 JP 2006231057 A JP2006231057 A JP 2006231057A JP 2006231057 A JP2006231057 A JP 2006231057A JP 4533354 B2 JP4533354 B2 JP 4533354B2
Authority
JP
Japan
Prior art keywords
route
section
overlap
node
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006231057A
Other languages
Japanese (ja)
Other versions
JP2008054233A (en
Inventor
理恵 林
英司 大木
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 JP2006231057A priority Critical patent/JP4533354B2/en
Publication of JP2008054233A publication Critical patent/JP2008054233A/en
Application granted granted Critical
Publication of JP4533354B2 publication Critical patent/JP4533354B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、inclusive route指定した場合の経路計算技術に関する。   The present invention relates to a route calculation technique when an inclusive route is designated.

近年、ネットワークの高速大容量化に伴い、音声・映像のストリーミングサービスが普及している。これらのサービスを提供するアプリケーションには、遅延やパケットロスによる品質劣化を防ぐために、QoS(Quality of Service)制約と充分な帯域が与えられる必要がある。   In recent years, audio / video streaming services have become widespread with the increase in network speed and capacity. Applications that provide these services need to be provided with QoS (Quality of Service) restrictions and sufficient bandwidth in order to prevent quality degradation due to delay and packet loss.

ここで、限りある帯域を効率よく利用し、かつ、要求されるQoSに対応できるような経路を設定するため、ネットワーク内のサーバまたはルータにはCSPF(Constrained Shortest Path First)機能が備えられている。このCSPF機能とは、シグナリング情報をやりとりするモジュール等、外部からの要求に基づいて、制約を満たすパスの経路を計算し、外部に対して経路を回答する機能、つまり制約付きの最短経路(リンクコストが最小になる経路)の計算を行う機能である。なお、このようなCSPF機能を実現するCSPFアルゴリズムとしては、dijkstraアルゴリズムがある(非特許文献1参照)。   Here, a server or router in the network is equipped with a Constrained Shortest Path First (CSPF) function in order to set up a route that can efficiently use a limited bandwidth and support the required QoS. . The CSPF function is a function that calculates a path of a path that satisfies a constraint based on a request from the outside such as a module that exchanges signaling information, and answers the path to the outside, that is, a shortest path with a constraint (link This is a function for calculating a route with the lowest cost. In addition, as a CSPF algorithm which implement | achieves such a CSPF function, there exists a dijkstra algorithm (refer nonpatent literature 1).

ここで、限られたネットワーク資源の有効活用や、QoS制御、または事業者の運用上の都合のため、パス設定時に必ず経由すべき箇所を指定する(inclusive route指定する)場合がある。このinclusive route指定を考慮して経路計算を行うとき、始点ノードと指定ノード(inclusive route指定したノード)1、指定ノード1と指定ノード2、以下同様に指定ノードNと終点ノード、という具合に区間に分けて、各区間独立に経路計算を行い、最後にそれら経路を足し合わせることでend-to-endの経路を得ている。
Dijkstra's algorithm 、[online]、[2006年8月20日検索]、インターネット、<URL:http://en.wikipedia.org/wiki/Dijkstra's_algorithm>
Here, for effective use of limited network resources, QoS control, or operational convenience of the operator, there are cases where a location that should always be passed at the time of path setting is specified (inclusive route specification). When performing route calculation in consideration of this inclusive route specification, the start node and specified node (node with inclusive route specification) 1, specified node 1 and specified node 2, and so on, specified node N and end node, and so on The route is calculated independently for each section, and the end-to-end route is obtained by adding the routes at the end.
Dijkstra's algorithm, [online], [searched August 20, 2006], Internet, <URL: http://en.wikipedia.org/wiki/Dijkstra's_algorithm>

しかし、経路計算において、前記したinclusive route指定がされた場合、単純に、各区間毎にdijkstraアルゴリズムだけを用いて最短経路を発見しようとすると、始点ノードから終点ノードまでの経路で経路重複が発生する場合がある。この問題を、図7を用いて説明する。   However, in the route calculation, when the above-mentioned inclusive route is specified, if an attempt is made to find the shortest route using only the dijkstra algorithm for each section, route overlap occurs from the start node to the end node. There is a case. This problem will be described with reference to FIG.

通常、経路計算ではメトリックと呼ばれる値が用いられる。メトリックとはネットワーク内のリンク毎に与えられるコスト(リンクコスト)であり、このリンクコストの総和が最小となるような経路を発見(計算)するのが、CSPFの基本である。図7に例示するネットワークにおいて、inclusive node(中継ノード)としてノード2Cが選択された場合、経路計算装置6は、前記したdijkstraアルゴリズムだけを用いて最短経路を計算(探索)すると、もっともリンクコストの総和が少ないノード2A→ノード2B→ノード2C→ノード2B→ノード2D(実線の経路)を発見する。しかし、この経路は、ノード2B→ノード2Cの経路と、ノード2C→ノード2Bの経路とが重複しているため、経路計算装置6はこの経路にパス設定をすることはできない。   Normally, a value called a metric is used in route calculation. The metric is a cost (link cost) given to each link in the network, and the basis of the CSPF is to find (calculate) a route that minimizes the sum of the link costs. In the network illustrated in FIG. 7, when the node 2C is selected as an inclusive node (relay node), the route calculation device 6 calculates (searches) the shortest route using only the dijkstra algorithm described above. A node 2A → node 2B → node 2C → node 2B → node 2D (solid line route) with a small sum is found. However, since the route from the node 2B to the node 2C and the route from the node 2C to the node 2B overlap in this route, the route calculation device 6 cannot set the path to this route.

つまり、経路計算装置6がパス設定をするためには、経路重複がない経路、例えば、図7のノード2A→ノード2B→ノード2C→ノード2Dという経路(破線の経路)を選択しなければならない。また、図7に例示するネットワークのように、経路重複のない経路の組み合わせが複数考えられる場合、これらの中からできるだけリンクコストが小さい経路を選択するのが、経路設定上、好ましい。   That is, in order for the route calculation device 6 to set a path, it is necessary to select a route having no route overlap, for example, a route of node 2A → node 2B → node 2C → node 2D in FIG. . Further, when there are a plurality of combinations of routes that do not have overlapping routes as in the network illustrated in FIG. 7, it is preferable in terms of route setting to select a route having a link cost as low as possible.

そこで、本発明は、前記した問題を解決し、inclusive route指定をした場合、始点ノードから終点ノードまでの経路で経路重複がなく、かつ、できるだけリンクコストが小さくなる経路を計算する手段を提供することを目的とする。   Therefore, the present invention provides a means for solving the above-described problems and calculating a route that has no route overlap and has a link cost that is as small as possible when the inclusive route is specified. For the purpose.

前記した課題を解決するため、請求項1に記載の発明は、各種データの入出力を司る入出力部と、ネットワークを構成するノードのトポロジ情報および前記ノードを接続するリンクのリンクコスト情報を記憶する記憶部と、前記トポロジ情報および前記リンクコスト情報を参照して経路計算を行う処理部とを備える経路計算装置が、前記入出力部経由で、前記ネットワーク内の始点ノードから終点ノードまでの経路で経由する中継ノードの識別情報の入力を受け付ける中継ノード入力ステップと、前記中継ノードにより、前記始点ノードから終点ノードまでの経路を複数の区間に分割する区間分割ステップと、前記リンクコスト情報を参照して、前記分割された区間毎に、当該区間におけるリンクコストが最小となる最短経路を計算し、前記計算した各区間毎の最短経路を前記記憶部に記憶する経路計算ステップと、前記最短経路同士で、経路重複があるか否かを判断する第1の経路重複判断ステップと、前記第1の経路重複判断ステップにおいて、前記最短経路同士で、経路重複があったとき、前記トポロジ情報を参照して、前記区間毎にとりうる経路候補を計算し、前記計算した各区間毎の経路候補を、前記記憶部に記憶する経路候補計算ステップと、前記記憶部から、前記経路重複が発見された区間それぞれにおける経路候補を読み出し、前記読み出した経路候補の中から、前記経路重複が発見された区間同士で、経路重複のない経路の組み合わせを探索し、その経路重複のない経路の組み合わせの中から、リンクコストが最小となる経路の組み合わせを選択し、前記経路重複が発見された区間の経路を、前記選択した経路に置き換えて出力する経路組み合わせ探索ステップとを実行する経路計算方法とした。   In order to solve the above-described problems, the invention according to claim 1 stores an input / output unit that controls input / output of various data, topology information of nodes constituting a network, and link cost information of links connecting the nodes. A route calculation device comprising: a storage unit that performs a route calculation with reference to the topology information and the link cost information, and a route from a start node to an end node in the network via the input / output unit A relay node input step that receives input of identification information of a relay node that is routed through, a section division step that divides a route from the start node to an end node by the relay node into a plurality of sections, and the link cost information is referred to Then, for each of the divided sections, calculate the shortest path that minimizes the link cost in the section, A route calculation step for storing the calculated shortest route for each section in the storage unit, a first route overlap determination step for determining whether or not there is a route overlap between the shortest routes, and the first route In the overlap determination step, when there is a route overlap between the shortest routes, the topology information is referred to, a possible route candidate for each section is calculated, and the calculated route candidate for each section is stored in the memory A route candidate calculation step to be stored in the section, and from the storage section, the route candidates in each of the sections where the route duplication is found are read, and among the read route candidates, the sections in which the route duplication is found, A combination of routes having no route overlap is searched, a combination of routes having the lowest link cost is selected from the combination of routes having no route overlap, and the route overlap is selected. There the path of the found segment, and a route computation method to perform a route combination search step of outputting by replacing the selected route.

この経路計算方法によれば、経路計算装置は、inclusive route指定により中継ノードが指定された場合において、経由経路重複がなく、かつ、リンクコストが最小となる経路を計算することができる。   According to this route calculation method, the route calculation device can calculate a route that has no route overlap and has a minimum link cost when a relay node is specified by specifying an inclusive route.

請求項2に記載の発明は、請求項1に記載の経路計算方法における前記経路組み合わせ探索ステップにおいて、前記経路重複が発見された区間の中から、前記経路候補の経路への置き換えを行う区間を選択し、前記選択した区間における経路候補を、前記記憶部から読み出し、前記読み出した経路候補を、前記リンクコストが小さい順に選択し、前記区間の経路を前記選択した経路候補に置き換え、前記経路重複が発見された他の区間と重複しない経路の組み合わせを探索する経路計算方法とした。   According to a second aspect of the present invention, in the route combination search step of the route calculation method according to the first aspect, a section in which the path candidate is replaced with a path from among sections in which the path duplication is found is provided. Selecting, reading out the route candidates in the selected section from the storage unit, selecting the read out route candidates in ascending order of the link cost, replacing the route in the section with the selected route candidate, and overlapping the route This is a route calculation method for searching for a combination of routes that does not overlap with other sections where is found.

この経路計算方法によれば、経路計算装置は、経路重複が発見された区間において、まず、経路の置き換えを行う区間を選択する。そして、経路計算装置は、この選択した区間についてリンクコストが小さいものから順に経路を経路候補の経路に置き換えていき、経路重複が発見された他の区間と経路重複のない経路を探索する。従って、経路計算装置は、inclusive route指定により中継ノードが指定された場合において、少ない計算量で、経路重複がなく、かつ、リンクコストができるだけ小さい経路を計算することができる。   According to this route calculation method, the route calculation device first selects a section in which a route is to be replaced in a section where a route overlap is found. Then, the route calculation device replaces the route with the route candidate route in order from the one with the lowest link cost for the selected section, and searches for a route that does not overlap with another section in which route overlap is found. Therefore, when the relay node is designated by the inclusive route designation, the route calculation apparatus can calculate a route with a small calculation amount, no route duplication, and as low a link cost as possible.

請求項3に記載の発明は、請求項2に記載の経路計算方法における前記経路組み合わせ選択ステップにおいて、前記経路の置き換えを行う区間は、当該区間における前記経路候補数が多い区間から順に選択する経路計算方法とした。   According to a third aspect of the present invention, in the route combination selection step of the route calculation method according to the second aspect of the present invention, the route replacement route is a route that is selected in order from the route with the largest number of route candidates in the route. The calculation method was used.

この経路計算方法によれば、経路計算装置は、経路候補数が大きい区間から順に、経路の置き換えを行うので、経路重複のない経路を発見しやすくなる。   According to this route calculation method, the route calculation device performs route replacement in order from the section with the largest number of route candidates, so that it is easy to find a route having no route overlap.

請求項4に記載の発明は、請求項2に記載の経路計算方法における前記経路組み合わせ探索ステップにおいて、前記経路の置き換えを行う区間は、当該区間における前記最短経路のリンクコストが大きい区間から順に選択する経路計算方法とした。   According to a fourth aspect of the present invention, in the route combination search step of the route calculation method according to the second aspect, the sections to be replaced are selected in order from the section with the highest link cost of the shortest path in the section. The route calculation method is used.

この経路計算方法によれば、経路計算装置は、リンクコストが大きい区間から順に経路置き換えを行うので、経路重複のない経路を発見しやすくなる。例えば、このリンクコストが、当該区間のホップ数を用いて計算されたものである場合、リンクコストが大きい区間は、ホップ数も大きい区間である可能性が高い。すなわち、経路候補数が多い可能性が高い。従って、経路計算装置は、このようにリンクコストが大きい区間から順に経路置き換えを行えば、経路重複のない経路を発見しやすくなる。   According to this route calculation method, since the route calculation device performs route replacement in order from the section with the highest link cost, it is easy to find a route without route overlap. For example, when this link cost is calculated using the number of hops in the section, there is a high possibility that a section with a high link cost is a section with a large number of hops. That is, there is a high possibility that the number of route candidates is large. Therefore, if the route calculation device performs route replacement in order from the section with the highest link cost in this way, it becomes easier to find a route with no route overlap.

請求項5に記載の発明は、請求項2に記載の経路計算方法において、前記入出力部経由で、前記各区間毎のペナルティコストの入力を受け付け、前記入力された前記各区間毎のペナルティコストを前記記憶部に記憶するペナルティコスト入力ステップをさらに実行し、前記経路組み合わせ選択ステップにおいて、前記経路の置き換えを行う区間は、当該区間における前記ペナルティコストが大きい区間から順に選択する経路計算方法とした。   According to a fifth aspect of the present invention, in the route calculation method according to the second aspect, an input of a penalty cost for each section is received via the input / output unit, and the inputted penalty cost for each section is received. Further, a penalty cost input step is stored in the storage unit, and in the route combination selection step, the section in which the route is replaced is a route calculation method that selects in order from the section with the highest penalty cost in the section. .

この経路計算方法によれば、この経路計算装置のオペレータ等が、ペナルティコストを入力することで、経路計算装置に、オペレータが所望する区間から順に、経路置き換えを実行させることができる。   According to this route calculation method, an operator or the like of this route calculation device can input a penalty cost to cause the route calculation device to execute route replacement in order from the section desired by the operator.

請求項6に記載の発明は、請求項1ないし請求項5のいずれか1項に記載の経路計算方法の前記経路組み合わせ探索ステップにおいて置き換えられた経路が、前記経路重複を発見した区間以外の区間における経路と重複しているか否かを判断する第2の経路重複判断ステップをさらに実行し、前記第2の経路重複判断ステップにおいて、前記置き換えられた経路が、前記経路重複を発見した区間以外の区間における経路と重複していると判断されたとき、前記経路が重複していると判断された区間を対象として、前記経路組み合わせ探索ステップを再度実行する経路計算方法とした。   The invention described in claim 6 is a section other than the section in which the route replaced in the route combination search step of the route calculation method according to any one of claims 1 to 5 has found the route overlap. A second route duplication determination step for determining whether or not the route overlaps with a route in the second route duplication determination step, wherein in the second route duplication determination step, the replaced route is a section other than the section in which the route duplication is found. When it is determined that the route overlaps with a route in the section, the route combination searching method is performed again for the section in which the route is determined to overlap.

この経路計算方法によれば、最初の計算で経路重複が見つかった区間同士の経路重複が解消したが、それ以外の区間との間で経路重複が発生した場合、その区間との間で再度経路重複のない経路を探索する。従って、経路計算装置は、始点ノードから終点ノードまでの全区間で経路重複のない経路を発見することができる。なお、この経路計算方法は、中継ノードにより区切られる区間が、3つ以上であるときに特に有効である。   According to this route calculation method, route overlap between sections where route overlap was found in the first calculation has been resolved, but if route overlap occurs with other sections, the route is re-routed to that section. Search for non-overlapping routes. Therefore, the route calculation apparatus can find a route having no route overlap in the entire section from the start node to the end node. This route calculation method is particularly effective when there are three or more sections delimited by the relay node.

請求項7に記載の発明は、請求項1ないし請求項6のいずれか1項に記載の経路計算方法を、コンピュータである経路計算装置に実行させる経路計算プログラムとした。   The invention according to claim 7 is a route calculation program that causes the route calculation apparatus, which is a computer, to execute the route calculation method according to any one of claims 1 to 6.

この経路計算プログラムによれば、コンピュータを経路計算装置として機能させることができる。   According to this route calculation program, the computer can function as a route calculation device.

請求項8に記載の発明は、ネットワークを構成するノードのトポロジ情報および前記ノードを接続するリンクのリンクコスト情報を記憶する記憶部と、前記ネットワーク内の経路における始点ノードから終点ノードまでの経路で経由する中継ノードの識別情報の入力を受け付ける中継ノード入力部と、前記中継ノードにより、前記始点ノードから終点ノードまでの経路を複数の区間に分割する区間分割部と、前記リンクコスト情報を参照して、前記分割された区間毎に、当該区間におけるリンクコストが最小となる最短経路を計算し、前記計算した各区間毎の最短経路を前記記憶部に記憶する経路計算部と、前記最短経路同士で、経路重複があるか否かを判断する経路重複判断部と、前記経路重複判断部において、前記最短経路同士で、経路重複があると判断されたとき、前記トポロジ情報を参照して、前記区間毎にとりうる経路候補を計算し、前記計算した各区間毎の経路候補を、前記記憶部に記憶する経路候補計算部と、前記記憶部から、前記経路重複が発見された区間それぞれにおける経路候補を読み出し、前記読み出した経路候補の中から、前記経路重複が発見された区間同士で、経路重複のない経路の組み合わせを探索し、その経路重複のない経路の組み合わせの中から、リンクコストが最小となる経路の組み合わせを選択し、前記経路重複が発見された区間の経路を、前記選択した経路に置き換えて出力する経路組み合わせ探索部と、を備える経路計算装置とした。   According to an eighth aspect of the present invention, there is provided a storage unit that stores topology information of nodes constituting a network and link cost information of links connecting the nodes, and a route from a start point node to an end point node in the route in the network. The relay node input unit that receives input of identification information of the relay node that passes through, the section dividing unit that divides the route from the start node to the end node by the relay node into a plurality of sections, and the link cost information For each of the divided sections, the shortest path that minimizes the link cost in the section is calculated, and the shortest path for each calculated section is stored in the storage unit; and the shortest paths In the route overlap determination unit that determines whether there is route overlap, and in the route overlap determination unit, the shortest route When it is determined that there is a duplicate, referring to the topology information, a possible route candidate for each section is calculated, and the calculated route candidate for each section is stored in the storage unit; From the storage unit, route candidates in each of the sections where the route overlap is found are read, and a combination of routes having no route overlap is searched from the read route candidates in the sections where the route overlap is found. Then, the route combination that selects the route combination that minimizes the link cost from among the route combinations that do not have the route overlap, replaces the route of the section in which the route overlap is found with the selected route, and outputs the route combination. And a route calculation device including a search unit.

この経路計算装置によれば、inclusive route指定により中継ノードが指定された場合において、経由経路重複がなく、かつ、リンクコストが最小となる経路を計算することができる。   According to this route calculation apparatus, when a relay node is designated by inclusive route designation, it is possible to calculate a route having no route overlap and having a minimum link cost.

請求項9に記載の発明は、請求項8に記載の経路計算装置において、前記経路組み合わせ探索部は、前記経路重複が発見された区間の中から、前記経路候補の経路への置き換えを行う区間を選択し、前記選択した区間における経路候補を、前記記憶部から読み出し、前記読み出した経路候補を、前記リンクコストが小さい順に選択し、前記区間の経路を前記選択した経路候補に置き換え、前記経路重複が発見された他の区間と重複しない経路の組み合わせを探索する構成とした。   A ninth aspect of the present invention is the route calculation apparatus according to the eighth aspect, wherein the route combination search unit replaces the route candidate with a route in the route where the route overlap is found. The route candidate in the selected section is read from the storage unit, the read route candidates are selected in ascending order of the link cost, the route in the section is replaced with the selected route candidate, and the route is selected. It was set as the structure which searches the combination of the path | route which does not overlap with the other area where duplication was discovered.

この経路計算装置によれば、少ない計算量で、経路重複がなく、かつ、リンクコストができるだけ小さい経路を発見することができる。   According to this route calculation apparatus, it is possible to find a route with a small calculation amount, no route overlap, and a link cost as low as possible.

請求項10に記載の発明は、請求項8または請求項9に記載の経路計算装置において、前記経路組み合わせ探索部は、前記経路重複が発見された区間の中から、前記経路候補の経路への置き換えを行う区間を選択し、前記選択した区間における経路候補を、前記記憶部から読み出し、前記読み出した経路候補を、前記リンクコストが小さい順に選択し、前記区間の経路を前記選択した経路候補に置き換え、前記経路重複が発見された他の区間と重複しない経路の組み合わせを探索する構成とした。   According to a tenth aspect of the present invention, in the route calculation device according to the eighth or ninth aspect, the route combination search unit converts the route candidate from the section where the route overlap is found to the route candidate route. The section to be replaced is selected, the route candidates in the selected section are read from the storage unit, the read route candidates are selected in ascending order of the link cost, and the route in the section is selected as the selected route candidate. The configuration is such that a combination of routes that do not overlap with other sections in which the route overlap is found is searched for.

この経路計算装置によれば、始点ノードから終点ノードまでの全区間で経路重複のない経路を発見することができる。なお、この経路計算方法は、中継ノードにより区切られる区間が、3つ以上であるときに特に有効である。   According to this route calculation device, it is possible to find a route having no route overlap in all sections from the start node to the end node. This route calculation method is particularly effective when there are three or more sections delimited by the relay node.

本発明によれば、inclusive route指定により中継ノードが指定された場合において、経路重複がなく、かつ、リンクコストが最小となる経路を計算することができる。従って、ネットワークの管理者等は所望の経路を設定しやすくなる。   According to the present invention, when a relay node is specified by specifying an inclusive route, it is possible to calculate a route that has no route overlap and that has a minimum link cost. Therefore, it becomes easy for a network administrator or the like to set a desired route.

以下、本発明を実施するための最良の形態(以下、実施の形態という)を、第1の実施の形態および第2の実施の形態に分けて説明する。   Hereinafter, the best mode for carrying out the present invention (hereinafter referred to as an “embodiment”) will be described by dividing it into a first embodiment and a second embodiment.

≪第1の実施の形態≫
まず、本発明の第1の実施の形態の経路計算装置を説明する。この経路計算装置は、inclusive route指定により区切られた区間の最短経路において、経路重複を発見したとき、経路重複のない経路の組み合わせを探索する。そして、探索した経路の組み合わせのうち、最もリンクコストの小さい経路の組み合わせを計算結果として出力することを特徴とする。
<< First Embodiment >>
First, the route calculation apparatus according to the first embodiment of the present invention will be described. This route calculation device searches for a combination of routes having no route overlap when a route overlap is found in the shortest route in the section delimited by the inclusive route designation. And among the searched route combinations, a route combination with the lowest link cost is output as a calculation result.

図1は、本発明の実施の形態における経路計算装置を含むネットワークの構成例を示す図である。図1に示すように、ネットワークは、ノード2(2A,2B,2C,2D)と、このノード2との間に設定するパスの経路計算を行う経路計算装置1とを含んで構成される。このノード2と経路計算装置1とは、通信可能に接続されている。なお、経路計算装置1aについては、第2の実施の形態の項で説明する。   FIG. 1 is a diagram illustrating a configuration example of a network including a route calculation apparatus according to an embodiment of the present invention. As shown in FIG. 1, the network includes a node 2 (2A, 2B, 2C, 2D) and a route calculation device 1 that performs route calculation of a path set between the node 2 and the network. The node 2 and the route calculation apparatus 1 are connected to be communicable. The route calculation device 1a will be described in the section of the second embodiment.

また、このネットワークは、TDM(Time Division Multiplexing)やWDM(Wavelength Division Multiplexing)等の回線交換ネットワーク、または、IP(Internet Protocol)やイーサネット(登録商標)、MPLS(Multi-Protocol Label Switching)により実現される。ノード2は、MPLS網のMPLSルータ、パケット網のルータ、光網の光クロスコネクト等により実現され、経路計算装置1からのパスの設定命令に基づき、パスを設定する機能を備える。   In addition, this network is realized by circuit switching networks such as TDM (Time Division Multiplexing) and WDM (Wavelength Division Multiplexing), or by IP (Internet Protocol), Ethernet (registered trademark), MPLS (Multi-Protocol Label Switching). The The node 2 is realized by an MPLS router of an MPLS network, a router of a packet network, an optical cross-connect of an optical network, and the like, and has a function of setting a path based on a path setting command from the route calculation device 1.

<動作概要>
ここで、経路計算装置1の動作概要を、図1を参照しながら説明する。まず、経路計算装置1は、入力装置(図示せず)等から、始点ノード(ノード2A)から終点ノード(ノード2D)までの経路において、中継ノードとなるノード(ノード2C)の識別情報の入力を受け付ける。つまりinclusive route指定において経由すべきノード(inclusive node)の入力を受け付ける。
<Overview of operation>
Here, an outline of the operation of the route calculation apparatus 1 will be described with reference to FIG. First, the route calculation device 1 inputs identification information of a node (node 2C) that becomes a relay node in a route from an origin node (node 2A) to an end node (node 2D) from an input device (not shown) or the like. Accept. In other words, it accepts an input of a node (inclusive node) to be routed in inclusive route specification.

この入力を受けて、経路計算装置1は、ノード2Aからノード2Dまでの区間を、ノード2Aからノード2Cまでの区間#1と、ノード2Cからノード2Dまでの区間#2とに分割する。   Receiving this input, the route calculation apparatus 1 divides the section from the node 2A to the node 2D into a section # 1 from the node 2A to the node 2C and a section # 2 from the node 2C to the node 2D.

そして、経路計算装置1が区間#1,#2それぞれにおいて取りうる経路のうち、コスト(リンクコスト)の総和が最小となる経路(最短経路)を計算すると、ノード2A→ノード2B→ノード2C→ノード2B→ノード2D(実線の経路)となるが、この経路では、ノード2B→ノード2Cと、ノード2C→ノード2Bとが重複する。   Then, when the route calculation device 1 calculates a route (shortest route) having a minimum sum of costs (link costs) among the routes that can be taken in each of the sections # 1 and # 2, the node 2A → the node 2B → the node 2C → Node 2B → node 2D (solid line route), but in this route, node 2B → node 2C and node 2C → node 2B overlap.

そこで、経路計算装置1は、図1に例示するネットワークにおいて、区間#1の経路候補として、(1)ノード2A→ノード2B→ノード2C(リンクコスト=2)と、(2)ノード2A→ノード2C(リンクコスト=5)経路があることを計算する。また、区間#2の経路候補として、(3)ノード2C→ノード2B→ノード2D(リンクコスト=2)と、(4)ノード2C→ノード2D(リンクコスト=3)とがあることを計算する。そして、経路計算装置1は、これらの経路の組み合わせのうち、経路重複のない組み合わせがなく、リンクコストが最も小さいものを選択する。例えば、ノード2Aからノード2Dまで経路重複のない経路の組み合わせと、その組み合わせにおけるリンクコストの総和は、以下の表1のようになる。   Therefore, in the network illustrated in FIG. 1, the route calculation device 1 has (1) node 2A → node 2B → node 2C (link cost = 2) and (2) node 2A → node as route candidates in section # 1. Calculate that there is a 2C (link cost = 5) path. Also, it is calculated that there are (3) node 2C → node 2B → node 2D (link cost = 2) and (4) node 2C → node 2D (link cost = 3) as route candidates of section # 2. . Then, the route calculation apparatus 1 selects a combination having no link overlap and having the lowest link cost among the combinations of these routes. For example, a combination of routes having no route overlap from the node 2A to the node 2D and the sum of link costs in the combination are as shown in Table 1 below.

Figure 0004533354
Figure 0004533354

このような場合、経路計算装置1は、リンクコストの総和が最も小さい経路、即ち、区間#1については、(1)ノード2A→ノード2B→ノード2Cという経路とし、区間#2については、(4)ノード2C→ノード2Dという経路とした経路の組み合わせを選択する。そして、経路計算装置1は、この経路を、経路結果として出力する。このようにすることで、経路計算装置1は、ノード2Aからノード2Dまでの経路において、経路重複のなく、かつ、できるだけリンクコストの小さい経路を設定することができる。   In such a case, the route calculation device 1 sets the route with the smallest sum of link costs, that is, for the section # 1, (1) the route of node 2A → node 2B → node 2C, and for the section # 2, ( 4) Select a combination of paths such as the node 2C → node 2D. Then, the route calculation device 1 outputs this route as a route result. By doing in this way, the route calculation apparatus 1 can set a route with no link overlap and a link cost as low as possible in the route from the node 2A to the node 2D.

<経路計算装置の構成>
次に、図2を用いて、経路計算装置1の構成を詳細に説明する。図2は、図1の経路計算装置の構成を示したブロック図である。
<Configuration of route calculation device>
Next, the configuration of the route calculation apparatus 1 will be described in detail with reference to FIG. FIG. 2 is a block diagram showing the configuration of the route calculation apparatus of FIG.

図2に示すように、経路計算装置1は、入出力部11と、処理部12と、記憶部13と、通信部14とを備える。   As illustrated in FIG. 2, the route calculation device 1 includes an input / output unit 11, a processing unit 12, a storage unit 13, and a communication unit 14.

入出力部11は、この経路計算装置1に接続されるキーボードやマウス等の入力装置(図示せず)、液晶モニタ等の出力装置(図示せず)等のインタフェースである。この入出力部11は、入力装置から入力された情報を処理部12に出力したり、処理部12により処理された情報を出力装置へ出力したりする。この入出力部11は、中継ノード入力部111を備える。中継ノード入力部111は、中継ノード(inclusive node)の識別情報の入力を受け付ける。なお、この中継ノードの識別情報の入力は、例えば、前記した入力装置により行われる。   The input / output unit 11 is an interface such as an input device (not shown) such as a keyboard and a mouse connected to the path calculation device 1 and an output device (not shown) such as a liquid crystal monitor. The input / output unit 11 outputs information input from the input device to the processing unit 12 and outputs information processed by the processing unit 12 to the output device. The input / output unit 11 includes a relay node input unit 111. The relay node input unit 111 receives input of identification information of a relay node (inclusive node). Note that the input of the identification information of the relay node is performed by, for example, the input device described above.

処理部12は、この経路計算装置1全体の制御を司り、入出力部11、通信部14および記憶部13の制御と、入力された情報の処理とを行う。   The processing unit 12 controls the entire route calculation apparatus 1, and controls the input / output unit 11, the communication unit 14, and the storage unit 13, and processes input information.

この処理部12は、始点ノードから終点ノードまでの経路を中継ノードで分割する区間分割部121と、各区間の最短経路の計算(探索)を行う経路計算部122と、各区間毎の経路重複の有無を判断する経路重複判断部123と、各区間の経路候補を計算する経路候補計算部124と、各区間の経路の組み合わせを探索する経路組み合わせ探索部125と、各ノード2のリンクコストや、トポロジ情報等のルーティング情報を取得するルーティング情報取得部126と、計算された経路に基づくパス設定命令をノード2へ出力するパス制御部127とを備える。   The processing unit 12 includes a section dividing unit 121 that divides a route from a start node to an end node by a relay node, a route calculation unit 122 that calculates (searches) a shortest route in each section, and a route overlap for each section. A route duplication determination unit 123 that determines whether or not there is a route, a route candidate calculation unit 124 that calculates a route candidate in each section, a route combination search unit 125 that searches for a combination of routes in each section, and the link cost of each node 2 A routing information acquisition unit 126 that acquires routing information such as topology information, and a path control unit 127 that outputs a path setting command based on the calculated route to the node 2.

区間分割部121は、入出力部11あるいは通信部14経由で、パスの設定命令を受信すると、始点ノードから終点ノードまでの経路を中継ノードで分割する。例えば、区間分割部121は、ノード2Aからノード2Dまでの経路(図1参照)において、ノード2Cを中継ノードとして、区間#1,#2という2つの区間に分割する。このときの区間分割は、後記するルーティング情報記憶部131に格納されるルーティング情報を参照して行われる。   When the section dividing unit 121 receives a path setting command via the input / output unit 11 or the communication unit 14, the section dividing unit 121 divides the route from the start node to the end node at the relay node. For example, the section dividing unit 121 divides the route from the node 2A to the node 2D (see FIG. 1) into two sections, sections # 1 and # 2, with the node 2C as a relay node. The section division at this time is performed with reference to routing information stored in the routing information storage unit 131 described later.

経路計算部122は、ルーティング情報を参照して、各区間毎にリンクコストが最小となる経路(最短経路)を計算する。ここでの最短経路の計算には、前記した制約付きdijkstraアルゴリズムや、k-shortest pathアルゴリズム等を用いる。   The route calculation unit 122 refers to the routing information and calculates a route (shortest route) that minimizes the link cost for each section. The shortest path calculation here uses the above-mentioned restricted dijkstra algorithm, k-shortest path algorithm, or the like.

経路重複判断部123は、各区間同士で経路重複があるか否かを判断する。このときの経路重複の有無の判断は、各区間同士で経路(リンク)を1つ以上共有するとき、これらの区間同士で経路重複有りと判断する。すなわち、区間#1において、ノード2B→ノード2C(リンクB)という経路が含まれ、区間#2においても、ノード2C→ノード2B(リンクB)という経路が含まれていれば、経路重複判断部123は、これらの区間において経路重複があると判断する。なお、このときの経路重複の判断は、各区間の経路がノード2の組み合わせにより記述される場合、それぞれの区間で同じノード2のペアを含むか否かで判断してもよい。   The route overlap determining unit 123 determines whether there is route overlap between the sections. The determination of the presence / absence of route overlap at this time is made when there is one or more routes (links) between the sections, and it is determined that there is a route overlap between the sections. That is, if the path of node 2B → node 2C (link B) is included in section # 1, and the path of node 2C → node 2B (link B) is also included in section # 2, the path duplication determination unit 123 determines that there is a route overlap in these sections. Note that the determination of route overlap at this time may be made based on whether or not the route of each section includes a pair of the same node 2 in each section when the route of each section is described by a combination of nodes 2.

経路候補計算部124は、ルーティング情報を参照して、各区間毎の経路候補を計算する。計算した経路候補は、区間ID等と対応付けて、区間毎経路情報記憶部133に格納(記憶)する。   The route candidate calculation unit 124 refers to the routing information and calculates a route candidate for each section. The calculated route candidate is stored (stored) in the route information storage unit 133 for each section in association with the section ID or the like.

経路組み合わせ探索部125は、区間毎経路情報記憶部133から各区間毎の経路候補を読み出し、その経路候補の組み合わせの中から、経路重複のない経路の組み合わせを探索する。そして、その経路重複のない経路の組み合わせの中から、リンクコストが最小となる経路の組み合わせを選択し、この組み合わせを経路計算結果として出力する。   The route combination search unit 125 reads out route candidates for each section from the route information storage unit 133 for each section, and searches for a combination of routes that do not have overlapping routes from the combinations of the route candidates. Then, a combination of routes having the lowest link cost is selected from the combination of routes having no route overlap, and this combination is output as a route calculation result.

ルーティング情報取得部126は、通信部14経由で、各ノード2のリンクコスト(各リンクにおける残余帯域等)を取得し、ルーティング情報記憶部131に格納(記憶)する。   The routing information acquisition unit 126 acquires the link cost (remaining bandwidth in each link, etc.) of each node 2 via the communication unit 14 and stores (stores) it in the routing information storage unit 131.

パス制御部127は、入出力部11等からパスの設定命令を受け付けると、これを区間分割部121へ出力する。また、経路組み合わせ探索部125から出力された経路計算結果を受け取ると、この経路計算結果に基づくパスの設定命令を、通信部14経由で各ノード2へ出力する。このパスの設定命令は、例えば、パス設定のためのシグナリングプロトコルにより行われる。   When the path control unit 127 receives a path setting command from the input / output unit 11 or the like, the path control unit 127 outputs the command to the section dividing unit 121. When the route calculation result output from the route combination search unit 125 is received, a path setting command based on the route calculation result is output to each node 2 via the communication unit 14. This path setting command is performed, for example, by a signaling protocol for path setting.

なお、この処理部12の機能は、CPU(Central Processing Unit)等が記憶部13に記憶された所定のプログラムを実行することで実現される。   The function of the processing unit 12 is realized by a predetermined program stored in the storage unit 13 by a CPU (Central Processing Unit) or the like.

記憶部13は、この経路計算装置1の機能を実現するプログラムのほかに、処理部12が経路計算を行うときに参照する各種データを記憶する。この記憶部13はルーティング情報(リンク情報およびトポロジ情報)を記憶するルーティング情報記憶部131と、始点ノードから終点ノードまでの経路を記憶するパス情報記憶部132と、区間毎の経路候補を記憶した区間毎経路情報記憶部133とを備える。なお、この記憶部13は、RAM(Random Access Memory)、フラッシュメモリ、HDD(Hard Disk Drive)等の記憶装置により実現される。   The storage unit 13 stores various data to be referred to when the processing unit 12 performs route calculation, in addition to a program for realizing the function of the route calculation device 1. The storage unit 13 stores a routing information storage unit 131 that stores routing information (link information and topology information), a path information storage unit 132 that stores a route from the start node to the end node, and a route candidate for each section. And a section-by-section path information storage unit 133. The storage unit 13 is realized by a storage device such as a RAM (Random Access Memory), a flash memory, and an HDD (Hard Disk Drive).

ルーティング情報記憶部131は、各ノード2を接続するリンク情報と、ネットワークのトポロジ情報とを記憶する。このリンク情報は、以下の表2に例示するように、リンクID毎に、そのリンクのリンクコスト(リンクコスト情報)、A端ノードID、A端ノードIF(interface) ID、Z端ノードID、Z端ノードIF ID等を示した情報である。なお、このリンクコストの値は、例えば、リンクの残余帯域から求めた値を用いる。ノードIDおよびIF IDは、例えば、IPアドレス等により記述される。   The routing information storage unit 131 stores link information connecting each node 2 and network topology information. As illustrated in Table 2 below, this link information includes, for each link ID, the link cost (link cost information), A-end node ID, A-end node IF (interface) ID, Z-end node ID, This is information indicating the Z-end node IF ID and the like. For example, a value obtained from the remaining bandwidth of the link is used as the link cost value. The node ID and IF ID are described by an IP address, for example.

Figure 0004533354
Figure 0004533354

また、トポロジ情報は、ネットワーク内に設置されるノード2の識別情報と、そのノード同士がどのように接続されているかを示した情報である。このトポロジ情報は、ここでは図示を省略する。なお、ここでは、トポロジ情報と、リンク情報とは別個のものとしているが、トポロジ情報に前記したリンク情報を含めるようにしてもよい。   The topology information is information indicating identification information of the node 2 installed in the network and how the nodes are connected to each other. This topology information is not shown here. Here, the topology information and the link information are separate, but the above-described link information may be included in the topology information.

パス情報記憶部132は、前記したとおり、経路組み合わせ探索部125が計算した経路(パス)情報を記憶する。以下の表3にパス情報を例示する。   As described above, the path information storage unit 132 stores the route (path) information calculated by the route combination search unit 125. Table 3 below illustrates the path information.

Figure 0004533354
Figure 0004533354

なお、このパス情報は、始点ノードから終点ノードまでの経路に関するものと、その経路をinclusive route指定で区切った区間毎のものと、両方用意するようにしてもよい。その場合、区間毎のパス情報は、例えば、以下の表4に例示するように、経路(パス)のパスID毎、その経路を区切った区間毎に、その区間の始点ノードID、始点ノードIF
ID、終点ノードID、終点ノードIF ID、経由リンクIDリスト、リンクコスト等を示した情報となる。なお、この区間毎のパス情報における、経由リンクIDリスト、リンクコストは、経路組み合わせ探索部125が当該区間の経路候補の中から別の経路候補を選択したときに書き換えられる。
Note that this path information may be prepared both for the route from the start node to the end node and for each section obtained by dividing the route with the inclusive route designation. In this case, the path information for each section is, for example, as shown in Table 4 below, for each path ID of the path (path), and for each section dividing the path, the start node ID and start node IF of the section
This is information indicating an ID, an end node ID, an end node IF ID, a via link ID list, a link cost, and the like. The route link ID list and the link cost in the path information for each section are rewritten when the path combination search unit 125 selects another path candidate from the path candidates in the section.

Figure 0004533354
Figure 0004533354

区間毎経路情報記憶部133は、経路候補計算部124が計算した、区間毎の経路候補を記憶する。この区間毎経路情報は、区間ID毎に、当該区間において経由するリンクのリンクID(経由リンクIDリスト)と、そのリンクを経由した場合の当該区間のリンクコストとを示した情報である。なお、この区間毎の経路候補は、上りも下りも同じものを用いるものとして説明するが、上りと下りとで別個のものを用意するようにしてもよい。   The route information storage unit 133 for each section stores the route candidates for each section calculated by the route candidate calculation unit 124. This section-by-section path information is information indicating, for each section ID, the link ID of the link that passes through the section (routed link ID list) and the link cost of the section when the link is used. In addition, although the route candidate for each section is described as using the same for both uplink and downlink, separate route candidates may be prepared for uplink and downlink.

Figure 0004533354
Figure 0004533354

表5に例示した区間毎経路情報は、パスID「HH」における区間毎経路情報である。パスID「HH」は、区間ID「1〜3」の3つの区間に分けられ、区間ID「1」の区間は、5つの経路候補があることを示す。また、区間ID「2」の区間は4つの経路候補があり、区間ID「3」の区間は、2つの経路候補があることを示す。   The section-by-section route information illustrated in Table 5 is the section-by-section route information in the path ID “HH”. The path ID “HH” is divided into three sections with section IDs “1 to 3”, and the section with the section ID “1” indicates that there are five route candidates. The section with the section ID “2” has four route candidates, and the section with the section ID “3” has two route candidates.

例えば、表5に例示した区間毎経路情報において、区間ID「1」における経路候補ID「1」の経路候補は、リンクID「1」→リンクID「2」→リンクID「3」というリンクを辿る経路であり、そのリンクコストは「2」であることを示す。   For example, in the route information for each section illustrated in Table 5, the route candidate with the route candidate ID “1” in the section ID “1” has a link ID “1” → link ID “2” → link ID “3”. This indicates a route to be followed, and the link cost is “2”.

そして、これらの経路候補は、表5に例示するように、当該経路において経由する経由リンクのリンクIDを経由順に列記したものでもよいし、経由するノードのノードIDを経由順に列記したものでもよい。また、各区間における経路候補は、例えば、リンクコストが小さい順に並べられる。つまり、表5に例示した区間毎経路情報において、経路候補ID「1」に示される経由リンクは、その区間における経路候補のうち最もリンクコストが小さい経路(最短経路)であり、経路候補ID「2」に示される経由リンクは、その次にリンクコストが小さい経路である。この区間毎経路情報は、経路組み合わせ探索部125が経路候補の組み合わせを探索(選択)するときに参照される。なお、この区間毎経路情報は、現在、経路組み合わせ探索部125により選択されている経路候補を示すようにしてもよい。ちなみに、表5に例示した区間毎経路情報において、区間ID「1」ついては経路候補ID「2」の経路候補が選択され、区間ID「2」については経路候補ID「2」の経路候補が選択され、区間ID「3」については経路候補ID「1」の経路候補が選択されていることを示す。   Then, as exemplified in Table 5, these route candidates may list the link IDs of the via links that pass through the route in the order of passage, or may list the node IDs of the nodes that pass through in the order of passage. . Further, the route candidates in each section are arranged, for example, in ascending order of link cost. That is, in the route information for each section illustrated in Table 5, the via link indicated by the route candidate ID “1” is the route with the lowest link cost (shortest route) among the route candidates in the section, and the route candidate ID “ The via link indicated by “2” is the route with the next lowest link cost. This route information for each section is referred to when the route combination search unit 125 searches (selects) a combination of route candidates. Note that the route information for each section may indicate the route candidate currently selected by the route combination search unit 125. Incidentally, in the route information for each section illustrated in Table 5, the route candidate with the route candidate ID “2” is selected for the section ID “1”, and the route candidate with the route candidate ID “2” is selected for the section ID “2”. The section ID “3” indicates that the route candidate with the route candidate ID “1” is selected.

通信部14は、各ノード2との通信インタフェースを司る。処理部12は、この通信部14経由で、各ノード2のルーティング情報を取得したり、各ノード2へパスの設定命令を出力したりする。   The communication unit 14 manages a communication interface with each node 2. The processing unit 12 acquires the routing information of each node 2 or outputs a path setting command to each node 2 via the communication unit 14.

<経路計算装置の動作>
次に、図3を用いて、経路計算装置1の動作を説明する。図3は、図2の経路計算装置の動作を示したフローチャートである。なお、この経路計算装置1は、経路計算開始前に、各ノード2のルーティング情報を取得し、ルーティング情報記憶部131に記憶しておくものとする。
<Operation of route calculation device>
Next, the operation of the route calculation apparatus 1 will be described with reference to FIG. FIG. 3 is a flowchart showing the operation of the route calculation apparatus of FIG. Note that the route calculation apparatus 1 acquires the routing information of each node 2 and stores it in the routing information storage unit 131 before starting the route calculation.

まず、経路計算装置1は、中継ノード入力部111経由で、inclusive route指定入力を受け付ける(S301)。つまり、始点ノードおよび終点ノードのIDと、そのノード間で経由する中継ノードのID(識別情報)との入力を受け付ける。   First, the route calculation apparatus 1 receives an inclusive route designation input via the relay node input unit 111 (S301). That is, input of the IDs of the start node and the end node and the ID (identification information) of the relay node that passes between the nodes is accepted.

次に、パス制御部125が、入出力部11等からパスの設定命令を受け付けると、区間分割部121は、これをトリガとして始点ノードから終点ノードまでの経路を複数の区間に分割する。つまり、区間分割部121は、始点ノードから終点ノードまでの経路を、inclusive route指定されたノードで経路を複数の区間に分割する(S302)。   Next, when the path control unit 125 receives a path setting command from the input / output unit 11 or the like, the section dividing unit 121 divides the route from the start point node to the end point node into a plurality of sections using this as a trigger. In other words, the section dividing unit 121 divides the route from the start node to the end node into a plurality of sections using a node designated as an inclusive route (S302).

次に、経路計算部122は、S302で分割された各区間毎に最短経路を計算する(S303)。計算した各区間毎の最短経路は、区間毎経路情報記憶部133に記憶しておく。   Next, the route calculation unit 122 calculates the shortest route for each section divided in S302 (S303). The calculated shortest path for each section is stored in the section-by-section path information storage unit 133.

そして、経路重複判断部123は、S303で計算した各区間の最短経路に経路重複があるか否かを判断する(S304)。例えば、経路重複判断部123は、表5に例示したような区間毎経路情報において、それぞれの区間の経路候補ID「1」の経由リンクIDリストを参照して、各区間の最短経路に経路重複があるか否かを判断する。ここで、経路重複がなかったとき(S304のNo)、経路計算部122は、各区間の最短経路を計算結果として出力し(S309)、処理を終了する。   Then, the route overlap determination unit 123 determines whether or not there is a route overlap in the shortest route of each section calculated in S303 (S304). For example, the route duplication determination unit 123 refers to the route link ID list of the route candidate ID “1” of each section in the route information for each section as illustrated in Table 5, and overlaps the shortest route of each section. Judge whether there is. Here, when there is no route overlap (No in S304), the route calculation unit 122 outputs the shortest route of each section as a calculation result (S309), and ends the processing.

一方、S303で計算した各区間の最短経路に経路重複があったとき(S304のYes)、経路候補計算部124は、ルーティング情報を参照して、各区間毎の経路候補を計算し、区間毎経路情報(表5参照)を作成する(S305)。この区間毎経路情報は、区間毎経路情報記憶部133に格納する。   On the other hand, when there is a route overlap in the shortest route in each section calculated in S303 (Yes in S304), the route candidate calculation unit 124 refers to the routing information, calculates a route candidate for each section, and Route information (see Table 5) is created (S305). This section-by-section route information is stored in the section-by-section route information storage unit 133.

そして、経路組み合わせ探索部125は、経路重複のあった区間について、S305で作成した区間毎経路情報から、各区間毎の経路候補を読み出し、その経路候補の組み合わせの中から、経路重複のない組み合わせを探索する(S306)。次に、経路組み合わせ探索部125は、その経路重複のない経路の組み合わせの中から、リンクコストが最小となる経路の組み合わせを選択する(S307)。   Then, the route combination search unit 125 reads out the route candidate for each section from the route information for each section created in S305 for the section having the route overlap, and the combination without the route overlap is selected from the combinations of the route candidates. Is searched (S306). Next, the route combination search unit 125 selects a combination of routes that minimizes the link cost from among combinations of routes that do not have route overlap (S307).

そして、経路重複判断部123は、S307で選択された経路の組み合わせが、他の区間における経路と重複していた場合(S308のYes)、当該経路が重複していた区間同士でS306およびS307の処理を実行し、他の区間の経路との経路重複がなくなったとき(S308のNo)、その計算結果を、パス制御部127およびパス情報記憶部132へ出力し(S309)、処理を終了する。つまり、当該区間の経路を前記選択した経路候補に置き換えて出力する。   Then, when the combination of the routes selected in S307 overlaps with the route in another section (Yes in S308), the route overlap determination unit 123 determines whether the route in which the corresponding route overlaps between S306 and S307. When the process is executed and there is no route overlap with the route of another section (No in S308), the calculation result is output to the path control unit 127 and the path information storage unit 132 (S309), and the process is terminated. . That is, the route of the section is replaced with the selected route candidate and output.

例えば、経路組み合わせ探索部124は、最初に区間ID「1」の区間と、区間ID「2」の区間との間で経路重複を発見したとき、この区間ID「1」の区間と、区間ID「2」の区間との間で経路重複がなく、リンクコストが最小となる経路候補の組み合わせを選択する。   For example, when the route combination search unit 124 first finds a route overlap between the section with the section ID “1” and the section with the section ID “2”, the section with the section ID “1” and the section ID A combination of route candidates that does not overlap with the section “2” and that minimizes the link cost is selected.

ここで、経路組み合わせ探索部124が、この区間ID「1」の区間については、経路候補ID「2」の経路候補を選択し、区間ID「2」の区間については経路候補ID「2」の経路候補を選択した場合、この区間同士で経路の重複はない。ところが、表5に例示するように、この経路は、他の区間である区間ID「3」の区間における経路候補ID「1」の経路で経路重複がある。つまり、区間ID「2」の経路候補ID「2」におけるリンクID「7」と、区間ID「3」の経路候補ID「1」におけるリンクID「7」とが重複する。従って、経路組み合わせ探索部124は、この区間ID「2」の区間と、区間ID「3」の区間との間で、再度、経路重複がない経路候補の組み合わせを探索する。そして、経路組み合わせ探索部124は、その中で最もリンクコストが小さい組み合わせを選択する。   Here, the route combination search unit 124 selects the route candidate with the route candidate ID “2” for the section with the section ID “1”, and the route candidate ID “2” with respect to the section with the section ID “2”. When a route candidate is selected, there is no route overlap between the sections. However, as illustrated in Table 5, there is a route overlap in the route with the route candidate ID “1” in the section with the section ID “3” which is another section. That is, the link ID “7” in the route candidate ID “2” of the section ID “2” overlaps with the link ID “7” in the route candidate ID “1” of the section ID “3”. Therefore, the route combination search unit 124 searches for a combination of route candidates having no route overlap between the section with the section ID “2” and the section with the section ID “3”. Then, the route combination search unit 124 selects a combination having the lowest link cost among them.

そして、組み合わせ探索部124は、以上の処理を繰り返し、どの区間とも経路重複のない経路の組み合わせを発見したとき、発見した経路の組み合わせを、計算結果として、パス制御部127およびパス情報記憶部132へ出力し、処理を終了する。   Then, the combination search unit 124 repeats the above processing, and when a combination of routes having no route overlap is found in any section, the combination of the found routes is calculated as a calculation result, and the path control unit 127 and the path information storage unit 132. To output to the process.

このようにすることで、経路計算装置1は、inclusive route指定した場合に、始点ノードから終点ノードまでの経路で経路重複がなく、かつ、できるだけリンクコストが小さい経路を発見することができる。   By doing in this way, the route calculation device 1 can find a route having no route overlap and a link cost as low as possible in the route from the start point node to the end point node when the inclusive route is designated.

なお、前記した実施の形態において、経路計算装置1は、まず、各区間の最短経路を計算し、区間同士で経路重複があると判断したときに、経路候補を計算し、区間毎経路情報(表5参照)を作成することとしたが、これに限定されない。例えば、経路計算装置1は、各区間の最短経路を計算するときに、最短経路以外の経路候補も計算しておき、これをもとに区間毎経路情報を作成するようにしてもよい。   In the above-described embodiment, the route calculation apparatus 1 first calculates the shortest route of each section, calculates a route candidate when it is determined that there is a route overlap between the sections, and provides route information for each section ( However, the present invention is not limited to this. For example, when calculating the shortest route of each section, the route calculation apparatus 1 may calculate route candidates other than the shortest route, and create route information for each section based on this.

≪第2の実施の形態≫
次に、第2の実施の形態の経路計算装置を説明する。この経路計算装置は、inclusive route指定により区切られた区間の最短経路において、経路重複を発見したとき、その中から経路の変更(置き換え)を行う区間を1つ選択する。そして、経路計算装置は、この選択した区間における最短経路を、リンクコストが小さい経路候補から順に置き換えていき、他の区間との経路重複を解消する経路候補を探索することを特徴とする。
<< Second Embodiment >>
Next, a route calculation apparatus according to the second embodiment will be described. When a route overlap is found in the shortest route of the section delimited by the inclusive route designation, this route calculation apparatus selects one section from which the route is to be changed (replaced). The route calculation device is characterized in that the shortest route in the selected section is replaced in order from the route candidate with the lowest link cost, and a route candidate that eliminates route overlap with other sections is searched.

<動作概要>
ここで、第2の実施の形態の経路計算装置1aの動作概要を、図1を参照しながら説明する。ネットワークの構成は、前記した第1の実施の形態と同様なので、説明を省略する。ここでも、経路計算装置1aは、中継ノード(ノード2C)で、経路を区間#1,#2に分割し、それぞれの区間の最短経路をとると、ノード2B→ノード2Cという経路と、ノード2C→ノード2Bという経路とが重複してしまう場合を例に説明する。
<Overview of operation>
Here, an outline of the operation of the route calculation apparatus 1a according to the second embodiment will be described with reference to FIG. Since the network configuration is the same as that of the first embodiment described above, the description thereof is omitted. Also in this case, the route calculation device 1a is a relay node (node 2C), and divides the route into sections # 1 and # 2, and when taking the shortest route of each section, the route of node 2B → node 2C and node 2C → The case where the route of the node 2B overlaps will be described as an example.

そこで、経路計算装置1aは、まず、区間#1の最短経路(ノード2A→ノード2B→ノード2C(リンクコスト=2))を、次にリンクコストが小さい経路候補(ノード2A→ノード2C(リンクコスト=5))に置き換える。そして、経路計算装置1aは、置き換え後の区間#1の経路が、区間#2の経路と重複していなければ、この経路を経路結果として出力する。   Therefore, the path calculation device 1a first selects the shortest path (node 2A → node 2B → node 2C (link cost = 2)) in the section # 1, and next the path candidate (node 2A → node 2C (link) with the lowest link cost. Replace with cost = 5)). If the route of section # 1 after replacement does not overlap with the route of section # 2, the route calculation device 1a outputs this route as a route result.

一方、置き換えた経路が、区間#2の経路と重複していれば、経路計算装置1aは、この区間#1の経路を、さらにその次にリンクコストが小さい経路候補に置き換える、という処理を区間#2の最短経路と重複していない経路を発見するまで繰り返す。そして、経路計算装置1aは、区間#2の経路と重複していない経路を発見したら、その経路を、経路結果として出力する。   On the other hand, if the replaced route overlaps with the route of section # 2, the route calculation device 1a replaces the route of section # 1 with a route candidate with the next lowest link cost. Repeat until a route that does not overlap with the shortest route of # 2 is found. When the route calculation device 1a finds a route that does not overlap with the route of the section # 2, the route calculation device 1a outputs the route as a route result.

<経路計算装置の構成>
次に、図4を用いて、経路計算装置1aの構成を詳細に説明する。図4は、第2の実施の形態の経路計算装置の構成を示したブロック図である。前記した第1の実施の形態と同様の構成要素は同じ符号を付して、説明を省略する。
<Configuration of route calculation device>
Next, the configuration of the route calculation apparatus 1a will be described in detail with reference to FIG. FIG. 4 is a block diagram illustrating a configuration of the route calculation apparatus according to the second embodiment. Constituent elements similar to those in the first embodiment described above are denoted by the same reference numerals, and description thereof is omitted.

経路計算装置1aは、経路組み合わせ探索部125に代えて、経路み合わせ探索部125aを備えることを特徴とする。この経路組み合わせ探索部125aは、経路重複のある区間における最短経路を、リンクコストが小さい経路候補から順に置き換えていき、経路重複を解消する経路を探索する。この経路み合わせ探索部125aの詳細は、フローチャートを用いて後記する。   The route calculation device 1 a includes a route matching search unit 125 a instead of the route combination search unit 125. The route combination search unit 125a searches for a route that eliminates the route overlap by sequentially replacing the shortest route in a section with route overlap from the route candidate with the lowest link cost. Details of the route matching search unit 125a will be described later using a flowchart.

<経路計算装置の動作>
次に、図5を用いて、経路計算装置1aの動作を説明する。図5は、図4の経路計算装置の動作を示したフローチャートである。なお、この経路計算装置1aも、経路計算開始前に、各ノード2のルーティング情報を取得し、ルーティング情報記憶部131に記憶しておく。
<Operation of route calculation device>
Next, the operation of the route calculation apparatus 1a will be described with reference to FIG. FIG. 5 is a flowchart showing the operation of the route calculation apparatus of FIG. The route calculation device 1a also acquires the routing information of each node 2 and stores it in the routing information storage unit 131 before starting the route calculation.

S501からS505までの処理は、図3のS301からS305までの処理と同様であるので、説明を省略し、S506から説明する。なお、以下の説明では、経路計算装置1aは、始点ノードから終点ノードまでの区間を、inclusive route指定により、区間ID「1〜3」の3つの区間に分割した場合を例に説明する。そして、経路計算装置1aが、各区間の経路重複の有無を確認したところ、区間ID「1」の区間と、区間ID「2」の区間において経路重複があったものとして説明する。   Since the processing from S501 to S505 is the same as the processing from S301 to S305 in FIG. 3, the description thereof will be omitted and the description will start from S506. In the following description, the route calculation device 1a will be described by taking as an example a case where the section from the start node to the end node is divided into three sections with section IDs “1 to 3” by inclusive route designation. Then, when the route calculation device 1a confirms whether or not there is a route overlap in each section, it is assumed that there is a route overlap in the section with the section ID “1” and the section with the section ID “2”.

経路組み合わせ探索部125aは、S504で経路重複のあった(経路重複が発見された)区間の中から、経路の変更を行う区間を選択する(S506)。つまり、経路組み合わせ探索部125は、経路候補の経路への置き換えを行う区間を選択する。ここでの区間の選択は、当該区間における最短経路のリンクコストが大きいものから優先的に(順に)選択する。例えば、経路重複のあった区間#1の最短経路のリンクコストが「3」であり、区間#2の最短経路のリンクコストが「2」であるとき、よりリンクコストの大きい区間#1を選択する。   The route combination search unit 125a selects a section in which the route is changed from the sections in which the route overlap occurred in S504 (the route overlap was found) (S506). That is, the route combination search unit 125 selects a section in which a route candidate is replaced with a route. Here, the section is selected preferentially (in order) in descending order of the link cost of the shortest path in the section. For example, when the link cost of the shortest route of section # 1 where the route overlaps is “3” and the link cost of the shortest route of section # 2 is “2”, select section # 1 having a higher link cost To do.

そして、経路組み合わせ探索部125aは、区間毎経路情報(表5参照)を参照して、S506で選択した区間における経路候補のうち、次にリンクコストが小さい経路候補を選択し、この選択した経路候補に経路置き換えを行う(S507)。例えば、経路組み合わせ探索部125aは、表5に例示した区間毎経路情報の区間ID「1」の経路候補から、最短経路(経路候補ID「1」の経路)の次にリンクコストが小さい経路候補ID「2」の経路候補を選択する。そして、経路組み合わせ探索部125aは、この区間ID「1」の経路を経路候補ID「2」の経路に置き換える。置き換えた経路情報は、記憶部13に記憶しておく。   Then, the route combination search unit 125a refers to the route information for each section (see Table 5), selects the route candidate with the next lowest link cost among the route candidates in the section selected in S506, and selects the selected route. The candidate is replaced with a route (S507). For example, the route combination search unit 125a selects the route candidate with the next smallest link cost after the shortest route (route with the route candidate ID “1”) from the route candidate with the interval ID “1” of the route information for each interval illustrated in Table 5. The route candidate with ID “2” is selected. Then, the route combination search unit 125a replaces the route with the section ID “1” with the route with the route candidate ID “2”. The replaced route information is stored in the storage unit 13.

図6の説明に移る。次に、経路重複判断部123は、区間毎経路情報(表5参照)を参照して、図5のS507で置き換えた経路が、経路重複が発見された他の区間と経路重複があるか否かを判断する(S601)。つまり、S504で経路重複が発見された区間のうち、S507で置き換えを行わなかった方の区間(例えば、区間ID「2」の区間)の経路と重複しているか否かを判断する。ここで、経路重複がなかった場合(S601のNo)、経路重複判断部123は、今回経路重複が発見された区間以外との間で経路重複があるいか否かを判断する(S605)。つまり、経路重複判断部123は、S504で重複が発見された区間、例えば、区間ID「1」の区間および区間ID「2」の区間と、それ以外の区間(例えば、区間ID「3」の区間)との間で経路重複があるか否かを判断する。ここで、今回重複が発見された区間以外の区間と経路重複がなかった場合(S605のNo)、つまり、他のいずれの区間とも経路重複のない経路を発見した場合、経路組み合わせ探索部125aは、この経路を計算結果として、パス制御部127およびパス情報記憶部132へ出力し(S606)、処理を終了する。一方、今回重複が発見された区間以外の区間(例えば、区間ID「3」の区間)と経路重複があった場合(S605のYes)、当該経路重複のあった区間同士を対象に、再度、図5のS506以降の処理を実行し、経路重複のない経路を探索する。   Turning to the description of FIG. Next, the route overlap determination unit 123 refers to the route information for each section (see Table 5), and whether the route replaced in S507 in FIG. 5 has a route overlap with another section in which the route overlap is found. Is determined (S601). That is, it is determined whether or not there is an overlap with the route of the section that has not been replaced in S507 (for example, the section with the section ID “2”) among the sections in which the route overlap is found in S504. Here, when there is no route overlap (No in S601), the route overlap determination unit 123 determines whether or not there is a route overlap with a section other than the section where the current route overlap is found (S605). That is, the route duplication determination unit 123 determines the section in which the overlap is found in S504, for example, the section with the section ID “1” and the section with the section ID “2”, and other sections (for example, the section with the section ID “3”). It is determined whether or not there is a route overlap with (section). Here, when there is no route overlap with a section other than the section where the overlap is found this time (No in S605), that is, when a route having no route overlap is found in any other section, the route combination search unit 125a The route is output as a calculation result to the path control unit 127 and the path information storage unit 132 (S606), and the process ends. On the other hand, if there is a route overlap with a section other than the section where the overlap was found this time (for example, the section with the section ID “3”) (Yes in S605), The processing after S506 in FIG. 5 is executed to search for a route having no route overlap.

なお、S507で置き換えた経路が、経路重複が発見された他の区間の経路と重複し(S601のYes)、かつ、当該区間に、まだ選択していない経路候補あれば(S602のYes)、図5のS507へ戻る。そして、経路組み合わせ探索部125aは、区間毎経路情報(表5参照)を参照して、図5のS506で選択した区間の経路候補のうち、次にリンクコストが小さい経路候補を選択し、経路の置き換えを実行する。そして、経路組み合わせ探索部125aが、経路重複のない経路候補を発見した段階で(S601のYes)、S605へ進む。   If the route replaced in S507 overlaps with a route in another section in which route overlap is found (Yes in S601), and there is a route candidate that has not yet been selected in that section (Yes in S602), The process returns to S507 in FIG. Then, the route combination search unit 125a refers to the route information for each section (see Table 5), selects the route candidate with the next lowest link cost from the route candidates in the section selected in S506 of FIG. Perform replacement of. Then, when the route combination search unit 125a has found a route candidate without a route overlap (Yes in S601), the process proceeds to S605.

また、経路組み合わせ探索部125aが、区間毎経路情報(表5参照)を参照して、当該区間について、次に選択しうる経路候補がないと判断した場合(S602のNo)、つまり、S506で選択した区間におけるすべての経路候補への置き換えを終了した場合、以下のような処理を行う。すなわち、経路組み合わせ探索部125aは、経路重複が発見された区間のうち、経路の変更を行っていない区間があれば(S603のYes)、S507で選択した区間の経路をいったん最短経路に戻す(S604)。そして、S506へ進み、経路重複が発見された区間で、まだ経路の変更を行っていない区間のうち、最もリンクコストが大きい区間を選択する。   Further, when the route combination search unit 125a determines that there is no route candidate that can be selected next for the section with reference to the section-specific route information (see Table 5) (No in S602), that is, in S506. When the replacement with all the route candidates in the selected section is completed, the following processing is performed. That is, the route combination search unit 125a returns the route of the section selected in S507 to the shortest route once if there is a section in which the route is not changed among the sections in which the route overlap is found (Yes in S603) ( S604). Then, the process proceeds to S506, and a section with the highest link cost is selected from the sections in which the route overlap has been found and the route has not been changed yet.

例えば、区間ID「1」の経路について、経路組み合わせ探索部125aがどの経路候補に置き換えても、区間ID「2」の最短経路と重複してしまうと判断した場合、この区間ID「1」の経路を最短経路に戻す。次に、経路組み合わせ探索部125aは、経路重複が発見された区間のうち、次にリンクコストが大きい区間、つまり、区間ID「2」を選択し、この区間において経路置き換えを実行し、区間ID「1」の最短経路との間で経路重複のない組み合わせを探索する。   For example, if the route combination search unit 125a replaces the route with the section ID “1” with any route candidate, the route combination search unit 125a determines that it overlaps with the shortest route with the section ID “2”. Return the route to the shortest route. Next, the route combination search unit 125a selects a section with the next highest link cost, that is, a section ID “2”, among the sections in which the route overlap is found, and executes route replacement in this section. A search is made for a combination having no route overlap with the shortest route of “1”.

一方、経路組み合わせ探索部125aは、S504で経路重複のあった区間のうち、すべての区間の経路の変更を完了した場合(S603のNo)、経路重複のない経路を探索できなかったことを計算結果として出力し(S607)、処理を終了する。   On the other hand, the route combination search unit 125a calculates that the route having no route overlap could not be searched when the change of the route of all the portions among the portions having the route overlap in S504 is completed (No in S603). The result is output (S607), and the process is terminated.

このような処理を行うことで、経路計算装置1aは、inclusive route指定した場合に、経路重複がなく、かつ、リンクコストを最小とする経路を計算することができる。   By performing such processing, the route calculation device 1a can calculate a route that has no route overlap and that minimizes the link cost when an inclusive route is designated.

なお、図5のS506において、経路組み合わせ探索部125aは、当該区間における最短経路のリンクコストが大きい区間から順に経路の変更を行う区間を選択するものとしたが、これに限定されない。例えば、当該区間における経路候補数が大きいものから順に選択するようにしてもよい。このようにすることで、より経路候補の数が大きい区間から経路の変更(経路置き換え)を行うことになるので、少ない計算量で重複経路のない経路を発見しやすくなる。   In S506 of FIG. 5, the route combination search unit 125a selects the sections in which the route is changed in order from the section with the highest link cost of the shortest path in the section, but is not limited thereto. For example, you may make it select in an order from the largest route candidate number in the said area. By doing so, the route is changed (route replacement) from a section having a larger number of route candidates, so that it is easy to find a route without an overlapping route with a small amount of calculation.

また、経路計算装置1aは、予め入出力部11経由で、各区間毎のペナルティコスト(どの区間から優先的に経路の変更を行うかを示した値)の入力を受け付け、これを記憶部13に記憶しておく。そして、図5のS506において、経路組み合わせ探索部125aが、経路の変更を行う区間を選択するときには、当該区間におけるペナルティコストが大きい区間から優先的に選択するようにしてもよい。このようにすることで、経路計算装置1aは、経路計算装置1aのオペレータ等が所望する区間から優先的に経路の変更を行うことになる。   In addition, the route calculation device 1 a receives in advance an input of a penalty cost for each section (a value indicating which section is preferentially changed from the route) via the input / output unit 11 in advance, and this is stored in the storage unit 13. Remember it. Then, in S506 of FIG. 5, when the route combination search unit 125a selects a section in which a route is to be changed, it may be preferentially selected from a section having a high penalty cost in the section. In this way, the route calculation device 1a preferentially changes the route from the section desired by the operator of the route calculation device 1a.

なお、前記した各実施の形態において、経路組み合わせ探索部125,125aが、あらゆる経路候補との組み合わせを試みても、経路重複のない経路を発見できなかったときは、計算を強制終了するようにしてもよい。このとき、経路組み合わせ探索部125,125aは、この経路計算装置1,1aに接続される出力装置に、経路重複のない経路を発見できなかったことを通知するメッセージを出力し、inclusive route指定の再入力や、経路の設定条件の再入力を促す画面を表示するようにしてもよい。   In each of the above-described embodiments, if the route combination search unit 125, 125a does not find a route with no route overlap even when trying to combine with any route candidate, the calculation is forcibly terminated. May be. At this time, the route combination search unit 125, 125a outputs a message notifying that the route having no route overlap could not be found to the output device connected to the route calculation device 1, 1a. A screen that prompts re-input or re-input of route setting conditions may be displayed.

また、経路計算装置1aは、図5のS506で選択した区間(例えば、区間#1)について、どの経路候補について置き換えても、経路重複の発見された他方の区間(例えば、区間#2)の最短経路と重複してしまう場合、以下のようにしてもよい。   Further, the route calculation device 1a replaces the section selected in S506 of FIG. 5 (for example, section # 1) for any of the path candidates, and the other section (for example, section # 2) in which the route overlap is found is replaced. If it overlaps with the shortest path, it may be as follows.

すなわち、経路組み合わせ探索部125aは、まず、区間#2の経路を、最短経路の次にリンクコストが小さい経路候補(例えば、経路候補ID「2」の経路候補)に置き換える。そして、区間#1の経路を、最短経路から順に経路候補の置き換えるようにして、この区間#2の経路候補との間で経路重複のない、経路の組み合わせを探索する。ここで、区間#1について、どの経路候補について置き換えても、区間#2の経路候補ID「2」の経路候補と重複してしまう場合、区間#2の経路を、さらにその次にリンクコストが小さい経路候補(例えば、経路候補ID「3」の経路候補)に置き換え、同様の処理を実行する。経路組み合わせ探索部125aは、このような処理を繰り返して、双方の区間で経路重複のない経路を探索するようにしてもよい。   That is, the route combination search unit 125a first replaces the route in the section # 2 with a route candidate with the next lowest link cost after the shortest route (for example, a route candidate with the route candidate ID “2”). Then, the route candidates in the section # 1 are replaced with the route candidates in order from the shortest route, and a route combination that does not overlap with the route candidates in the section # 2 is searched. In this case, if any route candidate is replaced with respect to the route # 1, if it overlaps with the route candidate with the route candidate ID “2” of the interval # 2, the route of the interval # 2 is further linked to the next link cost. The same processing is executed by replacing with a small route candidate (for example, a route candidate with the route candidate ID “3”). The route combination search unit 125a may repeat such processing to search for a route that does not overlap in both sections.

さらに、前記した実施の形態において、経路計算装置1,1aは、ノード2とは別個の装置であるものとして説明したが、ノード2を経路計算装置1,1aとして機能させるようにしてもよい。   Furthermore, in the above-described embodiment, the route calculation devices 1 and 1a have been described as devices separate from the node 2. However, the node 2 may function as the route calculation devices 1 and 1a.

また、経路計算装置1,1aが、始点ノードから終点ノードまでの経路について、できるだけリンクコストが大きくなる経路を計算することを目的とする場合には以下のようにする。すなわち、図3のS307において、経路組み合わせ探索部125(図2参照)は、リンクコストが最大となる経路の組み合わせを選択する。また、図5のS507において、経路組み合わせ探索部125aは、リンクコストが大きい経路候補から順に経路候補の置き換えを行う。このようにすることで、経路計算装置1,1aは、経路重複がなく、かつ、できるだけリンクコストが大きい経路を発見することができる。   Further, when the route calculation devices 1 and 1a are intended to calculate a route having the highest link cost as much as possible for the route from the start point node to the end point node, the following is performed. That is, in S307 of FIG. 3, the route combination search unit 125 (see FIG. 2) selects a combination of routes that maximizes the link cost. In S507 of FIG. 5, the route combination search unit 125a replaces the route candidates in order from the route candidate with the highest link cost. By doing in this way, the route calculation apparatuses 1 and 1a can find a route with no route overlap and a link cost as high as possible.

本実施の形態に係る経路計算装置1,1aは、前記したような処理を実行させる経路計算プログラムによって実現することができ、そのプログラムをコンピュータによる読み取り可能な記憶媒体(CD−ROM等)に記憶して提供することが可能である。また、そのプログラムを、ネットワークを通して提供することも可能である。   The route calculation apparatuses 1 and 1a according to the present embodiment can be realized by a route calculation program for executing the processing as described above, and the program is stored in a computer-readable storage medium (CD-ROM or the like). Can be provided. It is also possible to provide the program through a network.

本発明の実施の形態における経路計算装置を含むネットワークの構成例を示した図である。It is the figure which showed the structural example of the network containing the route calculation apparatus in embodiment of this invention. 図1の経路計算装置の構成を示したブロック図である。It is the block diagram which showed the structure of the route calculation apparatus of FIG. 図2の経路計算装置の動作を示したフローチャートである。It is the flowchart which showed operation | movement of the route calculation apparatus of FIG. 第2の実施の形態の経路計算装置の構成を示したブロック図である。It is the block diagram which showed the structure of the route calculation apparatus of 2nd Embodiment. 図4の経路計算装置の動作を示したフローチャートである。5 is a flowchart showing the operation of the route calculation apparatus of FIG. 図4の経路計算装置の動作を示したフローチャートである。5 is a flowchart showing the operation of the route calculation apparatus of FIG. 本発明の課題を説明するために引用した図である。It is the figure quoted in order to demonstrate the subject of this invention.

符号の説明Explanation of symbols

1,1a,6 経路計算装置
2(2A,2B,2C,2D) ノード
11 入出力部
12 処理部
13 記憶部
14 通信部
111 中継ノード入力部
121 区間分割部
122 経路計算部
123 経路重複判断部
124 経路候補計算部
125,125a 経路組み合わせ探索部
126 ルーティング情報取得部
127 パス制御部
131 ルーティング情報記憶部
132 パス情報記憶部
133 区間毎経路情報記憶部
1, 1a, 6 Route calculation device 2 (2A, 2B, 2C, 2D) Node 11 Input / output unit 12 Processing unit 13 Storage unit 14 Communication unit 111 Relay node input unit 121 Section division unit 122 Path calculation unit 123 Path overlap determination unit 124 Route candidate calculation unit 125, 125a Route combination search unit 126 Routing information acquisition unit 127 Path control unit 131 Routing information storage unit 132 Path information storage unit 133 Route information storage unit for each section

Claims (10)

各種データの入出力を司る入出力部と、ネットワークを構成するノードのトポロジ情報および前記ノードを接続するリンクのリンクコスト情報を記憶する記憶部と、前記トポロジ情報および前記リンクコスト情報を参照して経路計算を行う処理部とを備える経路計算装置が、
前記入出力部経由で、前記ネットワーク内の始点ノードから終点ノードまでの経路で経由する中継ノードの識別情報の入力を受け付ける中継ノード入力ステップと、
前記中継ノードにより、前記始点ノードから終点ノードまでの経路を複数の区間に分割する区間分割ステップと、
前記リンクコスト情報を参照して、前記分割された区間毎に、当該区間におけるリンクコストが最小となる最短経路を計算し、前記計算した各区間毎の最短経路を前記記憶部に記憶する経路計算ステップと、
前記最短経路同士で、経路重複があるか否かを判断する第1の経路重複判断ステップと、
前記第1の経路重複判断ステップにおいて、前記最短経路同士で、経路重複があったとき、
前記トポロジ情報を参照して、前記区間毎にとりうる経路候補を計算し、前記計算した各区間毎の経路候補を、前記記憶部に記憶する経路候補計算ステップと、
前記記憶部から、前記経路重複が発見された区間それぞれにおける経路候補を読み出し、前記読み出した経路候補の中から、前記経路重複が発見された区間同士で、経路重複のない経路の組み合わせを探索し、その経路重複のない経路の組み合わせの中から、リンクコストが最小となる経路の組み合わせを選択し、前記経路重複が発見された区間の経路を、前記選択した経路に置き換えて出力する経路組み合わせ探索ステップと、
を実行することを特徴とする経路計算方法。
Refer to the input / output unit that controls the input / output of various data, the storage unit that stores the topology information of the nodes constituting the network and the link cost information of the link connecting the nodes, the topology information, and the link cost information A route calculation device including a processing unit that performs route calculation;
A relay node input step for receiving input of identification information of the relay node via the route from the start node to the end node in the network via the input / output unit;
A section dividing step of dividing the route from the start node to the end node into a plurality of sections by the relay node;
Referring to the link cost information, for each of the divided sections, calculate the shortest path that minimizes the link cost in the section, and store the calculated shortest path for each section in the storage unit Steps,
A first route overlap determination step for determining whether or not there is route overlap between the shortest routes;
In the first route overlap determination step, when there is a route overlap between the shortest routes,
A route candidate calculation step of calculating possible route candidates for each section with reference to the topology information, and storing the calculated route candidates for each section in the storage unit;
The route candidate in each section where the route overlap is found is read from the storage unit, and a combination of routes without route overlap is searched from the read route candidates in the sections where the route overlap is found. Then, a route combination search that selects a route combination that minimizes the link cost from among the route combinations that do not have the route overlap, replaces the route in the section where the route overlap is found, with the selected route, and outputs the route combination. Steps,
The path calculation method characterized by performing.
前記経路組み合わせ探索ステップにおいて、
前記経路重複が発見された区間の中から、前記経路候補の経路への置き換えを行う区間を選択し、前記選択した区間における経路候補を、前記記憶部から読み出し、前記読み出した経路候補を、前記リンクコストが小さい順に選択し、前記区間の経路を前記選択した経路候補に置き換え、前記経路重複が発見された他の区間と重複しない経路の組み合わせを探索することを特徴とする請求項1に記載の経路計算方法。
In the route combination search step,
From the section in which the route overlap is found, select a section to replace the route candidate with the path, read the route candidate in the selected section from the storage unit, the read route candidate, The link cost is selected in ascending order, the route in the section is replaced with the selected route candidate, and a combination of routes that does not overlap with another section in which the route overlap is found is searched for. Route calculation method.
前記経路組み合わせ選択ステップにおいて、
前記経路の置き換えを行う区間は、当該区間における前記経路候補数が多い区間から順に選択することを特徴とする請求項2に記載の経路計算方法。
In the route combination selection step,
The route calculation method according to claim 2, wherein a section in which the route is replaced is selected in order from a section having a large number of route candidates in the section.
前記経路組み合わせ探索ステップにおいて、
前記経路の置き換えを行う区間は、当該区間における前記最短経路のリンクコストが大きい区間から順に選択することを特徴とする請求項2に記載の経路計算方法。
In the route combination search step,
The route calculation method according to claim 2, wherein a section in which the route is replaced is selected in order from a section having a highest link cost of the shortest path in the section.
前記入出力部経由で、前記各区間毎のペナルティコストの入力を受け付け、前記入力された前記各区間毎のペナルティコストを前記記憶部に記憶するペナルティコスト入力ステップをさらに実行し、
前記経路組み合わせ選択ステップにおいて、
前記経路の置き換えを行う区間は、当該区間における前記ペナルティコストが大きい区間から順に選択することを特徴とする請求項2に記載の経路計算方法。
The input of the penalty cost for each section is received via the input / output unit, and the penalty cost input step of storing the inputted penalty cost for each section in the storage unit is further executed.
In the route combination selection step,
The route calculation method according to claim 2, wherein the sections for which the route is replaced are selected in order from the section with the highest penalty cost in the section.
前記経路組み合わせ探索ステップにおいて置き換えられた経路が、前記経路重複を発見した区間以外の区間における経路と重複しているか否かを判断する第2の経路重複判断ステップをさらに実行し、
前記第2の経路重複判断ステップにおいて、前記置き換えられた経路が、前記経路重複を発見した区間以外の区間における経路と重複していると判断されたとき、
前記経路が重複していると判断された区間を対象として、前記経路組み合わせ探索ステップを再度実行することを特徴とする請求項1ないし請求項5のいずれか1項に記載の経路計算方法。
Further executing a second route duplication determination step of judging whether or not the route replaced in the route combination search step overlaps with a route in a section other than the section in which the route duplication is found,
In the second route overlap determination step, when it is determined that the replaced route overlaps with a route in a section other than the section where the route overlap is found,
The route calculation method according to any one of claims 1 to 5, wherein the route combination search step is executed again for a section in which the routes are determined to overlap.
請求項1ないし請求項6のいずれか1項に記載の経路計算方法を、コンピュータである経路計算装置に実行させることを特徴とする経路計算プログラム。   A route calculation program that causes a route calculation device that is a computer to execute the route calculation method according to any one of claims 1 to 6. ネットワークを構成するノードのトポロジ情報および前記ノードを接続するリンクのリンクコスト情報を記憶する記憶部と、
前記ネットワーク内の経路における始点ノードから終点ノードまでの経路で経由する中継ノードの識別情報の入力を受け付ける中継ノード入力部と、
前記中継ノードにより、前記始点ノードから終点ノードまでの経路を複数の区間に分割する区間分割部と、
前記リンクコスト情報を参照して、前記分割された区間毎に、当該区間におけるリンクコストが最小となる最短経路を計算し、前記計算した各区間毎の最短経路を前記記憶部に記憶する経路計算部と、
前記最短経路同士で、経路重複があるか否かを判断する経路重複判断部と、
前記経路重複判断部において、前記最短経路同士で、経路重複があると判断されたとき、
前記トポロジ情報を参照して、前記区間毎にとりうる経路候補を計算し、前記計算した各区間毎の経路候補を、前記記憶部に記憶する経路候補計算部と、
前記記憶部から、前記経路重複が発見された区間それぞれにおける経路候補を読み出し、前記読み出した経路候補の中から、前記経路重複が発見された区間同士で、経路重複のない経路の組み合わせを探索し、その経路重複のない経路の組み合わせの中から、リンクコストが最小となる経路の組み合わせを選択し、前記経路重複が発見された区間の経路を、前記選択した経路に置き換えて出力する経路組み合わせ探索部と、
を備えることを特徴とする経路計算装置。
A storage unit for storing topology information of nodes constituting the network and link cost information of links connecting the nodes;
A relay node input unit that receives input of identification information of a relay node that passes through a route from a start node to an end node in a route in the network;
A section dividing unit that divides the route from the start node to the end node into a plurality of sections by the relay node;
Referring to the link cost information, for each of the divided sections, calculate the shortest path that minimizes the link cost in the section, and store the calculated shortest path for each section in the storage unit And
A route overlap determination unit for determining whether there is route overlap between the shortest routes; and
When it is determined that there is a route overlap between the shortest routes in the route overlap determination unit,
By referring to the topology information, a possible route candidate for each section is calculated, and the calculated route candidate for each section is stored in the storage unit;
The route candidate in each section where the route overlap is found is read from the storage unit, and a combination of routes without route overlap is searched from the read route candidates in the sections where the route overlap is found. The route combination search that selects the route combination that minimizes the link cost from the route combinations that do not have the route overlap, replaces the route in the section where the route overlap is found, with the selected route, and outputs the route combination. And
A route calculation apparatus comprising:
前記経路組み合わせ探索部は、
前記経路重複が発見された区間の中から、前記経路候補の経路への置き換えを行う区間を選択し、前記選択した区間における経路候補を、前記記憶部から読み出し、前記読み出した経路候補を、前記リンクコストが小さい順に選択し、前記区間の経路を前記選択した経路候補に置き換え、前記経路重複が発見された他の区間と重複しない経路の組み合わせを探索することを特徴とする請求項8に記載の経路計算装置。
The route combination search unit
From the section in which the route overlap is found, select a section to replace the route candidate with the path, read the route candidate in the selected section from the storage unit, the read route candidate, 9. The link cost is selected in ascending order, the route in the section is replaced with the selected route candidate, and a combination of routes that does not overlap with other sections in which the route overlap is found is searched for. Route calculator.
前記経路組み合わせ探索部は、
前記置き換えられた経路が、前記経路重複を発見した区間以外の区間における経路と重複しているとき、
前記経路が重複していると判断された区間を対象として、前記経路組み合わせの探索および選択した経路への置き換えを、再度実行することを特徴とする請求項8または請求項9に記載の経路計算装置。
The route combination search unit
When the replaced route overlaps with a route in a section other than the section where the route duplication is found,
The route calculation according to claim 8 or 9, wherein the search for the route combination and the replacement with the selected route are executed again for a section in which the routes are determined to overlap. apparatus.
JP2006231057A 2006-08-28 2006-08-28 Route calculation method, route calculation program, and route calculation device Expired - Fee Related JP4533354B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006231057A JP4533354B2 (en) 2006-08-28 2006-08-28 Route calculation method, route calculation program, and route calculation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006231057A JP4533354B2 (en) 2006-08-28 2006-08-28 Route calculation method, route calculation program, and route calculation device

Publications (2)

Publication Number Publication Date
JP2008054233A JP2008054233A (en) 2008-03-06
JP4533354B2 true JP4533354B2 (en) 2010-09-01

Family

ID=39237805

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006231057A Expired - Fee Related JP4533354B2 (en) 2006-08-28 2006-08-28 Route calculation method, route calculation program, and route calculation device

Country Status (1)

Country Link
JP (1) JP4533354B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5182146B2 (en) * 2009-02-23 2013-04-10 富士通株式会社 Route determination program, management apparatus, and network system
CN101577844B (en) * 2009-06-05 2012-05-23 中兴通讯股份有限公司 Method and system for searching wavelength division multiplexing network path
JP2011015346A (en) * 2009-07-06 2011-01-20 Nippon Telegr & Teleph Corp <Ntt> Device and method for controlling route, and program therefor
JP5640986B2 (en) * 2009-10-07 2014-12-17 日本電気株式会社 COMMUNICATION SYSTEM CONTROL DEVICE, CONTROL METHOD, AND PROGRAM
JP5413894B2 (en) * 2009-10-08 2014-02-12 日本信号株式会社 Via minimum cost route searching apparatus and via minimum cost route searching method
JP5087062B2 (en) * 2009-11-12 2012-11-28 日本電信電話株式会社 Route calculation device, route calculation method, and route calculation program
JP5351842B2 (en) * 2010-07-05 2013-11-27 日本電信電話株式会社 Route calculation apparatus and route calculation method
JP6575393B2 (en) 2016-02-22 2019-09-18 富士通株式会社 Communication control device and communication system
JP2017168881A (en) * 2016-03-14 2017-09-21 日本電気株式会社 Communication path control device, method and program
WO2023187917A1 (en) * 2022-03-28 2023-10-05 日本電信電話株式会社 Path calculating device, path calculating method, and program

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087311A (en) * 2001-09-12 2003-03-20 Mitsubishi Electric Corp Path finding device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003087311A (en) * 2001-09-12 2003-03-20 Mitsubishi Electric Corp Path finding device

Also Published As

Publication number Publication date
JP2008054233A (en) 2008-03-06

Similar Documents

Publication Publication Date Title
JP4533354B2 (en) Route calculation method, route calculation program, and route calculation device
US8842522B2 (en) Incremental deployment of MRT based IPFRR
JP4598789B2 (en) Route calculation control method, route calculation control program, and route calculation control device
US9049145B2 (en) Method and apparatus for calculating MPLS traffic engineering paths
US20080232347A1 (en) Determining rerouting information for single-node failure recovery in an internet protocol network
EP1905196B1 (en) Method and apparatus for updating label-switched paths
JP4603519B2 (en) Route calculation method, route calculation program, route calculation device, and node
US10320653B2 (en) Route topology discovery in data networks
JP2009531981A (en) Method and apparatus for generating minimum spanning tree with degree constraint
KR20130087535A (en) Lookahead computation of routing information
US20100166001A1 (en) Boundary Routers Providing Redistribution and Related Backbone Networks, Computer Program Products, and Methods
US8750166B2 (en) Route topology discovery in data networks
CN105191213A (en) Network path computation method, apparatus and system
JP2008054211A (en) Routing method, apparatus and program
JP2006025014A (en) Routing method and transmission system
JP4673329B2 (en) Apparatus, method, and program for creating multicast tree
JP2006165920A (en) Shortest route selection method on multiple domains, device with the method applied to, and program for realizing the method
Su A local fast-reroute mechanism for single node or link protection in hop-by-hop routed networks
JP4700662B2 (en) Rerouting method, rerouting program and routing device
JP4820832B2 (en) Virtual private network management system
JP4662286B2 (en) Point-to-multipoint path route calculation apparatus and program
CN100525252C (en) A searching method for message forwarding path, router and network
JP4499067B2 (en) Multicast path calculation method and apparatus, program, and computer-readable recording medium
JPWO2011070830A1 (en) Transport control server, transport control system, and transport control method
JP5076991B2 (en) Route calculation system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080730

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100528

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100611

R150 Certificate of patent or registration of utility model

Ref document number: 4533354

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130618

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140618

Year of fee payment: 4

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