JP2008005066A - Multicast routing calculation method and apparatus and program, and computer-readable recording medium - Google Patents
Multicast routing calculation method and apparatus and program, and computer-readable recording medium Download PDFInfo
- Publication number
- JP2008005066A JP2008005066A JP2006170688A JP2006170688A JP2008005066A JP 2008005066 A JP2008005066 A JP 2008005066A JP 2006170688 A JP2006170688 A JP 2006170688A JP 2006170688 A JP2006170688 A JP 2006170688A JP 2008005066 A JP2008005066 A JP 2008005066A
- Authority
- JP
- Japan
- Prior art keywords
- node
- route
- calculation
- receiving
- search
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は、マルチキャスト経路計算方法及び装置及びプログラム及びコンピュータ読み取り可能な記録媒体に係り、特に、RSVP-TE(Resource Reservation Signaling Protocol for Traffic Engineering)をベースとしたマルチキャストMPLS(Multi Protocol Label Switching)において、LSP(Label Switched Path)に対するFRR(Fast Reroute)の迂回パス設定数の減少やリソースの有効利用を目的とし、マルチキャスト経路を構成するリンク数を最小に抑えるためのマルチキャスト経路計算方法及び装置及びプログラム及びコンピュータ読み取り可能な記録媒体に関する。 The present invention relates to a multicast route calculation method, apparatus, program, and computer-readable recording medium, and in particular, in multicast MPLS (Multi Protocol Label Switching) based on RSVP-TE (Resource Reservation Signaling Protocol for Traffic Engineering). Multicast route calculation method, apparatus, program, and program for minimizing the number of links constituting a multicast route for the purpose of reducing the number of FRR (Fast Reroute) bypass path settings for LSP (Label Switched Path) and effectively using resources The present invention relates to a computer-readable recording medium.
RSVP-TEをベースとしたマルチキャストMPLSでは、経路を明示的に指定することができ、また、その経路に予約帯域を設定することが可能である。さらに、マルチキャストツリーを構成するリンク1本1本に、予めFRRの迂回経路を設定することで、経路上で障害が発生したときも高速に障害箇所を迂回することができる。一方、受信ユーザ数が増えることなどにより、マルチキャストツリーを構成するリンク数が多くなると、ネットワークリソースを大量に予約する必要があり、また、FRRの迂回経路設定の数も増大することになる。FRRの迂回経路は、ネットワークが正常に運用されている間は利用されないため、できるだけ最小限に抑えることが期待される。このように、RSVP-TEを用いたマルチキャストMPLSでは、経路を最適に計算する必要がある。 In multicast MPLS based on RSVP-TE, a route can be explicitly specified, and a reserved bandwidth can be set for the route. Furthermore, by setting an FRR detour route in advance for each link constituting the multicast tree, the failure location can be detoured at high speed even when a failure occurs on the route. On the other hand, if the number of links constituting the multicast tree increases due to an increase in the number of receiving users, etc., it is necessary to reserve a large amount of network resources, and the number of FRR bypass path settings also increases. The FRR detour route is not used during normal operation of the network, and is expected to be minimized as much as possible. Thus, in multicast MPLS using RSVP-TE, it is necessary to calculate the route optimally.
図10に示すように、RSVP-TEが動作しているMPLSネットワークにおいて、トポロジ情報収集機構によって集められたトポロジ情報11と、送信伝送装置、受信伝送装置などのLSP要求12を受け付けて、LSP経路を計算し、その計算結果を経路設定機構13に出力するLSP経路計算装置10が用いられている。
As shown in FIG. 10, in an MPLS network in which RSVP-TE is operating, the
このようなLSP経路計算装置において、従来技術であるダイクストラ経路計算方法が用いられている。このダイクストラ経路計算方法は、少ない計算時間で、送信ノードから受信ノードまでのリンクに付与されたリンクコストの合計が最小になるような経路を計算することができる(例えば、非特許文献1参照)。
しかしながら、従来のダイクストラ経路計算方法は、合計コストを小さく抑えることはできるが、マルチキャストツリーを構成するリンク数を少なくすることはできない。RSVP-TEを用いたマルチキャストMPLSの経路計算では、リソースの有効利用やFRRの迂回経路設定数増加防止を目的として、ツリーを構成するリンク数をできるだけ少なくする必要がある。 However, the conventional Dijkstra route calculation method can keep the total cost low, but cannot reduce the number of links constituting the multicast tree. In multicast MPLS route calculation using RSVP-TE, it is necessary to reduce the number of links constituting a tree as much as possible for the purpose of effective use of resources and prevention of increase in the number of FRR detour route settings.
本発明は、上記の点に鑑みなされたもので、マルチキャストツリーを構成するリンク数を最小限に抑えたマルチキャスト経路計算が可能なマルチキャスト経路計算方法及び装置及びプログラム及びコンピュータ読み取り可能な記録媒体を提供することを目的とする。 The present invention has been made in view of the above points, and provides a multicast route calculation method and apparatus, a program, and a computer-readable recording medium capable of calculating a multicast route with the number of links constituting a multicast tree minimized. The purpose is to do.
図1は、本発明の原理を説明するための図である。 FIG. 1 is a diagram for explaining the principle of the present invention.
本発明(請求項1)は、マルチキャスト経路を計算するマルチキャスト経路計算方法であって、
要求取得手段が、各ノードの接続関係を表したトポロジ情報及び、送信ノードと複数の受信ノードを受け付け、該送信ノードを経路記憶手段に格納する要求取得ステップ(ステップ1)と、
計算順序決定手段が、受信ノードの計算順序を決定する計算順序決定ステップ(ステップ2)と、
計算受信ノード決定手段が、経路記憶手段に格納されていない受信ノードの中で、計算順序最上位の受信ノードを決定する計算受信ノード決定ステップ(ステップ3)と、
探索ノード決定手段が、訪問済みノード記憶手段を参照して、訪問済みノードが1つも無い場合は、受信ノードを探索ノードとして決定し、訪問済みノードがある場合は、まだ訪問済みとなっていないノードの中から、ノード情報記憶手段を参照して、ホップ数が最小のノードを探索ノードとして決定し、ホップ数が最小のノードが複数ある場合は、その中から合計コストが最小のノードを次の探索ノードとして決定し、該探索ノードを該訪問済みノード記憶手段に格納する探索ノード決定ステップ(ステップ4)と、
経路パラメータ計算手段が、探索ノードの隣接ノードについて、探索ノード経由の経路における第1のホップ数と第1の合計コストを計算する経路パラメータ計算ステップ(ステップ5)と、
経路パラメータ判定手段が、隣接ノードについて、ノード情報記憶手段を参照し、ホップ数が格納されていない場合、または、他のノード経由の経路における第2のホップ数が既に計算されているが、第1のホップ数の方が小さい場合は(ステップ6(a))、該第1のホップ数、第1の合計コスト、探索ノード経由の経路を該ノード情報記憶手段に格納し(ステップ8)、該第2のホップ数が該第1のホップ数と等しく、かつ、他のノード経由の経路における第2の合計コストが既に計算されているが、第1の合計コストの方が小さい場合は(ステップ6(b),ステップ7(c))、該第1のホップ数、該第1の合計コスト、探索ノード経由の経路を該ノード情報記憶手段に格納する(ステップ8)経路パラメータ判定ステップと、
制御手段が、経路記憶手段を参照して、探索ノードが含まれていなければ、探索ノード決定ステップ以降の処理を繰り返し(ステップ9)、
経路保存手段が、ノード情報記憶手段を参照して、探索ノードから受信ノードまでの経路を経路記憶手段に格納する経路保存ステップ(ステップ10)と、
制御手段が、経路記憶手段を参照して、受信ノードが該経路記憶手段に全て格納されていなければ、訪問済みノード記憶手段とノード情報記憶手段の情報を削除し、計算受信ノード決定ステップ以降の処理を繰り返し(ステップ11)、
経路出力手段が、経路記憶手段に格納された経路を出力する経路出力ステップ(ステップ12)と、を行う。
The present invention (Claim 1) is a multicast route calculation method for calculating a multicast route,
A request acquisition step (step 1), wherein the request acquisition means accepts topology information representing a connection relationship of each node, a transmission node and a plurality of reception nodes, and stores the transmission node in the path storage means;
A calculation order determination step (step 2) in which the calculation order determination means determines the calculation order of the receiving node;
A calculation reception node determination step (step 3) in which the calculation reception node determination means determines the highest reception node in the calculation order among the reception nodes not stored in the path storage means;
The search node determining means refers to the visited node storage means, and if there is no visited node, the receiving node is determined as the search node. If there is a visited node, the visited node is not yet visited. By referring to the node information storage means from among the nodes, the node with the smallest hop count is determined as the search node. If there are multiple nodes with the smallest hop count, the node with the lowest total cost is A search node determination step (step 4) for determining the search node as a search node and storing the search node in the visited node storage means;
A route parameter calculation step (step 5) in which the route parameter calculation means calculates the first hop number and the first total cost in the route via the search node for the adjacent nodes of the search node;
The route parameter determination means refers to the node information storage means for the adjacent node, and if the number of hops is not stored, or the second hop number in the route via another node has already been calculated, If the number of hops of 1 is smaller (step 6 (a)), the number of first hops, the first total cost, and the route through the search node are stored in the node information storage means (step 8), If the second number of hops is equal to the number of first hops and the second total cost in the route via another node has already been calculated, but the first total cost is smaller ( Step 6 (b), Step 7 (c)), storing the first hop count, the first total cost, and the route via the search node in the node information storage means (Step 8) route parameter determination step; ,
If the control means refers to the route storage means and the search node is not included, the processing after the search node determination step is repeated (step 9),
A route storage step (step 10) in which the route storage means refers to the node information storage means and stores the route from the search node to the reception node in the route storage means;
The control means refers to the path storage means, and if all the receiving nodes are not stored in the path storage means, deletes the information of the visited node storage means and the node information storage means, and after the calculation receiving node determination step Repeat the process (step 11),
The route output means performs a route output step (step 12) for outputting the route stored in the route storage means.
また、本発明(請求項2)は、計算順序決定ステップ(ステップ2)において、
それぞれの受信ノードについて、送信ノードから受信ノードまでの最小ホップ数を計算し、
最小ホップ数が最も小さい受信ノードを計算順序最上位とし、該最小ホップ数が最も大きい受信ノードを計算順序最下位とする。
Further, the present invention (Claim 2), in the calculation order determination step (Step 2),
For each receiving node, calculate the minimum number of hops from the sending node to the receiving node,
The receiving node with the smallest minimum hop number is the highest in the calculation order, and the receiving node with the largest minimum hop number is the lowest in the calculation order.
また、本発明(請求項3)は、計算順序決定ステップ(ステップ2)において、
それぞれの受信ノードについて、送信ノードから受信ノードまでの最小ホップ数を計算し、
最小ホップ数が最も大きい受信ノードを計算順序最上位とし、該最小ホップ数が最も小さい受信ノードを計算順序最下位とする。
Further, according to the present invention (Claim 3), in the calculation order determination step (Step 2),
For each receiving node, calculate the minimum number of hops from the sending node to the receiving node,
The receiving node having the largest minimum hop count is set as the highest calculation order, and the receiving node having the smallest minimum hop count is set as the lowest calculation order.
また、本発明(請求項4)は、経路パラメータ計算ステップ(ステップ5)において、
探索ノードが受信ノードである場合は、ホップ数を1とする。
Further, the present invention (Claim 4) provides a path parameter calculation step (Step 5).
If the search node is a receiving node, the number of hops is 1.
図2は、本発明の原理構成図である。 FIG. 2 is a principle configuration diagram of the present invention.
本発明(請求項5)は、マルチキャスト経路を計算するマルチキャスト経路計算装置であって、
各ノードの接続関係を表したトポロジ情報及び、送信ノードと複数の受信ノードを受け付け、該送信ノードを経路記憶手段103に格納する要求取得手段110と、
受信ノードの計算順序を決定する計算順序決定手段120と、
経路記憶手段103に格納されていない受信ノードの中で、計算順序最上位の受信ノードを決定する計算受信ノード決定手段140と、
訪問済みノード記憶手段104を参照して、訪問済みノードが1つも無い場合は、受信ノードを探索ノードとして決定し、訪問済みノードがある場合は、まだ訪問済みとなっていないノードの中から、ノード情報記憶手段105を参照して、ホップ数が最小のノードを探索ノードとして決定し、ホップ数が最小のノードが複数ある場合は、その中から合計コストが最小のノードを次の探索ノードとして決定し、該探索ノードを該訪問済みノード記憶手段に格納する探索ノード決定手段150と、
探索ノードの隣接ノードについて、探索ノード経由の経路における第1のホップ数と第1の合計コストを計算する経路パラメータ計算手段160と、
隣接ノードについて、ノード情報記憶手段105を参照し、ホップ数が格納されていない場合、または、他のノード経由の経路における第2のホップ数が既に計算されているが、第1のホップ数の方が小さい場合は、該第1のホップ数、第1の合計コスト、探索ノード経由の経路を該ノード情報記憶手段105に格納し、該第2のホップ数が該第1のホップ数と等しく、かつ、他のノード経由の経路における第2の合計コストが既に計算されているが、第1の合計コストの方が小さい場合は、該第1のホップ数、該第1の合計コスト、探索ノード経由の経路を該ノード情報記憶手段105に格納する経路パラメータ判定手段170と、
経路記憶手段103を参照して、探索ノードが含まれていなければ、探索ノード決定手段150、経路パラメータ計算手段160、経路パラメータ判定手段170の処理を繰り返す第1の制御手段100−1と、
ノード情報記憶手段105を参照して、探索ノードから受信ノードまでの経路を経路記憶手段103に格納する経路保存手段180と、
経路記憶手段103を参照して、受信ノードが該経路記憶手段103に全て格納されていなければ、訪問済みノード記憶手段104とノード情報記憶手段105の情報を削除し、計算受信ノード決定手段140、探索ノード決定手段150、経路パラメータ計算手段160、経路パラメータ判定手段170、第1の制御手段100−1、経路保存手段180の処理を繰り返す第2の制御手段100−2と、
経路記憶手段に格納された経路を出力する経路出力手段190と、を有する。
The present invention (Claim 5) is a multicast route calculation apparatus for calculating a multicast route,
Topology acquisition information representing the connection relationship of each node, a
Calculation order determining means 120 for determining the calculation order of the receiving nodes;
Calculation receiving node determining means 140 for determining the highest receiving node in the calculation order among the receiving nodes not stored in the path storage means 103;
With reference to the visited node storage means 104, if there is no visited node, the receiving node is determined as a search node, and if there is a visited node, among the nodes that have not been visited, With reference to the node information storage means 105, a node having the smallest hop count is determined as a search node, and when there are a plurality of nodes having the smallest hop count, the node having the smallest total cost is selected as the next search node. A search node determining means 150 for determining and storing the search node in the visited node storage means;
Route parameter calculation means 160 for calculating the first hop number and the first total cost in the route via the search node for the adjacent nodes of the search node;
For the adjacent node, referring to the node information storage means 105, if the number of hops is not stored, or the second hop number in the route via another node has already been calculated, the first hop number If it is smaller, the first hop count, the first total cost, and the route through the search node are stored in the node information storage means 105, and the second hop count is equal to the first hop count. If the second total cost in the route via another node has already been calculated, but the first total cost is smaller, the first hop number, the first total cost, the search Route parameter determining means 170 for storing the route via the node in the node information storage means 105;
Referring to route storage means 103, if no search node is included, first control means 100-1 that repeats the processing of search node determination means 150, route parameter calculation means 160, and route parameter determination means 170;
With reference to the node information storage means 105, a route storage means 180 for storing the route from the search node to the reception node in the route storage means 103;
Referring to the route storage means 103, if all the receiving nodes are not stored in the route storage means 103, the information of the visited node storage means 104 and the node information storage means 105 is deleted, and the calculation receiving node determination means 140, A search
Route output means 190 for outputting the route stored in the route storage means.
また、本発明(請求項6)は、計算順序決定手段120において、
それぞれの受信ノードについて、送信ノードから受信ノードまでの最小ホップ数を計算し、該最小ホップ数が最も小さい受信ノードを計算順序最上位とし、該最小ホップ数が最も大きい受信ノードを計算順序最下位とする。
Further, the present invention (Claim 6), in the calculation order determining means 120,
For each receiving node, the minimum number of hops from the transmitting node to the receiving node is calculated, the receiving node with the smallest number of hops is the highest in the calculation order, and the receiving node with the largest minimum hop number is the lowest in the calculation order. And
また、本発明(請求項7)は、計算順序決定手段120において、
それぞれの受信ノードについて、送信ノードから受信ノードまでの最小ホップ数を計算し、該最小ホップ数が最も大きい受信ノードを計算順序最上位とし、該最小ホップ数が最も小さい受信ノードを計算順序最下位とする。
Further, the present invention (Claim 7) is provided in the calculation order determination means 120.
For each receiving node, the minimum number of hops from the transmitting node to the receiving node is calculated, the receiving node having the largest minimum hop number is the highest in the calculation order, and the receiving node having the smallest minimum hop number is the lowest in the calculation order. And
また、本発明(請求項8)は、経路パラメータ計算手段170において、
探索ノードが受信ノードである場合は、ホップ数を1とする。
Further, according to the present invention (Claim 8), in the route parameter calculation means 170,
If the search node is a receiving node, the number of hops is 1.
また、本発明(請求項9)は、コンピュータに、請求項5乃至8記載のマルチキャスト経路計算装置の各手段を実行させるマルチキャスト経路計算プログラムである。
The present invention (invention 9) is a multicast route calculation program for causing a computer to execute each means of the multicast route calculation device according to
また、本発明(請求項10)は、コンピュータに、請求項5乃至8記載のマルチキャスト経路計算装置の各手段を実行させるプログラムを格納したコンピュータ読み取り可能な記録媒体である。
The present invention (Claim 10) is a computer-readable recording medium storing a program for causing a computer to execute each means of the multicast route calculation apparatus according to
上記のように本発明によれば、受信ノードから送信ノードへ、または、受信ノードから既に出来上がったツリーへ、ホップ数が最も少なくなるように経路を決定する。また、ホップ数が同数の場合は、合計コストが小さくなるように経路を決定する。 As described above, according to the present invention, a route is determined so as to minimize the number of hops from a receiving node to a transmitting node or from a receiving node to a tree that has already been completed. If the number of hops is the same, the route is determined so that the total cost is reduced.
これにより、ツリーを構成するリンク数をできるだけ少なく抑えてマルチキャスト経路を決定することができる。本発明は、RSVP-TEをベースとしたマルチキャストMPLSにおいて、FRRの迂回経路の設定数減少や、ネットワークリソースの有効利用において、効果を発揮する。 As a result, it is possible to determine the multicast path while minimizing the number of links constituting the tree as much as possible. INDUSTRIAL APPLICABILITY The present invention is effective in reducing the number of FRR bypass routes set and effectively using network resources in multicast MPLS based on RSVP-TE.
以下、図面と共に本発明の実施の形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[第1の実施の形態]
図3は、本発明の第1の実施の形態におけるマルチキャスト経路計算装置の構成を示す。
[First Embodiment]
FIG. 3 shows the configuration of the multicast route calculation apparatus according to the first embodiment of the present invention.
同図に示すマルチキャスト経路計算装置は、要求取得部110、計算順序決定部120、初期化部130、計算受信ノード決定部140、探索ノード決定部150、経路パラメータ計算部160、経路パラメータ判定部170、経路保存部180、経路出力部190、制御部100、トポロジ情報記憶部101、送信・受信ノード記憶部102、経路記憶部103、訪問済みノード記憶部104、ノード情報記憶部105から構成される。
The multicast route calculation apparatus shown in the figure includes a
要求取得部110は、外部からトポロジ情報、送信ノード、受信ノードを入力装置からの入力、または、記憶装置から読み出すことにより取得し、トポロジ情報をトポロジ情報記憶部101に、送信ノード・受信ノードを送信・受信ノード記憶部102に、送信ノードを経路記憶部103に格納する。
The
計算順序決定部120は、送信・受信ノード記憶部102を参照し、受信ノードの計算順序を決定し、送信・受信ノード記憶部102に当該計算順序を格納する。
The calculation
初期化部130は、訪問済みノード記憶部104、ノード情報記憶部105を初期化する。
The
計算受信ノード決定部140は、送信・受信ノード記憶部102及び経路記憶部103を参照し、経路記憶部103に格納されていない受信ノードの中で計算順序最上位の受信ノードを決定する。
The calculation reception
探索ノード決定部150は、訪問済みノード記憶部104を参照し、探索ノードを決定し、当該探索ノードを訪問済みノード記憶部104に格納する。
The search
経路パラメータ計算部160は、トポロジ情報記憶部101を参照し、探索ノードの隣接ノードについて、探索ノード経由の経路における第1のホップ数と第1の合計コストを計算する。
The route
経路パラメータ判定部170は、ノード情報記憶部105を参照し、隣接ノードについて、既に格納されている第2のホップ数と合計コストと、第1のホップ数と合計コストを比較し、ノード上表記憶部105の情報を更新する。
The path
経路出力部190は、経路記憶部103に格納された経路を出力する。
The
制御部100は、上記の各部の処理を制御する。
The
次に、上記の構成における動作を説明する。 Next, the operation in the above configuration will be described.
図4、図5は、本発明の第1の実施の形態における動作のフローチャートである。 4 and 5 are flowcharts of operations in the first embodiment of the present invention.
ステップ101) まず、要求取得部110が、ネットワークの各ノードの接続関係を表したトポロジ情報と、送信ノード及び受信ノードを取得する。トポロジ情報には、各ノードの接続関係のほか、各リンクのコスト値を含む。また、受信ノードは、複数のノードとなる。また、取得したトポロジ情報をトポロジ情報記憶部101に、送信ノードと受信ノードを、送信・受信ノード記憶部102に保存する。
Step 101) First, the
ステップ102) 次に、要求取得部110が、送信ノードを経路記憶部103に保存する。
Step 102) Next, the
ステップ103) 次に、計算順序決定部120が、送信ノードから各受信ノードまでの最小ホップ数を計算する。
Step 103) Next, the calculation
ステップ104) 次に、計算順序決定部120が、上記の送信ノードから各受信ノードまでの最小ホップ数を比較し、最小ホップ数が最も小さい受信ノードを計算順序最上位、最も大きい受信ノードを最下位とし、計算順序を送信・受信ノード記憶部102の各受信ノードに対して保存する。
(Step 104) Next, the calculation
ステップ105) 次に、初期化部130が、訪問済みノード記憶部104とノード情報記憶部105の情報を削除する。但し、最初はデータが格納されていないため、この必要はない。
Step 105) Next, the
ステップ106) 次に、計算受信ノード決定部140が、経路記憶部103に保存されていない受信ノードの中で、計算順序最上位の受信ノードを決定する。但し、最初は、経路記憶部103には、送信ノードしか保存されていないため、計算順序最上位の受信ノードが決定される。
Step 106) Next, the calculation reception
ステップ107) 次に、探索ノード決定部150が、訪問済みノード記憶部104になんらかのノードが保存されているかを判定する。何も保存されていない場合は、ステップ108に移行する。訪問済みノード記憶部104に何らかのノードが保存されている場合、ステップ109に移行する。
Step 107) Next, the search
ステップ108) 前ステップで決定された受信ノードを探索ノードとして決定し、当該ノードを訪問済みノード記憶部104に保存し、ステップ112に移行する。
Step 108) The receiving node determined in the previous step is determined as a search node, the node is stored in the visited
ステップ109) まだ訪問済みとなっていないノードの中について、ノード情報記憶部105に保存されているノードに対するホップ数と合計コストと経路を参照し、ホップ数が最小のノードが複数あるかどうかを判定する。ホップ数が最小のノードが1つの場合は、ステップ110に移行する。ホップ数が最小のノードが複数ある場合は、ステップ111に移行する。
Step 109) With respect to the nodes that have not been visited yet, the number of hops, the total cost, and the route with respect to the nodes stored in the node
ステップ110) 当該ノードを探索ノードとして決定し、訪問済みノード記憶部104に保存し、ステップ112に移行する。
Step 110) The node is determined as a search node, stored in the visited
ステップ111) ホップ数が最小のノードの中で、合計コストが最小のノードを一つ選び、該ノードを探索ノードとして決定し、訪問済みノード記憶部104に保存する。
Step 111) One node having the smallest total cost is selected from the nodes having the smallest number of hops, the node is determined as a search node, and stored in the visited
ステップ112) 次に、経路パラメータ計算部160が、探索ノードvの隣接ノードuについて、探索ノード経由のホップ数H1と、合計コストC1を計算する。ここで、
H1=Id*H(v)+1
で、Idは、探索ノードが受信ノードの1つであれば0、そうでなければ1をとる値、H(v)は、探索ノードのホップ数である。また、
C1=C(v)+w(v,u)
で、C(v)は、探索ノードの合計コスト、w(v,u)は、探索ノードと隣接ノード間のリンクのコスト値である。H(v)やC(v)は、ノード情報記憶部105に保存されている値を用いる。ノード情報記憶部105の探索ノードvの情報が何も保存されていない場合、H(v)、とC(v)は0である。
Step 112) Next, the route
H1 = Id * H (v) +1
Where Id is 0 if the search node is one of the receiving nodes, and 1 otherwise, and H (v) is the number of hops of the search node. Also,
C1 = C (v) + w (v, u)
C (v) is the total cost of the search node, and w (v, u) is the cost value of the link between the search node and the adjacent node. As H (v) and C (v), values stored in the node
ステップ113) 次に、経路パラメータ判定部170が、ノード情報記憶部105を参照し、上記の隣接ノードuに対して、他のノード経由のホップ数Hと合計コストCが既に保存されているかどうかを判定する。保存されていない場合は、ステップ116に移行する。既に、HとCが保存されている場合は、ステップ114に移行する。
Step 113) Next, the route
ステップ114) まず、H1<Hかどうかを判定し、そうであれば、ステップ116に移行する。そうでなければステップ115に移行する。 Step 114) First, it is determined whether or not H1 <H. If so, the process proceeds to Step 116. Otherwise, the process proceeds to step 115.
ステップ115) H1<Hでない場合で、H1=HかつC1<Cである場合も、ステップ116に移行する。そうでない場合は、ステップ117に移行する。 Step 115) If H1 <H and H1 = H and C1 <C, the process proceeds to Step 116. If not, the process proceeds to step 117.
ステップ116) 保存されていない場合は、ノード情報記憶部105の隣接ノードuに、H1とC1及び経路として、探索ノードを保存する。H1<Hの場合は、ノード情報記憶部105の隣接ノードuに、H1とC1と経路(探索ノード)を上書きする。H1<Hでない場合で、H1=HかつC1<Cである場合にも、ノード情報記憶部105の隣接ノードuに、H1とC1と経路(探索ノード)を上書きする。
Step 116) If not stored, the search node is stored in the adjacent node u of the node
ステップ117) 探索ノードに対する隣接ノード全てに対し、H1とC1の計算が行われるまで、経路パラメータ計算部160以下の処理(ステップ112以降の処理)を繰り返し行う。 Step 117) Until the calculation of H1 and C1 is performed for all the adjacent nodes with respect to the search node, the processing after the route parameter calculation unit 160 (the processing after Step 112) is repeated.
ステップ118) 制御部100は、探索ノードが経路記憶部103に保存されていなければ、探索ノード決定部150以下の各部に対してステップ107以降の処理を繰り返し実行させる。探索ノードが経路記憶部103に保存されているノードであれば、ステップ119に移行する。
Step 118) If the search node is not stored in the
ステップ119) ノード情報記憶部105を参照し、探索ノードから受信ノードまでの経路を、ノードを経路順に並べた情報として保存する。この経路は、ノード情報記憶部105の各ノードに保存されている経路(ノード)を辿ることで得られる。
Step 119) Referring to the node
ステップ120) 制御部100は、全ての受信ノードが、経路記憶部103に保存されるまで、初期化部130以下の各部に対してステップ105以降の処理を繰り返し実行させる。
Step 120) The
ステップ121) 全ての受信ノードが経路記憶部103に保存されたら、最後に、経路出力部190が、経路記憶部103に保存されている経路を出力して処理を終了する。
Step 121) When all the receiving nodes are stored in the
以下に、上記の動作の具体例を説明する。 A specific example of the above operation will be described below.
以下の説明で利用するトポロジを図6に示す。 A topology used in the following description is shown in FIG.
まず、要求取得部110がトポロジ情報を取得する。各ノードの接続関係、各リンクのコスト値は、図6に示すとおりである。次に、要求取得部110は、送信ノードと受信ノードを取得する。本具体例では、送信ノードをノード1、受信ノードAをノード6、受信ノードBをノード13、受信ノードCをノード12、受信ノードDをノード15とする。要求取得部110は、トポロジ情報をトポロジ情報記憶部101、送信ノードと受信ノードを送信・受信ノード記憶部102に保存する(ステップ101)。さらに、要求取得部110は、送信ノードを経路記憶部103に保存する(ステップ102)。
First, the
次に、計算順序決定部120が、送信ノードから各受信ノードまでの最小ホップ数を計算する(ステップ103)。本具体例において、各受信ノードの最小ホップ数は、受信ノードAが2、受信ノードBが3、受信ノードCが5、受信ノードDが5となる。計算順序決定部120は、これらの値を比較し、最小ホップ数が小さい順に以下の通り、計算順序を決定する。
Next, the calculation
・1位:ノードA
・2位:ノードB
・3位:ノードC
・4位:ノードD
ここで、ノードCとノードDは、最小ホップ数が等しいため、記号順に順位を決定したが、他の方法でもよい。これらの情報を送信・受信ノード記憶部102の受信ノードそれぞれに関連付けて保存する(ステップ104)。
・ First place: Node A
・ Second place: Node B
・ 3rd place: Node C
4th place: Node D
Here, since the minimum number of hops is equal between the node C and the node D, the order is determined in the order of symbols, but other methods may be used. These pieces of information are stored in association with each receiving node in the transmitting / receiving node storage unit 102 (step 104).
次に、初期化部130が、訪問済みノード記憶部104とノード情報記憶部105の情報を削除する(ステップ105)。但し、最初はデータが格納されていないため、この必要はない。
Next, the
次に、計算受信ノード決定部140が、経路記憶部103に保存されていない受信ノードの中で、計算順序最上位の受信ノードを決定する(ステップ106)。但し、最初は、経路記憶部103には、送信ノードしか保存されていないため、計算順序最上位の受信ノードが決定される。本動作例では、受信ノードAが選択される。
Next, the calculation receiving
次に、探索ノード決定部150が、訪問済みノード記憶部104に何らかのノードが保存されているかを判定する(ステップ107)。最初は何も保存されていないため、前の処理で決定された受信ノードAを探索ノードとして決定し、当該ノードを訪問済みノード記憶部104に保存する(図7(a)参照)(ステップ108)。
Next, the search
次に、経路パラメータ計算部160が、探索ノードvの隣接ノードuについて、探索ノード経由のホップ数H1と、合計コストC1を計算する(ステップ112)。
Next, the route
さらに、経路パラメータ判定部170が、ノード情報記憶部105を参照し、上記の隣接ノードuに対して、他のノード経由のホップ数Hと合計コストCが既に保存されているかどうかを判定する(ステップ113)。最初は、保存されていないため、ノード情報記憶部105の隣接ノードu、H1とC1及び、経路として、探索ノードを保存する(ステップ116)。経路パラメータ計算と、経路パラメータ判定の処理を全ての隣接ノードに対して行う(図7(b)参照)。図7(b)において、ホップ数はH、合計コストはC、経路はRで示す。
Further, the route
探索ノードが経路記憶部103に保存されていないので(ステップ118、No)、探索ノード決定の処理(ステップ107)に戻る。 Since the search node is not stored in the route storage unit 103 (step 118, No), the process returns to the search node determination process (step 107).
探索ノード決定部150が、訪問済みノード記憶部104を参照し、ノードが保存されているため(ステップ107、Yes)、訪問済みとなっていないノードについて、ノード情報記憶部105に保存されているノードに対するホップ数と合計コストと経路を参照し、ホップ数が最小のノードが複数あるかどうかを判定する(ステップ109)。本具体例では、ホップ数が最小の1を持つノードが6つあるため、ホップ数が最小のノードの中で、合計コストが最小のノードを1つ選ぶ。ここでは、合計コストが1のノードが選択されるが、複数あるため、ノード番号順にノード2が探索ノードとして選択され、訪問済みノード記憶部104に保存される(図7(c)参照)(ステップ111)。
Since the search
次に、経路パラメータ計算部160が、探索ノードvの隣接ノードuについて、探索ノード経由のホップ数H1と、合計コストC1を計算する(ステップ112)。
Next, the route
さらに、経路パラメータ判定部170が、ノード情報記憶部105を参照し、上記の隣接ノードuに対して、他のノード経由のホップ数Hと合計コストCが既に保存されているかどうかを判定する(ステップ113)。保存されていないノードには、ノード情報記憶部105の隣接ノードuに、H1とC1及び、経路として、探索ノードを保存する(ステップ116)。既に、HとCが保存されているノードにおいては(ステップ113、Yes)、H1<H、または、H1=HかつC1<Cの場合(ステップ114,Yes、ステップ115,Yes)、H1とC1を新たなH、Cとして、また、探索ノードを経路として保存する(ステップ116)。経路パラメータ計算と、経路パラメータ判定の処理を全ての隣接ノードに対して行う(図7(d))。
Further, the route
上記の、探索ノード決定、経路パラメータ計算、経路パラメータ判定の処理を繰り返し行うと、探索ノードがノード5、ノード7、ノード10、ノード3、ノード9、ノード1の順に決定される(図7(e)〜(h)参照)。
When the above search node determination, route parameter calculation, and route parameter determination processes are repeated, the search node is determined in the order of
ノード1は、経路記憶部103に保存されているため、上記繰り返し処理は終了され、経路記憶部103に探索ノードから受信ノードAまでの経路が保存される(図8(i)参照)。
Since
経路記憶部103に、全ての受信ノードが保存されていないため(ステップ120、No)、初期化部130の処理に戻る。初期化部130は、訪問済みノード記憶部104と、ノード情報記憶部105の情報を削除する(図8(j)参照)(ステップ105)。
Since not all receiving nodes are stored in the path storage unit 103 (No at Step 120), the processing returns to the
次に、計算受信ノード決定部140が、送信・受信ノード記憶部102を参照し、次の計算受信ノードを受信ノードBと選択する(ステップ106)。
Next, the calculation reception
探索ノード決定、経路パラメータ計算、経路パラメータ判定の処理を上記同様に繰り返すと、探索ノードがノード13、ノード9、ノード11、ノード10、ノード5の順に決定される。
When the search node determination, route parameter calculation, and route parameter determination processes are repeated in the same manner as described above, the search nodes are determined in the order of
ノード5は、経路記憶部103に保存されているため、上記繰り返し処理は終了され、経路記憶部103に探索ノードから受信ノードBまでの経路が保存される(図8(k))(ステップ119)。
Since the
経路記憶部103に、全ての受信ノードが保存されていないため(ステップ120、No)、初期化部130の処理に戻る。初期化部130は、訪問済みノード記憶部104と、ノード情報記憶部105の情報を削除する(ステップ105)。
Since not all receiving nodes are stored in the path storage unit 103 (No at Step 120), the processing returns to the
次に、計算受信ノード決定部140が、送信・受信ノード記憶部102を参照し、次の計算受信ノードを受信ノードCと選択する(ステップ106)。
Next, the calculation reception
探索ノード決定、経路パラメータ計算、経路パラメータ判定の処理を、上記同様に繰り返すと、探索ノードがノード12、ノード8、ノード11、ノード16、ノード15、ノード14、ノード4、ノード7、ノード10、ノード13の順に決定される。ここで、ノード15が、探索ノードとして決定されたとき、経路パラメータ計算部160において、H1の計算では、Idが0にセットされることに注意が必要である。
When the search node determination, route parameter calculation, and route parameter determination processes are repeated in the same manner as described above, the search nodes are
ノード13は、経路記憶部103に保存されているため、上記繰り返し処理は終了され、経路記憶部103に探索ノードから受信ノードCまでの経路が保存される(図8(l)参照)(ステップ119)。
Since the
経路記憶部103に全ての受信ノードが保存されたため(ステップ120、Yes)、最後に経路出力部190が経路記憶部103を参照し、マルチキャスト経路を、例えば、以下のように出力し処理を終了する(ステップ121)。
Since all receiving nodes are stored in the route storage unit 103 (
・受信ノードAへの経路:1,5,6
・受信ノードBへの経路:1,5,9,13
・受信ノードCへの経路:1,5,9,13,14,15,12
・受信ノードDへの経路:1,5,9,13,14,15
上記の第1の実施の形態によれば、送信ノードから受信ノードまでの最小ホップ数が小さい順に経路を計算していくため、無駄に遠回りする経路が生成されることを防ぐことが可能である。また、出来上がったツリーに最小のホップ数で経路を接続させていくこと、経路探索の途中で他の受信ノードを通過する経路を優先的に選択することにより、リンク数を最小限に抑えることが可能である。
Route to receiving node A: 1, 5, 6
Route to receiving node B: 1, 5, 9, 13
Route to receiving node C: 1, 5, 9, 13, 14, 15, 12
Route to receiving
According to the first embodiment described above, the routes are calculated in ascending order of the minimum number of hops from the transmission node to the reception node, and therefore it is possible to prevent the generation of a useless detour route. . Also, it is possible to minimize the number of links by connecting routes to the completed tree with the minimum number of hops and preferentially selecting routes that pass through other receiving nodes during route search. Is possible.
[第2の実施の形態]
本実施の形態は、第1の実施の形態における計算順序決定部の処理のみが異なる。装置構成自体は第1の実施の形態における図3に示す構成と同様であるので、その説明は省略する。
[Second Embodiment]
This embodiment is different only in the processing of the calculation order determination unit in the first embodiment. The apparatus configuration itself is the same as that shown in FIG. 3 in the first embodiment, and a description thereof will be omitted.
本実施の形態における計算順序決定部120は、送信ノードから各受信ノードまでの最小ホップ数を計算し、得られた最小ホップ数を比較し、最小ホップ数が最も大きい受信ノードを計算順序最上位、最も小さい受信ノードを最下位とし、計算順序を送信・受信ノード記憶部102の各受信ノードに対し保存する。
The calculation
第1の実施の形態における具体例において、各受信ノードの最小ホップ数は、受信ノードAが2、受信ノードBが3、受信ノードCが5、受信ノードDが5であるため、計算順序決定部120は、これらの値を比較し、最小ホップ数が大きい順に以下の通り、計算順序を決定する。
In the specific example in the first embodiment, the minimum number of hops of each receiving node is 2 because the receiving node A, 3 is the receiving node B, 5 is the receiving node C, and 5 is the receiving node D. The
・1位:ノードC
・2位:ノードD
・3位:ノードB
・4位:ノードA
ここで、ノードCとノードDは、最小ホップ数が等しいため、記号順に順位を決定したが、他の方法でもよい。これらの情報を送信・受信ノード記憶部102にそれぞれ関連付けて保存する。
-1st place: Node C
・ 2nd place: Node D
・ 3rd place: Node B
・ 4th: Node A
Here, since the minimum number of hops is equal between the node C and the node D, the order is determined in the order of symbols, but other methods may be used. These pieces of information are stored in association with the transmission / reception
計算順序決定部120の処理以外は、全て第1の実施の形態と同じであるので、その説明を省略する。
Except for the processing of the calculation
上記の第2の実施の形態によれば、送信ノードから受信ノードまでの最小ホップ数が大きい順に経路を計算していくため、計算の途中で他の受信ノードを経路に取り込みやすくなるため、リンク数を最小限に抑えることが可能である。 According to the second embodiment, since the routes are calculated in descending order of the minimum number of hops from the transmitting node to the receiving node, it is easy to incorporate other receiving nodes into the route during the calculation. It is possible to minimize the number.
なお、上記の第1・第2の実施の形態における動作をプログラムとして構築し、マルチキャスト経路計算装置として利用されるコンピュータにインストールして実行させる、または、ネットワークを介して流通させることが可能である。 The operations in the first and second embodiments described above can be constructed as a program and installed in a computer used as a multicast route calculation device to be executed or distributed via a network. .
また、構築されたプログラムを、コンピュータ読み取り可能なディスク装置や、CD−ROM等の可搬記憶媒体に格納し、コンピュータにインストールして実行させる、または、配布することが可能である。 Further, the constructed program can be stored in a computer-readable disk device or a portable storage medium such as a CD-ROM, installed in a computer, executed, or distributed.
なお、本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において種々変更・応用が可能である。 The present invention is not limited to the above-described embodiment, and various modifications and applications can be made within the scope of the claims.
本発明は、マルチキャスト通信に用いる経路計算技術に適用可能である。 The present invention is applicable to a route calculation technique used for multicast communication.
10 マルチキャスト経路計算装置(LSP経路計算装置)
11 トポロジ情報
12 LSP設定条件
13 経路設定機構
100 制御部
100−1 第1の制御手段
100−2 第2の制御手段
101 トポロジ情報記憶部
102 送信・受信ノード記憶部
103 経路記憶手段、経路記憶部
104 訪問済みノード記憶手段、訪問済みノード記憶部
105 ノード情報記憶手段、ノード情報記憶部
110 要求取得手段、要求取得部
120 計算順序決定手段、計算順序決定部
130 初期化部
140 計算受信ノード決定手段、計算受信ノード決定部
150 探索ノード決定手段、探索ノード決定部
160 経路パラメータ計算手段、経路パラメータ計算部
170 経路パラメータ判定手段、経路パラメータ判定部
180 経路保存手段、経路保存部
190 経路出力手段、経路出力部
10 Multicast route calculation device (LSP route calculation device)
11
Claims (10)
要求取得手段が、各ノードの接続関係を表したトポロジ情報及び、送信ノードと複数の受信ノードを受け付け、該送信ノードを経路記憶手段に格納する要求取得ステップと、
計算順序決定手段が、受信ノードの計算順序を決定する計算順序決定ステップと、
計算受信ノード決定手段が、前記経路記憶手段に格納されていない受信ノードの中で、計算順序最上位の受信ノードを決定する計算受信ノード決定ステップと、
探索ノード決定手段が、訪問済みノード記憶手段を参照して、訪問済みノードが1つも無い場合は、前記受信ノードを探索ノードとして決定し、訪問済みノードがある場合は、まだ訪問済みとなっていないノードの中から、ノード情報記憶手段を参照して、ホップ数が最小のノードを探索ノードとして決定し、ホップ数が最小のノードが複数ある場合は、その中から合計コストが最小のノードを次の探索ノードとして決定し、該探索ノードを該訪問済みノード記憶手段に格納する探索ノード決定ステップと、
経路パラメータ計算手段が、前記探索ノードの隣接ノードについて、該探索ノード経由の経路における第1のホップ数と第1の合計コストを計算する経路パラメータ計算ステップと、
経路パラメータ判定手段が、前記隣接ノードについて、前記ノード情報記憶手段を参照し、ホップ数が格納されていない場合、または、他のノード経由の経路における第2のホップ数が既に計算されているが、前記第1のホップ数の方が小さい場合は、該第1のホップ数、前記第1の合計コスト、前記探索ノード経由の経路を該ノード情報記憶手段に格納し、該第2のホップ数が該第1のホップ数と等しく、かつ、他のノード経由の経路における第2の合計コストが既に計算されているが、前記第1の合計コストの方が小さい場合は、該第1のホップ数、該第1の合計コスト、前記探索ノード経由の経路を該ノード情報記憶手段に格納する経路パラメータ判定ステップと、
制御手段が、前記経路記憶手段を参照して、前記探索ノードが含まれていなければ、前記探索ノード決定ステップ以降の処理を繰り返し、
経路保存手段が、前記ノード情報記憶手段を参照して、前記探索ノードから前記受信ノードまでの経路を前記経路記憶手段に格納する経路保存ステップと、
前記制御手段が、前記経路記憶手段を参照して、受信ノードが該経路記憶手段に全て格納されていなければ、前記訪問済みノード記憶手段と前記ノード情報記憶手段の情報を削除し、前記計算受信ノード決定ステップ以降の処理を繰り返し、
経路出力手段が、前記経路記憶手段に格納された経路を出力する経路出力ステップと、
を行うことを特徴とするマルチキャスト経路計算方法。 A multicast route calculation method for calculating a multicast route,
A request acquisition step in which the request acquisition means accepts topology information representing a connection relationship of each node, a transmission node and a plurality of reception nodes, and stores the transmission node in the path storage means;
A calculation order determination step in which the calculation order determination means determines the calculation order of the receiving node;
A calculation receiving node determining step for determining a receiving node at the highest calculation order among the receiving nodes not stored in the path storage unit;
The search node determining means refers to the visited node storage means, and if there is no visited node, determines the receiving node as a search node, and if there is a visited node, the visited node is still visited. The node with the smallest number of hops is determined as a search node by referring to the node information storage means from among the nodes that do not have any nodes. Determining a next search node and storing the search node in the visited node storage means;
A route parameter calculation means for calculating a first hop number and a first total cost in a route via the search node for a neighboring node of the search node;
The route parameter determination means refers to the node information storage means for the adjacent node, and if the hop count is not stored, or the second hop count in the route via another node has already been calculated. If the first hop count is smaller, the first hop count, the first total cost, and the route through the search node are stored in the node information storage means, and the second hop count is stored. Is equal to the number of first hops and the second total cost in the route via another node has already been calculated, but the first total cost is smaller, the first hop A route parameter determination step of storing the number, the first total cost, and the route via the search node in the node information storage unit;
The control means refers to the route storage means, and if the search node is not included, repeats the processing after the search node determination step,
A route storing step for storing a route from the search node to the receiving node in the route storing unit with reference to the node information storing unit;
The control means refers to the route storage means, and if all the receiving nodes are not stored in the route storage means, deletes the information of the visited node storage means and the node information storage means, and receives the calculation Repeat the process after the node determination step,
A route output means for outputting a route stored in the route storage means;
A multicast route calculation method characterized by:
それぞれの受信ノードについて、送信ノードから受信ノードまでの最小ホップ数を計算し、
前記最小ホップ数が最も小さい受信ノードを計算順序最上位とし、該最小ホップ数が最も大きい受信ノードを計算順序最下位とする、
請求項1記載のマルチキャスト経路計算方法。 In the calculation order determination step,
For each receiving node, calculate the minimum number of hops from the sending node to the receiving node,
The receiving node with the smallest minimum hop number is the highest in the calculation order, and the receiving node with the largest minimum hop number is the lowest in the calculation order.
The multicast route calculation method according to claim 1.
それぞれの受信ノードについて、送信ノードから受信ノードまでの最小ホップ数を計算し、
前記最小ホップ数が最も大きい受信ノードを計算順序最上位とし、該最小ホップ数が最も小さい受信ノードを計算順序最下位とする、
請求項1記載のマルチキャスト経路計算方法。 In the calculation order determination step,
For each receiving node, calculate the minimum number of hops from the sending node to the receiving node,
The receiving node having the largest minimum hop number is the highest in the calculation order, and the receiving node having the smallest minimum hop number is the lowest in the calculation order.
The multicast route calculation method according to claim 1.
前記探索ノードが受信ノードである場合は、ホップ数を1とする、
請求項1記載のマルチキャスト経路計算方法。 In the route parameter calculation step,
If the search node is a receiving node, the number of hops is 1.
The multicast route calculation method according to claim 1.
各ノードの接続関係を表したトポロジ情報及び、送信ノードと複数の受信ノードを受け付け、該送信ノードを経路記憶手段に格納する要求取得手段と、
受信ノードの計算順序を決定する計算順序決定手段と、
前記経路記憶手段に格納されていない受信ノードの中で、計算順序最上位の受信ノードを決定する計算受信ノード決定手段と、
訪問済みノード記憶手段を参照して、訪問済みノードが1つも無い場合は、前記受信ノードを探索ノードとして決定し、訪問済みノードがある場合は、まだ訪問済みとなっていないノードの中から、ノード情報記憶手段を参照して、ホップ数が最小のノードを探索ノードとして決定し、ホップ数が最小のノードが複数ある場合は、その中から合計コストが最小のノードを次の探索ノードとして決定し、該探索ノードを該訪問済みノード記憶手段に格納する探索ノード決定手段と、
前記探索ノードの隣接ノードについて、該探索ノード経由の経路における第1のホップ数と第1の合計コストを計算する経路パラメータ計算手段と、
前記隣接ノードについて、前記ノード情報記憶手段を参照し、ホップ数が格納されていない場合、または、他のノード経由の経路における第2のホップ数が既に計算されているが、前記第1のホップ数の方が小さい場合は、該第1のホップ数、前記第1の合計コスト、前記探索ノード経由の経路を該ノード情報記憶手段に格納し、該第2のホップ数が該第1のホップ数と等しく、かつ、他のノード経由の経路における第2の合計コストが既に計算されているが、前記第1の合計コストの方が小さい場合は、該第1のホップ数、該第1の合計コスト、前記探索ノード経由の経路を該ノード情報記憶手段に格納する経路パラメータ判定手段と、
前記経路記憶手段を参照して、前記探索ノードが含まれていなければ、前記探索ノード決定手段、経路パラメータ計算手段、経路パラメータ判定手段の処理を繰り返す第1の制御手段と、
前記ノード情報記憶手段を参照して、前記探索ノードから前記受信ノードまでの経路を前記経路記憶手段に格納する経路保存手段と、
前記経路記憶手段を参照して、受信ノードが該経路記憶手段に全て格納されていなければ、前記訪問済みノード記憶手段と前記ノード情報記憶手段の情報を削除し、前記計算受信ノード決定手段、前記探索ノード決定手段、前記経路パラメータ計算手段、前記経路パラメータ判定手段、前記第1の制御手段、前記経路保存手段の処理を繰り返す第2の制御手段と、
前記経路記憶手段に格納された経路を出力する経路出力手段と、
を有することを特徴とするマルチキャスト経路計算装置。 A multicast route calculation device for calculating a multicast route,
Topology information representing the connection relationship of each node, request acquisition means for receiving a transmission node and a plurality of reception nodes, and storing the transmission node in a path storage means;
A calculation order determining means for determining the calculation order of the receiving node;
Among the receiving nodes not stored in the path storage means, calculation receiving node determining means for determining the highest receiving node in the calculation order;
With reference to the visited node storage means, if there is no visited node, the receiving node is determined as a search node, and if there is a visited node, among the nodes that have not yet been visited, Referring to the node information storage means, the node with the smallest number of hops is determined as the search node. If there are multiple nodes with the smallest number of hops, the node with the smallest total cost is determined as the next search node. Search node determination means for storing the search node in the visited node storage means;
Route parameter calculation means for calculating a first hop number and a first total cost in a route via the search node for adjacent nodes of the search node;
For the adjacent node, referring to the node information storage means, if the number of hops is not stored, or the second hop number in the route via another node has already been calculated, the first hop If the number is smaller, the first hop number, the first total cost, and the route through the search node are stored in the node information storage means, and the second hop number is the first hop number. If the second total cost in the route via another node is already calculated, but the first total cost is smaller, the first hop number, the first number Route parameter determination means for storing the total cost, the route via the search node in the node information storage means,
Referring to the route storage means, and if the search node is not included, a first control means that repeats the processing of the search node determination means, route parameter calculation means, route parameter determination means;
Referring to the node information storage means, a route storage means for storing a route from the search node to the receiving node in the route storage means;
With reference to the path storage means, if all the receiving nodes are not stored in the path storage means, the information of the visited node storage means and the node information storage means is deleted, the calculation receiving node determination means, Search node determination means, route parameter calculation means, route parameter determination means, first control means, second control means for repeating the processing of the route storage means;
Route output means for outputting a route stored in the route storage means;
A multicast route calculation apparatus comprising:
それぞれの受信ノードについて、送信ノードから受信ノードまでの最小ホップ数を計算し、該最小ホップ数が最も小さい受信ノードを計算順序最上位とし、該最小ホップ数が最も大きい受信ノードを計算順序最下位とする、
請求項5記載のマルチキャスト経路計算装置。 The calculation order determining means includes
For each receiving node, the minimum number of hops from the transmitting node to the receiving node is calculated, the receiving node with the smallest number of hops is the highest in the calculation order, and the receiving node with the largest minimum hop number is the lowest in the calculation order. And
The multicast route calculation apparatus according to claim 5.
それぞれの受信ノードについて、送信ノードから受信ノードまでの最小ホップ数を計算し、該最小ホップ数が最も大きい受信ノードを計算順序最上位とし、該最小ホップ数が最も小さい受信ノードを計算順序最下位とする、
請求項5記載のマルチキャスト経路計算装置。 The calculation order determining means includes
For each receiving node, the minimum number of hops from the transmitting node to the receiving node is calculated, the receiving node having the largest minimum hop number is the highest in the calculation order, and the receiving node having the smallest minimum hop number is the lowest in the calculation order. And
The multicast route calculation apparatus according to claim 5.
前記探索ノードが受信ノードである場合は、ホップ数を1とする、
請求項5記載のマルチキャスト経路計算装置。 The route parameter calculation means includes:
If the search node is a receiving node, the number of hops is 1.
The multicast route calculation apparatus according to claim 5.
請求項5乃至8記載のマルチキャスト経路計算装置の各手段を実行させることを特徴とするマルチキャスト経路計算プログラム。 On the computer,
A multicast route calculation program that causes each means of the multicast route calculation device according to claim 5 to be executed.
請求項5乃至8記載のマルチキャスト経路計算装置の各手段を実行させるプログラムを格納したことを特徴とするコンピュータ読み取り可能な記録媒体。 On the computer,
A computer-readable recording medium storing a program for executing each means of the multicast route calculation apparatus according to claim 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006170688A JP4499067B2 (en) | 2006-06-20 | 2006-06-20 | Multicast path calculation method and apparatus, program, and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006170688A JP4499067B2 (en) | 2006-06-20 | 2006-06-20 | Multicast path calculation method and apparatus, program, and computer-readable recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008005066A true JP2008005066A (en) | 2008-01-10 |
JP4499067B2 JP4499067B2 (en) | 2010-07-07 |
Family
ID=39009123
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006170688A Expired - Fee Related JP4499067B2 (en) | 2006-06-20 | 2006-06-20 | Multicast path calculation method and apparatus, program, and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4499067B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009260750A (en) * | 2008-04-18 | 2009-11-05 | Nippon Telegr & Teleph Corp <Ntt> | Routing method and routing apparatus |
JP2013219436A (en) * | 2012-04-04 | 2013-10-24 | Nippon Telegr & Teleph Corp <Ntt> | Multicast route calculation method and apparatus |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004208289A (en) * | 2002-12-11 | 2004-07-22 | Nippon Telegr & Teleph Corp <Ntt> | Multicast transfer routing method, multicast transfer routing apparatus and program |
-
2006
- 2006-06-20 JP JP2006170688A patent/JP4499067B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004208289A (en) * | 2002-12-11 | 2004-07-22 | Nippon Telegr & Teleph Corp <Ntt> | Multicast transfer routing method, multicast transfer routing apparatus and program |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009260750A (en) * | 2008-04-18 | 2009-11-05 | Nippon Telegr & Teleph Corp <Ntt> | Routing method and routing apparatus |
JP4589978B2 (en) * | 2008-04-18 | 2010-12-01 | 日本電信電話株式会社 | Route setting method and route setting device |
JP2013219436A (en) * | 2012-04-04 | 2013-10-24 | Nippon Telegr & Teleph Corp <Ntt> | Multicast route calculation method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP4499067B2 (en) | 2010-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100450407B1 (en) | A Multi QoS Path Computation Method | |
JP5135748B2 (en) | Transmission apparatus and path setting method | |
JP4533354B2 (en) | Route calculation method, route calculation program, and route calculation device | |
JP2013541290A (en) | Relayed CSPF for multiple regions and multiple autonomous systems | |
JP2007060461A (en) | Path setting method and communication equipment in network divided into multiple areas | |
JP4536690B2 (en) | Route calculation method, apparatus and program | |
JP4603519B2 (en) | Route calculation method, route calculation program, route calculation device, and node | |
JP4463779B2 (en) | Pass accommodation calculation device, path accommodation calculation method, and program | |
JP4499067B2 (en) | Multicast path calculation method and apparatus, program, and computer-readable recording medium | |
JP4509969B2 (en) | Pass accommodation calculation device, path accommodation calculation method, and program | |
JP4436307B2 (en) | LSP (LabelSwitchedPath) path calculation method, apparatus and program | |
JP4128944B2 (en) | Multicast transfer route setting method, multicast transfer route calculation device, program, and recording medium | |
JP4673329B2 (en) | Apparatus, method, and program for creating multicast tree | |
JP4485464B2 (en) | Alternative route calculation method and apparatus, alternative route calculation server, alternative route calculation router, and alternative route calculation program | |
JP4422095B2 (en) | Alternative route calculation method and apparatus, alternative route calculation server, alternative route calculation router, and alternative route calculation program | |
JP4479602B2 (en) | Multicast route calculation method and apparatus, program, and storage medium storing multicast route calculation program | |
JP4479601B2 (en) | Multicast route calculation method and apparatus, program, and storage medium storing program | |
JP2007074308A (en) | Method and device for computing and setting bypass circuit and program | |
JP4700662B2 (en) | Rerouting method, rerouting program and routing device | |
US20120063362A1 (en) | Method and apparatus for computing paths to destinations in networks having link constraints | |
JP2007243479A (en) | Method device, and program for determining effect of failure | |
JP3977786B2 (en) | Multicast network, multicast transfer route calculation method, multicast transfer route calculation program, and recording medium recording the program | |
JP4335889B2 (en) | Route estimation method, apparatus and program | |
JP4417896B2 (en) | Detour route calculation device, program, detour route calculation server, router, and detour route calculation method and system | |
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: 20080806 |
|
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: 20100413 |
|
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: 20100414 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130423 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140423 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 |