JP4479601B2 - Multicast route calculation method and apparatus, program, and storage medium storing program - Google Patents

Multicast route calculation method and apparatus, program, and storage medium storing program Download PDF

Info

Publication number
JP4479601B2
JP4479601B2 JP2005184980A JP2005184980A JP4479601B2 JP 4479601 B2 JP4479601 B2 JP 4479601B2 JP 2005184980 A JP2005184980 A JP 2005184980A JP 2005184980 A JP2005184980 A JP 2005184980A JP 4479601 B2 JP4479601 B2 JP 4479601B2
Authority
JP
Japan
Prior art keywords
route
multicast
candidate
transmission
devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2005184980A
Other languages
Japanese (ja)
Other versions
JP2007006227A (en
Inventor
正昭 高木
雅史 清水
正祥 安川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2005184980A priority Critical patent/JP4479601B2/en
Publication of JP2007006227A publication Critical patent/JP2007006227A/en
Application granted granted Critical
Publication of JP4479601B2 publication Critical patent/JP4479601B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、マルチキャスト経路計算方法及び装置およびプログラム及びプログラムを格納した記憶媒体に係り、特に、マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網において、送信伝送装置から、受信伝送装置までのリンクコストが最小になるような経路を求めるために使用されるマルチキャスト経路計算方法及び装置およびプログラム及びプログラムを格納した記憶媒体に関する。   The present invention relates to a multicast path calculation method and apparatus, a program, and a storage medium storing the program, and in particular, in a communication network in which a multicast transmission apparatus and a unicast transmission apparatus are mixed, a link from a transmission transmission apparatus to a reception transmission apparatus. The present invention relates to a multicast route calculation method and apparatus used for obtaining a route that minimizes the cost, a program, and a storage medium storing the program.

従来、通信網において、図20に示すように、トポロジ情報収集機構によって集められたトポロジ情報10と、送信伝送装置、受信伝送装置、必要帯域などの経路設定制約条件11から、マルチキャスト経路を計算し、その計算結果を経路設定機構13に出力するマルチキャスト経路計算装置12が用いられている。   Conventionally, in a communication network, as shown in FIG. 20, the multicast route is calculated from the topology information 10 collected by the topology information collecting mechanism and the route setting restriction conditions 11 such as the transmission transmission device, the reception transmission device, and the necessary bandwidth. A multicast route calculation device 12 that outputs the calculation result to the route setting mechanism 13 is used.

ここで、図21を用いて、従来技術であるダイクストラマルチキャスト経路計算方法を用いたマルチキャスト経路計算装置について説明する。   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.

図21の(a)のような接続関係とリンクコストを含むトポロジ情報と、送信伝送装置・受信伝送装置の条件が入力された際に、送信伝送装置から受信伝送装置までのリンクコストが最小になるようなマルチキャスト経路を計算する。   When the topology information including the connection relationship and the link cost as shown in FIG. 21A 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.

同様にして、図22(d)に示すように、Iを訪問済装置とし、Iに隣接する伝送装置E,Hを候補装置とする。   Similarly, as shown in FIG. 22D, I is a visited device, and transmission devices E and H adjacent to I are candidate devices.

次に候補装置の中から、送信伝送装置からのリンクコストが最小のものを選択するが、複数ある場合は、その他の経路設定制約条件等を用いて一つを選択する。この例においては、Gを選択し、Gを訪問済装置とする。さらに、その伝送装置Gに隣接する経路を候補にする際、その隣接装置が既に候補装置や訪問済み伝送装置となっている場合は、既に計算されている送信伝送装置からのリンクコストと、先程決定した伝送装置G経由での送信伝送装置からのリンクコストを比較し、小さい方をその隣接装置までの経路とする。従って、図22(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. 22 (e), H is a candidate device from I, but by comparing the link costs from the transmission transmission device (comparison of (d) and (e) in the figure), 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.

続いて、図22(f)に示すように、先程と同様にFまでの、経路において、Fを候補装置から外し、訪問済装置とする。さらに、Eまでの経路を決定し、Eを候補装置からはずし、訪問済装置とする。図23(g)に示すように、Eの隣接装置を候補装置Dとする。   Subsequently, as shown in FIG. 22 (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. 23 (g), an adjacent device 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.

これにより、図23(h)に示すように、送信伝送装置から入力された全ての受信伝送装置を含むマルチキャスト経路が発見できたことになる。その経路から、図23(i)に示すように、受信伝送装置に到達しない不要な経路を削除し、経路設定機構13へ出力する。   As a result, as shown in FIG. 23 (h), a multicast route including all the reception transmission devices input from the transmission transmission device has been found. As shown in FIG. 23 (i), an unnecessary route that does not reach the receiving transmission device is deleted from the route and output to the route setting mechanism 13.

この出力結果では、ユニキャスト伝送装置であるBにおいて分岐が発生している。このように、従来技術においては、マルチキャスト伝送装置とユニキャスト伝送装置の違いを考慮せずに、リンクコストのみを用いて探索対象装置から複数の候補装置を決定するため、本来分岐ができないユニキャスト伝送装置において分岐するような経路が出力されてしまう(例えば、非特許文献1参照)。
WIDE 2002年インターネットアーキテクチャ第6回講義資料http://www.soi.wide.ad.jp/class/20020022/materials_for_student/06/na-06.pdf (10ページ、11ページ)
In this output result, a branch has occurred in B which is a unicast transmission apparatus. In this way, in the prior art, a plurality of candidate devices are determined from the search target device using only the link cost without considering the difference between the multicast transmission device and the unicast transmission device. A route that branches in the transmission device is output (for example, see Non-Patent Document 1).
WIDE 2002 Internet Architecture 6th Lecture Materials http://www.soi.wide.ad.jp/class/20020022/materials_for_student/06/na-06.pdf (10 pages, 11 pages)

上記に示した技術では、入力されたトポロジ情報と経路設定制約条件から、送信伝送装置から各受信伝送装置までのリンクコストを最小にするようなマルチキャスト経路を計算し、経路設定機構に出力することができる。   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)と、
候補装置記憶手段に格納されている候補装置の中からリンクコストが最小の候補装置を選択し、訪問済装置として訪問済装置記憶手段に格納する探索対象装置決定ステップ(ステップ7)と、
訪問済装置記憶手段に全ての受信装置が設定されている場合に(ステップ8)、探索経路記憶手段に格納されている経路を出力する出力ステップ(ステップ9)と、を行う。
The present invention (Claim 1) applies a Dijkstra multicast route calculation method using topology information and route setting constraint conditions of an input communication network in a communication network in which multicast transmission devices and unicast transmission devices are mixed. A multicast route calculation method for calculating a multicast route,
A Dijkstra route calculation step (Step 1) in which all transmission devices in the communication network are regarded as multicast transmission devices, a multicast route is calculated by the Dijkstra multicast calculation method, and stored in the search route storage means;
Using the route output from the searched route storage means, the number of receiving devices that can be reached by each route in the unicast transmission device is calculated and stored in the receiving device number storage means (step 2). When,
An initial setting step (step 3) in which the transmission transmission device is stored in the visited storage means and is set as a search target device;
A multicast determination step (step 4) for determining whether the search target device is a unicast transmission device or a multicast transmission device;
In the multicast determination step, when it is determined as a unicast transmission device, one of the neighboring devices on the path having the maximum number of reception devices stored in the reception device number storage unit is set as a candidate device in the candidate device storage unit. A candidate device determination step (step 5) for storing the unicast device;
In the multicast determination step, when the search target device is a multicast transmission device, if the candidate device selected from the neighboring devices of the search target device is a candidate device already selected from the unicast transmission device, Candidate device for multicast device that re-selects candidate device from neighboring devices of cast transmission device, stores in candidate device storage means, and stores link cost and route to re-selected candidate device in search route storage means A decision step (step 6);
A search target device determination step (step 7) for selecting a candidate device with the lowest link cost from candidate devices stored in the candidate device storage means and storing it in the visited device storage means as a visited device;
When all the receiving devices are set in the visited device storage means (step 8), an output step (step 9) for outputting the route stored in the searched route storage means is performed.

本発明(請求項2)は、マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網において、入力された通信網のトポロジ情報と経路設定制約条件を用いてダイクストラマルチキャスト経路計算方法を適用して、マルチキャスト経路を計算するマルチキャスト経路計算方法であって、
通信網内の全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト計算方法によって、マルチキャスト経路を計算し、探索経路記憶手段に格納するダイクストラ経路計算ステップと、
探索経路記憶手段から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、受信装置数記憶手段に格納する第1の受信装置数カウントステップと、
送信伝送装置を訪問済記憶手段に格納し、探索対象装置とする初期設定ステップと、
探索対象装置がユニキャスト伝送装置かマルチキャスト伝送装置かの判定を行うマルチキャスト判定ステップと、
マルチキャスト判定ステップにおいて、ユニキャスト伝送装置であると判定されたときは、受信装置数記憶手段に格納されている受信装置数が最大の経路にある隣接装置の一つを候補装置として選択し、候補装置記憶手段に格納するユニキャスト装置用候補装置決定ステップと、
選択した候補装置までの経路以外を切断したトポロジに対して、再び、全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト経路計算方法によってマルチキャスト経路を計算し、探索経路記憶手段に格納するステップと、
探索経路記憶手段から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、受信装置数記憶手段に格納する第2の受信装置数カウントステップと、
マルチキャスト判定ステップにおいて、マルチキャスト伝送装置であると判定されたときは、当該探索対象装置の隣接装置の中から選択した候補装置が、既にユニキャスト伝送装置から選択された候補装置である場合、該ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、候補装置記憶手段に格納すると共に、再選択された候補装置までのリンクコストと経路を探索経路記憶手段に格納するマルチキャスト装置用候補装置決定ステップと、
候補装置記憶手段に格納されている候補装置の中からリンクコストが最小の候補装置を選択し、訪問済装置として訪問済装置記憶手段に格納する探索対象装置決定ステップと、
訪問済装置記憶手段に全ての受信装置が設定されている場合に、探索経路記憶手段に格納されている経路を出力する出力ステップと、を行う。
The present invention (Claim 2) applies 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. A multicast route calculation method for calculating a multicast route,
A Dijkstra route calculation step in which all transmission devices in the communication network are regarded as multicast transmission devices, a multicast route is calculated by the Dijkstra multicast calculation method, and stored in the search route storage means;
A first receiving device number counting step of calculating the number of receiving devices that each route in the unicast transmission device can reach using the route output from the searched route storing means, and storing the number in the receiving device number storing means; ,
An initial setting step of storing the transmission transmission device in the visited storage means to be a search target device;
A multicast determination step for determining whether the search target device is a unicast transmission device or a multicast transmission device;
In the multicast determination step, when it is determined that the device is a unicast transmission device, one of the neighboring devices on the path having the maximum number of reception devices stored in the reception device number storage unit is selected as a candidate device, and a candidate is selected. A candidate device determination step for a unicast device to be stored in the device storage means;
Steps for resuming all transmission devices as multicast transmission devices and calculating multicast routes by the Dijkstra multicast route calculation method and storing them in the search route storage means for the topology that is disconnected except for the route to the selected candidate device When,
A second receiving device number counting step of calculating the number of receiving devices that each route in the unicast transmission device can reach using the route output from the searched route storing means, and storing the number in the receiving device number storing means; ,
If it is determined in the multicast determination step that the device is a multicast transmission device, if the candidate device selected from the neighboring devices of the search target device is a candidate device that has already been selected from the unicast transmission device, the unicast transmission device Candidate device for multicast device that re-selects candidate device from neighboring devices of cast transmission device, stores in candidate device storage means, and stores link cost and route to re-selected candidate device in search route storage means A decision step;
A search target device determination step of selecting a candidate device with the lowest link cost from candidate devices stored in the candidate device storage means, and storing it in the visited device storage means as a visited device;
An output step of outputting a route stored in the searched route storage means when all the receiving devices are set in the visited device storage means.

図2は、本発明の原理構成図である。   FIG. 2 is a principle configuration diagram of the present invention.

本発明(請求項3)は、マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網において、入力された通信網のトポロジ情報と経路設定制約条件を用いてダイクストラマルチキャスト経路計算方法を適用して、マルチキャスト経路を計算するマルチキャスト経路計算装置であって、
各伝送装置の送信伝送装置までの経路とリンクコストを記憶する探索経路記憶手段112と、
探索された伝送装置を訪問済装置として記憶する訪問済装置記憶手段111と、
候補装置を記憶する候補装置記憶手段113と、
カウントされた受信装置数を記憶する受信装置数記憶手段114と、
通信網内の全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト計算方法によって、マルチキャスト経路を計算し、探索経路記憶手段112に格納するダイクストラ経路計算手段120と、
探索経路記憶手段112から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、受信装置数記憶手段114に格納する受信装置数カウント手段110と、
送信伝送装置を訪問済記憶手段111に格納し、探索対象装置とする初期設定手段103と、
探索対象装置がユニキャスト伝送装置かマルチキャスト伝送装置かの判定を行うマルチキャスト判定手段104と、
マルチキャスト判定手段104において、ユニキャスト伝送装置と判定されたときは、受信装置数記憶手段114に格納されている受信装置数が最大の経路にある隣接装置の一つを候補装置として、候補装置記憶手段113に格納するユニキャスト装置用候補装置決定手段と、
マルチキャスト判定手段104において、探索対象装置がマルチキャスト伝送装置であるときは、当該探索対象装置の隣接装置の中から選択した候補装置が、既にユニキャスト伝送装置から選択された候補装置である場合、該ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、候補装置記憶手段113に格納すると共に、再選択された候補装置までのリンクコストと経路を探索経路記憶手段112に格納するマルチキャスト装置用候補装置決定手段106と、
候補装置記憶手段113に格納されている候補装置の中からリンクコストが最小の候補装置を選択し、訪問済装置として訪問済装置記憶手段111に格納する探索対象装置決定手段108と、
訪問済装置記憶手段111に全ての受信装置が設定されている場合に、探索経路記憶手段112に格納されている経路を出力する経路完了判定手段109と、を有する。
The present invention (Claim 3) applies 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, A multicast route calculation device for calculating a multicast route,
Search route storage means 112 for storing the route to each transmission device to the transmission device and the link cost;
Visited device storage means 111 for storing the searched transmission device as a visited device;
Candidate device storage means 113 for storing candidate devices;
Receiving device number storage means 114 for storing the counted number of receiving devices;
Dijkstra route calculation means 120 that regards all transmission devices in the communication network as multicast transmission devices, calculates a multicast route by the Dijkstra multicast calculation method, and stores it in the search route storage means 112;
Using the route output from the search route storage unit 112, the number of receiving devices that each route in the unicast transmission device can reach is calculated and stored in the receiving device number storage unit 114; ,
An initial setting unit 103 which stores the transmission transmission device in the visited storage unit 111 and sets it as a search target device;
Multicast determination means 104 for determining whether the search target device is a unicast transmission device or a multicast transmission device;
When the multicast determination unit 104 determines that the device is a unicast transmission device, one of the neighboring devices on the path having the maximum number of reception devices stored in the reception device number storage unit 114 is stored as a candidate device. Unicast device candidate device determination means stored in the means 113;
In the multicast determination means 104, when the search target device is a multicast transmission device, if the candidate device selected from the neighboring devices of the search target device is a candidate device already selected from the unicast transmission device, A multicast device that reselects a candidate device from neighboring devices of a unicast transmission device, stores it in the candidate device storage means 113, and stores the link cost and route to the reselected candidate device in the search route storage means 112 Candidate device determining means 106,
A search target device determination unit 108 that selects a candidate device with the lowest link cost from candidate devices stored in the candidate device storage unit 113 and stores the selected device in the visited device storage unit 111 as a visited device;
A route completion determination unit 109 that outputs a route stored in the searched route storage unit 112 when all the reception devices are set in the visited device storage unit 111;

本発明(請求項4)は、マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網において、入力された通信網のトポロジ情報と経路設定制約条件を用いてダイクストラマルチキャスト経路計算方法を適用して、マルチキャスト経路を計算するマルチキャスト経路計算装置であって、
各伝送装置の送信伝送装置までの経路とリンクコストを記憶する探索経路記憶手段と、
探索された伝送装置を訪問済装置として記憶する訪問済装置記憶手段と、
候補装置を記憶する候補装置記憶手段と、
カウントされた受信装置数を記憶する受信装置数記憶手段と、
通信網内の全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト計算方法によって、マルチキャスト経路を計算し、探索経路記憶手段に格納するダイクストラ経路計算手段と、
探索経路記憶手段から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、受信装置数記憶手段に格納する第1の受信装置数カウント手段と、
送信伝送装置を訪問済記憶手段に格納し、探索対象装置とする初期設定手段と、
探索対象装置がユニキャスト伝送装置かマルチキャスト伝送装置かの判定を行うマルチキャスト判定手段と、
マルチキャスト判定手段において、ユニキャスト伝送装置であると判定されたときは、受信装置数記憶手段に格納されている受信装置数が最大の経路にある隣接装置の一つを候補装置として選択し、候補装置記憶手段に格納するユニキャスト装置用候補装置決定手段と、
選択した候補装置までの経路以外を切断したトポロジに対して、再び、全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト経路計算方法によってマルチキャスト経路を計算し、探索経路記憶手段に格納する経路再計算手段と、
探索経路記憶手段から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、受信装置数記憶手段に格納する第2の受信装置数カウント手段と、
マルチキャスト判定手段において、マルチキャスト伝送装置であると判定されたときは、当該探索対象装置の隣接装置の中から選択した候補装置が、既にユニキャスト伝送装置から選択された候補装置である場合、該ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、候補装置記憶手段に格納すると共に、再選択された候補装置までのリンクコストと経路を探索経路記憶手段に格納するマルチキャスト装置用候補装置決定手段と、
候補装置記憶手段に格納されている候補装置の中からリンクコストが最小の候補装置を選択し、訪問済装置として訪問済装置記憶手段に格納する探索対象装置決定手段と、
訪問済装置記憶手段に全ての受信装置が設定されている場合に、探索経路記憶手段に格納されている経路を出力する経路完了判定手段と、を有する。
The present invention (Claim 4) applies a Dijkstra multicast route calculation method using topology information and route setting constraint conditions of an input communication network in a communication network in which multicast transmission devices and unicast transmission devices are mixed. A multicast route calculation device for calculating a multicast route,
Search route storage means for storing the route to each transmission device to the transmission device and the link cost;
Visited device storage means for storing the searched transmission device as a visited device;
Candidate device storage means for storing candidate devices;
Receiving device number storage means for storing the counted number of receiving devices;
Dijkstra route calculation means that regards all transmission devices in the communication network as multicast transmission devices, calculates a multicast route by the Dijkstra multicast calculation method, and stores it in the search route storage means;
First receiving device number counting means for calculating the number of receiving devices that each route in the unicast transmission device can reach using the route output from the searched route storing means, and storing in the receiving device number storing means; ,
An initial setting unit that stores the transmission transmission device in the visited storage unit and sets it as a search target device;
Multicast determination means for determining whether the search target device is a unicast transmission device or a multicast transmission device;
When the multicast determination means determines that the device is a unicast transmission device, it selects one of the neighboring devices on the path having the maximum number of reception devices stored in the reception device number storage means as a candidate device, and Unicast device candidate device determination means for storing in the device storage means;
Routes for which topology other than the route to the selected candidate device is disconnected, all transmission devices are regarded as multicast transmission devices again, multicast routes are calculated by the Dijkstra multicast route calculation method, and stored in the search route storage means Recalculation means;
Second receiving device number counting means for calculating the number of receiving devices that each route in the unicast transmission device can reach using the route output from the searched route storing means, and storing in the receiving device number storing means; ,
When the multicast determination means determines that the device is a multicast transmission device, if the candidate device selected from the neighboring devices of the search target device is a candidate device already selected from the unicast transmission device, the unicast transmission device Candidate device for multicast device that re-selects candidate device from neighboring devices of cast transmission device, stores in candidate device storage means, and stores link cost and route to re-selected candidate device in search route storage means A determination means;
A search target device determining unit that selects a candidate device having the lowest link cost from candidate devices stored in the candidate device storage unit, and stores the selected device in the visited device storage unit as a visited device;
Route completion determining means for outputting a route stored in the searched route storage means when all the receiving devices are set in the visited device storage means.

本発明(請求項5)は、探索経路記憶手段、訪問済装置記憶手段、候補装置記憶手段、受信装置数記憶手段と、を有するコンピュータを、
請求項3または請求項4に記載された手段を有するマルチキャスト経路計算装置として、機能させるマルチキャスト経路計算プログラムである。
The present invention (Claim 5) includes a computer having a search route storage unit, a visited device storage unit, a candidate device storage unit, and a reception device number storage unit.
A multicast route calculation program that functions as a multicast route calculation apparatus having the means according to claim 3 or 4.

本発明(請求項6)は、探索経路記憶手段、訪問済装置記憶手段、候補装置記憶手段、受信装置数記憶手段と、を有するコンピュータを、
請求項3または請求項4に記載された手段を有するマルチキャスト経路計算装置として、機能させるプログラムを格納した記憶媒体である。
The present invention (Claim 6) includes a computer having a search route storage means, a visited device storage means, a candidate device storage means, and a reception device number storage means.
A storage medium storing a program that functions as a multicast route calculation apparatus having the means according to claim 3.

上記のように、本発明によれば、マルチキャスト伝送装置とユニキャスト伝送装置が通信網上で混在しているシステムにおいて、まず、全ての伝送装置をマルチキャスト伝送装置と見做してダイクストラにて経路計算を行い、マルチキャスト伝送装置の場合は、送信伝送装置からのリンクコストが最小になるように分岐していき、ユニキャスト伝送装置については、経路計算結果の分岐経路のうちから、到達可能な受信伝送装置の数が多い経路を選択する。これにより、ユニキャスト伝送装置での分岐の抑制、伝送コストが小さい経路の選択を実現することができる。   As described above, according to the present invention, in a system in which multicast transmission apparatuses and unicast transmission apparatuses are mixed on a communication network, first, all transmission apparatuses are regarded as multicast transmission apparatuses and are routed by Dijkstra. In the case of a multicast transmission device, branching is performed so that the link cost from the transmission transmission device is minimized, and for a unicast transmission device, reception that can be reached from among the branch routes of the route calculation result Select a route with a large number of transmission devices. Thereby, suppression of branching in the unicast transmission apparatus and selection of a route with low transmission cost can be realized.

以下、図面と共に本発明の実施の形態を説明する。   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 route calculation apparatus according to the first embodiment of the present invention.

同図に示す経路計算装置は、トポロジ情報記憶部101、制約条件記憶部102、初期設定部103、マルチキャスト判定制御部104、マルチキャスト判定部105、マルチキャスト装置用候補装置決定部106、ユニキャスト装置用候補装置決定部107、探索対象装置決定部108、経路完了判定部109、受信装置数カウント部110、訪問済装置記憶部111、探索経路記憶部112、候補装置記憶部113、受信装置数記憶部114から構成される。このうち、トポロジ情報記憶部101、制約条件記憶部102、訪問済装置記憶部111、探索経路記憶部112、候補装置記憶部113、受信装置数記憶部114は、メモリ、ハードディスク等の記憶媒体に格納されているものとする。   The route calculation apparatus shown in the figure includes a topology information storage unit 101, a constraint condition storage unit 102, an initial setting unit 103, a multicast determination control unit 104, a multicast determination unit 105, a multicast device candidate device determination unit 106, and a unicast device. Candidate device determination unit 107, search target device determination unit 108, route completion determination unit 109, reception device count unit 110, visited device storage unit 111, search route storage unit 112, candidate device storage unit 113, reception device number storage unit 114. Among these, the topology information storage unit 101, the constraint condition storage unit 102, the visited device storage unit 111, the search route storage unit 112, the candidate device storage unit 113, and the reception device number storage unit 114 are stored in a storage medium such as a memory or a hard disk. Assume that it is stored.

トポロジ情報記憶部101では、入力された装置間の接続関係、各装置のマルチキャスト配信能力、装置間のリンクコストなどを記憶する。   The topology information storage unit 101 stores the input connection relationship between devices, the multicast distribution capability of each device, the link cost between devices, and the like.

制約条件記憶部102では、送信装置、受信装置等の出力すべき経路の制約条件を記憶する。   The constraint condition storage unit 102 stores a constraint condition of a route to be output from a transmission device, a reception device, or the like.

初期設定部103では、制約条件記憶部102より送信装置の情報(例えば、装置ID)を取り出し、訪問済装置記憶部111に保存する。また、その送信装置の情報(例えば、装置ID)を探索対象装置として、マルチキャスト判定制御部104に送る。   In the initial setting unit 103, information on the transmission device (for example, device ID) is extracted from the constraint condition storage unit 102 and stored in the visited device storage unit 111. In addition, information on the transmission device (for example, device ID) is sent to the multicast determination control unit 104 as a search target device.

マルチキャスト判定制御部104は、初期設定部103から探索対象装置の情報(例えば、装置ID)を受け取り、マルチキャスト判定部105に対して“全ての装置をマルチキャスト伝送装置とみなす”制御信号と探索対象装置の情報(例えば、装置ID)を送る。さらに、探索経路記憶部112に対して、計算終了後、受信装置数カウント部110に出力するよう信号を送る。また、受信伝送装置数カウント部110より、受信伝送装置数設定完了の信号を受けた場合は、訪問済装置記憶部111、探索経路記憶部112、候補装置記憶部113のデータをリセットし、初期設定部103に対して再開の制御信号を送る。   The multicast determination control unit 104 receives information (for example, device ID) of the search target device from the initial setting unit 103, and controls the multicast determination unit 105 to “recognize all devices as multicast transmission devices” and the search target device. Information (for example, device ID) is sent. Further, a signal is sent to the search path storage unit 112 so as to be output to the receiving device count unit 110 after the calculation is completed. In addition, when receiving a signal indicating that the number of received transmission devices is set from the reception transmission device count unit 110, the data in the visited device storage unit 111, the searched route storage unit 112, and the candidate device storage unit 113 are reset to A restart control signal is sent to the setting unit 103.

マルチキャスト判定部105では、マルチキャスト判定制御部104から制御信号を受けている場合は、受け取った探索対象装置の情報(例えば、装置ID)をマルチキャスト装置用候補装置決定部106に送る。制御信号を受けていない場合は、トポロジ情報記憶部101よりマルチキャスト能力を読み出し、探索対象装置がマルチキャスト装置からユニキャスト装置かを判定し、その判定結果によって、探索対象装置をユニキャスト装置用候補装置決定部107、または、マルチキャスト用候補装置決定部106に送る。   When the multicast determination unit 105 receives a control signal from the multicast determination control unit 104, the multicast determination unit 105 sends the received information on the search target device (for example, device ID) to the multicast device candidate device determination unit 106. When the control signal is not received, the multicast capability is read from the topology information storage unit 101, it is determined whether the search target device is a unicast device from the multicast device, and the search target device is determined as a unicast device candidate device based on the determination result. The data is sent to the determination unit 107 or the multicast candidate device determination unit 106.

ユニキャスト用候補装置決定部107では、トポロジ情報記憶部101より、探索対象装置の隣接装置を取得する。その探索対象装置における各隣接装置の受信装置数を受信装置数記憶部114より取得し、受信伝送装置数が最大の隣接装置を一つ選択し、その装置を候補装置記憶部113に設定する。また、送信伝送装置から、その選択した候補装置までのリンクコストと経路を探索経路記憶部112に設定する。   The unicast candidate device determination unit 107 acquires the neighboring device of the search target device from the topology information storage unit 101. The number of receiving devices of each neighboring device in the search target device is acquired from the receiving device number storage unit 114, one neighboring device having the largest number of receiving transmission devices is selected, and that device is set in the candidate device storage unit 113. In addition, the link cost and route from the transmission transmission device to the selected candidate device are set in the search route storage unit 112.

マルチキャスト用候補装置決定部106では、トポロジ情報記憶部101より、探索対象装置の隣接装置と隣接装置とのリンクコストを取得する。各隣接装置の探索対象装置経由のリンクコストを計算し、探索経路記憶部112に設定されていないか、もしくは設定されているリンクコストより小さい場合、その隣接装置の情報(例えば、装置ID)を候補装置記憶部113に設定する。その際、この候補装置の情報が既に候補装置記憶部113に設定されていて、他のユニキャスト伝送装置からの候補装置である場合、そのユニキャスト伝送装置の情報(例えば、装置ID)をユニキャスト用候補装置決定部107に送る。   The multicast candidate device determination unit 106 acquires, from the topology information storage unit 101, link costs between adjacent devices and adjacent devices of the search target device. The link cost of each neighboring device via the search target device is calculated, and if it is not set in the search path storage unit 112 or smaller than the set link cost, information on the neighboring device (for example, device ID) is obtained. Candidate device storage unit 113 is set. At this time, when the information on the candidate device is already set in the candidate device storage unit 113 and is a candidate device from another unicast transmission device, the information on the unicast transmission device (for example, the device ID) is changed to the unicast transmission device. This is sent to the cast candidate device determination unit 107.

探索対象装置決定部108では、候補装置記憶部113に設定されているリンクコストが最小の候補装置を読み出し、探索対象装置とし、その装置の情報(例えば、装置ID)を経路完了判定部109に送る。また、その装置の情報(例えば、装置ID)を候補装置記憶部113から削除し、訪問済装置記憶部111に保存する。   The search target device determination unit 108 reads out the candidate device with the lowest link cost set in the candidate device storage unit 113, sets it as the search target device, and sends information about the device (for example, device ID) to the route completion determination unit 109. send. Further, the device information (for example, device ID) is deleted from the candidate device storage unit 113 and stored in the visited device storage unit 111.

経路完了判定部109では、訪問済装置記憶部111に制約条件記憶部102にある全受信装置が設定されているかを判別し、全て含まれている場合は経路完了とし、探索経路記憶部112に完了の信号を送信する。全て含まれていない場合は、受信した探索対象装置の情報をマルチキャスト判定部105へ送る。   The route completion determination unit 109 determines whether all the receiving devices in the constraint condition storage unit 102 are set in the visited device storage unit 111. If all the reception devices are included, the route completion determination unit 109 determines that the route is completed, and stores it in the search route storage unit 112. Send a completion signal. If not all are included, the received information on the search target device is sent to the multicast determination unit 105.

探索経路記憶部112は、経路完了判定部109からの完了の信号を受けて、記憶されている経路を出力する。マルチキャスト判定制御部104から制御信号を受けている場合は、受信装置数カウント部110に出力し、制御信号を受けていない場合は、経路を出力して正常終了する。   The search route storage unit 112 receives a completion signal from the route completion determination unit 109 and outputs the stored route. When the control signal is received from the multicast determination control unit 104, the signal is output to the receiving device count unit 110. When the control signal is not received, the route is output and the process ends normally.

受信装置数カウント部110では、探索経路記憶部112と制約条件記憶部102を参照して、受信したマルチキャスト経路を探索し、全ユニキャスト伝送装置の各方路における到達できる受信伝送装置をカウントし、その数を受信装置数記憶部114に設定する。また、設定完了後、マルチキャスト判定部105に受信伝送装置数設定完了の信号を送信する。   The reception device count unit 110 searches the received multicast route with reference to the search route storage unit 112 and the constraint condition storage unit 102, and counts the reception transmission devices that can be reached in each route of all unicast transmission devices. The number is set in the receiving device number storage unit 114. Also, after the setting is completed, a signal indicating the completion of setting the number of receiving transmission devices is transmitted to the multicast determination unit 105.

図4〜図8は、本発明の第1の実施の形態における動作のフローチャートである。   4 to 8 are flowcharts of operations in the first embodiment of the present invention.

以下のフローチャートにおいて、sは、送信伝送装置を示し、vは、探索対象伝送装置(通常、経路が決定したばかりの伝送装置)を示す。   In the following flowchart, s indicates a transmission transmission device, and v indicates a search target transmission device (usually a transmission device whose path has just been determined).

ステップ101) 予め、全装置をマルチキャストとみなし、ダイクストラ方式にて経路を計算し、探索経路記憶部112に格納する。   Step 101) All devices are regarded as multicast in advance, and a route is calculated by the Dijkstra method and stored in the searched route storage unit 112.

ステップ102) 予め、計算した探索経路記憶部112の経路を探索し、ユニキャスト装置の次ホップ装置を通って到達することができる受信装置数を受信装置数記憶部114に格納する。   Step 102) The calculated route of the search route storage unit 112 is searched in advance, and the number of reception devices that can be reached through the next hop device of the unicast device is stored in the reception device number storage unit 114.

ステップ103) 初期設定部103において、送信伝送装置sを探索対象伝送装置vとする。   Step 103) In the initial setting unit 103, the transmission transmission device s is set as a search target transmission device v.

ステップ104) マルチキャスト判定部105において、トポロジ情報記憶部101を参照して、探索対象装置vがマルチキャスト伝送装置であるかを判定する。マルチキャスト伝送装置である場合は、ステップ105に移行し、そうでない場合は、ステップ200[処理3]に移行する。   Step 104) The multicast determination unit 105 refers to the topology information storage unit 101 to determine whether the search target device v is a multicast transmission device. If it is a multicast transmission apparatus, the process proceeds to step 105; otherwise, the process proceeds to step 200 [Process 3].

ステップ105) 探索対象装置vに隣接し、確定した経路上におけるvの一つ前の伝送装置ではない伝送装置をfとする。なお、fが一つも存在しない場合は、以下の処理を実行しない。   Step 105) Let f be a transmission apparatus that is adjacent to the search target apparatus v and is not the transmission apparatus immediately preceding v on the determined path. If no f exists, the following processing is not executed.

マルチキャスト装置用候補装置決定部106は、探索対象装置v経由の送信装置sと伝送装置f間のリンクコストを計算し、その値をdfとする。   The multicast device candidate device determination unit 106 calculates the link cost between the transmission device s and the transmission device f via the search target device v, and sets the value as df.

ステップ106) マルチキャスト装置用候補決定部106は、伝送装置fのリンクコストdfを取得して、訪問済装置記憶部111と候補装置記憶部113を参照して、伝送装置fが訪問済装置、または、他の装置の候補装置かを判定する。   Step 106) The multicast device candidate determination unit 106 acquires the link cost df of the transmission device f, refers to the visited device storage unit 111 and the candidate device storage unit 113, and determines that the transmission device f is a visited device or It is determined whether it is a candidate device of another device.

訪問済装置でない場合は、ステップ108に移行し、訪問済装置である場合は、ステップ107に移行する。   If it is not a visited device, the process proceeds to step 108, and if it is a visited device, the process proceeds to step 107.

ステップ107) 訪問済装置である場合は、既に計算されているリンクコストがステップ105で計算されたリンクコストdfより大きいかを判定し、大きい場合はステップ109に移行し、そうでない場合は、ステップ114に移行する。   Step 107) If it is a visited device, it is determined whether the already calculated link cost is larger than the link cost df calculated in Step 105. If it is larger, the process proceeds to Step 109. 114.

ステップ108) マルチキャスト用候補装置決定部106は、送信伝送装置sから伝送装置fまでの探索装置v経由の経路とリンクコストを探索経路記憶部112に保存し、fを候補装置とする。[処理2]
ステップ109) マルチキャスト用候補装置決定部106は、探索経路記憶部112に保存されている経路におけるfの一つ前の伝送装置をpとする。
Step 108) The multicast candidate device determination unit 106 stores the route and link cost via the search device v from the transmission transmission device s to the transmission device f in the search route storage unit 112, and sets f as a candidate device. [Process 2]
Step 109) The multicast candidate apparatus determining unit 106 sets p as the transmission apparatus immediately preceding f in the path stored in the searched path storage unit 112.

ステップ110) 上記のステップ108と同様の動作を行う。   Step 110) The same operation as in the above step 108 is performed.

ステップ111) マルチキャスト判定部105において、伝送装置pがマルチキャスト伝送装置かを判定し、マルチキャスト伝送装置であれば、ステップ114に移行する。   Step 111) The multicast determination unit 105 determines whether the transmission device p is a multicast transmission device. If the transmission device p is a multicast transmission device, the process proceeds to step 114.

ステップ112) マルチキャスト伝送装置でなければ、pを探索装置vとする。   Step 112) If it is not a multicast transmission device, let p be a search device v.

ステップ113) 後述するステップ200〜ステップ207[処理3]の処理を行う。   Step 113) Steps 200 to 207 [Process 3] described later are performed.

ステップ114) マルチキャスト伝送装置であれば、ユニキャスト用候補装置決定部107において、候補装置記憶部113を参照して、候補装置が存在するかを判定し、存在する場合は、ステップ120に移行する。   Step 114) If it is a multicast transmission device, the candidate device determination unit 107 for unicast refers to the candidate device storage unit 113 to determine whether there is a candidate device, and if it exists, proceeds to Step 120. .

ステップ115) 候補装置が存在しない場合は、探索対象装置決定部108において、送信伝送装置sからのリンクコストが最小となる候補装置をiとする。複数ある場合は、その他の条件を用いて一つを選択する。そのiまでの経路を決定し、iを候補装置記憶部113から削除し、iを訪問済装置として訪問済装置記憶部111に保存する。   Step 115) If no candidate device exists, the search target device determination unit 108 sets i as the candidate device with the lowest link cost from the transmission transmission device s. If there are multiple, select one using other conditions. A route to the i is determined, i is deleted from the candidate device storage unit 113, and i is stored in the visited device storage unit 111 as a visited device.

ステップ116) 候補装置iを探索装置vとする。   Step 116) The candidate device i is set as the search device v.

ステップ117) 経路完了判定部109は、訪問済装置記憶部111を参照して決定した経路に全ての受信伝送装置が含まれているかを判定し、含まれている場合は、ステップ118に移行し、含まれていない場合はステップ104に移行する。   Step 117) The route completion determination unit 109 determines whether all the receiving transmission devices are included in the route determined with reference to the visited device storage unit 111. If included, the processing proceeds to Step 118. If not included, the process proceeds to step 104.

ステップ118) 経路完了判定部109は、受信装置に通じない経路を探索経路記憶部112から削除する。   Step 118) The route completion determination unit 109 deletes the route that does not communicate with the receiving device from the searched route storage unit 112.

ステップ119) 探索経路記憶部112の経路を決定した経路として出力する。   Step 119) The route of the searched route storage unit 112 is output as the determined route.

ステップ120) 「解なし」を出力し、強制終了する。   Step 120) “No solution” is output and the process is forcibly terminated.

[処理3:ステップ200〜ステップ207]
ステップ200) ユニキャスト装置用候補装置決定部107は、探索対象伝送装置vに隣接する伝送装置をfとする。
[Process 3: Step 200 to Step 207]
Step 200) The candidate device determination unit 107 for the unicast device sets a transmission device adjacent to the search target transmission device v to be f.

ステップ201) fが複数存在するかを判定し、存在する場合は、ステップ202に移行し、存在しない場合はステップ205に移行する。   Step 201) It is determined whether or not there is a plurality of f. If there are f, the process proceeds to Step 202, and if not, the process proceeds to Step 205.

ステップ202) ユニキャスト装置用候補装置決定部107は、受信装置数記憶部114を参照して、記憶している受信装置数が多い伝送装置を一つ選択し、同数のものが複数ある場合は、物理リンク数や、マルチキャスト配信能力などを用いた優先付け条件によって決定する。   Step 202) The candidate device determination unit 107 for the unicast device refers to the reception device number storage unit 114, selects one transmission device having a large number of stored reception devices, and there are a plurality of the same number. It is determined by prioritization conditions using the number of physical links, multicast distribution capability, and the like.

ステップ203) 前述のステップ105の処理を行う。   Step 203) The process of Step 105 described above is performed.

ステップ204) 前述のステップ108の処理を行い、ステップ114に移行する。   Step 204) The processing of Step 108 described above is performed, and the routine proceeds to Step 114.

ステップ205) ステップ201において、fが複数存在しない場合、fが1つは存在しているかを判定し、1つ存在している場合はステップ206に移行し、一つも存在していない場合は、ステップ114に移行する。   Step 205) In step 201, if there is not a plurality of f, it is determined whether one f is present. If one f is present, the process proceeds to step 206, and if none is present, Control goes to step 114.

ステップ206) 前述のステップ105の処理を行う。   Step 206) The process of Step 105 described above is performed.

ステップ207) 前述のステップ108の処理を行い、ステップ114に移行する。   Step 207) The processing of Step 108 described above is performed, and the routine proceeds to Step 114.

[第2の実施の形態]
図9は、本発明の第2の実施の形態における経路計算装置の構成を示す。なお、前述の第1の実施の形態における図3の構成と同一構成部分には同一符号を付す。
[Second Embodiment]
FIG. 9 shows the configuration of the route calculation apparatus according to the second embodiment of the present invention. In addition, the same code | symbol is attached | subjected to the same component as the structure of FIG. 3 in the above-mentioned 1st Embodiment.

同図に示す経路計算装置は、トポロジ情報記憶部101、ダイクストラ用トポロジ情報記憶部201、制約条件記憶部102、初期設定部103、ダイクストラ制御部202、マルチキャスト判定部105、マルチキャスト装置用候補装置決定部106、ユニキャスト装置用候補装置決定部107、探索対象装置決定部108、経路完了判定部109、受信装置カウント部110、訪問済装置記憶部111、ダイクストラ用訪問済装置記憶部203、探索経路記憶部112、ダイクストラ用探索経路記憶部204、候補装置記憶部113、ダイクストラ用候補装置記憶部205、受信装置数記憶部114から構成される。このうち、トポロジ情報記憶部101、制約条件記憶部102、訪問済装置記憶部111、探索経路記憶部112、候補装置記憶部113、受信装置数記憶部114、ダイクストラ用訪問済装置記憶部203、ダイクストラ用探索経路記憶部204、ダイクストラ用候補装置記憶部205は、メモリ、ハードディスク等の記憶媒体に格納されているものとする。   The route calculation apparatus shown in the figure includes a topology information storage unit 101, a Dijkstra topology information storage unit 201, a constraint condition storage unit 102, an initial setting unit 103, a Dijkstra control unit 202, a multicast determination unit 105, and a multicast device candidate device determination. Unit 106, unicast candidate device determination unit 107, search target device determination unit 108, route completion determination unit 109, reception device count unit 110, visited device storage unit 111, Dijkstra visited device storage unit 203, search route The storage unit 112, the Dijkstra search path storage unit 204, the candidate device storage unit 113, the Dijkstra candidate device storage unit 205, and the reception device number storage unit 114 are configured. Among these, the topology information storage unit 101, the constraint condition storage unit 102, the visited device storage unit 111, the searched route storage unit 112, the candidate device storage unit 113, the reception device number storage unit 114, the Dijkstra visited device storage unit 203, The Dijkstra search path storage unit 204 and the Dijkstra candidate device storage unit 205 are assumed to be stored in a storage medium such as a memory or a hard disk.

トポロジ情報記憶部101では、入力された装置間の接続関係、各装置のマルチキャスト配信能力、装置間のリンクコストなどを記憶する。   The topology information storage unit 101 stores the input connection relationship between devices, the multicast distribution capability of each device, the link cost between devices, and the like.

ダイクストラ用トポロジ情報記憶部201では、ダイクストラ用に用いるトポロジ情報を記憶し、初回は、トポロジ情報記憶部101と同じ情報を設定する。   The Dijkstra topology information storage unit 201 stores topology information used for Dijkstra, and sets the same information as the topology information storage unit 101 for the first time.

制約条件記憶部102では、送信装置、受信装置などの出力すべき経路の制約条件を記憶する。   The constraint condition storage unit 102 stores a constraint condition for a route to be output, such as a transmission device or a reception device.

初期設定部103では、制約条件記憶部102より送信装置を取り出し、訪問済装置記憶部111に保存する。また、その送信装置の情報(例えば、装置ID)を探索対象装置として、ダイクストラ制御部202に送る。   The initial setting unit 103 takes out the transmission device from the constraint condition storage unit 102 and stores it in the visited device storage unit 111. Also, information on the transmission device (for example, device ID) is sent to the Dijkstra control unit 202 as a search target device.

ダイクストラ制御部202は、初回に初期設定部103より探索対象装置を受信、または、ユニキャスト伝送装置用候補装置決定部107より制御信号を受信した場合、マルチキャスト判定部105に対して、“全ての装置をマルチキャスト伝送装置とみなす”ように制御信号と探索対象装置の情報(例えば、装置ID)を送る。さらに、探索経路記憶部112に対して、計算終了後、受信装置数カウント部110に出力するよう信号を送る。マルチキャスト用候補装置決定部106、探索対象装置決定部108、経路完了判定部109に対して、ダイクストラにて動作するように制御信号を送る。   When the Dijkstra control unit 202 receives the search target device from the initial setting unit 103 for the first time or receives the control signal from the unicast transmission device candidate device determination unit 107, the Dijkstra control unit 202 instructs the multicast determination unit 105 to “all A control signal and information on a search target device (for example, device ID) are sent so that the device is regarded as a multicast transmission device. Further, a signal is sent to the search path storage unit 112 so as to be output to the receiving device count unit 110 after the calculation is completed. A control signal is sent to the multicast candidate device determination unit 106, the search target device determination unit 108, and the route completion determination unit 109 so as to operate in Dijkstra.

また、ダイクストラ制御部202は、受信装置数カウント部110より、受信伝送装置数設定完了の信号を受けた場合は、ダイクストラ用訪問済装置記憶部203、ダイクストラ用探索経路記憶部204、ダイクストラ用候補装置記憶部205をリセットし、初回は、初期設定部103に対して再開の制御信号を送信し、2回目以降は、ユニキャスト装置用候補装置決定部107に再開の制御信号を送信する。   In addition, when the Dijkstra control unit 202 receives a signal indicating the completion of the setting of the number of received transmission devices from the receiving device number counting unit 110, the Dijkstra visited device storage unit 203, the Dijkstra search path storage unit 204, and the Dijkstra candidate The device storage unit 205 is reset, and a restart control signal is transmitted to the initial setting unit 103 for the first time, and a restart control signal is transmitted to the unicast device candidate device determination unit 107 for the second and subsequent times.

マルチキャスト判定部105では、ダイクストラ制御部202から制御信号を受けている場合は、受け取った探索対象装置の情報(例えば、装置ID)をマルチキャスト装置用候補装置決定部106に送る。制御信号を受けていない場合は、トポロジ情報記憶部101よりマルチキャスト能力を読み出し、探索対象装置がマルチキャスト装置か、ユニキャスト装置かを判定し、その判定結果によって、探索対象装置をユニキャスト装置用候補装置決定部107、または、マルチキャスト用候補装置決定部106に送る。   When receiving a control signal from the Dijkstra control unit 202, the multicast determination unit 105 sends the received information on the search target device (for example, device ID) to the multicast device candidate device determination unit 106. When the control signal is not received, the multicast capability is read from the topology information storage unit 101, it is determined whether the search target device is a multicast device or a unicast device, and the search target device is determined as a unicast device candidate based on the determination result. The data is sent to the device determination unit 107 or the multicast candidate device determination unit 106.

ユニキャスト用候補装置決定部107では、トポロジ情報記憶部101より、探索対象装置の隣接装置を取得する。その探索装置における各隣接装置の受信装置数を受信装置数記憶部114より取得し、受信伝送装置数が最大の隣接装置を一つ選択し、その装置を候補装置記憶部113に設定する。また、送信伝送装置から、その選択した候補装置までのリンクコストと経路を探索経路記憶部112に設定する。選択されなかったリンクをダイクストラ用トポロジ情報記憶部201から削除する。ダイクストラ制御部202にダイクストラ計算を開始するように信号を送信する。また、ダイクストラ制御部202より、ダイクストラ経路計算が完了した信号を受けた場合、処理を探索対象装置決定部108に移す。   The unicast candidate device determination unit 107 acquires the neighboring device of the search target device from the topology information storage unit 101. The number of receiving devices of each neighboring device in the search device is acquired from the receiving device number storage unit 114, one neighboring device having the largest number of receiving transmission devices is selected, and that device is set in the candidate device storage unit 113. In addition, the link cost and route from the transmission transmission device to the selected candidate device are set in the search route storage unit 112. The link that has not been selected is deleted from the Dijkstra topology information storage unit 201. A signal is transmitted to the Dijkstra control unit 202 to start Dijkstra calculation. Further, when the Dijkstra route calculation completion signal is received from the Dijkstra control unit 202, the process proceeds to the search target device determination unit 108.

マルチキャスト用候補装置決定部106では、ダイクストラ制御部202より制御信号を受信していない場合、トポロジ情報記憶部101より探索対象装置の隣接装置と隣接装置とのリンクコストを取得する。各隣接装置の探索対象装置経由のリンクコストを計算し、探索経路記憶部112に設定されていないか、もしくは設定されているリンクコストより小さい場合、その隣接装置を候補装置記憶部113に設定する。その際、その候補装置が既に候補装置記憶部113に設定されていて、他のユニキャスト伝送装置からの候補装置である場合、そのユニキャスト伝送装置の情報(例えば、装置ID)をユニキャスト用候補装置決定部107に送る。   When the multicast candidate device determination unit 106 has not received a control signal from the Dijkstra control unit 202, the multicast information is obtained from the topology information storage unit 101 between the adjacent devices of the search target device and the adjacent devices. The link cost of each adjacent device via the search target device is calculated, and if the link cost is not set in the search route storage unit 112 or smaller than the set link cost, the adjacent device is set in the candidate device storage unit 113. . At this time, if the candidate device is already set in the candidate device storage unit 113 and is a candidate device from another unicast transmission device, information on the unicast transmission device (for example, device ID) is used for unicast. This is sent to the candidate device determination unit 107.

また、マルチキャスト用候補装置決定部106では、ダイクストラ制御部202より制御信号を受信している場合、ダイクストラ用トポロジ情報記憶部201より、探索対象装置の隣接装置と隣接装置とのリンクコストを取得する。各隣接装置の探索対象装置経由のリンクコストを計算し、ダイクストラ用探索経路記憶部204に設定されていないか、もしくは、設定されているリンクコストより小さい場合、その隣接装置をダイクストラ用候補装置記憶部205に設定する。   Further, when the multicast candidate device determination unit 106 receives a control signal from the Dijkstra control unit 202, the multicast candidate device determination unit 106 acquires the link cost between the adjacent device of the search target device and the adjacent device from the Dijkstra topology information storage unit 201. . The link cost of each neighboring device via the search target device is calculated, and if it is not set in the Dijkstra search path storage unit 204 or is smaller than the set link cost, the neighboring device is stored as a Dijkstra candidate device. Set in the unit 205.

探索対象装置決定部108では、ダイクストラ制御部202より制御信号を受信していない場合、候補装置記憶部113に設定されているリンクコストが最小の候補装置を呼び出し対象探索対象装置とし、呼び出し対象探索対象装置の情報(例えば、装置ID)を当該経路完了判定部109に送る。また、その装置の情報(例えば、装置ID)を候補装置記憶部113から削除し、訪問済装置記憶部111に保存する。   If no control signal is received from the Dijkstra control unit 202, the search target device determination unit 108 sets the candidate device with the lowest link cost set in the candidate device storage unit 113 as the call target search target device, and performs the call target search. Information on the target device (for example, device ID) is sent to the route completion determination unit 109. Further, the device information (for example, device ID) is deleted from the candidate device storage unit 113 and stored in the visited device storage unit 111.

また、探索対象装置決定部108では、ダイクストラ制御部202より制御信号を受信している場合は、ダイクストラ用候補装置記憶部205に設定されているリンクコストが最小の候補装置を呼び出し、探索対象装置とし、当該探索対象装置の情報(例えば、装置ID)を経路完了判定部109に送る。また、その装置の情報(例えば、装置ID)をダイクストラ候補装置記憶部205から削除し、ダイクストラ訪問済記憶部203に保存する。   In addition, when the search target device determining unit 108 receives a control signal from the Dijkstra control unit 202, the search target device determining unit 108 calls a candidate device with the lowest link cost set in the Dijkstra candidate device storage unit 205, and Then, information on the search target device (for example, device ID) is sent to the route completion determination unit 109. In addition, the device information (for example, device ID) is deleted from the Dijkstra candidate device storage unit 205 and stored in the Dijkstra visited storage unit 203.

経路完了判定部109では、ダイクストラ制御部202より制御信号を受信していない場合、訪問済装置記憶部111に制約条件記憶部102にある全受信装置が設定されているかを判別し、全て含まれている場合は、経路完了とし、探索経路記憶部112に完了の信号を送信する。全て含まれていない場合は、受信した探索対象装置の情報(例えば、装置ID)をマルチキャスト判定部105に送る。   When the route completion determination unit 109 has not received a control signal from the Dijkstra control unit 202, the route completion determination unit 109 determines whether all the receiving devices in the constraint condition storage unit 102 are set in the visited device storage unit 111, and all of them are included. If it is, the route is completed, and a completion signal is transmitted to the searched route storage unit 112. If all are not included, the received information on the search target device (for example, device ID) is sent to the multicast determination unit 105.

ダイクストラ制御部202により制御情報を受信している場合、ダイクストラ用訪問済装置記憶部203に制約条件記憶部102にある全受信装置が設定されているかを判別し、全て含まれている場合は経路完了とし、ダイクストラ用探索経路記憶部204に完了の信号を送信する。全て含まれていない場合は、受信した探索対象装置の情報(例えば、装置ID)をマルチキャスト判定部105に送る。   When control information is received by the Dijkstra control unit 202, it is determined whether all the receiving devices in the constraint condition storage unit 102 are set in the visited device storage unit 203 for Dijkstra. The completion signal is transmitted to the Dijkstra search path storage unit 204. If all are not included, the received information on the search target device (for example, device ID) is sent to the multicast determination unit 105.

探索経路記憶部112は、経路完了判定部109からの完了の信号を受けて、記憶されている経路を出力する。   The search route storage unit 112 receives a completion signal from the route completion determination unit 109 and outputs the stored route.

ダイクストラ用探索経路記憶部204は、経路完了判定部109からの完了信号を受けて、記憶されている経路を受信装置数カウント部110に出力する。   The Dijkstra search route storage unit 204 receives the completion signal from the route completion determination unit 109 and outputs the stored route to the receiving device count unit 110.

受信装置数カウント部110では、受信したマルチキャスト経路を探索し、全ユニキャスト伝送装置の各方路における到達できる受信伝送装置をカウントし、その数を受信装置数記憶部114に設定する。また、設定完了後、ダイクストラ制御部202に受信伝送装置数設定完了の信号を送信する。   The receiving device number counting unit 110 searches the received multicast route, counts the receiving transmission devices that can be reached in each route of all unicast transmission devices, and sets the number in the receiving device number storage unit 114. Also, after the setting is completed, a signal indicating the completion of setting the number of receiving transmission devices is transmitted to the Dijkstra control unit 202.

次に、上記の構成における動作を説明する。   Next, the operation in the above configuration will be described.

図10〜図14は、本発明の第2の実施の形態における動作のフローチャートである。   10 to 14 are flowcharts of operations in the second embodiment of the present invention.

以下のフローチャートにおいて、sは、送信伝送装置を示し、vは、探索対象伝送装置(通常、経路が決定したばかりの伝送装置)を示す。   In the following flowchart, s indicates a transmission transmission device, and v indicates a search target transmission device (usually a transmission device whose path has just been determined).

[処理4:ステップ301〜ステップ303]
ステップ301) ダイクストラ制御部202は、ダイクストラ用の各記憶部と受信装置数用記憶部114のデータをリセットする。
[Process 4: Step 301 to Step 303]
Step 301) The Dijkstra control unit 202 resets the data in each of the Dijkstra storage units and the storage unit number storage unit 114.

ステップ302) ダイクストラ用トポロジ情報記憶部201のダイクストラ用トポロジを用いて全装置をマルチキャストとみなし、ダイクストラ方式にて経路を計算する。   Step 302) All devices are regarded as multicast using the Dijkstra topology in the Dijkstra topology information storage unit 201, and a route is calculated by the Dijkstra method.

ステップ303) 計算した経路を探索し、ユニキャスト装置の次ホップ装置を通って到達することができる受信装置数を受信装置数記憶部114に設定する。   Step 303) The calculated route is searched, and the number of receiving devices that can be reached through the next hop device of the unicast device is set in the receiving device number storage unit 114.

ステップ304) 送信伝送装置sを探索対象伝送装置vとする。   Step 304) The transmission transmission device s is set as a search target transmission device v.

ステップ305) マルチキャスト判定部105において、探索対象伝送装置vがマルチキャスト伝送装置であるかを判定し、マルチキャスト伝送装置である場合には、ステップ306に移行し、そうでない場合は、ステップ400に移行する。   Step 305) The multicast determination unit 105 determines whether the search target transmission device v is a multicast transmission device. If the multicast transmission device is a multicast transmission device, the process proceeds to step 306. If not, the process proceeds to step 400. .

ステップ306) ここで、探索対象伝送装置vに隣接し、確定した経路上におけるvの一つ前の伝送装置ではない伝送装置をfとする。なお、fが一つも存在しない場合は、以下の処理は実行しない。   Step 306) Here, let f be a transmission apparatus that is adjacent to the search target transmission apparatus v and is not the transmission apparatus immediately preceding v on the determined path. If no f exists, the following processing is not executed.

[処理1:ステップ307]
ステップ307) マルチキャスト装置用候補装置決定部106は、探索対象伝送装置v経由の送信伝送装置sとf間のリンクコストを計算し、それをdfとする。
[Process 1: Step 307]
Step 307) The multicast device candidate device determination unit 106 calculates the link cost between the transmission transmission devices s and f via the search target transmission device v and sets it as df.

ステップ308) 訪問済装置記憶部111と候補装置記憶部113を参照し、fが訪問済装置であるかを判定し、訪問済装置または、他の装置の候補装置である場合は、ステップ309へ移行し、訪問済装置または、他の装置の候補装置でない場合は、ステップ310に移行する。   Step 308) Referring to visited device storage unit 111 and candidate device storage unit 113, it is determined whether f is a visited device. If it is a visited device or a candidate device of another device, go to step 309. If it is determined that the apparatus is not a visited apparatus or a candidate apparatus of another apparatus, the process proceeds to step 310.

ステップ309) マルチキャスト装置用候補装置決定部106は、既に計算されているリンクコストがdfより大きいかを判定し、大きい場合はステップ311に移行し、そうでない場合は、ステップ316に移行する。   Step 309) The multicast device candidate apparatus determination unit 106 determines whether the already calculated link cost is larger than df, and if it is larger, the process proceeds to Step 311; otherwise, the process proceeds to Step 316.

[処理2:ステップ310]
ステップ310) sからfまでのv経由の経路とリンクコストを候補装置記憶部113に保存し、fを候補装置する。ステップ316に移行する。
[Process 2: Step 310]
Step 310) The route via v from s to f and the link cost are stored in the candidate device storage unit 113, and f is a candidate device. Control goes to step 316.

ステップ311) 探索経路記憶部112に保存されている経路におけるfの一つ前の伝送装置をpとする。   Step 311) Let p be the transmission device immediately preceding f in the route stored in the searched route storage unit 112.

ステップ312) 上記のステップ310と同様の処理を行う。   Step 312) The same processing as in the above step 310 is performed.

ステップ313) マルチキャスト判定部105は、伝送装置pがマルチキャスト伝送装置かを判定し、マルチキャスト伝送装置であればステップ316に移行し、そうでなければ、ステップ314に移行する。   Step 313) The multicast determination unit 105 determines whether the transmission device p is a multicast transmission device. If the transmission device p is a multicast transmission device, the process proceeds to step 316; otherwise, the process proceeds to step 314.

ステップ314) pを探索対象伝送装置vとする。   Step 314) Let p be a search target transmission device v.

ステップ315) ステップ400〜ステップ409の処理[処理3]を行う。   Step 315) The processing of Step 400 to Step 409 [Process 3] is performed.

ステップ316) 全てのfに対して以下の処理を実行する。   Step 316) The following processing is executed for all f.

ステップ317) マルチキャスト装置用候補装置決定部106は、候補装置記憶部113を参照して、fが存在するかを判定し、存在する場合はステップ318に移行し、存在しない場合は、ステップ323に移行する。   Step 317) The multicast device candidate device determination unit 106 refers to the candidate device storage unit 113 to determine whether f exists. If it exists, the process proceeds to step 318. If not, the process proceeds to step 323. Transition.

ステップ318) 探索対象装置決定部108は、sからのリンクコストが最小となる候補装置をiとする。複数ある場合は、その他の条件を用いて一つを選択する。そのiまでの経路を決定し、iを候補装置記憶部113から削除する。iを訪問済装置として訪問済装置記憶部111に保存する。   Step 318) The search target device determination unit 108 sets i as a candidate device having the minimum link cost from s. If there are multiple, select one using other conditions. The route to i is determined, and i is deleted from the candidate device storage unit 113. i is stored in the visited device storage unit 111 as a visited device.

ステップ319) 探索対象装置決定部108は、iを探索対象伝送装置vとする。   Step 319) The search target device determination unit 108 sets i as the search target transmission device v.

ステップ320) 経路完了判定部109は、決定した経路に全ての受信装置が含まれているかを判定し、含まれている場合はステップ321に移行し、含まれていない場合はステップ305に移行する。   Step 320) The path completion determination unit 109 determines whether all the receiving devices are included in the determined path. If included, the process proceeds to step 321. If not included, the process proceeds to step 305. .

ステップ321) 受信装置に通じない経路を探索経路記憶部112から削除する。   Step 321) The route that does not communicate with the receiving device is deleted from the searched route storage unit 112.

ステップ322) 探索経路記憶部112の決定した経路を出力し、処理を終了する。   Step 322) The route determined by the searched route storage unit 112 is output, and the process is terminated.

ステップ323) ステップ317において候補が存在しない場合には、「解なし」を出力し、強制終了する。   Step 323) If there is no candidate in Step 317, “no solution” is output and the process is forcibly terminated.

[処理3:ステップ400〜409]
ステップ400) ステップ305において、vがマルチキャスト伝送装置でないと判断された場合、ユニキャスト用候補装置決定部107は、vに隣接する伝送装置をfとする。
[Process 3: Steps 400 to 409]
Step 400) When it is determined in step 305 that v is not a multicast transmission apparatus, the unicast candidate apparatus determination unit 107 sets a transmission apparatus adjacent to v to f.

ステップ401) fが複数存在するかを判定し、複数存在する場合はステップ402に移行し、複数存在しない場合はステップ407に移行する。   Step 401) It is determined whether or not there are a plurality of fs. If there are a plurality of fs, the process proceeds to Step 402.

ステップ402) 受信装置数記憶部114を参照して、記憶している受信装置数が多い伝送装置を一つ選択する。同数のものが複数ある場合は、物理リンク数や、マルチキャスト配信能力などを用いた優先付け条件によって決定する。   Step 402) Referring to the reception device number storage unit 114, one transmission device having a large number of stored reception devices is selected. If there are a plurality of the same number, it is determined by the prioritization condition using the number of physical links, multicast distribution capability, and the like.

ステップ403) 決定されなかった装置とvのリンクを切断したトポロジをダイクストラ用トポロジとしてダイクストラ用トポロジ情報記憶部201に保存する。   Step 403) The topology in which the link between the undecided device and v is cut is stored in the Dijkstra topology information storage unit 201 as the Dijkstra topology.

ステップ404) ステップ301〜ステップ303[処理4]を行う。   Step 404) Step 301 to Step 303 [Process 4] are performed.

ステップ405) ステップ307[処理1]を行う。   Step 405) Step 307 [Process 1] is performed.

ステップ406) ステップ310[処理2]を行う。   Step 406) Step 310 [Process 2] is performed.

ステップ407) ステップ401において、fが複数でないとき、fが一つは存在するかを判定し、存在する場合は、ステップ408に移行し、1つも存在しない場合はステップ317に移行する。   Step 407) In step 401, when f is not plural, it is determined whether there is one f. If there is one, the process proceeds to step 408, and if none exists, the process proceeds to step 317.

以下、本発明の実施例を説明する。   Examples of the present invention will be described below.

[第1の実施例]
図15、図16を用いて、第1の実施例を説明する。
[First embodiment]
The first embodiment will be described with reference to FIGS.

以下の例では、送信伝送装置を{A}とし、受信伝送装置を{B,I,K,L}として説明する。   In the following example, description will be made assuming that the transmission transmission device is {A} and the reception transmission device is {B, I, K, L}.

図15、図16に示す各伝送装置A,B,D,E,F,G,I,J,K,Lはマルチキャスト伝送装置であり、C,H,はユニキャスト伝送装置である。   Each of the transmission apparatuses A, B, D, E, F, G, I, J, K, and L shown in FIGS. 15 and 16 is a multicast transmission apparatus, and C and H are unicast transmission apparatuses.

図15(a)にある接続関係とリンクコストを含むトポロジ情報及び送信伝送装置、受信伝送装置の入力を受け付ける。   The topology information including the connection relationship and the link cost shown in FIG. 15A and the input of the transmission transmission device and the reception transmission device are received.

(1)全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラ方式にて、マルチキャスト経路を計算する。その経路によって、全ユニキャスト経路の各方路の受信伝送装置数をカウントする(図15(b))。   (1) All transmission apparatuses are regarded as multicast transmission apparatuses, and multicast paths are calculated by the Dijkstra method. The number of receiving transmission devices on each route of all unicast routes is counted according to the route (FIG. 15 (b)).

ユニキャスト伝送装置CのEへの方路は、I,K,Lに通じるため受信伝送装置数は、3となる。Dへの方路は0となる。同様に、HのJへの方路は、K,Lに通じるため受信伝送装置数は2となり、Iへの方路は、1となる。   Since the route from the unicast transmission apparatus C to E leads to I, K, and L, the number of reception transmission apparatuses is three. The route to D is 0. Similarly, the route from H to J leads to K and L, so the number of receiving transmission devices is 2, and the route to I is 1.

(2)送信伝送装置Aを訪問済装置と探索対象装置とし、かつ、候補装置、訪問済装置、探索経路等をリセットし、マルチキャスト経路の計算を再開する。   (2) The transmission transmission apparatus A is a visited apparatus and a search target apparatus, the candidate apparatus, the visited apparatus, the searched path, etc. are reset, and the multicast path calculation is restarted.

(3)探索対象装置Aは、マルチキャスト伝送装置で、BとCが候補装置となる(図15(c))。   (3) The search target device A is a multicast transmission device, and B and C are candidate devices (FIG. 15C).

(4)Bを次の探索対象装置とし、訪問済装置とする。   (4) Let B be the next device to be searched and the visited device.

(5)Bから候補装置は存在しないので、Cを次の探索対象装置とし、訪問済装置とする。   (5) Since no candidate device exists from B, C is set as the next search target device and is a visited device.

(6)Cは、ユニキャスト伝送装置であるため、受信伝送装置数を用いて、一つの候補装置を選択する。この場合、Eが受信伝送装置数3で最多となり、Eを候補装置とする。   (6) Since C is a unicast transmission apparatus, one candidate apparatus is selected using the number of reception transmission apparatuses. In this case, E is the largest in the number of receiving transmission devices 3, and E is a candidate device.

(7)候補装置のうち、Eを次の探索対象装置とし、訪問済装置とする(図15(d))。   (7) Of the candidate devices, E is the next device to be searched and is a visited device (FIG. 15 (d)).

(8)Eは、マルチキャスト伝送装置のため、GとHを候補装置とする(図16(e))。   (8) Since E is a multicast transmission device, G and H are candidate devices (FIG. 16 (e)).

(9)Gを次の探索対象装置とし、訪問済装置とする。   (9) Let G be the next device to be searched and the visited device.

(10)Gには、候補装置が存在しないので、Hを次の探索対象装置とし、訪問済装置とする。   (10) Since no candidate device exists in G, H is set as the next search target device and is a visited device.

(11)Hは、ユニキャスト伝送装置であるので、受信伝送装置数を一つの候補装置を選択し、受信伝送装置数2で最多のJを候補装置とする(図16(f))。   (11) Since H is a unicast transmission apparatus, one candidate transmission apparatus is selected as the number of reception transmission apparatuses, and the largest J is selected as the number of reception transmission apparatuses 2 (FIG. 16 (f)).

(12)同様に探索を進め、図16(g)の経路が計算される。   (12) The search proceeds in the same manner, and the route of FIG. 16 (g) is calculated.

(13)不要な経路(E−G間)を削除し、図16(h)を出力する。   (13) An unnecessary route (between E and G) is deleted, and FIG.

[第2の実施例]
図17〜図19を用いて、第2の実施例を説明する。
[Second Embodiment]
A second embodiment will be described with reference to FIGS.

以下では、送信伝送装置を{A}とし、受信伝送装置を{C,D,G}として説明する。   In the following description, it is assumed that the transmission transmission device is {A} and the reception transmission device is {C, D, G}.

図17〜図19に示す各伝送装置A,C,D,E,Gはマルチキャスト伝送装置であり、B,F,H,Iはユニキャスト伝送装置である。   Each of the transmission apparatuses A, C, D, E, and G shown in FIGS. 17 to 19 is a multicast transmission apparatus, and B, F, H, and I are unicast transmission apparatuses.

(1)全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラ方式にてマルチキャスト経路を計算する。その経路によって、全ユニキャスト経路の各方路の受信伝送装置数をカウントする(図17(b))。   (1) All transmission apparatuses are regarded as multicast transmission apparatuses, and multicast paths are calculated by the Dijkstra method. The number of receiving transmission devices on each route of all unicast routes is counted according to the route (FIG. 17B).

ユニキャスト伝送装置IのEへの方路は、Dに通じるため受信伝送装置数は、1となる。Hへの方路は0となる。同様に、BのCへの方路は、Cに通じるため、受信伝送装置数は、1となり、Gへの方路は、1となる。   Since the route from the unicast transmission apparatus I to E leads to D, the number of reception transmission apparatuses is one. The route to H is 0. Similarly, since the route from B to C leads to C, the number of receiving transmission devices is 1, and the route to G is 1.

(2)送信伝送装置Aを訪問済装置と探索対象装置とし、かつ、候補装置、訪問済装置、探索経路等をリセットし、マルチキャスト経路の計算を再開する。   (2) The transmission transmission apparatus A is a visited apparatus and a search target apparatus, the candidate apparatus, the visited apparatus, the searched path, etc. are reset, and the multicast path calculation is restarted.

(3)探索対象Aは、マルチキャスト伝送装置で、BとCが候補装置となる(図17(c))。   (3) The search target A is a multicast transmission device, and B and C are candidate devices (FIG. 17C).

(4)リンクコストが最小のBを次の探索対象装置とし、訪問済装置とする。   (4) B with the lowest link cost is set as the next search target device, and is a visited device.

(5)Bはユニキャスト伝送装置であるため、受信伝送装置数を用いて、一つの候補装置を選択する。この場合、CとGが受信伝送装置数1で最多となるが、物理リンク数などによってCを候補装置とする(図18(d))。   (5) Since B is a unicast transmission apparatus, one candidate apparatus is selected using the number of reception transmission apparatuses. In this case, C and G are the largest in the number of receiving transmission devices 1, but C is a candidate device depending on the number of physical links and the like (FIG. 18D).

(6)Bにおいて候補装置として選択されなかったG、Fを切断したトポロジに対して、ダイクストラ方式を用いて計算し、再度、受信伝送装置数を再設定する(図18(e))。   (6) For the topology in which G and F that are not selected as candidate devices in B are cut, calculation is performed using the Dijkstra method, and the number of receiving transmission devices is reset again (FIG. 18 (e)).

(7)再び探索を再開し、Iを次の探索対象装置とし、探索済装置とする。   (7) The search is resumed again, and I is set as the next search target device and the searched device.

(8)Iはユニキャスト伝送装置であるため、受信伝送装置数を用いて候補装置を選択する。この場合は、HとEは同じ受信伝送装置数であるが、物理リンク数等でHを候補装置とする(図18(f))。   (8) Since I is a unicast transmission apparatus, a candidate apparatus is selected using the number of reception transmission apparatuses. In this case, H and E have the same number of receiving transmission apparatuses, but H is a candidate apparatus based on the number of physical links and the like (FIG. 18 (f)).

(9)IとE間のリンクを削除したトポロジを用いてダイクストラで経路を計算し、受信伝送装置数を再設定する(図19(g))。   (9) A route is calculated by Dijkstra using the topology in which the link between I and E is deleted, and the number of receiving transmission devices is reset (FIG. 19 (g)).

(10)Cを次の探索対象装置とし、訪問済装置とする。   (10) Let C be the next device to be searched and a visited device.

(11)Gを次の探索対象装置とし、訪問済装置とする(図19(h))。   (11) Let G be the next device to be searched and a visited device (FIG. 19 (h)).

(12)同様に探索を進めていき、図19(i)を出力する。   (12) The search proceeds in the same manner, and FIG. 19 (i) is output.

また、上記の図3、図9に示す、初期設定部103、マルチキャスト判定制御部104、マルチキャスト判定部105、マルチキャスト装置用候補装置決定部106、ユニキャスト装置用候補装置決定部107、探索対象装置決定部108、経路完了判定装置109、受信装置カウント部110、及び、ダイクストラ経路計算方法を用いた経路計算の処理をプログラムとして構築し、コンピュータに実行させる、または、ネットワークを介して流通させることが可能である。   Also, the initial setting unit 103, multicast determination control unit 104, multicast determination unit 105, multicast device candidate device determination unit 106, unicast device candidate device determination unit 107, search target device shown in FIGS. The route calculation processing using the determination unit 108, the route completion determination device 109, the reception device count unit 110, and the Dijkstra route calculation method may be constructed as a program and executed by a computer or distributed via a network. Is possible.

また、構築したプログラムを、ハードディスク装置や、フレキシブルディスク、CD−ROM等の可搬記憶媒体に格納しておき、コンピュータにインストールして実行させる、または、配布することが可能である。   Further, the constructed program can be stored in a portable storage medium such as a hard disk device, a flexible disk, or a CD-ROM, and installed in a computer to be executed 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.

本発明の原理を説明するための図である。It is a figure for demonstrating the principle of this invention. 本発明の原理構成図である。It is a principle block diagram of this invention. 本発明の第1の実施の形態における経路計算装置の構成図である。It is a block diagram of the route calculation apparatus in the 1st Embodiment of this invention. 本発明の第1の実施の形態における動作のフローチャート(その1)である。It is a flowchart (the 1) of the operation | movement in the 1st Embodiment of this invention. 本発明の第1の実施の形態における動作のフローチャート(その2)である。It is a flowchart (the 2) of the operation | movement in the 1st Embodiment of this invention. 本発明の第1の実施の形態における動作のフローチャート(その3)である。It is a flowchart (the 3) of the operation | movement in the 1st Embodiment of this invention. 本発明の第1の実施の形態における動作のフローチャート(その4)である。It is a flowchart (the 4) of the operation | movement in the 1st Embodiment of this invention. 本発明の第1の実施の形態における動作のフローチャート(その5)である。It is a flowchart (the 5) of the operation | movement in the 1st Embodiment of this invention. 本発明の第2の実施の形態における経路計算装置の構成図である。It is a block diagram of the path | route calculation apparatus in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における動作のフローチャート(その1)である。It is a flowchart (the 1) of the operation | movement in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における動作のフローチャート(その2)である。It is a flowchart (the 2) of the operation | movement in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における動作のフローチャート(その3)である。It is a flowchart (the 3) of the operation | movement in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における動作のフローチャート(その4)である。It is a flowchart (the 4) of the operation | movement in the 2nd Embodiment of this invention. 本発明の第2の実施の形態における動作のフローチャート(その5)である。It is a flowchart (the 5) of the operation | movement in the 2nd Embodiment of this invention. 本発明の第1の実施例における一連の動作を説明するための図(その1)である。It is FIG. (1) for demonstrating a series of operation | movement in 1st Example of this invention. 本発明の第1の実施例における一連の動作を説明するための図(その2)である。FIG. 6 is a diagram (No. 2) for describing a series of operations in the first example of the invention. 本発明の第2の実施例における一連の動作を説明するための図(その1)である。It is FIG. (1) for demonstrating a series of operation | movement in 2nd Example of this invention. 本発明の第2の実施例における一連の動作を説明するための図(その2)である。It is FIG. (2) for demonstrating a series of operation | movement in 2nd Example of this invention. 本発明の第2の実施例における一連の動作を説明するための図(その3)である。It is FIG. (3) for demonstrating a series of operation | movement in 2nd Example of this invention. マルチキャスト経路計算装置を説明するための図である。It is a figure for demonstrating a multicast route calculation apparatus. 従来技術を説明するための図(その1)である。It is FIG. (1) for demonstrating a prior art. 従来技術を説明するための図(その2)である。It is FIG. (2) for demonstrating a prior art. 従来技術を説明するための図(その3)である。It is FIG. (3) for demonstrating a prior art.

符号の説明Explanation of symbols

101 トポロジ情報記憶手段、トポロジ情報記憶部
102 制約条件記憶手段、制約条件記憶部
103 初期設定手段、初期設定部
104 マルチキャスト判定制御部
105 マルチキャスト判定手段、マルチキャスト判定部
106 マルチキャスト装置用候補装置決定手段、マルチキャスト装置用候補装置決定部
107 ユニキャスト装置用候補装置決定手段、ユニキャスト装置用候補装置決定部
108 探索対象装置決定手段、探索対象装置決定部
109 経路完了判定手段、経路完了判定部
110 受信装置数カウント手段、受信装置数カウント部
111 訪問済装置記憶手段、訪問済装置記憶部
112 探索経路記憶手段、探索経路記憶部
113 候補装置記憶手段、候補装置記憶部
114 受信装置数記憶手段
120 ダイクストラ経路計算手段
201 ダイクストラ用トポロジ情報記憶部
202 ダイクストラ制御部
203 ダイクストラ用訪問済装置記憶部
204 ダイクストラ用探索経路記憶部
205 ダイクストラ用候補装置記憶部
101 topology information storage unit, topology information storage unit 102 constraint condition storage unit, constraint condition storage unit 103 initial setting unit, initial setting unit 104 multicast determination control unit 105 multicast determination unit, multicast determination unit 106 candidate device determination unit for multicast device, Candidate device determination unit for multicast device 107 Candidate device determination unit for unicast device, Candidate device determination unit for unicast device 108 Search target device determination unit, Search target device determination unit 109 Route completion determination unit, Route completion determination unit 110 Receiver Number counting unit, receiving device number counting unit 111 Visited device storage unit, visited device storage unit 112 Search route storage unit, search route storage unit 113 Candidate device storage unit, candidate device storage unit 114 Receiving device number storage unit 120 Dijkstra route Calculation means 20 Dijkstra for topology information storage section 202 Dijkstra controller 203 Dijkstra for visited apparatus memory unit 204 Dijkstra for searching route storage unit 205 Dijkstra for candidate device storage unit

Claims (6)

マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網において、入力された通信網のトポロジ情報と経路設定制約条件を用いてダイクストラマルチキャスト経路計算方法を適用して、マルチキャスト経路を計算するマルチキャスト経路計算方法であって、
前記通信網内の全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト計算方法によって、マルチキャスト経路を計算し、探索経路記憶手段に格納するダイクストラ経路計算ステップと、
前記探索経路記憶手段から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、受信装置数記憶手段に格納する受信装置数カウントステップと、
送信伝送装置を訪問済記憶手段に格納し、探索対象装置とする初期設定ステップと、
探索対象装置がユニキャスト伝送装置かマルチキャスト伝送装置かの判定を行うマルチキャスト判定ステップと、
前記マルチキャスト判定ステップにおいて、ユニキャスト伝送装置と判定されたときは、前記受信装置数記憶手段に格納されている受信装置数が最大の経路にある隣接装置の一つを候補装置として、候補装置記憶手段に格納すると共に、該候補装置までのリンクコストと経路を前記探索経路記憶手段に格納するユニキャスト装置用候補装置決定ステップと、
前記マルチキャスト判定ステップにおいて、探索対象装置がマルチキャスト伝送装置であるときは、当該探索対象装置の隣接装置の中から選択した候補装置が、既にユニキャスト伝送装置から選択された候補装置である場合、該ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、前記候補装置記憶手段に格納するマルチキャスト装置用候補装置決定ステップと、
前記候補装置記憶手段に格納されている候補装置の中からリンクコストが最小の候補装置を選択し、訪問済装置として訪問済装置記憶手段に格納する探索対象装置決定ステップと、
前記訪問済装置記憶手段に全ての受信装置が設定されている場合に、前記探索経路記憶手段に格納されている経路を出力する出力ステップと、
を行うことを特徴とするマルチキャスト経路計算方法。
A multicast route calculation method for calculating a multicast route by applying the Dijkstra multicast route calculation method using 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 Because
A Dijkstra route calculation step in which all transmission devices in the communication network are regarded as multicast transmission devices, a multicast route is calculated by a Dijkstra multicast calculation method, and stored in a search route storage unit;
Using the route output from the search route storage means, calculate the number of receiving devices that each route in the unicast transmission device can reach, and store the number in the receiving device number storage means,
An initial setting step of storing the transmission transmission device in the visited storage means to be a search target device;
A multicast determination step for determining whether the search target device is a unicast transmission device or a multicast transmission device;
If it is determined as a unicast transmission device in the multicast determination step, one of the neighboring devices on the path having the maximum number of reception devices stored in the reception device number storage unit is selected as a candidate device and stored as a candidate device. A candidate device determination step for a unicast device that stores the link cost and route to the candidate device in the search route storage unit,
In the multicast determination step, when the search target device is a multicast transmission device, if the candidate device selected from neighboring devices of the search target device is a candidate device that has already been selected from the unicast transmission device, A candidate device determination step for multicast device that re-selects a candidate device from neighboring devices of a unicast transmission device and stores the candidate device in the candidate device storage means;
A search target device determining step of selecting a candidate device having a minimum link cost from candidate devices stored in the candidate device storage means, and storing the selected device as a visited device in the visited device storage means;
An output step of outputting a route stored in the searched route storage means when all receiving devices are set in the visited device storage means;
A multicast route calculation method characterized by:
マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網において、入力された通信網のトポロジ情報と経路設定制約条件を用いてダイクストラマルチキャスト経路計算方法を適用して、マルチキャスト経路を計算するマルチキャスト経路計算方法であって、
前記通信網内の全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト計算方法によって、マルチキャスト経路を計算し、探索経路記憶手段に格納するダイクストラ経路計算ステップと、
前記探索経路記憶手段から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、受信装置数記憶手段に格納する第1の受信装置数カウントステップと、
送信伝送装置を訪問済記憶手段に格納し、探索対象装置とする初期設定ステップと、
探索対象装置がユニキャスト伝送装置かマルチキャスト伝送装置かの判定を行うマルチキャスト判定ステップと、
前記マルチキャスト判定ステップにおいて、ユニキャスト伝送装置であると判定されたときは、前記受信装置数記憶手段に格納されている受信装置数が最大の経路にある隣接装置の一つを候補装置として選択し、候補装置記憶手段に格納するユニキャスト装置用候補装置決定ステップと、
選択した候補装置までの経路以外を切断したトポロジに対して、再び、全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト経路計算方法によってマルチキャスト経路を計算し、前記探索経路記憶手段に格納するステップと、
前記探索経路記憶手段から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、前記受信装置数記憶手段に格納する第2の受信装置数カウントステップと、
前記マルチキャスト判定ステップにおいて、マルチキャスト伝送装置であると判定されたときは、当該探索対象装置の隣接装置の中から選択した候補装置が、既にユニキャスト伝送装置から選択された候補装置である場合、該ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、前記候補装置記憶手段に格納すると共に、再選択された候補装置までのリンクコストと経路を前記探索経路記憶手段に格納するマルチキャスト装置用候補装置決定ステップと、
前記候補装置記憶手段に格納されている候補装置の中からリンクコストが最小の候補装置を選択し、訪問済装置として訪問済装置記憶手段に格納する探索対象装置決定ステップと、
前記訪問済装置記憶手段に全ての受信装置が設定されている場合に、前記探索経路記憶手段に格納されている経路を出力する出力ステップと、
を行うことを特徴とするマルチキャスト経路計算方法。
A multicast route calculation method for calculating a multicast route by applying the Dijkstra multicast route calculation method using 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 Because
A Dijkstra route calculation step in which all transmission devices in the communication network are regarded as multicast transmission devices, a multicast route is calculated by a Dijkstra multicast calculation method, and stored in a search route storage unit;
A first receiving device number counting step of calculating the number of receiving devices that each route in the unicast transmission device can reach using the route output from the searched route storing means and storing the number in the receiving device number storing means When,
An initial setting step of storing the transmission transmission device in the visited storage means to be a search target device;
A multicast determination step for determining whether the search target device is a unicast transmission device or a multicast transmission device;
In the multicast determination step, when it is determined that the device is a unicast transmission device, one of the neighboring devices on the path having the maximum number of reception devices stored in the reception device number storage unit is selected as a candidate device. The candidate device determination step for unicast device to be stored in the candidate device storage means,
With respect to the topology in which the route other than the route to the selected candidate device is disconnected, all transmission devices are regarded as multicast transmission devices again, multicast routes are calculated by the Dijkstra multicast route calculation method, and stored in the search route storage means. Steps,
Using the route output from the searched route storage means, the number of receiving devices that each route in the unicast transmission device can reach is calculated, and stored in the receiving device number storage means. Steps,
When it is determined in the multicast determination step that the device is a multicast transmission device, if the candidate device selected from the neighboring devices of the search target device is a candidate device that has already been selected from the unicast transmission device, A multicast device that reselects a candidate device from neighboring devices of a unicast transmission device, stores the candidate device in the candidate device storage means, and stores the link cost and route to the reselected candidate device in the search route storage means Candidate device determination step,
A search target device determining step of selecting a candidate device having a minimum link cost from candidate devices stored in the candidate device storage means, and storing the selected device as a visited device in the visited device storage means;
An output step of outputting a route stored in the searched route storage means when all receiving devices are set in the visited device storage means;
A multicast route calculation method characterized by:
マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網において、入力された通信網のトポロジ情報と経路設定制約条件を用いてダイクストラマルチキャスト経路計算方法を適用して、マルチキャスト経路を計算するマルチキャスト経路計算装置であって、
各伝送装置の送信伝送装置までの経路とリンクコストを記憶する探索経路記憶手段と、
探索された伝送装置を訪問済装置として記憶する訪問済装置記憶手段と、
候補装置を記憶する候補装置記憶手段と、
カウントされた受信装置数を記憶する受信装置数記憶手段と、
前記通信網内の全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト計算方法によって、マルチキャスト経路を計算し、前記探索経路記憶手段に格納するダイクストラ経路計算手段と、
前記探索経路記憶手段から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、前記受信装置数記憶手段に格納する受信装置数カウント手段と、
送信伝送装置を前記訪問済記憶手段に格納し、探索対象装置とする初期設定手段と、
探索対象装置がユニキャスト伝送装置かマルチキャスト伝送装置かの判定を行うマルチキャスト判定手段と、
前記マルチキャスト判定手段において、ユニキャスト伝送装置と判定されたときは、前記受信装置数記憶手段に格納されている受信装置数が最大の経路にある隣接装置の一つを候補装置として、候補装置記憶手段に格納するユニキャスト装置用候補装置決定手段と、
前記マルチキャスト判定手段において、探索対象装置がマルチキャスト伝送装置であるときは、当該探索対象装置の隣接装置の中から選択した候補装置が、既にユニキャスト伝送装置から選択された候補装置である場合、該ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、前記候補装置記憶手段に格納すると共に、再選択された候補装置までのリンクコストと経路を前記探索経路記憶手段に格納するマルチキャスト装置用候補装置決定手段と、
前記候補装置記憶手段に格納されている候補装置の中からリンクコストが最小の候補装置を選択し、訪問済装置として訪問済装置記憶手段に格納する探索対象装置決定手段と、
前記訪問済装置記憶手段に全ての受信装置が設定されている場合に、前記探索経路記憶手段に格納されている経路を出力する経路完了判定手段と、
を有することを特徴とするマルチキャスト経路計算装置。
Multicast route calculation device for calculating multicast route by applying Dijkstra multicast route calculation method using topology information of input communication network and route setting restriction condition in communication network where multicast transmission device and unicast transmission device are mixed Because
Search route storage means for storing the route to each transmission device to the transmission device and the link cost;
Visited device storage means for storing the searched transmission device as a visited device;
Candidate device storage means for storing candidate devices;
Receiving device number storage means for storing the counted number of receiving devices;
All transmission devices in the communication network are regarded as multicast transmission devices, Dijkstra route calculation means for calculating a multicast route by a Dijkstra multicast calculation method and storing it in the searched route storage means;
Using the route output from the searched route storage means, calculate the number of receiving devices that each route in the unicast transmission device can reach, and store the number of receiving devices in the receiving device number storage means;
An initial setting means for storing the transmission transmission device in the visited storage means and making it a search target device;
Multicast determination means for determining whether the search target device is a unicast transmission device or a multicast transmission device;
When the multicast determination unit determines that the device is a unicast transmission device, one of the neighboring devices on the path having the maximum number of reception devices stored in the reception device number storage unit is selected as a candidate device and stored as a candidate device. Unicast device candidate device determining means to be stored in the means;
In the multicast determination means, when the search target device is a multicast transmission device, if the candidate device selected from the neighboring devices of the search target device is a candidate device that has already been selected from the unicast transmission device, A multicast device that reselects a candidate device from neighboring devices of a unicast transmission device, stores the candidate device in the candidate device storage means, and stores the link cost and route to the reselected candidate device in the search route storage means Candidate device determination means,
A search target device determining unit that selects a candidate device with the lowest link cost from candidate devices stored in the candidate device storage unit, and stores the selected device as a visited device in the visited device storage unit;
A route completion determination unit that outputs a route stored in the searched route storage unit when all receiving devices are set in the visited device storage unit;
A multicast route calculation apparatus comprising:
マルチキャスト伝送装置とユニキャスト伝送装置が混在した通信網において、入力された通信網のトポロジ情報と経路設定制約条件を用いてダイクストラマルチキャスト経路計算方法を適用して、マルチキャスト経路を計算するマルチキャスト経路計算装置であって、
各伝送装置の送信伝送装置までの経路とリンクコストを記憶する探索経路記憶手段と、
探索された伝送装置を訪問済装置として記憶する訪問済装置記憶手段と、
候補装置を記憶する候補装置記憶手段と、
カウントされた受信装置数を記憶する受信装置数記憶手段と、
前記通信網内の全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト計算方法によって、マルチキャスト経路を計算し、前記探索経路記憶手段に格納するダイクストラ経路計算手段と、
前記探索経路記憶手段から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、前記受信装置数記憶手段に格納する第1の受信装置数カウント手段と、
送信伝送装置を前記訪問済記憶手段に格納し、探索対象装置とする初期設定手段と、
探索対象装置がユニキャスト伝送装置かマルチキャスト伝送装置かの判定を行うマルチキャスト判定手段と、
前記マルチキャスト判定手段において、ユニキャスト伝送装置であると判定されたときは、前記受信装置数記憶手段に格納されている受信装置数が最大の経路にある隣接装置の一つを候補装置として選択し、候補装置記憶手段に格納するユニキャスト装置用候補装置決定手段と、
選択した候補装置までの経路以外を切断したトポロジに対して、再び、全ての伝送装置をマルチキャスト伝送装置とみなして、ダイクストラマルチキャスト経路計算方法によってマルチキャスト経路を計算し、前記探索経路記憶手段に格納する経路再計算手段と、
前記探索経路記憶手段から出力された経路を用いて、ユニキャスト伝送装置における各経路が到達することができる受信装置数を計算し、前記受信装置数記憶手段に格納する第2の受信装置数カウント手段と、
前記マルチキャスト判定手段において、マルチキャスト伝送装置であると判定されたときは、当該探索対象装置の隣接装置の中から選択した候補装置が、既にユニキャスト伝送装置から選択された候補装置である場合、該ユニキャスト伝送装置の隣接装置の中から候補装置を再選択し、前記候補装置記憶手段に格納すると共に、再選択された候補装置までのリンクコストと経路を前記探索経路記憶手段に格納するマルチキャスト装置用候補装置決定手段と、
前記候補装置記憶手段に格納されている候補装置の中からリンクコストが最小の候補装置を選択し、訪問済装置として訪問済装置記憶手段に格納する探索対象装置決定手段と、
前記訪問済装置記憶手段に全ての受信装置が設定されている場合に、前記探索経路記憶手段に格納されている経路を出力する経路完了判定手段と、
を有することを特徴とするマルチキャスト経路計算装置。
Multicast route calculation device for calculating multicast route by applying Dijkstra multicast route calculation method using topology information of input communication network and route setting restriction condition in communication network where multicast transmission device and unicast transmission device are mixed Because
Search route storage means for storing the route to each transmission device to the transmission device and the link cost;
Visited device storage means for storing the searched transmission device as a visited device;
Candidate device storage means for storing candidate devices;
Receiving device number storage means for storing the counted number of receiving devices;
All transmission devices in the communication network are regarded as multicast transmission devices, Dijkstra route calculation means for calculating a multicast route by a Dijkstra multicast calculation method and storing it in the searched route storage means;
Using the route output from the searched route storage means, the number of receiving devices that each route in the unicast transmission device can reach is calculated, and stored in the receiving device number storage means. Means,
An initial setting means for storing the transmission transmission device in the visited storage means and making it a search target device;
Multicast determination means for determining whether the search target device is a unicast transmission device or a multicast transmission device;
When the multicast determination unit determines that the device is a unicast transmission device, one of the neighboring devices on the path having the maximum number of reception devices stored in the reception device number storage unit is selected as a candidate device. Unicast device candidate device determination means for storing in the candidate device storage means;
With respect to the topology in which the route other than the route to the selected candidate device is disconnected, all transmission devices are regarded as multicast transmission devices again, multicast routes are calculated by the Dijkstra multicast route calculation method, and stored in the search route storage means. Route recalculation means;
Using the route output from the searched route storage means, the number of receiving devices that each route in the unicast transmission device can reach is calculated, and stored in the receiving device number storage means. Means,
When the multicast determination means determines that the device is a multicast transmission device, if the candidate device selected from the neighboring devices of the search target device is a candidate device already selected from the unicast transmission device, A multicast device that reselects a candidate device from neighboring devices of a unicast transmission device, stores the candidate device in the candidate device storage means, and stores the link cost and route to the reselected candidate device in the search route storage means Candidate device determination means,
A search target device determining unit that selects a candidate device with the lowest link cost from candidate devices stored in the candidate device storage unit, and stores the selected device as a visited device in the visited device storage unit;
A route completion determination unit that outputs a route stored in the searched route storage unit when all receiving devices are set in the visited device storage unit;
A multicast route calculation apparatus comprising:
探索経路記憶手段、訪問済装置記憶手段、候補装置記憶手段、受信装置数記憶手段と、を有するコンピュータを、
請求項3または請求項4に記載された手段を有するマルチキャスト経路計算装置として、機能させる請求項3または請求項4に記載された手段を有するマルチキャスト経路計算装置として、コンピュータを機能させることを特徴とするマルチキャスト経路計算プログラム。
A computer having search route storage means, visited device storage means, candidate device storage means, and reception device number storage means;
A computer is caused to function as a multicast route calculation apparatus having the means according to claim 3 or 4 to function as a multicast route calculation apparatus having the means according to claim 3 or 4. Multicast route calculation program to do.
探索経路記憶手段、訪問済装置記憶手段、候補装置記憶手段、受信装置数記憶手段と、を有するコンピュータを、
請求項3または請求項4に記載された手段を有するマルチキャスト経路計算装置として、機能させるプログラムを格納したことを特徴とするマルチキャスト経路計算プログラムを格納した記憶媒体。
A computer having search route storage means, visited device storage means, candidate device storage means, and reception device number storage means;
5. A storage medium storing a multicast route calculation program storing a program that functions as a multicast route calculation apparatus having the means according to claim 3 or 4.
JP2005184980A 2005-06-24 2005-06-24 Multicast route calculation method and apparatus, program, and storage medium storing program Expired - Fee Related JP4479601B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005184980A JP4479601B2 (en) 2005-06-24 2005-06-24 Multicast route calculation method and apparatus, program, and storage medium storing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005184980A JP4479601B2 (en) 2005-06-24 2005-06-24 Multicast route calculation method and apparatus, program, and storage medium storing program

Publications (2)

Publication Number Publication Date
JP2007006227A JP2007006227A (en) 2007-01-11
JP4479601B2 true JP4479601B2 (en) 2010-06-09

Family

ID=37691385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005184980A Expired - Fee Related JP4479601B2 (en) 2005-06-24 2005-06-24 Multicast route calculation method and apparatus, program, and storage medium storing program

Country Status (1)

Country Link
JP (1) JP4479601B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013207476A (en) * 2012-03-28 2013-10-07 Fujitsu Ltd Control method of radio communication system, radio base station, radio terminal, and radio communication system

Also Published As

Publication number Publication date
JP2007006227A (en) 2007-01-11

Similar Documents

Publication Publication Date Title
JP4736136B2 (en) Quality degradation location estimation system and quality degradation location estimation method
JP2002133351A (en) Minimum-cost path search system and minimum-cost path search method for use in the same
JP3945656B2 (en) Management node device, node device, network configuration management system, network configuration management method, node device control method, management node device control method
JP4533354B2 (en) Route calculation method, route calculation program, and route calculation device
KR20180085188A (en) Method for setting file access path for distribute file system based on torus network and apparatus using the same
CN111800501A (en) Method and device for processing service request, storage medium and electronic equipment
JP4536690B2 (en) Route calculation method, apparatus and program
WO2010058785A1 (en) Path calculation order deciding method, program and calculating apparatus
WO2010101038A1 (en) Destination node selection method, node, and recording medium
JP5651619B2 (en) Communication system, route determination device, route determination method, and route determination program
JP4479601B2 (en) Multicast route calculation method and apparatus, program, and storage medium storing program
JPWO2008108231A1 (en) Quality degradation location estimation method, quality degradation location estimation apparatus, and program
JP5723806B2 (en) Communication system, path control device, path control method, and path control program
JP4479602B2 (en) Multicast route calculation method and apparatus, program, and storage medium storing multicast route calculation program
JP4499067B2 (en) Multicast path calculation method and apparatus, program, and computer-readable recording medium
JP2012015837A (en) Path calculation device, data transfer device, path calculation method, data transfer method and program
JP4436307B2 (en) LSP (LabelSwitchedPath) path calculation method, apparatus and program
EP2538622B1 (en) Network delay estimation apparatus and network delay estimation method
JPWO2010073674A1 (en) Route control device, route control method, route control program, network system
JP5429292B2 (en) Route search method and node device
JP4293142B2 (en) Multicast route calculation method and apparatus, program, and storage medium storing multicast route calculation program
JP5748363B2 (en) Communication path design apparatus, communication path design method, and communication path design program
JP5595342B2 (en) Multiple path search method and apparatus
JP5506538B2 (en) Route calculation method, apparatus and program
JP6587518B2 (en) Route search apparatus and route search 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

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091102

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