JP4479602B2 - Multicast route calculation method and apparatus, program, and storage medium storing multicast route calculation program - Google Patents
Multicast route calculation method and apparatus, program, and storage medium storing multicast route calculation program Download PDFInfo
- Publication number
- JP4479602B2 JP4479602B2 JP2005184981A JP2005184981A JP4479602B2 JP 4479602 B2 JP4479602 B2 JP 4479602B2 JP 2005184981 A JP2005184981 A JP 2005184981A JP 2005184981 A JP2005184981 A JP 2005184981A JP 4479602 B2 JP4479602 B2 JP 4479602B2
- Authority
- JP
- Japan
- Prior art keywords
- candidate
- transmission
- route
- multicast
- storage means
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Description
本発明は、マルチキャスト経路計算方法及び装置及びプログラム及びマルチキャスト経路計算プログラムを格納した記憶媒体に係り、特に、マルチキャスト転送装置とユニキャスト伝送装置が混在した通信網において、送信伝送装置から、受信伝送装置までの転送コストが最小になるような経路を求めるために使用されるマルチキャスト経路計算方法及び装置及びプログラム及びマルチキャスト経路計算プログラムを格納した記憶媒体に関する。 The present invention relates to a multicast path calculation method and apparatus, a program, and a storage medium storing a multicast path calculation program. In particular, in a communication network in which a multicast transfer apparatus and a unicast transmission apparatus are mixed, from a transmission transmission apparatus to a reception transmission apparatus. The present invention relates to a multicast route calculation method and apparatus and program used for obtaining a route that minimizes the transfer cost up to and a storage medium storing the multicast route calculation program.
従来、通信網において、図14に示すように、トポロジ情報収集機構によって集められたトポロジ情報10と、送信伝送装置、受信伝送装置、必要帯域などの経路設定制約条件11から、マルチキャスト経路を計算し、その計算結果を経路設定機構13に出力するマルチキャスト経路計算装置12が用いられている。
Conventionally, in a communication network, as shown in FIG. 14, the multicast route is calculated from the
ここで、図15を用いて、従来技術であるダイクストラマルチキャスト経路計算方法を用いたマルチキャスト経路計算装置について説明する。 Here, a multicast route calculation apparatus using the Dijkstra multicast route calculation method according to the prior art will be described with reference to FIG.
図15の(a)のような接続関係とリンクコストを含むトポロジ情報と、送信伝送装置・受信伝送装置の条件が入力された際に、送信伝送装置から受信伝送装置までのリンクコストが最小になるようなマルチキャスト経路を計算する。 When the topology information including the connection relation and the link cost as shown in FIG. 15A and the conditions of the transmission transmission device / reception transmission device are input, the link cost from the transmission transmission device to the reception transmission device is minimized. Calculate a multicast route such that
次に、同図(b)に示すように、送信伝送装置Aから、隣接する伝送装置(B,I)までのリンクコストを計算し、候補装置とする。次に、その候補装置の中から、送信伝送装置からのリンクコストが最小のものを選択する。本トポロジでは、リンクコストが“2”であるBを選択し、送信伝送装置AからBまでの経路を決定する。Bを候補装置から外し、訪問済装置とする。その決定した伝送装置と隣接する伝送装置を探索する。そのとき、隣接した装置の中に、決定した伝送装置の一つ前の装置Aは含めないこととする。同図(c)に示すように、それぞれ隣接する伝送装置に対して、その決定した伝送装置経由での送信伝送装置からのリンクコストを計算し、候補装置とする。 Next, as shown in FIG. 5B, the link cost from the transmission transmission apparatus A to the adjacent transmission apparatuses (B, I) is calculated and set as a candidate apparatus. Next, the one with the lowest link cost from the transmission transmission device is selected from the candidate devices. In this topology, B having a link cost of “2” is selected, and a route from the transmission transmission apparatus A to B is determined. B is removed from the candidate devices, and is a visited device. The transmission apparatus adjacent to the determined transmission apparatus is searched. At that time, the device A immediately before the determined transmission device is not included in the adjacent devices. As shown in FIG. 6C, the link cost from the transmission transmission apparatus via the determined transmission apparatus is calculated for each adjacent transmission apparatus, and is set as a candidate apparatus.
同様にして、図16(d)に示すように、Iを訪問済装置とし、Iに隣接する伝送装置E,Hを候補装置とする。 Similarly, as shown in FIG. 16D, I is a visited device, and transmission devices E and H adjacent to I are candidate devices.
次に候補装置の中から、送信伝送装置からのリンクコストが最小のものを選択するが、複数ある場合は、その他の経路設定制約条件等を用いて一つを選択する。この例においては、Gを選択し、Gを訪問済装置とする。さらに、その伝送装置Gに隣接する経路を候補にする際、その隣接装置が既に候補装置や訪問済み伝送装置となっている場合は、既に計算されている送信伝送装置からのリンクコストと、先程決定した伝送装置G経由での送信伝送装置からのリンクコストを比較し、小さい方をその隣接装置までの経路とする。従って、図16(e)において、Hは、Iからの候補装置となっているが、送信伝送装置からのリンクコストの比較によって(同図(d),(e)の比較)、Hは、Gからの候補装置となる。Fは、G経由での送信伝送装置からのリンクコストが大きいことから、Bからの候補装置のままとなる。 Next, from the candidate devices, the one with the lowest link cost from the transmission transmission device is selected. If there are a plurality of candidate devices, one is selected using other route setting restriction conditions. In this example, G is selected and G is the visited device. Further, when a route adjacent to the transmission device G is selected as a candidate, if the adjacent device is already a candidate device or a visited transmission device, the link cost from the transmission transmission device already calculated, The link cost from the transmission transmission apparatus via the determined transmission apparatus G is compared, and the smaller one is set as a route to the adjacent apparatus. Accordingly, in FIG. 16E, H is a candidate device from I, but by comparing the link costs from the transmission transmission device (comparison of (d) and (e) in FIG. 16), H is Candidate device from G. F is a candidate device from B because the link cost from the transmission transmission device via G is large.
続いて、図16(f)に示すように、先程と同様にFまでの、経路において、Fを候補装置から外し、訪問済装置とする。さらに、Eまでの経路を決定し、Eを候補装置からはずし、訪問済装置とする。図17(g)に示すように、Eの隣接装置を候補装置Dとする。 Subsequently, as shown in FIG. 16 (f), F is removed from the candidate devices in the route to F as in the previous case, and is set as a visited device. Further, the route to E is determined, E is removed from the candidate devices, and the visited device is set. As shown in FIG. 17 (g), an adjacent device of E is a candidate device D.
全装置の探索後は、候補装置の中から、送信伝送装置からのリンクコストが小さい順に経路を決定していく。 After searching for all devices, the route is determined from the candidate devices in ascending order of link cost from the transmission transmission device.
これにより、図17(h)に示すように、送信伝送装置から入力された全ての受信伝送装置を含むマルチキャスト経路が発見できたことになる。その経路から、図17(i)に示すように、受信伝送装置に到達しない不要な経路を削除し、経路設定機構13へ出力する。
As a result, as shown in FIG. 17 (h), a multicast route including all the reception transmission devices input from the transmission transmission device has been found. As shown in FIG. 17 (i), an unnecessary route that does not reach the receiving transmission device is deleted from the route, and is output to the
この出力結果では、ユニキャスト伝送装置であるBにおいて分岐が発生している。このように、従来技術においては、マルチキャスト伝送装置とユニキャスト伝送装置の違いを考慮せずに、リンクコストのみを用いて探索対象装置から複数の候補装置を決定するため、本来分岐ができないユニキャスト伝送装置において分岐するような経路が出力されてしまう(例えば、非特許文献1参照)。
上記に示した技術では、入力されたトポロジ情報と経路設定制約条件から、送信伝送装置から各受信伝送装置までのリンクコストを最小にするようなマルチキャスト経路を計算し、経路設定機構に出力することができる。 In the technology shown above, a multicast route that minimizes the link cost from the transmitting transmission device to each receiving transmission device is calculated from the input topology information and route setting restriction conditions, and is output to the route setting mechanism. Can do.
しかし、既存技術では、マルチキャスト伝送装置とユニキャスト伝送装置が混在したような通信網において、それらの違いを考慮せずに経路計算が行われるため、分岐ができないユニキャスト伝送装置においても分岐してしまうようなマルチキャスト経路が出力されてしまうという問題がある。その結果、経路設定機構では、正常に経路設定ができず、通信ができない。 However, in the existing technology, in a communication network in which a multicast transmission device and a unicast transmission device are mixed, route calculation is performed without considering the difference between them. There is a problem that such a multicast route is output. As a result, the route setting mechanism cannot set the route normally and cannot communicate.
本発明は、上記の点に鑑みなされたもので、マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網においても、送信伝送装置から各受信伝送装置までのリンクコストが小さくなるようにしつつ、ユニキャスト伝送装置では分岐が発生しないマルチキャスト経路を出力することが可能なマルチキャスト経路計算方法及び装置及びプログラム及びマルチキャスト経路計算プログラムを格納した記憶媒体を提供することを目的とする。 The present invention has been made in view of the above points. Even in a communication network in which a multicast transmission apparatus and a unicast transmission apparatus are mixed, the link cost from the transmission transmission apparatus to each reception transmission apparatus is reduced, and the unicast transmission apparatus is reduced. An object of the present invention is to provide a multicast route calculation method and apparatus and program capable of outputting a multicast route that does not cause a branch in the cast transmission device, and a storage medium storing the multicast route calculation program.
図1は、本発明の原理を説明するための図である。 FIG. 1 is a diagram for explaining the principle of the present invention.
本発明(請求項1)は、マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網において、入力された通信網のトポロジ情報と経路設定制約条件を用いてダイクストラマルチキャスト経路計算方法を適用してマルチキャスト経路を計算するマルチキャスト経路計算方法であって、
送信伝送装置の情報を、既に探索された装置について訪問済として設定する訪問済装置記憶手段に格納する初期設定ステップ(ステップ1)と、
接続関係とリンクコストを含むトポロジ情報を格納したトポロジ情報記憶手段を参照し、探索対象の装置がマルチキャスト伝送装置か、ユニキャスト伝送装置かの判定を行うマルチキャスト判定ステップ(ステップ2)と、
マルチキャスト判定ステップにおいて、マルチキャスト判定手段でユニキャスト伝送装置と判定された場合に、トポロジ情報に基づいて隣接装置を抽出し、所定の条件に基づいて優先度を付与し、該優先度が最上位の隣接装置を候補装置として候補装置記憶手段に格納し、送信伝送装置から該候補装置までの経路とリンクコストを探索経路記憶手段に格納するユニキャスト装置用候補装置決定ステップ(ステップ3)と、
マルチキャスト判定ステップでマルチキャスト伝送装置と判定された場合に、
ダイクストラマルチキャスト経路計算方法によって隣接装置を抽出し、該隣接装置の中から候補装置記憶手段を参照して選択した候補装置が既にユニキャスト装置用候補装置決定ステップで決定された候補装置である場合は、ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、候補装置記憶手段に格納すると共に、送信伝送装置から該候補装置までの経路とリンクコストを探索経路記憶手段に格納するマルチキャスト装置用候補装置決定ステップ(ステップ4)と、
候補装置記憶手段に格納されている各候補装置の送信伝送装置からのリンクコストが最小の候補装置を候補装置記憶手段から検索し、訪問済記憶手段に格納する探索対象装置決定ステップ(ステップ5)と、
探索経路記憶手段を参照し、送信伝送装置から全受信伝送装置までの経路が発見されている場合には(ステップ6、Yes)、該探索経路記憶手段に格納されている伝送装置を読み出して出力し(ステップ7)、発見されていない場合は(ステップ6、No)、マルチキャスト判定ステップ以降のステップを繰り返す経路完了判定ステップと、を行い、
ユニキャスト装置用候補決定ステップ(ステップ3)では、
トポロジ情報に基づいて隣接装置を抽出し、該隣接装置の中から、優先条件により優先付けを行い、該優先付けで最上位となった隣接装置を候補装置とするステップと、
当該候補装置が、他の装置からの候補装置や、探索済装置である場合、計算されているリンクコストと該探索済装置経由のリンクコストを比較し、該計算されているリンクコストが小さい場合は、当該ユニキャスト伝送装置のために、該優先条件によって次に上位になる装置を再選択する処理を、探索済装置や候補装置となっていない装置か、既に計算されているリンクコストが探索対象装置よりも大きい装置が見つかるまで繰り返すステップと、
選択された装置を候補装置記憶手段に格納し、該候補装置から送信伝送装置までの経路とリンクコストを探索経路記憶手段に格納するステップと、を行う。
According to the present invention (Claim 1), in a communication network in which multicast transmission apparatuses and unicast transmission apparatuses are mixed, the Dijkstra multicast path calculation method is applied using the topology information and path setting constraint conditions of the input communication network. A multicast route calculation method for calculating a route,
An initial setting step (step 1) for storing information on the transmission transmission device in a visited device storage means for setting the already searched device as visited.
A multicast determination step (step 2) for determining whether the device to be searched is a multicast transmission device or a unicast transmission device with reference to topology information storage means storing topology information including connection relation and link cost;
In the multicast determination step, when the multicast determination means determines that the device is a unicast transmission device, the neighboring device is extracted based on the topology information, given a priority based on a predetermined condition, and the priority is the highest Unicast device candidate device determination step (step 3), in which the adjacent device is stored as a candidate device in the candidate device storage means, and the route from the transmission transmission device to the candidate device and the link cost are stored in the search route storage means;
When it is determined as a multicast transmission device in the multicast determination step,
When the neighboring device is extracted by the Dijkstra multicast route calculation method and the candidate device selected by referring to the candidate device storage means from among the neighboring devices is the candidate device already determined in the candidate device determining step for unicast device A multicast device that re-selects candidate devices from neighboring devices of the unicast transmission device, stores them in the candidate device storage means, and stores the route from the transmission transmission device to the candidate devices and the link cost in the search route storage means Candidate device determination step (step 4),
Search target device determination step for searching candidate devices with the lowest link cost from the transmission transmission device of each candidate device stored in the candidate device storage means from the candidate device storage means and storing in the visited storage means (step 5) When,
When the route from the transmission transmission device to all the reception transmission devices has been found with reference to the search route storage means (
In the unicast device candidate determination step (step 3),
Extracting neighboring devices based on the topology information, prioritizing from among the neighboring devices according to priority conditions, and setting the neighboring device that is the highest in the prioritization as a candidate device;
When the candidate device is a candidate device from another device or a searched device, the calculated link cost is compared with the link cost via the searched device, and the calculated link cost is small For the unicast transmission device, the process of reselecting the next higher device according to the priority condition is searched for a device that is not a searched device or a candidate device or a link cost that has already been calculated. Repeating until a device larger than the target device is found;
The selected device is stored in the candidate device storage means, and the route from the candidate device to the transmission transmission device and the link cost are stored in the search route storage means.
図2は、本発明の原理構成図である。 FIG. 2 is a principle configuration diagram of the present invention.
本発明(請求項2)は、マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網において、入力された通信網のトポロジ情報と経路設定制約条件を用いてダイクストラマルチキャスト経路計算方法を適用してマルチキャスト経路を計算するマルチキャスト経路計算装置であって、
各装置の接続関係とリンクコストを含むトポロジ情報が格納されたトポロジ情報記憶手段112と、
経路制約条件を格納する制約条件記憶手段114と、
既に探索された装置を訪問済装置として記憶する訪問済装置記憶手段119と、
候補装置を記憶する候補装置記憶手段122と、
各装置の送信伝送装置までの経路とリンクコストを記憶する探索経路記憶手段120と、
送信伝送装置の情報を訪問装置記憶手段に格納する初期設定手段115と、
トポロジ情報記憶手段のトポロジ情報を参照し、探索対象装置がマルチキャスト伝送装置か、ユニキャスト伝送装置かの判定を行うマルチキャスト判定手段116と、
マルチキャスト判定手段116でユニキャスト伝送装置と判定された場合に、トポロジ情報に基づいて隣接装置を抽出し、所定の条件に基づいて優先度を付与し、該優先度が最上位の隣接装置を候補装置として候補装置記憶手段122に格納し、送信伝送装置から該候補装置までの経路とリンクコストを探索経路記憶手段120に格納するユニキャスト装置用候補装置決定手段118と、
マルチキャスト判定手段116でマルチキャスト伝送装置と判定された場合に、ダイクストラマルチキャスト経路計算方法によって隣接装置を抽出し、該隣接装置の中から候補装置記憶手段を参照して選択した候補装置が既にユニキャスト装置用候補装置決定手段で決定された候補装置である場合は、ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、候補装置記憶手段122に格納する共に、該候補装置から送信伝送装置までの経路とリンクコストを探索経路記憶手段120に格納するマルチキャスト装置用候補装置決定手段と、
候補装置記憶手段122に格納されている各候補装置の送信伝送装置からのリンクコストが最小の候補装置を候補装置記憶手段122から抽出して、訪問済装置記憶手段119に格納する探索対象装置決定手段と、
探索経路記憶手段120を参照し、全受信伝送装置までの経路が発見されている場合には該探索経路記憶手段120に格納されている候補装置を読み出して出力し、発見されていない場合は、マルチキャスト判定手段116、ユニキャスト装置用候補装置決定手段118、マルチキャスト装置用候補装置決定手段117、探索対象装置決定手段123の処理を繰り返す経路完了判定手段123と、を有する装置において、
物理リンク数、マルチキャスト伝送能力、及びリンクコストによる優先条件を保持する優先付け条件記憶手段141を更に有し、
ユニキャスト装置用候補装置決定手段118は、
トポロジ情報に基づいて隣接装置を抽出し、該隣接装置の中から、優先条件により優先付けを行い、該優先付けで最上位となった隣接装置を候補装置とし、
当該候補装置が、他の装置からの候補装置や、探索済装置である場合、計算されているリンクコストと該探索済装置経由のリンクコストを比較し、該計算されているリンクコストが小さい場合は、当該ユニキャスト伝送装置のために、該優先条件によって次に上位になる装置を再選択する処理を、探索済装置や候補装置となっていない装置か、既に計算されているリンクコストが探索対象装置よりも大きい装置が見つかるまで繰り返し、
選択された装置を候補装置記憶手段に格納する手段と、
を有する。
According to the present invention (Claim 2), in a communication network in which a multicast transmission device and a unicast transmission device are mixed, the Dijkstra multicast route calculation method is applied to the multicast using the topology information and route setting constraint conditions of the input communication network. A multicast route calculation device for calculating a route,
Topology information storage means 112 storing topology information including the connection relationship and link cost of each device;
Constraint storage means 114 for storing route constraint conditions;
Visited device storage means 119 for storing already searched devices as visited devices;
Candidate device storage means 122 for storing candidate devices;
A search route storage means 120 for storing a route to each transmission transmission device and a link cost of each device;
Initial setting means 115 for storing information of the transmission device in the visiting device storage means;
Multicast determination means 116 for referring to the topology information in the topology information storage means and determining whether the search target device is a multicast transmission device or a unicast transmission device;
When the multicast determination means 116 determines that the device is a unicast transmission device, the neighboring device is extracted based on the topology information, given priority based on a predetermined condition, and the neighboring device with the highest priority is selected as a candidate. A candidate
When the
Search target device determination in which the candidate device with the lowest link cost from the transmission transmission device of each candidate device stored in the candidate
If the route to all the receiving transmission devices is found with reference to the searched route storage means 120, the candidate device stored in the searched route storage means 120 is read out and output, and if not found, In a device having a
A prioritization
Unicast device candidate device decision means 118
Extract neighboring devices based on the topology information, prioritize among the neighboring devices according to priority conditions, and determine the neighboring device that is the highest in the prioritization as a candidate device,
When the candidate device is a candidate device from another device or a searched device, the calculated link cost is compared with the link cost via the searched device, and the calculated link cost is small For the unicast transmission device, the process of reselecting the next higher device according to the priority condition is searched for a device that is not a searched device or a candidate device or a link cost that has already been calculated. Repeat until a device larger than the target device is found,
Means for storing the selected device in the candidate device storage means;
Have
本発明(請求項3)は、経路制約条件記憶手段と、訪問済装置記憶手段と、候補装置記憶手段と、探索経路記憶手段と、を有するコンピュータを、
請求項2記載の各手段を有するマルチキャスト経路計算装置として、機能させるマルチキャスト経路計算プログラムである。
According to the present invention (Claim 3), a computer having route restriction condition storage means, visited device storage means, candidate device storage means, and searched route storage means is provided.
A multicast route calculation program that functions as a multicast route calculation device having each means according to
本発明(請求項4)は、経路制約条件記憶手段と、訪問済装置記憶手段と、候補装置記憶手段と、探索経路記憶手段と、を有するコンピュータを、
請求項2記載の各手段を有するマルチキャスト経路計算装置として、機能させるプログラムを格納した記憶媒体である。
According to the present invention (Claim 4), a computer having route restriction condition storage means, visited device storage means, candidate device storage means, and searched route storage means is provided.
A storage medium storing a program that functions as a multicast route calculation apparatus having each means according to
上記のように本発明によれば、送信伝送装置から探索を開始し、その探索途中で、ユニキャスト伝送装置が存在した場合は、分岐を抑制し、リンクコストが小さくなり、かつ、求めたいマルチキャスト経路の解に近づくように特定の優先付けを行うことで、一つの経路を決定する。これにより、送信装置から各受信装置までのリンクコストを小さくし、ユニキャスト伝送装置で分岐しないマルチキャスト経路を求めることができる。 As described above, according to the present invention, when a search is started from a transmission transmission device, and there is a unicast transmission device in the middle of the search, the branch is suppressed, the link cost is reduced, and the desired multicast is obtained. One route is determined by giving specific priorities so as to approach the solution of the route. As a result, the link cost from the transmission device to each reception device can be reduced, and a multicast route that does not branch at the unicast transmission device can be obtained.
以下、図面と共に本発明の実施の形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図3は、本発明の一実施の形態におけるマルチキャスト経路計算装置の構成を示す。 FIG. 3 shows a configuration of a multicast route calculation apparatus according to an embodiment of the present invention.
同図に示すマルチキャスト経路計算装置は、トポロジ情報入力部111、トポロジ情報記憶部112、経路制約条件入力部113、制約条件設定部114、初期設定部115、マルチキャスト判定部116、マルチキャスト装置用候補装置決定部117、ユニキャスト装置用候補装置決定部118、訪問済装置記憶部119、探索経路記憶部120、経路出力部121、候補装置記憶部122、探索対象装置決定部123、マルチキャスト経路完了判定部124、優先付条件記憶部141から構成される。なお、トポロジ情報記憶部112、訪問済装置記憶部119、探索経路記憶部120、候補装置記憶部122、優先付条件記憶部141は、ハードディスク装置等の記憶媒体である。
The multicast route calculation apparatus shown in the figure includes a topology
トポロジ情報入力部111は、トポロジ情報収集機構(図示せず)によって収集された通信網における装置の接続関係やリンクコスト等を含むトポロジ情報をトポロジ情報記憶部112に入力する。
The topology
経路制約条件入力部113は、送信伝送装置、受信伝送装置、必要帯域等の経路設定制約条件を制約条件設定部114に入力する。
The route constraint
制約条件設定部114は、制約条件を初期設定部115、マルチキャスト経路完了判定部124に設定する。
The constraint
初期設定部115は、経路制約条件入力部113から送信伝送装置の情報を取得し、訪問済伝送装置記憶部119に訪問済装置として設定すると共に、マルチキャスト判定部116に渡す。
The
マルチキャスト判定部116は、トポロジ情報記憶部112のトポロジ情報を参照し、入力された装置(探索対象装置)がマルチキャスト伝送装置か、ユニキャスト伝送装置かの判定を行う。ユニキャスト伝送装置であると判定した場合には、ユニキャスト装置用候補決定部118に通知し、マルチキャスト伝送装置であると判定した場合にはマルチキャスト装置用候補装置決定部117に通知する。
The
マルチキャスト装置用候補装置決定部117、ユニキャストキャスト装置用候補装置決定部118は、それぞれ訪問済装置記憶部119、探索経路記憶部120、候補装置記憶部122の情報を参照し、候補装置を決定し、決定した候補装置を探索経路記憶部120、候補装置記憶部122に通知する。
Candidate
訪問装置記憶部119は、探索対象装置決定部123で決定された探索対象装置を訪問済としてその識別子を記憶する。
The visited
探索経路記憶部120は、マルチキャスト装置用候補装置決定部117または、ユニキャスト装置用候補装置決定部118で決定された各装置の送信伝送装置までの経路とリンクコストを記憶する。
The search
候補装置記憶部122は、マルチキャスト装置用候補装置決定部117または、ユニキャスト装置用候補装置決定部118で抽出された候補装置の識別子を記憶する。
The candidate
優先付け条件記憶部141は、探索対象装置がユニキャスト伝送装置である場合に転送リンクコストを最小にするための優先付け条件を記憶する。優先付け条件を以下に示す。
The prioritization
1)物理リンク数が1、かつ、受信伝送装置である伝送装置;
2)物理リンク数が最小の伝送装置;
3)上記の装置の中でマルチキャスト伝送装置;
4)上記の伝送装置の中で、送信伝送装置からのリンクコストが最小の伝送装置;
5)2)の伝送装置の中で、ユニキャスト伝送装置;
6)上記の伝送装置の中で、送信伝送装置からのリンクコストが最小の伝送装置;
ユニキャスト装置用候補装置決定部118は、探索対象装置がマルチキャスト判定部116でユニキャスト伝送装置と判定された場合に、トポロジ情報を参照して当該探索対象装置の隣接装置を抽出し、抽出された隣接装置の中から隣接装置を、優先付条件記憶部141の上記の優先条件を参照して優先付けを行う。その優先付けで最上位にくる隣接装置の一つを候補装置とする。さらに、その候補装置が、他の装置からの候補装置や探索済み装置の場合、計算されているリンクコストと探索対象装置経由のリンクコストを比較し、すでに計算されているリンクコストが小さい場合は、優先付け条件記憶部141の条件によって次に上位なる装置を再選択する。選択された装置は、候補装置記憶部122に格納する。また、探索経路記憶部120に、送信伝送装置からその候補装置までの経路とリンクコストを格納する。
1) A transmission apparatus having one physical link and a receiving transmission apparatus;
2) Transmission equipment with the smallest number of physical links;
3) Multicast transmission device among the above devices;
4) Among the above transmission apparatuses, the transmission apparatus with the lowest link cost from the transmission transmission apparatus;
5) Unicast transmission device among the transmission devices of 2);
6) Among the above transmission apparatuses, the transmission apparatus with the lowest link cost from the transmission transmission apparatus;
When the search target device is determined to be a unicast transmission device by the
マルチキャスト装置用候補装置決定部117は、マルチキャスト判定部116でマルチキャスト伝送装置と判定された場合に、ダイクストラマルチキャスト経路計算方法によって隣接装置を抽出し、当該隣接装置の中から候補装置記憶部122と探索経路記憶部120を参照して選択した候補装置が既にユニキャスト装置用候補装置決定部118で決定された候補装置である場合は、ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、その識別子を候補装置記憶部122に格納する。また、探索経路記憶部120に、送信伝送装置からその候補装置までの経路とリンクコストを格納する。
When the
探索対象装置決定部123は、探索経路記憶部120に格納されている各候補装置の送信伝送装置からのリンクコストを調べ、そのリンクコストが最小の候補装置の一つを探索対象装置とし、その装置の識別子を訪問済装置記憶部119に設定し、候補装置記憶部122から削除する。
The search target
マルチキャスト経路完了判定部124は、制約条件設定部114から取得した受信伝送装置に基づいて、探索経路記憶部120に保存されている経路に基づいて訪問済記憶部119を参照し、全受信伝送装置までの経路が発見されているかを判定する。経路が判定されている場合は、経路出力部121に通知する。また、経路が発見されておらず、探索対象装置決定部123で探索対象装置が決定されている場合には、当該装置の情報をマルチキャスト判定部116に渡す。
The multicast route
経路出力部121は、マルチキャスト経路完了判定部124から全ての受信伝送装置までの経路が発見されている旨が通知されると、探索経路記憶部120に格納されている経路を出力する。
The
次に、上記の構成における動作を説明する。 Next, the operation in the above configuration will be described.
図4は、本発明の一実施の形態における動作のフローチャートである。 FIG. 4 is a flowchart of the operation in one embodiment of the present invention.
ステップ101) トポロジ情報入力部111においてトポロジ情報を受け付け、トポロジ情報記憶部112に格納する。
Step 101) The topology
ステップ102) 経路制約条件入力部113において経路制約条件を経路条件設定部114に設定する。
Step 102) The route constraint
ステップ103) 制約条件設定部114は、送信伝送装置を初期設定部115に対して設定する。具体的には、訪問済装置記憶部119に対して当該送信伝送装置について訪問済装置として設定する。また、送信伝送装置を探索対象装置として探索経路記憶部120に設定する。
Step 103) The constraint
ステップ104) マルチキャスト判定部116は、トポロジ情報を参照して、当該探索対象装置が、マルチキャスト伝送装置か、ユニキャスト伝送装置かを判定する。マルチキャスト伝送装置の場合には、ステップ105に移行し、ユニキャスト伝送装置の場合はステップ108に移行する。
Step 104) The
ステップ105) マルチキャスト装置用候補装置決定部117は、トポロジ情報記憶部112から隣接装置を抽出する。
Step 105) The multicast device candidate
ステップ106) マルチキャスト装置用候補装置決定部117は、ステップ105で取得した隣接装置の中からダイクストラマルチキャスト経路計算方法によって候補装置を決定し、候補装置記憶部122に格納する。また、探索経路記憶部120に送信伝送装置からその候補装置までの経路とリンクコストを格納する。
Step 106) The multicast device candidate
ステップ107) 探索経路記憶部120によってどこからの候補装置かを判定し、候補装置記憶部122を参照することで元となる装置がユニキャストかマルチキャストかを判定する。そして、取得した候補装置が既にユニキャスト装置用候補装置決定部118で決定された候補装置である場合はステップ108に移行し、そうでない場合には、ステップ111に移行する。
Step 107) The search
ステップ108) ステップ104において、当該探索対象装置がユニキャスト伝送装置であると判定された場合、または、ステップ107において既にユニキャスト装置用候補装置決定部118で決定された装置候補であった場合には、ユニキャスト装置用候補装置決定部118は、トポロジ情報を参照して当該装置の隣接装置を抽出し、メモリに格納する。
Step 108) When it is determined in Step 104 that the search target device is a unicast transmission device, or when the device is already determined by the unicast device candidate
ステップ109) ユニキャスト装置用候補装置決定部118は、当該メモリに格納されている隣接装置について、優先付け条件記憶部141の所定の条件に基づいて優先度を付与する。
Step 109) The candidate
ステップ110) ユニキャスト装置用候補装置決定部118は、優先度が最上位の隣接装置を候補装置として候補装置記憶部122に格納する。また、送信伝送装置からその候補装置までの経路とリンクコストを探索経路記憶部120に格納する。
Step 110) The candidate
ステップ111) ステップ110で決定した候補装置が、他のユニキャスト伝送装置からの候補装置かを候補装置記憶部122と探索経路記憶部120を参照して判定し、そうである場合には、ステップ108に移行する。そうでない場合は、ステップ112に移行する。
Step 111) It is determined whether the candidate device determined in Step 110 is a candidate device from another unicast transmission device with reference to the candidate
ステップ112) 探索対象装置決定部123において、候補装置記憶部122から候補装置を読み出し、探索経路記憶部120に格納されている各候補装置の送信伝送装置からのリンクコストが最小の候補装置の一つを探索対象装置とし、その探索対象装置の識別子を訪問済装置記憶部119に格納すると共に、候補装置記憶部122から削除する。
Step 112) In the search target
ステップ113) マルチキャスト経路完了判定部124は、制約条件設定部114から取得した受信伝送装置に基づいて、探索経路記憶部120に保存されている経路に基づいて訪問済記憶部119を参照し、全受信伝送装置までの経路が発見されているかを判定する。経路が判定されている場合は、経路出力部121に通知する。これにより、経路出力部121は、マルチキャスト経路完了判定部124から全ての受信伝送装置までの経路が発見されている旨が通知されると、探索経路記憶部120に格納されている経路を出力する。また、経路が発見されておらず、探索対象装置決定部123で探索対象装置が決定されている場合には、当該装置の情報をマルチキャスト判定部116に渡す。
Step 113) The multicast route
次に、上記のステップ104以降の処理を詳細に説明する。 Next, the processing after step 104 will be described in detail.
図5〜図10は、本発明の一実施の形態における詳細な動作のフローチャートである。 5 to 10 are flowcharts of detailed operations in one embodiment of the present invention.
ステップ201) 初期設定部115は、送信伝送装置(s)を訪問済装置として、訪問済装置記憶部119に設定すると共に、探索対象伝送装置(v)とする。ここで、探索対象伝送装置は通常、経路が決定したばかりの伝送装置をいう。
Step 201) The
ステップ202) マルチキャスト判定部116は、探索対象伝送装置がマルチキャスト伝送装置かを判定し、マルチキャスト伝送装置である場合には、ステップ203に移行し、ユニキャスト伝送装置である場合にはステップ214に移行する。
Step 202) The
ステップ203) マルチキャスト装置用候補装置決定部117は、伝送装置fを、探索対象伝送装置に隣接し、確定した経路上における探索対象伝送装置の一つ前の伝送装置ではない伝送装置とする。なお、候補装置が1つも存在しない場合は、実行しない。
Step 203) The multicast device candidate
[処理1:ステップ204]
ステップ204) マルチキャスト装置用候補装置決定部117は、探索対象伝送装置(v)経由の送信伝送装置(s)と決定した候補装置(f)間のリンクコストを計算し、それをdfとする。
[Process 1: Step 204]
Step 204) The multicast device candidate
ステップ205) マルチキャスト装置用候補装置決定部117は、訪問済装置記憶部119と候補装置記憶部122を参照して、候補装置(f)が、訪問済装置、または、他の装置の候補装置であるかを判定し、訪問済装置でなく、他の装置の候補装置でもない場合にはステップ206に移行し、訪問済装置または、他の装置の候補装置である場合にはステップ207に移行する。
Step 205) The multicast device candidate
[処理2:ステップ206]
ステップ206) 送信伝送装置(s)から伝送装置(f)までの探索対象伝送装置(v)経由の経路とリンクコストを探索経路記憶部120に保存し、伝送装置(f)を候補装置とし、ステップ213に移行する。
[Process 2: Step 206]
Step 206) The route and link cost via the search target transmission device (v) from the transmission transmission device (s) to the transmission device (f) are stored in the search
ステップ207) 既に計算されているリンクコストが、ステップ204で求められたdfより大きいかを判定し、大きい場合はステップ208に移行し、そうでない場合にはステップ213に移行する。 Step 207) It is determined whether the already calculated link cost is greater than the df obtained in Step 204. If it is larger, the process proceeds to Step 208. Otherwise, the process proceeds to Step 213.
ステップ208) 保存されている経路における候補装置(f)の一つ前の伝送装置をpとする。 Step 208) Let p be the transmission apparatus immediately preceding the candidate apparatus (f) in the stored path.
ステップ209) ステップ206と同様の処理[処理2]を行う。 Step 209) The same processing [processing 2] as step 206 is performed.
ステップ210) マルチキャスト判定部116は、pがマルチキャスト伝送装置かを判定し、マルチキャスト伝送装置である場合はステップ213に移行し、そうでない場合は、ステップ211に移行する。
Step 210) The
ステップ211) ユニキャスト装置用候補装置決定部118は、pを探索対象伝送装置(v)とする。
Step 211) The candidate
ステップ212) ステップ214からステップ221の処理[処理3]を行い、ステップ213に移行する。
Step 212) The processing from
ステップ213) ステップ203〜ステップ213を全てのfに対して実行する。 Step 213) Steps 203 to 213 are executed for all f.
[処理3:ステップ214〜ステップ217]
ステップ214) ユニキャスト装置用候補装置決定部118は、探索対象伝送装置(v)に隣接する伝送装置を(f)とする。
[Process 3: Step 214 to Step 217]
Step 214) The candidate
ステップ215) ユニキャスト装置用候補装置決定部118は、fが複数存在するかを判定し、存在する場合は、ステップ216に移行し、そうでない場合は、ステップ219に移行する。
Step 215) The candidate
ステップ216) ユニキャスト装置用候補装置決定部118は、次の優先条件記憶部141の優先条件を用いて、優先順位が最高位の伝送装置の1つをfとする。
Step 216) The unicast candidate
1)物理リンク数が1、かつ、受信伝送装置である伝送装置;
2)物理リンク数が最小の伝送装置;
3)上記の装置の中でマルチキャスト伝送装置;
4)上記の伝送装置の中で、送信伝送装置(s)からのリンクコストが最小の伝送装置;
5)2)の伝送装置の中で、ユニキャスト伝送装置;
6)上記の伝送装置の中で、送信伝送装置(s)からのリンクコストが最小の伝送装置;
なお、上記の優先条件において、最高位の伝送装置が複数ある場合は、制約条件設定部114から設定された他の経路設定制約条件を用いて一つに絞る。
1) A transmission apparatus having one physical link and a receiving transmission apparatus;
2) Transmission equipment with the smallest number of physical links;
3) Multicast transmission device among the above devices;
4) Among the above transmission apparatuses, the transmission apparatus with the lowest link cost from the transmission transmission apparatus (s);
5) Unicast transmission device among the transmission devices of 2);
6) Among the above transmission apparatuses, the transmission apparatus with the lowest link cost from the transmission transmission apparatus (s);
In the above priority condition, when there are a plurality of highest-level transmission devices, the number is limited to one using another route setting restriction condition set by the restriction
ステップ217) 図9に示す処理[処理4](ステップ301〜ステップ310)の処理を行う。
Step 217) The process [Process 4] (
ステップ218) ステップ215において、fが複数存在しない場合で、かつ、fが一つは存在する場合はステップ219に移行し、そうでない場合(fが0個)は、ステップ221に移行する。
Step 218) In
ステップ219) 前述のステップ204[処理1]の処理を行う。 Step 219) The above-mentioned step 204 [Process 1] is performed.
ステップ220) 前述のステップ206[処理2]の処理を行い、ステップ221に移行する。 Step 220) The process of Step 206 [Process 2] is performed, and the process proceeds to Step 221.
ステップ221) 探索対象装置決定部123は、候補装置記憶部122に候補装置が存在するかを判定し、存在する場合は、ステップ222に移行し、存在しない場合は、「解なし」として処理を強制終了させる。
Step 221) The search target
ステップ222) 探索対象装置決定部123は、送信伝送装置(s)からのリンクコストが最小となる候補装置をiとする。複数ある場合は、制約条件設定部114から設定されたその他の条件を用いて1つを選択する。そのiまでの経路を決定し、iを候補装置記憶部122から削除し、iを訪問済装置記憶部119に設定する。
Step 222) The search target
ステップ223) iを探索対象伝送装置(v)とする。 Step 223) Let i be the search target transmission device (v).
ステップ224) マルチキャスト経路完了判定部124は、探索経路記憶部120を参照して、決定した経路に全ての受信伝送装置が含まれているかを判定し、含まれている場合には、ステップ225に移行し、含まれていない場合はステップ202に移行する。
Step 224) The multicast route
ステップ225) 探索経路記憶部120内の受信装置に通じない経路を削除し、決定した経路を経路出力部121から出力する。
Step 225) The route that does not communicate with the receiving device in the searched
[処理4:ステップ301〜ステップ310]
ステップ301) ステップ204[処理1]を行う。
[Process 4: Step 301 to Step 310]
Step 301) Step 204 [Process 1] is performed.
ステップ302) 候補装置fが訪問済装置であるか、または、他の装置の候補装置であるかを訪問済装置記憶部119及び候補装置記憶部122を参照して判定し、訪問済装置でなく、また、他の装置の候補装置でもない場合は、ステップ303に移行し、訪問済装置または、他の装置の候補装置である場合は、ステップ304に移行する。
Step 302) It is determined whether the candidate device f is a visited device or a candidate device of another device with reference to the visited
ステップ303) ステップ206[処理2]を行い、ステップ221に移行する。 Step 303) Step 206 [Process 2] is performed, and the routine proceeds to Step 221.
ステップ304) 既に計算されているリンクコストが、ステップ204で求められたdfより大きいかを判定し、大きい場合は、ステップ306に移行し、そうでない場合は、ステップ305に移行する。 Step 304) It is determined whether the already calculated link cost is greater than the df obtained in Step 204. If so, the process proceeds to Step 306. Otherwise, the process proceeds to Step 305.
ステップ305) 優先順位によって他の隣接装置を再選択し、ステップ216に移行する。 Step 305) Reselect another neighboring device according to the priority order, and proceed to Step 216.
ステップ306) 候補装置記憶部122に保存されている経路におけるfの一つ前の伝送装置をpとする。
Step 306) Let p be the previous transmission device of f in the route stored in the candidate
ステップ307) ステップ206[処理2]を行う。 Step 307) Step 206 [Process 2] is performed.
ステップ308) マルチキャスト判定部116において、伝送装置pがマルチキャスト伝送装置かを判定し、マルチキャスト伝送装置であれば、ステップ221に移行し、ユニキャスト伝送装置であれば、ステップ309に移行する。
Step 308) The
ステップ309) 伝送装置pを探索対象装置vとする。 Step 309) The transmission device p is set as a search target device v.
ステップ310) ステップ214〜ステップ217[処理3]の処理を行い、ステップ221に移行する。
Step 310) The processing of
以下、図面と共に、本発明の実施例を説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図11〜図13は、本発明の実施例を説明するための図である。 11-13 is a figure for demonstrating the Example of this invention.
図11(a)に示す接続関係とリンクコストを含むトポロジ情報及び送信伝送装置、受信伝送装置などの経路制約条件の入力を受け、トポロジ情報記憶部112、制約条件記憶部114に格納されているものとする。
The topology information including the connection relationship and link cost shown in FIG. 11A and the path constraint conditions such as the transmission transmission device and the reception transmission device are received and stored in the topology
また、優先付条件記憶部141には、
1)物理リンク数が1、かつ、受信伝送装置である伝送装置;
2)物理リンク数が最小の伝送装置;
3)上記の装置の中で、マルチキャスト伝送装置;
4)上記の伝送装置の中で、送信伝送装置からのリンクコストが最小の伝送装置;
5)2)の伝送装置の中で、ユニキャスト伝送装置;
6)上記の伝送装置の中で、送信伝送装置からのリンクコストが最小の伝送装置;
という条件が設定されているものとする。
In addition, the prioritized
1) A transmission apparatus having one physical link and a receiving transmission apparatus;
2) Transmission equipment with the smallest number of physical links;
3) Among the above devices, a multicast transmission device;
4) Among the above transmission apparatuses, the transmission apparatus with the lowest link cost from the transmission transmission apparatus;
5) Unicast transmission device among the transmission devices of 2);
6) Among the above transmission apparatuses, the transmission apparatus with the lowest link cost from the transmission transmission apparatus;
It is assumed that the condition is set.
(1) 初期設定部115において、送信伝送装置Aを訪問済装置とし、訪問済装置記憶部119に設定し、マルチキャスト判定部117は、送信伝送装置が、マルチキャスト伝送装置か、ユニキャスト伝送装置かを判断する。
(1) The
(2) 本トポロジにおいて、送信伝送装置はマルチキャスト伝送装置であるので、マルチキャスト装置用候補装置決定部117は、トポロジ情報を参照して、隣接する伝送装置B,Iまでのリンクコストを計算し、その経路とリンクコストを探索経路記憶部120に格納し、B,Iを候補装置とし候補装置記憶部122に設定する(図11(b))。
(2) In this topology, since the transmission transmission device is a multicast transmission device, the multicast device candidate
(3) 探索対象装置決定部123は、トポロジ情報のリンクコストに関する情報を参照して、候補装置記憶部122の候補装置の中から、送信伝送装置からのリンクコストが最小の候補装置を一つ選択し、その装置を候補装置記憶部122から削除し、訪問済記憶部119に設定する。この際に、リンクコストが最小の候補装置が複数ある場合は、その他の経路設定制約条件等を用いて一つ選択する。本トポロジでは、リンクコストが“2”であるBを選択し、候補装置記憶部122から削除し、送信伝送装置からBまでの経路を決定し、当該経路を探索経路記憶部120に設定すると共に、当該装置Bを訪問装置記憶部119に設定する。
(3) The search target
(4) マルチキャスト判定部116は、その決定した伝送装置Bが、マルチキャスト伝送装置か、ユニキャスト伝送装置かの判定を行う。図11において、伝送装置Bは、マルチキャスト装置であるので、マルチキャスト装置用候補装置決定部117は、隣接する伝送装置C,F,Gまでのリンクコストを計算し、候補装置とする(図14(c))。
(4) The
(5)マルチキャスト装置用候補装置決定部117は、候補装置の中から送信伝送装置Aからのリンクコストが最小のものを選択し、候補装置記憶部122から削除する。これにより、伝送装置Iまでの経路を決定し、探索経路記憶部120に設定し、また、Iを探索対象装置とし、また、訪問済装置として訪問済装置記憶部119に格納する。
(5) The multicast device candidate
(6)マルチキャスト判定部116は、探索対象装置Iがマルチキャスト伝送装置か、ユニキャスト伝送装置かを判定する。図11において、Iはユニキャスト伝送装置であるので、隣接する(但し、隣接した伝送装置というとき、探索してきた経路における1つ前の伝送装置は含めないこととする)伝送装置の中から、優先付条件記憶部141の優先条件を用いて、優先順位が最高位の伝送装置を候補装置とする(図12(d))。
(6) The
なお、優先付条件記憶部141の優先条件において、最高位の伝送装置が複数ある場合は、他の経路設定制約条件を用いて一つに絞る。本トポロジにおいては、伝送装置Iに隣接する伝送装置が、E,Hの2つあるが、上記の優先条件の1)の条件合う伝送装置はなく、2)の条件にあう伝送装置がHであるので、Hを候補装置とする。
In addition, in the priority condition of the prioritized
(7) 候補装置の中からGを探索対象装置とし、Gまでの経路を決定し、探索経路記憶部120に設定し、Gを候補装置記憶部122から削除する。また、Gを訪問済装置とし、訪問済装置記憶部119に格納する。
(7) G is selected as a search target device from among candidate devices, a route to G is determined, set in the search
(8) 伝送装置Gはマルチキャスト伝送装置であるので、マルチキャスト装置用候補装置決定部117は、隣接する伝送装置(H,F)までのリンクコストを計算し、既に計算されているリンクコストより小さくなるHを候補装置とする。
(8) Since the transmission device G is a multicast transmission device, the multicast device candidate
(9) 伝送装置Hは、伝送装置Iからの候補装置で、伝送装置Iはユニキャスト伝送装置であるため、Iに対する候補装置の再選択を実行する。その結果、伝送装置Eを候補装置とする(図12(e))。 (9) Since the transmission apparatus H is a candidate apparatus from the transmission apparatus I and the transmission apparatus I is a unicast transmission apparatus, the candidate apparatus is reselected for I. As a result, the transmission device E is set as a candidate device (FIG. 12 (e)).
(10) 候補装置の中から伝送装置Fを探索対象装置とし、Fまでの経路を決定し、探索経路記憶部120に設定すると共に、当該伝送装置Fを候補装置記憶部122から削除する。また、伝送装置を訪問済装置として訪問済装置記憶部119に格納する。
(10) Among the candidate devices, the transmission device F is set as a search target device, a route to F is determined, set in the search
(11) 伝送装置Fはユニキャスト伝送装置であるので、ユニキャスト装置用候補装置決定部118は、優先付条件記憶部141の優先付条件によって、候補装置を1つ選択する。上記の2)の条件により、Gが選ばれるが、リンクコストが大きくなるため、次の順位であるEを選択する。Eはリンクコストが小さくなるため、Eを候補装置とする。
(11) Since the transmission apparatus F is a unicast transmission apparatus, the unicast apparatus candidate
(12) EはIからの候補装置であり、Iはマルチキャスト伝送装置であるため、Iに対する候補装置を再選択する。しかし、Iに対する候補装置はリンクコストが小さくならないため、1つも選択されない(図12(f))。 (12) Since E is a candidate device from I and I is a multicast transmission device, the candidate device for I is reselected. However, no candidate device for I is selected because the link cost does not decrease (FIG. 12 (f)).
(13) 候補装置の中からHを探索対象装置とし、Hまでの経路を決定し、探索経路記憶部120に格納すると共に、候補装置記憶部122から当該Hを削除する。また、Hを訪問済装置記憶部119に格納する(図13(g))。
(13) H is selected as a search target device from among candidate devices, a route to H is determined, stored in the search
(14) 同様に、C,Dの経路を決定し、探索経路記憶部120に格納する(図13(h))。 (14) Similarly, C and D routes are determined and stored in the searched route storage unit 120 (FIG. 13 (h)).
(15) こうして計算された経路から、受信伝送装置C,D,Gに到達しない不要な経路を探索経路記憶部120から削除する。経路出力部121は、探索経路記憶部120の内容を経路設定機構(図示せず)へ出力する(図13(i))。
(15) From the calculated routes, unnecessary routes that do not reach the receiving transmission devices C, D, and G are deleted from the searched
なお、上記の初期設定部115、マルチキャスト判定部116、マルチキャスト装置用候補装置決定部117、ユニキャスト装置用候補装置決定部118、探索対象装置決定部123、マルチキャスト経路完了判定部124、経路出力部121の動作をプログラムとして構築し、マルチキャスト経路計算装置として利用されるコンピュータにインストールし、実行させる、または、ネットワークを介して流通させることも可能である。
Note that the
また、構築されたプログラムを、ハードディスクや、フレキシブルディスク、CD−ROM等の可搬記憶媒体に格納してコンピュータにインストールしたり、配布することも可能である。 In addition, the constructed program can be stored in a portable storage medium such as a hard disk, a flexible disk, or a CD-ROM, and can be installed in a computer or distributed.
なお、本発明は、上記の実施の形態及び実施例に限定されることなく、特許請求の範囲内において種々変更・応用が可能である。 The present invention is not limited to the above-described embodiments and examples, and various modifications and applications can be made within the scope of the claims.
本発明は、MPLS技術のようなマルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網に対して、マルチキャスト経路を設定する技術に適用可能である。 The present invention is applicable to a technique for setting a multicast route for a communication network in which a multicast transmission apparatus and a unicast transmission apparatus are mixed, such as the MPLS technique.
111 トポロジ情報入力部
112 トポロジ情報記憶手段、トポロジ情報記憶部
113 経路制約条件入力部
114 制約条件記憶手段、制約条件設定部
115 初期設定手段、初期設定部
116 マルチキャスト判定手段、マルチキャスト判定部
117 マルチキャスト装置用候補装置決定手段、マルチキャスト装置用候補装置決定部
118 ユニキャスト装置用候補装置決定手段、ユニキャスト装置用候補装置決定部
119 訪問済装置記憶手段、訪問済装置記憶部
120 探索経路記憶手段、探索経路記憶部
121 経路出力部
122 候補装置記憶手段、候補装置記憶部
123 探索対象装置決定手段、探索対象装置決定部
124 経路完了判定手段、マルチキャスト経路完了判定部
141 優先付け条件記憶手段、優先付条件記憶部
111 Topology
Claims (4)
送信伝送装置の情報を、既に探索された装置について訪問済として設定する訪問済装置記憶手段に格納する初期設定ステップと、
接続関係とリンクコストを含むトポロジ情報を格納したトポロジ情報記憶手段を参照し、探索対象の装置がマルチキャスト伝送装置か、ユニキャスト伝送装置かの判定を行うマルチキャスト判定ステップと、
前記マルチキャスト判定ステップにおいて、前記マルチキャスト判定手段でユニキャスト伝送装置と判定された場合に、前記トポロジ情報に基づいて隣接装置を抽出し、所定の条件に基づいて優先度を付与し、該優先度が最上位の隣接装置を候補装置として前記候補装置記憶手段に格納し、送信伝送装置から該候補装置までの経路とリンクコストを探索経路記憶手段に格納するユニキャスト装置用候補装置決定ステップと、
前記マルチキャスト判定ステップでマルチキャスト伝送装置と判定された場合に、
前記ダイクストラマルチキャスト経路計算方法によって隣接装置を抽出し、該隣接装置の中から前記候補装置記憶手段を参照して選択した候補装置が既に前記ユニキャスト装置用候補装置決定ステップで決定された候補装置である場合は、前記ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、前記候補装置記憶手段に格納すると共に、送信伝送装置から該候補装置までの経路とリンクコストを前記探索経路記憶手段に格納するマルチキャスト装置用候補装置決定ステップと、
前記候補装置記憶手段に格納されている各候補装置の送信伝送装置からのリンクコストが最小の候補装置を前記候補装置記憶手段から検索し、訪問済記憶手段に格納する探索対象装置決定ステップと、
前記探索経路記憶手段を参照し、前記送信伝送装置から全受信伝送装置までの経路が発見されている場合には、該探索経路記憶手段に格納されている伝送装置を読み出して出力し、発見されていない場合は、前記マルチキャスト判定ステップ以降のステップを繰り返す経路完了判定ステップと、を行い、
前記ユニキャスト装置用候補決定ステップでは、
前記トポロジ情報に基づいて隣接装置を抽出し、該隣接装置の中から、前記優先条件により優先付けを行い、該優先付けで最上位となった隣接装置を候補装置とするステップと、
当該候補装置が、他の装置からの候補装置や、探索済装置である場合、計算されているリンクコストと該探索済装置経由のリンクコストを比較し、該計算されているリンクコストが小さい場合は、当該ユニキャスト伝送装置のために、該優先条件によって次に上位になる装置を再選択する処理を、探索済装置や候補装置となっていない装置か、既に計算されているリンクコストが探索対象装置よりも大きい装置が見つかるまで繰り返すステップと、
選択された装置を前記候補装置記憶手段に格納し、該候補装置から送信伝送装置までの経路とリンクコストを探索経路記憶手段に格納するステップと、を行うことを特徴とするマルチキャスト経路計算方法。 A multicast route calculation method that calculates a multicast route by applying the Dijkstra multicast route calculation method using the topology information and route setting constraint conditions of the input communication network in a communication network in which multicast transmission devices and unicast transmission devices are mixed. There,
An initial setting step of storing information on the transmission transmission device in a visited device storage means for setting the already searched device as visited.
A multicast determination step for determining whether the device to be searched is a multicast transmission device or a unicast transmission device with reference to topology information storage means storing topology information including connection relation and link cost;
In the multicast determination step, when the multicast determination unit determines that the device is a unicast transmission device, an adjacent device is extracted based on the topology information, a priority is assigned based on a predetermined condition, and the priority is Unicast device candidate device determination step of storing the highest-level neighboring device as a candidate device in the candidate device storage means, and storing the path and link cost from the transmission transmission device to the candidate device in the search route storage means;
When it is determined as a multicast transmission device in the multicast determination step,
The candidate device extracted by the Dijkstra multicast route calculation method and selected from the neighboring devices by referring to the candidate device storage means is a candidate device that has already been determined in the candidate device determination step for the unicast device. If there is, the candidate device is reselected from the neighboring devices of the unicast transmission device, stored in the candidate device storage means, and the path and link cost from the transmission transmission device to the candidate device are stored in the search route storage. A candidate device determination step for multicast device to be stored in the means;
A search target device determination step of searching the candidate device storage means for a candidate device having a minimum link cost from the transmission transmission device of each candidate device stored in the candidate device storage means, and storing the searched candidate device in the visited storage means;
When the route from the transmission transmission device to all reception transmission devices is found with reference to the searched route storage means, the transmission device stored in the search route storage means is read out and output, and found. If not, a route completion determination step that repeats the steps after the multicast determination step is performed,
In the unicast device candidate determination step,
Extracting neighboring devices based on the topology information, prioritizing the neighboring devices from the neighboring devices according to the priority conditions, and setting the neighboring device that is the highest in the prioritization as a candidate device;
When the candidate device is a candidate device from another device or a searched device, the calculated link cost is compared with the link cost via the searched device, and the calculated link cost is small For the unicast transmission device, the process of reselecting the next higher device according to the priority condition is searched for a device that is not a searched device or a candidate device or a link cost that has already been calculated. Repeating until a device larger than the target device is found;
Storing the selected device in the candidate device storage means, and storing the route from the candidate device to the transmission transmission device and the link cost in the search route storage means.
各装置の接続関係とリンクコストを含むトポロジ情報が格納されたトポロジ情報記憶手段と、
経路制約条件を格納する制約条件記憶手段と、
既に探索された装置を訪問済装置として記憶する訪問済装置記憶手段と、
候補装置を記憶する候補装置記憶手段と、
各装置の送信伝送装置までの経路とリンクコストを記憶する探索経路記憶手段と、
送信伝送装置の情報を前記訪問装置記憶手段に格納する初期設定手段と、
前記トポロジ情報記憶手段の前記トポロジ情報を参照し、探索対象装置がマルチキャスト伝送装置か、ユニキャスト伝送装置かの判定を行うマルチキャスト判定手段と、
前記マルチキャスト判定手段でユニキャスト伝送装置と判定された場合に、前記トポロジ情報に基づいて隣接装置を抽出し、所定の条件に基づいて優先度を付与し、該優先度が最上位の隣接装置を候補装置として前記候補装置記憶手段に格納し、送信伝送装置から該候補装置までの経路とリンクコストを探索経路記憶手段に格納するユニキャスト装置用候補装置決定手段と、
前記マルチキャスト判定手段でマルチキャスト伝送装置と判定された場合に、前記ダイクストラマルチキャスト経路計算方法によって隣接装置を抽出し、該隣接装置の中から前記候補装置記憶手段を参照して選択した候補装置が既に前記ユニキャスト装置用候補装置決定手段で決定された候補装置である場合は、前記ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、前記候補装置記憶手段に格納する共に、該候補装置から送信伝送装置までの経路とリンクコストを探索経路記憶手段に格納するマルチキャスト装置用候補装置決定手段と、
前記候補装置記憶手段に格納されている各候補装置の送信伝送装置からのリンクコストが最小の候補装置を前記候補装置記憶手段から抽出して、前記訪問済装置記憶手段に格納する探索対象装置決定手段と、
前記探索経路記憶手段を参照し、全受信伝送装置までの経路が発見されている場合には該探索経路記憶手段に格納されている候補装置を読み出して出力し、発見されていない場合は、前記マルチキャスト判定手段、前記ユニキャスト装置用候補装置決定手段、前記マルチキャスト装置用候補装置決定手段、前記探索対象装置決定手段の処理を繰り返す経路完了判定手段と、を有する装置において、
物理リンク数、マルチキャスト伝送能力、及びリンクコストによる優先条件を保持する優先付け条件記憶手段を更に有し、
前記ユニキャスト装置用候補装置決定手段は、
前記トポロジ情報に基づいて隣接装置を抽出し、該隣接装置の中から、前記優先条件により優先付けを行い、該優先付けで最上位となった隣接装置を候補装置とし、
当該候補装置が、他の装置からの候補装置や、探索済装置である場合、計算されているリンクコストと該探索済装置経由のリンクコストを比較し、該計算されているリンクコストが小さい場合は、当該ユニキャスト伝送装置のために、該優先条件によって次に上位になる装置を再選択する処理を、探索済装置や候補装置となっていない装置か、既に計算されているリンクコストが探索対象装置よりも大きい装置が見つかるまで繰り返し、
選択された装置を前記候補装置記憶手段に格納する手段と、
を有する、ことを特徴とするマルチキャスト経路計算装置。 A multicast route calculation device that calculates a multicast route by applying a Dijkstra multicast route calculation method using topology information and route setting constraint conditions of the input communication network in a communication network in which a multicast transmission device and a unicast transmission device are mixed. There,
Topology information storage means storing topology information including the connection relationship and link cost of each device;
Constraint storage means for storing route constraint conditions;
Visited device storage means for storing already searched devices as visited devices;
Candidate device storage means for storing candidate devices;
Search route storage means for storing the route and link cost to the transmission transmission device of each device,
Initial setting means for storing information on the transmission device in the visiting device storage means;
Multicast determination means for referring to the topology information in the topology information storage means and determining whether the search target device is a multicast transmission device or a unicast transmission device;
When the multicast determination means determines that the device is a unicast transmission device, it extracts neighboring devices based on the topology information, assigns priority based on a predetermined condition, and selects the neighboring device with the highest priority. Unicast device candidate device determining means for storing in the candidate device storage means as a candidate device, and storing the route from the transmission transmission device to the candidate device and the link cost in the search route storage means;
When the multicast determination unit determines that the device is a multicast transmission device, an adjacent device is extracted by the Dijkstra multicast route calculation method, and the candidate device selected by referring to the candidate device storage unit from the adjacent device is already If the candidate device is determined by the unicast device candidate device determining means, the candidate device is reselected from the adjacent devices of the unicast transmission device, stored in the candidate device storage means, and the candidate device. A candidate device determining unit for multicast device that stores the route from the transmission device to the transmission device and the link cost in the searched route storage unit;
Search target device determination for extracting a candidate device having the lowest link cost from the transmission transmission device of each candidate device stored in the candidate device storage means from the candidate device storage means and storing it in the visited device storage means Means,
If the route to all the receiving transmission devices is found with reference to the searched route storage means, the candidate device stored in the searched route storage means is read and output, and if not found, In a device having multicast determination means, unicast device candidate device determination means, multicast device candidate device determination means, and route completion determination means for repeating the search target device determination means,
Prioritization condition storage means for holding priority conditions based on the number of physical links, multicast transmission capability, and link cost,
The unicast device candidate device determining means includes:
Extract neighboring devices based on the topology information, prioritize among the neighboring devices according to the priority condition, and the neighboring device that is the highest in the prioritization as a candidate device,
When the candidate device is a candidate device from another device or a searched device, the calculated link cost is compared with the link cost via the searched device, and the calculated link cost is small For the unicast transmission device, the process of reselecting the next higher device according to the priority condition is searched for a device that is not a searched device or a candidate device or a link cost that has already been calculated. Repeat until a device larger than the target device is found,
Means for storing the selected device in the candidate device storage means;
A multicast route calculation apparatus characterized by comprising:
請求項2記載の各手段を有するマルチキャスト経路計算装置として、機能させることを特徴とするマルチキャスト経路計算プログラム。 A computer having route restriction condition storage means, visited device storage means, candidate device storage means, and searched route storage means,
A multicast route calculation program that functions as a multicast route calculation device having each means according to claim 2.
請求項2記載の各手段を有するマルチキャスト経路計算装置として、機能させるプログラムを格納したことを特徴とするマルチキャスト経路計算プログラムを格納した記憶媒体。 A computer having route restriction condition storage means, visited device storage means, candidate device storage means, and searched route storage means,
A storage medium storing a multicast route calculation program characterized by storing a program that functions as a multicast route calculation device having each means according to claim 2.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005184981A JP4479602B2 (en) | 2005-06-24 | 2005-06-24 | Multicast route calculation method and apparatus, program, and storage medium storing multicast route calculation program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005184981A JP4479602B2 (en) | 2005-06-24 | 2005-06-24 | Multicast route calculation method and apparatus, program, and storage medium storing multicast route calculation program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2007006228A JP2007006228A (en) | 2007-01-11 |
| JP4479602B2 true JP4479602B2 (en) | 2010-06-09 |
Family
ID=37691386
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2005184981A Expired - Fee Related JP4479602B2 (en) | 2005-06-24 | 2005-06-24 | Multicast route calculation method and apparatus, program, and storage medium storing multicast route calculation program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4479602B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008133230A1 (en) * | 2007-04-20 | 2008-11-06 | Nec Corporation | Multicast tree designing device, method, and program |
| JP2015119399A (en) * | 2013-12-19 | 2015-06-25 | 富士通株式会社 | Server device selection program, server device selection method and server selection device |
-
2005
- 2005-06-24 JP JP2005184981A patent/JP4479602B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2007006228A (en) | 2007-01-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110891093B (en) | Method and system for selecting edge computing node in delay sensitive network | |
| US9054978B2 (en) | Path selection method and control server | |
| CN105376160A (en) | Reputation-based instruction processing over an information centric network | |
| CN105897584A (en) | Route planning method and controller | |
| Blose et al. | Scalable hybrid switching-driven software defined Networking issue: From the perspective of reinforcement learning standpoint | |
| CN114422453B (en) | A method, device and storage medium for online planning of time-sensitive flows | |
| US9705791B2 (en) | Route setting device and route setting method | |
| JP4479602B2 (en) | Multicast route calculation method and apparatus, program, and storage medium storing multicast route calculation program | |
| JPWO2011114627A1 (en) | Route selection method, information processing apparatus, network system, and route selection program | |
| JP5651619B2 (en) | Communication system, route determination device, route determination method, and route determination program | |
| CN114666263A (en) | High-dynamic intelligent route determining method and device, electronic equipment and storage medium | |
| JP4536690B2 (en) | Route calculation method, apparatus and program | |
| US20120063362A1 (en) | Method and apparatus for computing paths to destinations in networks having link constraints | |
| JP4479601B2 (en) | Multicast route calculation method and apparatus, program, and storage medium storing program | |
| Zhu et al. | Improvement of contact graph routing algorithm in LEO satellite DTN network | |
| JP4293142B2 (en) | Multicast route calculation method and apparatus, program, and storage medium storing multicast route calculation program | |
| CN101569144B (en) | Method and apparatus for determining routing metrics | |
| CN116938795A (en) | Route searching method, route searching device, electronic equipment and readable storage medium | |
| JP5674179B1 (en) | Apparatus and method for efficient network address translation and application level gateway processing | |
| JP7639908B2 (en) | Route search device, route search method, and program | |
| JP4499067B2 (en) | Multicast path calculation method and apparatus, program, and computer-readable recording medium | |
| US10103971B2 (en) | Route search apparatus and route search method | |
| JP4437976B2 (en) | Overlay network communication path calculation system, method and program | |
| JP4436307B2 (en) | LSP (LabelSwitchedPath) path calculation method, apparatus and program | |
| JP2004080228A (en) | Wireless lan system and its access point selecting method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070815 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090824 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090901 |
|
| 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: 20100223 |
|
| 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: 20100308 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130326 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |