JP4800916B2 - Data relay device - Google Patents

Data relay device Download PDF

Info

Publication number
JP4800916B2
JP4800916B2 JP2006337218A JP2006337218A JP4800916B2 JP 4800916 B2 JP4800916 B2 JP 4800916B2 JP 2006337218 A JP2006337218 A JP 2006337218A JP 2006337218 A JP2006337218 A JP 2006337218A JP 4800916 B2 JP4800916 B2 JP 4800916B2
Authority
JP
Japan
Prior art keywords
multicast
message
entry
unit
router
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
JP2006337218A
Other languages
Japanese (ja)
Other versions
JP2008153766A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2006337218A priority Critical patent/JP4800916B2/en
Publication of JP2008153766A publication Critical patent/JP2008153766A/en
Application granted granted Critical
Publication of JP4800916B2 publication Critical patent/JP4800916B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、マルチキャストデータのデータ中継を行なうデータ中継装置に関するものである。   The present invention relates to a data relay device that relays data of multicast data.

ネットワーク上で複数の相手を指定して同じデータを送信する通信システムとして、マルチキャスト通信ネットワークがある。このマルチキャスト通信ネットワークとしては、例えばマルチキャストルータと、このマルチキャストルータに接続された1〜複数のレイヤ2スイッチと、レイヤ2スイッチに接続された端末(マルチキャスト受信端末)とを含んで構成されるレイヤ2ネットワークがある。   There is a multicast communication network as a communication system that designates a plurality of partners on a network and transmits the same data. As this multicast communication network, for example, a layer 2 including a multicast router, one to a plurality of layer 2 switches connected to the multicast router, and a terminal (multicast receiving terminal) connected to the layer 2 switch. There is a network.

一般的なマルチキャストでは、マルチキャストパケットがレイヤ2ネットワーク上でフラッディングされてレイヤ2ネットワーク内全体に中継される。そして、マルチキャストパケットが到着した各装置において、マルチキャストパケットを選択的に受信している。このため、レイヤ2ネットワーク上でのマルチキャストデータトラヒックが増大することとなる。   In general multicast, a multicast packet is flooded on the layer 2 network and relayed throughout the layer 2 network. Each device that has received the multicast packet selectively receives the multicast packet. For this reason, multicast data traffic on the layer 2 network increases.

レイヤ2ネットワーク上でのマルチキャストデータトラヒックを削減させる技術として、レイヤ2スイッチにスヌーピングスイッチを適用する方法がある。このスヌーピングスイッチ(レイヤ2スイッチ)では、マルチキャスト受信要求メッセージ(Queryメッセージ)を含むパケットを受信した際に、受信したパケットの内容を識別(解析)している。スヌーピングスイッチは、例えばマルチキャストルータと端末間で交換されるマルチキャストメンバシップ管理プロトコル(例えばRFC3376 IGMPv3やRFC3810 MLDv2)のパケットを解析している。さらに、スヌーピングスイッチでは、受信したメッセージに含まれるマルチキャストグループIPアドレスとメッセージ受信ポートを記録しておく。そして、記録しておいたマルチキャストグループIPアドレス宛のマルチキャストパケットが到着した場合には、記録しておいたポートに向けてマルチキャストパケットを配信(データ中継)する。   As a technique for reducing multicast data traffic on a layer 2 network, there is a method of applying a snooping switch to a layer 2 switch. The snooping switch (layer 2 switch) identifies (analyzes) the content of the received packet when a packet including a multicast reception request message (Query message) is received. The snooping switch analyzes a packet of a multicast membership management protocol (for example, RFC3376 IGMPv3 or RFC3810 MLDv2) exchanged between a multicast router and a terminal, for example. Further, the snooping switch records the multicast group IP address and message reception port included in the received message. When a multicast packet addressed to the recorded multicast group IP address arrives, the multicast packet is distributed (data relayed) to the recorded port.

このように、スヌーピングスイッチでは、マルチキャスト受信要求メッセージを受信していないポートにはマルチキャストパケットを中継せず、レイヤ2ネットワーク上でデータを選択的に中継することによって、不要なマルチキャストデータトラヒックを削減している。   In this way, the snooping switch reduces unnecessary multicast data traffic by selectively relaying data on the layer 2 network without relaying multicast packets to ports that have not received the multicast reception request message. ing.

しかしながら、レイヤ2ネットワークが大規模化して端末数が増加すると、レイヤ2ネットワークにスヌーピングスイッチを適用して、マルチキャストメンバシップ管理プロトコルを用いた場合であっても、レイヤ2ネットワーク内を流れるデータ量が増大する。すなわち、例えばIGMP/MLDスヌーピング機能を有するレイヤ2スイッチを含んで構成されるレイヤ2ネットワークでは、マルチキャストルータがマルチキャストグループメンバシップ管理のためにQueryメッセージを送信し、レイヤ2スイッチがQueryメッセージを全ポートに中継している。そして、マルチキャストグループに参加する各端末はQueryメッセージに対してマルチキャスト受信応答メッセージ(Reportメッセージ)を送信する。レイヤ2スイッチは、Reportメッセージを受信すると、その内容を学習するとともに、マルチキャストルータ30側のポートにReportメッセージを中継する。   However, when the layer 2 network becomes larger and the number of terminals increases, even if a snooping switch is applied to the layer 2 network and a multicast membership management protocol is used, the amount of data flowing in the layer 2 network is reduced. Increase. That is, for example, in a layer 2 network including a layer 2 switch having an IGMP / MLD snooping function, a multicast router transmits a query message for managing multicast group membership, and the layer 2 switch transmits the query message to all ports. Relay to Each terminal participating in the multicast group transmits a multicast reception response message (Report message) in response to the Query message. When the layer 2 switch receives the report message, it learns the content and relays the report message to the port on the multicast router 30 side.

このため、レイヤ2ネットワーク内に多数の受信端末が存在すると、マルチキャストルータのポートに多数のReportメッセージが集中することとなる。これにより、マルチキャストルータ近傍のリンク帯域が多量に消費されるとともに、マルチキャストルータのパケット受信に対する処理負荷が増大する。   For this reason, if there are a large number of receiving terminals in the layer 2 network, a large number of Report messages will be concentrated on the ports of the multicast router. This consumes a large amount of link bandwidth in the vicinity of the multicast router and increases the processing load on the multicast router for packet reception.

非特許文献1に記載の通信システムでは、レイヤ2スイッチが、下流側(端末接続側)の複数ポートで記録したマルチキャスト受信者接続情報を集約し、ソースアドレスが未定アドレス(IPv4ならば0.0.0.0、IPv6ならば(::))であるマルチキャスト受信要求メッセージ(Queryメッセージ)を生成して上流側(ルータ接続側)のポートに送信するプロキシ応答機能の実装を示唆している。   In the communication system described in Non-Patent Document 1, the layer 2 switch aggregates multicast receiver connection information recorded at a plurality of ports on the downstream side (terminal connection side), and the source address is an undetermined address (0.04 if IPv4). .0.0, IPv6 (: :)), a multicast reception request message (Query message) is generated and a proxy response function that transmits the message to the upstream side (router connection side) port is suggested.

非特許文献2に記載の通信システムでは、プロキシ装置がIGMP/MLDのメッセージ交換を終端するとともに、マルチキャストルータの存在する上流に対してはホストとして動作し、受信ホストの存在する下流に対してはルータとして動作している。   In the communication system described in Non-Patent Document 2, the proxy device terminates the IGMP / MLD message exchange, operates as a host for the upstream where the multicast router exists, and for the downstream where the receiving host exists. Operates as a router.

このように、非特許文献1,2では、通信システムのレイヤ2スイッチが、マルチキャスト受信者接続情報を集約可能なIGMPスヌーピング機能を有している。そして、マルチキャストルータの送信するQueryメッセージは、マルチキャストルータと下流側で接続しているレイヤ2スイッチ(最上流のスイッチ)で終端させている。この最上流のレイヤ2スイッチは、自装置の持つ集約された受信者情報に基づいてReportメッセージを生成し、マルチキャストルータに送信している。これにより、マルチキャストルータは受信端末の存在を確認している。また、最上流のレイヤ2スイッチは、必要に応じてQueryメッセージを生成し自装置よりも下流側に送信している。このとき、IPパケットの送信元アドレスとしては、例えば未定アドレスを用いている。その他のレイヤ2スイッチ(最上流のレイヤ2スイッチよりも下流側のスイッチ)も最上流のレイヤ2スイッチと同様に動作している。   Thus, in Non-Patent Documents 1 and 2, the layer 2 switch of the communication system has an IGMP snooping function that can aggregate multicast receiver connection information. Then, the Query message transmitted from the multicast router is terminated at the layer 2 switch (the most upstream switch) connected to the multicast router on the downstream side. This most upstream layer 2 switch generates a report message based on the aggregated receiver information of its own device and transmits it to the multicast router. As a result, the multicast router confirms the presence of the receiving terminal. Further, the most upstream layer 2 switch generates a Query message as necessary and transmits it to the downstream side of its own device. At this time, for example, an undetermined address is used as the source address of the IP packet. Other layer 2 switches (switches on the downstream side of the most upstream layer 2 switch) operate in the same manner as the most upstream layer 2 switch.

また、特許文献1に記載のレイヤ2スイッチでは、アクセスキャリアネットワークにおいて、P2Pで接続されたユーザ端末とパケット転送装置の間に配置されるレイヤ2スイッチに、配下に接続されるマルチキャストユーザを管理する機能をもたせている。そして、レイヤ2スイッチが、配下のユーザ端末に代わってマルチキャストパケットを受信し、コピー配信することによりレイヤ2スイッチとパケット転送装置の間の帯域消費を押さえている。   Further, in the layer 2 switch described in Patent Document 1, multicast users connected under the layer 2 switch arranged between the user terminal connected by P2P and the packet transfer apparatus are managed in the access carrier network. It has a function. Then, the layer 2 switch receives the multicast packet on behalf of the subordinate user terminal and copies and distributes it, thereby suppressing the bandwidth consumption between the layer 2 switch and the packet transfer apparatus.

M.Chiristensen、外2名、 RFC4541 ”Considerations for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping Switches” 2006年 Page 4.M. Chiristensen, 2 others, RFC4541 “Considerations for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping Switches” 2006 Page 4. B.Fenner、外3名 RFC4605 ”Internet Group Management Protocol (IGMP) / Multicast Listener Discovery (MLD)−Based Multicast Forwarding (“IGMP/MLD Proxying”) 2006年 Page 4.B. Fenner, 3 others RFC 4605 "Internet Group Management Protocol (IGMP) / Multicast Listener Discovery (MLD) -Based Multicast Forwarding" ("IGMP / MLD Proxying") 2006 特開2006−109047号公報JP 2006-109047 A

しかしながら、上記1つ目の従来技術(RFC4541)では、プロキシ機能の具体的な実現方法が示されておらず、プロキシ機能を用いたマルチキャストを実現することはできなかった。また、レイヤ2スイッチが端末装置へQueryメッセージを送信する際にソースアドレスとして未定アドレスを使用した場合、端末装置がQueryメッセージを正常なパケットとして処理するか否かは不確かである。このため、ソースアドレスが未定アドレスであるQueryメッセージを正常なパケットとして処理しない端末装置を接続した場合に、マルチキャストを正常に行なえないといった問題があった。また、装置固有のIPアドレスをソースアドレスとして用いたとしても、IGMP/MLDルータのQueriy送信ルータ選出プロセスに参加しないようにアドレス割り当てを行なう必要があるため、アドレス管理が複雑になるといった問題があった。   However, in the first prior art (RFC4541), a specific method for realizing the proxy function is not shown, and multicast using the proxy function cannot be realized. In addition, when the layer 2 switch uses the undetermined address as the source address when transmitting the Query message to the terminal device, it is uncertain whether the terminal device will process the Query message as a normal packet. For this reason, when a terminal device that does not process a Query message whose source address is an undetermined address as a normal packet is connected, there is a problem that multicast cannot be performed normally. Even if a device-specific IP address is used as a source address, there is a problem that address management becomes complicated because it is necessary to perform address assignment so as not to participate in the query transmission router selection process of the IGMP / MLD router. It was.

また、上記2つ目の従来技術(RFC4605)では、上流I/Fと下流I/Fを明示的に設定する必要があり、任意の方向にルータまたは端末を接続する構成を適用できないといった問題があった。   Further, in the second prior art (RFC 4605), it is necessary to explicitly set the upstream I / F and the downstream I / F, and there is a problem that a configuration in which a router or a terminal is connected in an arbitrary direction cannot be applied. there were.

また、上記3つ目の従来技術では、制御メッセージを自体を削減することはできず、ネットワーク上でマルチキャストデータトラヒックを削減することはできないといった問題があった。   Further, the third prior art has a problem that the control message itself cannot be reduced and multicast data traffic cannot be reduced on the network.

本発明は、上記に鑑みてなされたものであって、簡易な構成で容易に効率良くマルチキャスト通信を行なうデータ中継装置を得ることを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to obtain a data relay apparatus that performs multicast communication easily and efficiently with a simple configuration.

上述した課題を解決し、目的を達成するために、本発明は、レイヤ3のマルチキャストメンバシップ管理プロトコルで用いられマルチキャストルータと受信端末との間で送受信されるメッセージをスヌーピングして、マルチキャスト中継を制御するデータ中継装置において、前記受信端末毎のインタフェースで前記受信端末側とメッセージの送受信を行なう端末側通信部と、前記マルチキャストルータ側とメッセージの送受信を行なうルータ側通信部と、マルチキャストへの参加またはマルチキャストからの離脱を示すメッセージを前記マルチキャストルータに向けて送信するとともに前記マルチキャストルータから送信される前記マルチキャストに関する問い合わせを行なう問合せメッセージを前記受信端末側へ中継して、前記マルチキャストルータ側との間のマルチキャスト中継および前記受信端末側との間のマルチキャスト中継を制御し、且つ前記問合せメッセージに対する前記受信端末からの応答メッセージに基づいて前記受信端末に関する受信者情報を収集し、収集した受信者情報を用いて前記マルチキャスト中継を制御する通信制御部と、を備え、前記受信者情報は、前記各インタフェースに対応するマルチキャストエントリに関するマルチキャスト情報および前記各マルチキャストエントリを管理する管理タイマのタイマ値の情報を含み、前記通信制御部は、前記問合せメッセージのうち離脱する受信者を確認する離脱確認メッセージを前記マルチキャストルータ側から受信した際に、前記各タイマ値に基づいて前記離脱確認メッセージを中継するか否かを判断し、前記離脱確認メッセージを中継すると判断した場合に、前記離脱確認メッセージを中継すると判断させたタイマ値に対応するインタフェースから前記離脱確認メッセージを中継することを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention is configured to perform multicast relay by snooping messages transmitted and received between a multicast router and a receiving terminal used in a layer 3 multicast membership management protocol. In the data relay apparatus to be controlled, a terminal side communication unit that transmits / receives a message to / from the receiving terminal side at an interface for each receiving terminal, a router side communication unit that transmits / receives a message to / from the multicast router side, and participation in multicast Alternatively, a message indicating departure from the multicast is transmitted to the multicast router, and an inquiry message for inquiring about the multicast transmitted from the multicast router is relayed to the receiving terminal side, and the multicast router is relayed. Controls multicast forwarding between multicast forwarding and the receiving terminal between Toruta side, and collects the recipient information on the receiving terminal based on the response message from said receiving terminal to said inquiry message, collect A communication control unit that controls the multicast relay using the received receiver information, and the receiver information includes multicast information related to the multicast entry corresponding to each interface and a timer of a management timer that manages each multicast entry The communication control unit, when receiving from the multicast router side a confirmation message for confirming a receiver to be separated from the inquiry message, the communication control unit sends the confirmation message based on each timer value. Determine whether to relay, If it is determined that relays serial withdrawal confirmation message, characterized in that it relays the withdrawal confirmation message from the interface which corresponds to the timer value is determined to relaying the withdrawal confirmation message.

この発明によれば、問合せメッセージに対する受信端末からの応答メッセージに基づいて受信端末に関する受信者情報を収集し、収集した受信者情報を用いてマルチキャスト中継を制御するので、簡易な構成で容易に効率良くマルチキャスト通信を行なうことが可能になるという効果を奏する。   According to the present invention, the receiver information about the receiving terminal is collected based on the response message from the receiving terminal to the inquiry message, and the multicast relay is controlled using the collected receiver information. There is an effect that multicast communication can be performed well.

以下に、本発明に係るデータ中継装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Hereinafter, embodiments of a data relay device according to the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
図1は、本発明の実施の形態1に係るレイヤ2スイッチを有した通信ネットワークの構成を示す図である。通信ネットワーク1は、ネットワーク上で複数の相手を指定して同じデータを送信するマルチキャスト通信ネットワークであり、レイヤ2スイッチ10、マルチキャストルータ30、端末装置(受信端末)20J〜20Lを備えている。
Embodiment 1 FIG.
FIG. 1 is a diagram showing a configuration of a communication network having a layer 2 switch according to Embodiment 1 of the present invention. The communication network 1 is a multicast communication network that designates a plurality of partners on the network and transmits the same data, and includes a layer 2 switch 10, a multicast router 30, and terminal devices (receiving terminals) 20J to 20L.

レイヤ2スイッチ(データ中継装置)10は、マルチキャストルータ30と端末装置20J〜20Lとの間に配置され、マルチキャストルータ30と端末装置20J〜20Lとの間で送受信されるデータ(メッセージ)をスヌーピングしながらデータ中継(マルチキャスト中継を制御)する。   The layer 2 switch (data relay device) 10 is disposed between the multicast router 30 and the terminal devices 20J to 20L, and snoops data (messages) transmitted and received between the multicast router 30 and the terminal devices 20J to 20L. Data relay (multicast relay control).

レイヤ2スイッチ10は、I/F部11Jで端末装置20Jと接続し、I/F部11Kで端末装置20Kと接続し、I/F部11Lで端末装置20Lと接続している。また、レイヤ2スイッチ10は、I/F部16でマルチキャストルータ30と接続している。   The layer 2 switch 10 is connected to the terminal device 20J through the I / F unit 11J, is connected to the terminal device 20K through the I / F unit 11K, and is connected to the terminal device 20L through the I / F unit 11L. The layer 2 switch 10 is connected to the multicast router 30 by the I / F unit 16.

レイヤ2スイッチ10は、マルチキャストルータ30から送られるQueryメッセージ(マルチキャスト受信要求メッセージ)51を端末装置20J〜20Lへ中継するとともに、所定の端末装置(例えば、端末装置20J)から送られるReportメッセージ(Queryメッセージに対するマルチキャスト受信応答メッセージ)をマルチキャストルータ30に中継する。また、レイヤ2スイッチ10は、マルチキャストルータ30の送信するマルチキャストデータパケット(Reportメッセージに対するマルチキャストデータ)を所定の端末装置(受信側)へ中継する。   The layer 2 switch 10 relays a Query message (multicast reception request message) 51 sent from the multicast router 30 to the terminal devices 20J to 20L and reports a Report message (Query) sent from a predetermined terminal device (for example, the terminal device 20J). A multicast reception response message) to the multicast router 30 is relayed. Further, the layer 2 switch 10 relays a multicast data packet (multicast data for the Report message) transmitted from the multicast router 30 to a predetermined terminal device (reception side).

ここでは、レイヤ2スイッチ10がマルチキャストルータ30からのQueryメッセージ51を端末装置20J〜20Lへ中継し、端末装置20JからのReportメッセージ52をマルチキャストルータ30へ中継している場合を示している。また、ここではマルチキャストルータ30からのマルチキャストデータパケット53をレイヤ2スイッチ10が端末装置20Jに中継している場合を示している。   Here, a case is shown in which the layer 2 switch 10 relays the Query message 51 from the multicast router 30 to the terminal devices 20J to 20L and relays the Report message 52 from the terminal device 20J to the multicast router 30. Here, a case is shown in which the layer 2 switch 10 relays the multicast data packet 53 from the multicast router 30 to the terminal device 20J.

なお、以下では、マルチキャスト受信者としてIGMPv1/v2または、MLDv1をサポートした端末装置20J〜20Lが存在するものとして説明する。なお、ここでは通信ネットワーク1が1つのレイヤ2スイッチ10を備える構成の場合について説明したが。通信ネットワーク1が複数のレイヤ2スイッチ10を備える構成としてもよい。この場合、各レイヤ2スイッチ10が互いに接続されるとともに、マルチキャストルータ30と端末装置20J〜20Lとの間に配置される。   In the following description, it is assumed that there are terminal devices 20J to 20L that support IGMPv1 / v2 or MLDv1 as multicast receivers. Here, the case where the communication network 1 is configured to include one layer 2 switch 10 has been described. The communication network 1 may be configured to include a plurality of layer 2 switches 10. In this case, the layer 2 switches 10 are connected to each other and are disposed between the multicast router 30 and the terminal devices 20J to 20L.

図2は、本発明の実施の形態1に係るレイヤ2スイッチの構成を示すブロック図である。レイヤ2スイッチ10は、I/F部(端末側通信部)11J〜11L、ルータモード受信部12J〜12L、マルチキャストテーブル記憶部13J〜13L、受信グループ管理テーブル記憶部14、Query受信処理部15、I/F部(ルータ側通信部)16を備えている。なお、ここでのルータモード受信部12J〜12LとQuery受信処理部15が特許請求の範囲に記載の通信制御部に対応する。   FIG. 2 is a block diagram showing the configuration of the layer 2 switch according to Embodiment 1 of the present invention. The layer 2 switch 10 includes an I / F unit (terminal side communication unit) 11J to 11L, a router mode reception unit 12J to 12L, a multicast table storage unit 13J to 13L, a reception group management table storage unit 14, a query reception processing unit 15, An I / F unit (router side communication unit) 16 is provided. The router mode receiving units 12J to 12L and the Query reception processing unit 15 here correspond to the communication control unit described in the claims.

I/F部11J〜11Lは、それぞれ端末装置20J〜20Lと接続する通信インタフェースであり、I/F部16はマルチキャストルータ30と接続する通信インタフェースである。   The I / F units 11J to 11L are communication interfaces connected to the terminal devices 20J to 20L, respectively, and the I / F unit 16 is a communication interface connected to the multicast router 30.

ルータモード受信部12Jは、I/F部11Jと接続し、I/F部11Jの接続先(端末装置20J)に対してルータモード動作を行なう。ルータモード受信部12Kは、I/F部11Kと接続し、I/F部11Kの接続先(端末装置20K)に対してルータモード動作を行なう。ルータモード受信部12Lは、I/F部11Lと接続し、I/F部11Lの接続先(端末装置20L)に対してルータモード動作を行なう。   The router mode receiving unit 12J is connected to the I / F unit 11J and performs a router mode operation on the connection destination (terminal device 20J) of the I / F unit 11J. The router mode receiving unit 12K is connected to the I / F unit 11K and performs a router mode operation on the connection destination (terminal device 20K) of the I / F unit 11K. The router mode receiving unit 12L is connected to the I / F unit 11L and performs a router mode operation on the connection destination (terminal device 20L) of the I / F unit 11L.

マルチキャストテーブル記憶部13Jは、ルータモード受信部12Jと接続し、I/F部11Jのマルチキャスト状態(マルチキャスト情報)を管理するマルチキャストテーブル(I/F部11Jのマルチキャストテーブル)を記憶する。   The multicast table storage unit 13J is connected to the router mode receiving unit 12J and stores a multicast table (multicast table of the I / F unit 11J) that manages the multicast state (multicast information) of the I / F unit 11J.

マルチキャストテーブル記憶部13Kは、ルータモード受信部12Kと接続し、I/F部11Kのマルチキャスト状態を管理するマルチキャストテーブル(I/F部11Kのマルチキャストテーブル)を記憶する。   The multicast table storage unit 13K is connected to the router mode receiving unit 12K and stores a multicast table (multicast table of the I / F unit 11K) that manages the multicast state of the I / F unit 11K.

マルチキャストテーブル記憶部13Lは、ルータモード受信部12Lと接続し、I/F部11Lのマルチキャスト状態を管理するマルチキャストテーブル(I/F部11Lのマルチキャストテーブル)を記憶する。   The multicast table storage unit 13L is connected to the router mode reception unit 12L and stores a multicast table (multicast table of the I / F unit 11L) that manages the multicast state of the I / F unit 11L.

各マルチキャストテーブル内の各エントリは、マルチキャストアドレス、エントリタイマ(マルチキャストエントリのI/F部毎のエントリタイマ)、ソースリスト、ソースタイマ、除外リスト、フィルタタイマの各フィールドを有している。   Each entry in each multicast table has fields of a multicast address, an entry timer (an entry timer for each I / F portion of the multicast entry), a source list, a source timer, an exclusion list, and a filter timer.

マルチキャストアドレスは、マルチキャストパケットを中継する際に用いるアドレスである。エントリタイマは、I/F部毎のマルチキャストテーブル(マルチキャストエントリ)の管理に用いるタイマであり、各I/F部のエントリが有効か無効かの判断に用いられる。ソースリストは、マルチキャストパケットの送信元となるソースアドレスのリストである。ソースタイマは、ソースリストの管理に用いるタイマであり、ソースリストが有効か無効かの判断に用いられる。除外リストは、受信者(端末装置20J〜20L)が除外を要求しているソースのソースアドレスのリストである。フィルタタイマは、除外リストの管理に用いるタイマであり、除外リストが有効か無効かの判断に用いられる。   The multicast address is an address used when relaying a multicast packet. The entry timer is a timer used for managing a multicast table (multicast entry) for each I / F unit, and is used for determining whether an entry of each I / F unit is valid or invalid. The source list is a list of source addresses from which multicast packets are transmitted. The source timer is a timer used for managing the source list, and is used for determining whether the source list is valid or invalid. The exclusion list is a list of source addresses of sources for which the recipients (terminal devices 20J to 20L) are requesting exclusion. The filter timer is a timer used for managing the exclusion list, and is used for determining whether the exclusion list is valid or invalid.

受信グループ管理テーブル記憶部14は、マルチキャストテーブル記憶部13J〜13Lと接続し、受信グループ管理テーブルを記憶する。ここでの受信グループ管理テーブルは、マルチキャストグループアドレス毎に受信者と接続するI/F部11J〜11Lに関する情報のデータテーブル(各I/F部を管理するためのデータテーブル)である。   The reception group management table storage unit 14 is connected to the multicast table storage units 13J to 13L and stores a reception group management table. Here, the reception group management table is a data table of information on the I / F units 11J to 11L connected to the receiver for each multicast group address (data table for managing each I / F unit).

受信グループ管理テーブル内の各エントリは、マルチキャストアドレス、宛先I/Fのリスト、エントリタイマ、ソースリスト、除外リストの各フィールドを有している。ここでのエントリタイマは、マルチキャストアドレスエントリの管理に用いるタイマであり、マルチキャストアドレスエントリが有効か無効かの判断に用いられる。   Each entry in the reception group management table has fields of a multicast address, a destination I / F list, an entry timer, a source list, and an exclusion list. The entry timer here is a timer used for managing the multicast address entry, and is used for determining whether the multicast address entry is valid or invalid.

Query受信処理部15は、受信グループ管理テーブル記憶部14、I/F部11J〜11L、I/F部16と接続している。Query受信処理部15は、I/F部11J〜11L毎にホストモード動作を行なう。   The query reception processing unit 15 is connected to the reception group management table storage unit 14, the I / F units 11J to 11L, and the I / F unit 16. The Query reception processing unit 15 performs a host mode operation for each of the I / F units 11J to 11L.

なお、図2では、I/F部16の先にマルチキャストルータ30が存在する場合のレイヤ2スイッチ10の構成を示しているが、各I/F部11J〜11Lの先にもマルチキャストルータが存在する可能性があるので、全てのI/F部にルータモード受信部およびQuery受信処理部を用意してもよい。   2 shows the configuration of the layer 2 switch 10 in the case where the multicast router 30 exists ahead of the I / F unit 16, the multicast router exists also ahead of each I / F unit 11J to 11L. Therefore, a router mode reception unit and a query reception processing unit may be prepared for all I / F units.

なお、受信グループ管理テーブルやI/F部毎のマルチキャストテーブルが特許請求の範囲に記載の受信者情報に対応する。また、エントリタイマ、ソースタイマ、フィルタタイマが特許請求の範囲に記載の管理タイマに対応する。   The reception group management table and the multicast table for each I / F unit correspond to the recipient information described in the claims. An entry timer, a source timer, and a filter timer correspond to the management timer described in the claims.

つぎに、実施の形態1に係るレイヤ2スイッチの動作手順について説明する。通信ネットワーク1において、マルチキャストルータ30は、所定の周期でGeneral Queryメッセージ(問合せメッセージ)を送信し、レイヤ2スイッチ10はI/F部16でGeneral Queryメッセージを受信する。ここでのGeneral Queryメッセージには、質問間隔(Query Interval)、質問応答間隔(Query Response Interval)、信頼性変数(Robustness Variable)が含まれており、レイヤ2スイッチ10はこれらの値を受信グループ管理テーブル記憶部14で記憶しておく。   Next, an operation procedure of the layer 2 switch according to the first embodiment will be described. In the communication network 1, the multicast router 30 transmits a general query message (inquiry message) at a predetermined cycle, and the layer 2 switch 10 receives the general query message at the I / F unit 16. The General Query message includes a query interval, a query response interval, and a reliability variable (Robustness Variable). The layer 2 switch 10 receives these values. This is stored in the table storage unit 14.

図3は、実施の形態1に係るレイヤ2スイッチがGeneral Queryメッセージを受信した際のQuery受信処理部の動作手順を示すフローチャートであり、図4は、実施の形態1に係るレイヤ2スイッチがReportメッセージを受信した際の、ルータモード受信部の動作手順を示すフローチャートである。   FIG. 3 is a flowchart illustrating an operation procedure of the query reception processing unit when the layer 2 switch according to the first embodiment receives the general query message, and FIG. 4 is a flowchart illustrating the operation of the layer 2 switch according to the first embodiment. It is a flowchart which shows the operation | movement procedure of a router mode receiving part at the time of receiving a message.

レイヤ2スイッチ10のI/F部16では、General Queryメッセージを受信すると(ステップS100)、Query受信処理部15へGeneral Queryメッセージを転送する。   When the I / F unit 16 of the layer 2 switch 10 receives the general query message (step S100), it transfers the general query message to the query reception processing unit 15.

Query受信処理部15は、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルを検索して、受信グループ管理テーブルにGeneral Queryメッセージに対応するマルチキャストアドレスエントリが存在するか否かを確認する(ステップS110)。   The query reception processing unit 15 searches the reception group management table in the reception group management table storage unit 14 and confirms whether or not a multicast address entry corresponding to the general query message exists in the reception group management table (step S1). S110).

マルチキャストアドレスエントリが存在しない場合(ステップS110、エントリなし)、Query受信処理部15は、General Queryメッセージを受信したI/F部(I/F部16)以外の各I/F部(I/F部11J〜11L)を介してGeneral Queryメッセージを中継する(ステップS120)。例えば、レイヤ2スイッチ10が、端末装置20J〜20LからGeneral Queryメッセージに対するReportメッセージを受信して、端末装置20J〜20Lのマルチキャストアドレスエントリを生成するまでは、各I/F部11J〜11Lから端末装置20J〜20LへGeneral Queryメッセージを中継する。ここでは、まだ端末装置20J〜20LからGeneral Queryメッセージに対するReportメッセージを受信していないので、端末装置20J〜20LにGeneral Queryメッセージを中継することとなる。このように、受信グループ管理テーブルにGeneral Queryメッセージに対応するマルチキャストアドレスエントリが存在しない場合は、端末装置20J〜20LにGeneral Queryメッセージを中継する。   When there is no multicast address entry (step S110, no entry), the Query reception processing unit 15 receives each I / F unit (I / F) other than the I / F unit (I / F unit 16) that has received the general query message. The general query message is relayed via the sections 11J to 11L (step S120). For example, until the layer 2 switch 10 receives a report message for the general query message from the terminal devices 20J to 20L and generates a multicast address entry for the terminal devices 20J to 20L, the terminal from each I / F unit 11J to 11L The general query message is relayed to the devices 20J to 20L. Here, since the Report message for the General Query message has not yet been received from the terminal devices 20J to 20L, the General Query message is relayed to the terminal devices 20J to 20L. Thus, when there is no multicast address entry corresponding to the general query message in the reception group management table, the general query message is relayed to the terminal devices 20J to 20L.

通信ネットワーク1上にマルチキャスト受信者(端末装置)が存在する場合、マルチキャスト受信者(端末装置)はGeneral Queryメッセージに対してReportメッセージを応答する。ここでは、端末装置20JがGeneral Queryメッセージに対してReportメッセージを応答し、レイヤ2スイッチ10のI/F部11JがReportメッセージを受信する場合について説明する。I/F部11Jは、端末装置20JからのReportメッセージを受信すると、ルータモード受信部12JにReportメッセージを転送する。   When a multicast receiver (terminal device) exists on the communication network 1, the multicast receiver (terminal device) responds to the General Query message with a Report message. Here, a case will be described in which the terminal apparatus 20J responds to the General Query message with a Report message, and the I / F unit 11J of the layer 2 switch 10 receives the Report message. When receiving the Report message from the terminal device 20J, the I / F unit 11J transfers the Report message to the router mode receiving unit 12J.

ここで、Reportメッセージを受信した際のルータモード受信部12J〜12Lの動作処理を説明する。なお、ルータモード受信部12J〜12Lは同様の動作を行なうため、ここではルータモード受信部12Jの動作手順について図4を参照して説明する。   Here, an operation process of the router mode receiving units 12J to 12L when the Report message is received will be described. Since router mode receivers 12J to 12L perform the same operation, the operation procedure of router mode receiver 12J will be described with reference to FIG.

図4では、レイヤ2スイッチ10で、IGMPv1、IGMPv2、MLDv1などのソース指定を伴わないグループメンバシップ管理プロトコルのReportメッセージを受信した場合の動作手順を示している。   FIG. 4 shows an operation procedure when the layer 2 switch 10 receives a report message of a group membership management protocol that does not involve source designation such as IGMPv1, IGMPv2, and MLDv1.

ルータモード受信部12Jは、I/F部11Jを介してReportメッセージを受信すると(ステップS200)、マルチキャストテーブル記憶部13J内のマルチキャストテーブル(I/F部11Jのマルチキャストテーブル)からReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS210)。   When the router mode receiving unit 12J receives the report message via the I / F unit 11J (step S200), it is included in the report message from the multicast table (multicast table of the I / F unit 11J) in the multicast table storage unit 13J. A multicast address is searched (step S210).

マルチキャストテーブル記憶部13J内のマルチキャストテーブルに、Reportメッセージのマルチキャストアドレスに該当するエントリが存在しない場合(ステップS210、エントリなし)、ルータモード受信部12Jは、Reportメッセージに対応するマルチキャストエントリ(I/F部11Jのマルチキャストエントリ)をマルチキャストテーブルに生成する(ステップS220)。ここでは、I/F部11Jが端末装置20Jから初めてReportメッセージを受信しているので、I/F部11J(端末装置20J)に対応するマルチキャストエントリを生成する。   When there is no entry corresponding to the multicast address of the Report message in the multicast table in the multicast table storage unit 13J (step S210, no entry), the router mode receiving unit 12J determines that the multicast entry (I / F) corresponding to the Report message (Multicast entry of unit 11J) is generated in the multicast table (step S220). Here, since the I / F unit 11J receives the Report message for the first time from the terminal device 20J, a multicast entry corresponding to the I / F unit 11J (terminal device 20J) is generated.

マルチキャストエントリを生成した後、ルータモード受信部12Jは、I/F部毎のエントリタイマとして、I/F部11Jのエントリタイマを起動する(ステップS230)。ここでのエントリタイマは、エントリタイマ初期値をMALI(Multicast Address Listening Interval)(質問間隔と信頼性変数の積と質問応答時間の和)とし、時間の経過とともにタイマ値を減算していく。MALIは、マルチキャストの受信間隔でありタイムアウトするまでの時間(受信者がいないと決定する前に、待たなくてはならない時間量)である。   After generating the multicast entry, the router mode receiving unit 12J activates the entry timer of the I / F unit 11J as an entry timer for each I / F unit (step S230). The entry timer here uses MALI (Multicast Address Listening Interval) (sum of question interval and reliability variable and sum of question response time) as the initial value of the entry timer, and subtracts the timer value as time passes. MALI is a multicast reception interval and a time until timeout (amount of time that must be waited before determining that there is no receiver).

さらに、ルータモード受信部12Jは、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS240)。   Further, the router mode receiving unit 12J searches for the multicast address included in the Report message from the reception group management table in the reception group management table storage unit 14 (step S240).

受信グループ管理テーブル記憶部14内の受信グループ管理テーブルにマルチキャストアドレスに該当するエントリが存在しない場合(ステップS240、エントリなし)、ルータモード受信部12Jは、受信グループ管理テーブルに新たなエントリを生成して登録する。具体的には、受信グループ管理テーブルに新たなマルチキャストアドレスと、Reportメッセージを受信したI/F部11Jの情報(宛先I/F)などを設定し、受信グループ管理テーブル記憶部14に記憶させる(ステップS250)。   When there is no entry corresponding to the multicast address in the reception group management table in the reception group management table storage unit 14 (step S240, no entry), the router mode reception unit 12J generates a new entry in the reception group management table. And register. Specifically, a new multicast address and information (destination I / F) of the I / F unit 11J that received the Report message are set in the reception group management table and stored in the reception group management table storage unit 14 ( Step S250).

ここでは、I/F部11Jが端末装置20Jから初めてReportメッセージを受信しているので、ルータモード受信部12Jは、受信グループ管理テーブルに新たなエントリを設定する。   Here, since the I / F unit 11J receives a Report message for the first time from the terminal device 20J, the router mode receiving unit 12J sets a new entry in the reception group management table.

Query受信処理部15は、受信グループ管理テーブルに新たに生成したエントリに基づいて、Reportメッセージを生成する。生成したReportメッセージは、I/F部16を介してマルチキャストルータ30の接続ポート(以下、ルータ接続ポートという)へ送信する(ステップS260)。このとき、新規エントリ(受信グループ管理テーブルのマルチキャストアドレスエントリ)のエントリタイマ値はMALIにしておく(ステップS270)。   The Query reception processing unit 15 generates a Report message based on the newly generated entry in the reception group management table. The generated Report message is transmitted to the connection port of the multicast router 30 (hereinafter referred to as router connection port) via the I / F unit 16 (step S260). At this time, the entry timer value of the new entry (multicast address entry in the reception group management table) is set to MALI (step S270).

一方、ステップS240の処理において、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルにマルチキャストアドレスに該当するエントリが存在する場合(ステップS240、エントリあり)、ルータモード受信部12Jは、受信グループ管理テーブル内の宛先I/Fに、Reportメッセージを受信したI/F部11Jを追加する(ステップS280)。そして、受信グループ管理テーブルのマルチキャストアドレスエントリのエントリタイマをMALIに更新する(ステップS270)。   On the other hand, if there is an entry corresponding to the multicast address in the reception group management table in the reception group management table storage unit 14 in the process of step S240 (step S240, there is an entry), the router mode reception unit 12J performs the reception group management. The I / F unit 11J that received the Report message is added to the destination I / F in the table (step S280). Then, the entry timer of the multicast address entry in the reception group management table is updated to MALI (step S270).

なお、ルータ接続ポートは、Queryメッセージやマルチキャストルータ30が送信するプロトコルパケット(RFC4601等で規定されるPIM Helloパケット、RFC4286で規定されるMRDメッセージなど)を受信したI/F部(I/F部16)を学習して設定されるか、または管理者による設定によって定義されるものとする。   The router connection port receives an I / F unit (I / F unit) that receives a Query message or a protocol packet (such as a PIM Hello packet defined by RFC4601 or an MRD message defined by RFC4286) transmitted by the multicast router 30. 16) is set by learning, or is defined by setting by an administrator.

ルータ接続ポートから送信されたReportメッセージは、マルチキャストルータ30に到着する。これにより、マルチキャストルータ30は、Reportメッセージに含まれるマルチキャストアドレス宛へのマルチキャストパケットの中継を開始する。   The Report message transmitted from the router connection port arrives at the multicast router 30. As a result, the multicast router 30 starts relaying the multicast packet addressed to the multicast address included in the Report message.

レイヤ2スイッチ10では、マルチキャストルータ30からのマルチキャストパケットをI/F部16により受信すると、Query受信処理部15が受信グループ管理テーブルを参照して宛先マルチキャストアドレスに対応するエントリを抽出する。Query受信処理部15は、抽出したエントリ内の宛先I/Fに定義されたI/F部(ここではI/F部11J)にマルチキャストパケットを中継する。   In the layer 2 switch 10, when a multicast packet from the multicast router 30 is received by the I / F unit 16, the Query reception processing unit 15 refers to the reception group management table and extracts an entry corresponding to the destination multicast address. The Query reception processing unit 15 relays the multicast packet to the I / F unit (here, the I / F unit 11J) defined as the destination I / F in the extracted entry.

このように、I/F部11J以外のI/F部(Reportメッセージを受信していないI/F部)にはマルチキャストパケットが中継されないので、マルチキャスト受信者の存在しないインタフェースに不要なトラヒックが中継されることはない。これにより、不要なトラヒックの中継を防ぐことができる。   In this way, since multicast packets are not relayed to I / F units other than the I / F unit 11J (I / F units that have not received a Report message), unnecessary traffic is relayed to an interface where no multicast receiver exists. It will never be done. As a result, unnecessary traffic relaying can be prevented.

つぎに、レイヤ2スイッチ10がマルチキャスト受信者に関する情報(I/F部11Jのマルチキャストエントリ)を設定した後、マルチキャストルータ30が質問間隔周期で送信するGeneral QueryをI/F部16で受信した際の動作を図3を参照して説明する。   Next, after the layer 2 switch 10 sets information about the multicast receiver (multicast entry of the I / F unit 11J), the multicast router 30 receives the general query transmitted at the query interval cycle by the I / F unit 16. The operation of will be described with reference to FIG.

レイヤ2スイッチ10のI/F部16では、General Queryメッセージを受信すると(ステップS100)、Query受信処理部15へGeneral Queryメッセージを転送する。   When the I / F unit 16 of the layer 2 switch 10 receives the general query message (step S100), it transfers the general query message to the query reception processing unit 15.

Query受信処理部15は、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルを検索し、受信グループ管理テーブル内にGeneral Queryメッセージに対応するマルチキャストアドレスエントリが存在するか否かを確認する(ステップS110)。   The query reception processing unit 15 searches the reception group management table in the reception group management table storage unit 14 and confirms whether or not a multicast address entry corresponding to the general query message exists in the reception group management table (step). S110).

ここでは、端末装置20Jから既にReportメッセージを受信した後であり、受信グループ管理テーブルにマルチキャストアドレスエントリを作成してあるので、受信グループ管理テーブルにマルチキャストアドレスエントリ(Reportメッセージを受信したI/F部11Jの情報)が存在することとなる。マルチキャストアドレスエントリが存在する場合(ステップS110、エントリあり)、Query受信処理部15は、このマルチキャストアドレスエントリのエントリタイマ値を確認する(ステップS130)。   Here, since the report address has already been received from the terminal device 20J and the multicast address entry has been created in the reception group management table, the multicast address entry (the I / F unit that received the report message has been received in the reception group management table). 11J information) exists. If there is a multicast address entry (step S110, there is an entry), the Query reception processing unit 15 checks the entry timer value of this multicast address entry (step S130).

エントリタイマ値がLLQT(Last Listener Query Time)(質問応答時間と信頼性変数の積)よりも大きければ(ステップS130、>LLQT)、Query受信処理部15がマルチキャストアドレスエントリのマルチキャストアドレスを用いたReportメッセージを生成する。このとき、生成するReportメッセージパケットのソースアドレスは未定アドレスとしておく。なお、ここでのLLQT(閾値)は、最終の問い合わせ時間から応答を待つ時間(問合せメッセージの最大応答待ち時間)である。   If the entry timer value is larger than LLQT (Last Listener Query Time) (product of question response time and reliability variable) (step S130,> LLQT), the Query reception processing unit 15 reports using the multicast address of the multicast address entry. Generate a message. At this time, the source address of the generated Report message packet is set as an undetermined address. Note that the LLQT (threshold value) here is a time for waiting for a response from the last inquiry time (maximum response waiting time of an inquiry message).

生成したReportメッセージは、ルータ接続ポートへ送信する(ステップS140)。すなわち、エントリタイマ値がLLQTより大きくてマルチキャストアドレスエントリからエントリが削除される可能性の小さい受信者からは、Reportメッセージの受信を待つことなく、ソースアドレスを未定アドレスとしたReportメッセージをマルチキャストルータ30へ送信しておく。これにより、Query受信処理部15は、エントリタイマ値がLLQTより大きなエントリに対応する受信者へのGeneral Queryメッセージの中継と、この受信者から送られるReportメッセージの受信を待つことなく、マルチキャストルータ30へReportメッセージを送信している。   The generated Report message is transmitted to the router connection port (step S140). That is, from a recipient whose entry timer value is greater than LLQT and whose entry is unlikely to be deleted from the multicast address entry, a report message with the source address as an undetermined address is sent to the multicast router 30 without waiting for reception of the report message. Send it to. Thereby, the Query reception processing unit 15 relays the General Query message to the receiver corresponding to the entry whose entry timer value is larger than LLQT and does not wait for the reception of the Report message sent from this receiver. Report message is being sent to.

マルチキャストルータ30は、Reportメッセージのソースアドレスが未定アドレスの場合であっても、Reportメッセージを正常なメッセージとして処理するよう設定されているものとする。例えば、マルチキャストルータ30をRFC3376等の標準規格で規定しておく。Reportメッセージを受信したマルチキャストルータ30は、Reportメッセージに含まれるマルチキャストアドレスの受信者の存在を確認し、マルチキャストパケットの中継を継続する。   The multicast router 30 is set to process the Report message as a normal message even if the source address of the Report message is an undetermined address. For example, the multicast router 30 is defined by a standard such as RFC3376. Receiving the Report message, the multicast router 30 confirms the presence of the recipient of the multicast address included in the Report message, and continues relaying the multicast packet.

このように、エントリタイマ値がLLQTより大きなエントリに対しては、Query受信処理部15が受信者から送られるReportメッセージの受信を待つことなく、マルチキャストルータ30へReportメッセージを送信しているので、マルチキャストルータ30は、エントリタイマ値がLLQTより大きなエントリの受信者に対しては、マルチキャストパケットの中継を継続するか否かを迅速に判断することが可能となる。   Thus, for an entry whose entry timer value is larger than LLQT, the Query reception processing unit 15 transmits a Report message to the multicast router 30 without waiting for reception of a Report message sent from the receiver. The multicast router 30 can quickly determine whether or not to continue relaying multicast packets for recipients whose entries have an entry timer value larger than LLQT.

一方、エントリタイマ値がLLQT以下であれば(ステップS130、≦LLQT)、マルチキャストアドレスエントリからエントリが削除される可能性が高い受信者のエントリであると判断して、マルチキャストルータ30へのReportメッセージを生成しない。この後、マルチキャストアドレスエントリからエントリが削除される可能性の高い受信者からReportメッセージが送信されない場合には、この受信者に対応するReportメッセージのマルチキャストルータ30への送信を省略できることとなる。   On the other hand, if the entry timer value is less than or equal to LLQT (step S130, ≦ LLQT), it is determined that the entry is a recipient entry that is likely to be deleted from the multicast address entry, and a report message is sent to the multicast router 30. Is not generated. Thereafter, when a Report message is not transmitted from a recipient who is likely to delete an entry from the multicast address entry, transmission of the Report message corresponding to this recipient to the multicast router 30 can be omitted.

この後、Query受信処理部15は、受信グループ管理テーブルを検索して、受信グループ管理テーブルに次のマルチキャストアドレスエントリ(他のマルチキャストアドレスエントリ)が存在するか否かを確認する(ステップS110)。Query受信処理部15は、受信グループ管理テーブル内の全てのマルチキャストアドレスエントリに対してステップS130、S140の処理を行う。   Thereafter, the Query reception processing unit 15 searches the reception group management table to check whether or not the next multicast address entry (another multicast address entry) exists in the reception group management table (step S110). The query reception processing unit 15 performs the processing of steps S130 and S140 for all the multicast address entries in the reception group management table.

受信グループ管理テーブル内の全てのマルチキャストアドレスエントリに対してステップS130、S140の処理を行うと、受信グループ管理テーブル内に残っているマルチキャストアドレスエントリが存在しないと判断する(ステップS110、エントリなし)。そして、I/F部16が受信したGeneral Queryメッセージを、I/F部16以外の各I/F部11J〜11Lを介して、端末装置20J〜20L側の全ポートに中継する(ステップS120)。   When the processing of steps S130 and S140 is performed for all multicast address entries in the reception group management table, it is determined that there are no remaining multicast address entries in the reception group management table (step S110, no entry). Then, the general query message received by the I / F unit 16 is relayed to all the ports on the terminal devices 20J to 20L via the I / F units 11J to 11L other than the I / F unit 16 (step S120). .

I/F部11J〜11Lの先にマルチキャスト受信者が存在すれば、中継されたGeneral Queryメッセージに対してマルチキャスト受信者(端末装置)からReportメッセージが返答される。ここでは、I/F部11Jの先にマルチキャスト受信者である端末装置20Jが存在するので、中継されたGeneral Queryメッセージに対して端末装置20JからReportメッセージが返答される。この端末装置20JからのReportメッセージは、I/F部11Jで受信され、ルータモード受信部12Jに転送される。   If a multicast receiver exists ahead of the I / F units 11J to 11L, a report message is returned from the multicast receiver (terminal device) to the relayed general query message. Here, since the terminal device 20J that is a multicast receiver exists ahead of the I / F unit 11J, a Report message is returned from the terminal device 20J to the relayed General Query message. The Report message from the terminal device 20J is received by the I / F unit 11J and transferred to the router mode receiving unit 12J.

ここで、マルチキャストアドレスのエントリをマルチキャストテーブルに設定した後にルータモード受信部12JがReportメッセージを受信した際の動作手順を図4を参照して説明する。   Here, an operation procedure when the router mode receiving unit 12J receives the Report message after setting the multicast address entry in the multicast table will be described with reference to FIG.

ルータモード受信部12Jは、I/F部11Jを介してReportメッセージを受信すると(ステップS200)、マルチキャストテーブル記憶部13J内のマルチキャストテーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS210)。   When receiving the Report message via the I / F unit 11J (Step S200), the router mode receiving unit 12J searches for the multicast address included in the Report message from the multicast table in the multicast table storage unit 13J (Step S210).

マルチキャストテーブル記憶部13J内のマルチキャストテーブルにマルチキャストアドレスに該当するエントリが存在する場合(ステップS210、エントリあり)、ルータモード受信部12JはI/F部毎のエントリタイマ値(I/F部11Jのエントリタイマ値)をMALIに更新する(ステップS290)。   When there is an entry corresponding to the multicast address in the multicast table in the multicast table storage unit 13J (step S210, there is an entry), the router mode receiving unit 12J sets the entry timer value for each I / F unit (in the I / F unit 11J). (Entry timer value) is updated to MALI (step S290).

そして、ルータモード受信部12Jは、受信グループ管理テーブルのマルチキャストアドレスエントリのエントリタイマ値を確認する(ステップS300)。マルチキャストアドレスエントリのエントリタイマ値がLLQTを超える値ならば(ステップS300、>LLQT)、マルチキャストアドレスエントリのエントリタイマ値をMALIに更新する(ステップS270)。   Then, the router mode reception unit 12J confirms the entry timer value of the multicast address entry in the reception group management table (step S300). If the entry timer value of the multicast address entry exceeds LLQT (step S300,> LLQT), the entry timer value of the multicast address entry is updated to MALI (step S270).

一方、マルチキャストアドレスエントリのエントリタイマ値がLLQT以下の値である場合(ステップS300、≦LLQT)、ステップS140の処理(Reportメッセージの生成と送信)を行っていないので、Query受信処理部15は、Reportメッセージを生成する。生成したReportメッセージは、I/F部16を介してルータ接続ポートへ送信する(ステップS260)。そして、受信グループ管理テーブルのマルチキャストアドレスエントリのエントリタイマ値をMALIに更新する(ステップS270)。受信者の何れか(端末装置20J〜20L)が継続的にマルチキャストに参加している状態では、レイヤ2スイッチ10が図3および図4の動作を定期的に実行する。   On the other hand, when the entry timer value of the multicast address entry is a value equal to or smaller than LLQT (step S300, ≦ LLQT), since the processing of step S140 (generation and transmission of the report message) is not performed, the query reception processing unit 15 Generate a Report message. The generated Report message is transmitted to the router connection port via the I / F unit 16 (step S260). Then, the entry timer value of the multicast address entry in the reception group management table is updated to MALI (step S270). In a state where any one of the receivers (terminal devices 20J to 20L) is continuously participating in the multicast, the layer 2 switch 10 periodically executes the operations of FIG. 3 and FIG.

つぎに、受信者がマルチキャストに参加している状態で、受信者が明示的にLeaveメッセージ(離脱要求メッセージ)を送信してマルチキャストを離脱する場合のレイヤ2スイッチ10の動作手順について説明する。ここでは端末装置20Jがマルチキャストを離脱する場合について説明する。   Next, an operation procedure of the layer 2 switch 10 when the receiver explicitly sends a Leave message (leave request message) to leave the multicast while the receiver is participating in the multicast will be described. Here, a case where the terminal device 20J leaves the multicast will be described.

受信者である端末装置20Jは、マルチキャストを離脱する際に、マルチキャストグループアドレスを格納したLeaveメッセージを送信する。I/F部11Jは、端末装置20JからのLeaveメッセージを受信すると、ルータモード受信部12Jに転送する。そして、ルータモード受信部12Jは、マルチキャストテーブル記憶部13Jのマルチキャストテーブル内で端末装置20Jに対応するエントリのエントリタイマ(I/F部11Jのエントリタイマ)値をLLQTまたはLLQT以下の値(閾値)に短縮する。ここで設定されるエントリタイマ値がReportメッセージの送信判定やQueryメッセージの中継判定の閾値となる。   When the terminal device 20J that is a receiver leaves the multicast, the terminal device 20J transmits a Leave message that stores the multicast group address. When receiving the Leave message from the terminal device 20J, the I / F unit 11J transfers the message to the router mode receiving unit 12J. Then, the router mode receiving unit 12J sets the entry timer (entry timer of the I / F unit 11J) value of the entry corresponding to the terminal device 20J in the multicast table of the multicast table storage unit 13J to a value (threshold value) equal to or less than LLQT. To shorten. The entry timer value set here serves as a threshold for determining whether to transmit a Report message or to determine whether to relay a Query message.

このとき、ルータモード受信部12Jは、他のI/F部(I/F部20K,20L)で有する同一のマルチキャストグループアドレスのエントリのうち、最も大きなエントリタイマ値を取得する。そして、取得したエントリタイマ値を受信グループ管理テーブルのマルチキャストアドレスエントリのエントリタイマに設定する。Leaveメッセージを受信したI/F部11Jのみがマルチキャストグループアドレスのエントリを有している場合は、受信グループ管理テーブルのマルチキャストアドレスエントリのエントリタイマもLLQTに変更することとなる。   At this time, the router mode receiving unit 12J obtains the largest entry timer value among the entries of the same multicast group address possessed by other I / F units (I / F units 20K and 20L). Then, the acquired entry timer value is set in the entry timer of the multicast address entry in the reception group management table. When only the I / F unit 11J that has received the Leave message has an entry for the multicast group address, the entry timer for the multicast address entry in the reception group management table is also changed to LLQT.

ルータモード受信部12Jは、受信グループ管理テーブルのマルチキャストアドレスエントリのエントリタイマ値がLLQT以下に更新されたことを契機に、エントリのマルチキャストグループアドレスを用いてLeaveメッセージを生成し、ルータ接続ポートに送信する。   The router mode receiving unit 12J generates a Leave message using the multicast group address of the entry and transmits it to the router connection port when the entry timer value of the multicast address entry in the reception group management table is updated to LLQT or less. To do.

マルチキャストルータ30は、Leaveメッセージを受信すると、Leaveメッセージ内で示されたマルチキャストグループアドレスに対するエントリタイマをLLQTに更新し、Specific Queryメッセージ(離脱する受信者を確認するためのメッセージ)を送信する。   When receiving the Leave message, the multicast router 30 updates the entry timer for the multicast group address indicated in the Leave message to LLQT, and transmits a Specific Query message (a message for confirming the leaving receiver).

なお、Leaveメッセージに対してマルチキャストルータ30からSpecific Queryメッセージが送信され、レイヤ2スイッチ10に到着するまでの時間を見越して、レイヤ2スイッチ10ではLeaveメッセージ送信のエントリタイマ判定閾値をLLQTよりも大きな値(タイムラグに応じた値)としてもよい。   In addition, in anticipation of the time until the Specific Query message is transmitted from the multicast router 30 in response to the Leave message and arrives at the Layer 2 switch 10, the Layer 2 switch 10 sets the entry timer determination threshold for the Leave message transmission to be larger than the LLQT. It is good also as a value (value according to a time lag).

レイヤ2スイッチ10のI/F部16では、マルチキャストルータ30からのSpecific Queryメッセージを受信すると、このメッセージをQuery受信処理部15へ送信する。   When receiving the Specific Query message from the multicast router 30, the I / F unit 16 of the layer 2 switch 10 transmits this message to the Query reception processing unit 15.

ここで、Query受信処理部15がSpecific Queryメッセージを受信した際の動作手順について説明する。図5は、実施の形態1に係るレイヤ2スイッチがSpecific Queryメッセージを受信した際のQuery受信処理部の動作手順を示すフローチャートである。   Here, an operation procedure when the Query reception processing unit 15 receives the Specific Query message will be described. FIG. 5 is a flowchart illustrating an operation procedure of the query reception processing unit when the layer 2 switch according to the first embodiment receives the specific query message.

図5では、IGMPv1、IGMPv2、MLDv1などのソース指定を伴わないグループメンバシップ管理プロトコルのSpecific Queryメッセージを受信した場合の動作を示している。   FIG. 5 shows an operation when a Specific Query message of a group membership management protocol such as IGMPv1, IGMPv2, or MLDv1, which is not accompanied by a source designation, is received.

レイヤ2スイッチ10のI/F部16では、Specific Queryメッセージを受信すると(ステップS400)、Query受信処理部15へSpecific Queryメッセージを転送する。   When receiving the Specific Query message (step S400), the I / F unit 16 of the layer 2 switch 10 transfers the Specific Query message to the Query reception processing unit 15.

Query受信処理部15は、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルを検索する。Query受信処理部15は、受信グループ管理テーブルにSpecific Queryメッセージで指示されたマルチキャストグループアドレスに対応するマルチキャストアドレスエントリが存在するか否かを確認する(ステップS410)。   The query reception processing unit 15 searches the reception group management table in the reception group management table storage unit 14. The Query reception processing unit 15 checks whether or not there is a multicast address entry corresponding to the multicast group address indicated by the Specific Query message in the reception group management table (Step S410).

受信グループ管理テーブルにSpecific Queryメッセージで指示されたマルチキャストグループアドレスのマルチキャストアドレスエントリが存在する場合(ステップS410、エントリあり)、Query受信処理部15は、マルチキャストアドレスエントリのエントリタイマ値を確認する(ステップS420)。   When the multicast address entry of the multicast group address indicated by the Specific Query message exists in the reception group management table (step S410, there is an entry), the Query reception processing unit 15 checks the entry timer value of the multicast address entry (step S410). S420).

マルチキャストアドレスエントリのエントリタイマ値が、LLQTより大きい場合(ステップS420、>LLQT)、Query受信処理部15は、マルチキャストアドレスエントリのマルチキャストアドレスを用いたReportメッセージを生成し、ルータ接続ポートへ送信する(ステップS430)。   When the entry timer value of the multicast address entry is larger than LLQT (step S420,> LLQT), the Query reception processing unit 15 generates a Report message using the multicast address of the multicast address entry and transmits it to the router connection port ( Step S430).

これにより、マルチキャストルータ30は、エントリタイマ値がLLQTより大きなエントリに対しては、マルチキャストを離脱する受信者であるか否かを迅速に判断することが可能となる。   As a result, the multicast router 30 can quickly determine whether or not the entry has a larger entry timer value than the LLQT, whether or not it is a receiver that leaves the multicast.

一方、マルチキャストアドレスエントリのエントリタイマ値が、LLQT以下の場合(ステップS420、≦LLQT)、Query受信処理部15は、Reportメッセージを生成しない。   On the other hand, when the entry timer value of the multicast address entry is less than or equal to LLQT (step S420, ≦ LLQT), the Query reception processing unit 15 does not generate a Report message.

すなわち、エントリタイマ値がLLQT以下であれば、マルチキャストアドレスエントリからエントリが削除される可能性が高い受信者のエントリであると判断して、マルチキャストルータ30へのReportメッセージを生成しない。これにより、マルチキャストアドレスエントリからエントリが削除される可能性の高い受信者からSpecific Queryメッセージに対するReportメッセージが送信されない場合には、この受信者に対応するReportメッセージのマルチキャストルータ30への送信を省略できることとなる。   That is, if the entry timer value is equal to or less than LLQT, it is determined that the entry is a recipient entry that is likely to be deleted from the multicast address entry, and a Report message to the multicast router 30 is not generated. As a result, when a report message for a specific query message is not transmitted from a recipient who is likely to delete an entry from the multicast address entry, transmission of the report message corresponding to this recipient to the multicast router 30 can be omitted. It becomes.

本実施の形態では、ルータモード受信部12Jが端末装置20JからLeaveメッセージを受信した際に、I/F部11Jのエントリタイマ値をLLQTに短縮しているので、マルチキャストエントリのエントリタイマ値がLLQT未満となる。このため、Query受信処理部15はReportメッセージは送信しない。   In this embodiment, when the router mode receiving unit 12J receives the Leave message from the terminal device 20J, the entry timer value of the I / F unit 11J is shortened to LLQT. Less than. For this reason, the Query reception processing unit 15 does not transmit a Report message.

Query受信処理部15は、Specific Queryメッセージで指示されたマルチキャストアドレスであって、I/F部毎のエントリタイマ値がLLQT以下であるエントリを持つI/F部のそれぞれに対して、Specific Queryメッセージを中継する(ステップS440)。   The Query reception processing unit 15 sends a specific query message to each of the I / F units having an entry that is instructed by the Specific Query message and has an entry timer value for each I / F unit equal to or less than LLQT. Is relayed (step S440).

すなわち、指示されたマルチキャストアドレスのエントリを持たないI/F部や、I/F部毎のマルチキャストテーブル(マルチキャストエントリ)におけるI/F部毎のエントリタイマ値がLLQTよりも大きなI/F部にはSpecific Queryメッセージを中継しない。これにより、Query受信処理部15に中継されて、通信ネットワーク1内を流れるSpecific Queryメッセージの量と、Specific Queryメッセージに対して端末装置で応答されるReportメッセージの量を削減することが可能となる。   In other words, an I / F unit that does not have an entry for the designated multicast address, or an I / F unit whose entry timer value for each I / F unit in the multicast table (multicast entry) for each I / F unit is larger than LLQT. Does not relay the Specific Query message. Accordingly, it is possible to reduce the amount of the specific query message that is relayed to the query reception processing unit 15 and flows in the communication network 1 and the amount of the report message that is responded to by the terminal device in response to the specific query message. .

Specific Queryメッセージを中継したI/F部の先に受信者が存在しなければ、Specific Queryメッセージに対してReportメッセージが応答されることはない。このため、Reportメッセージの応答がなかったI/F部のマルチキャストエントリのエントリタイマ、および受信グループ管理テーブル(マルチキャストアドレスエントリ)のエントリタイマが満了する。これにより、Query受信処理部15は、受信グループ管理テーブルからエントリタイマが満了した各エントリの削除を行なうとともに、マルチキャストパケットの中継を停止する。   If there is no receiver ahead of the I / F part that relays the Specific Query message, the Report message is not responded to the Specific Query message. For this reason, the entry timer of the multicast entry of the I / F unit that did not respond to the Report message and the entry timer of the reception group management table (multicast address entry) expire. As a result, the Query reception processing unit 15 deletes each entry whose entry timer has expired from the reception group management table and stops relaying the multicast packet.

また、マルチキャストルータ30は、Reportメッセージ未受信によるタイムアウトによってマルチキャストパケットの中継を停止し、通信ネットワーク1内へのマルチキャストパケットの流入を停止する。   Further, the multicast router 30 stops relaying the multicast packet due to a timeout due to not receiving the Report message, and stops the inflow of the multicast packet into the communication network 1.

一方、Specific Queryメッセージを中継したI/F部の先に受信者が存在し、受信者からSpecific Queryメッセージに対するReportメッセージが応答された場合は、I/F部11Jで受信する。このReportメッセージは、ルータモード受信部12Jに転送される。   On the other hand, when there is a receiver ahead of the I / F unit that relays the Specific Query message and a Report message for the Specific Query message is returned from the receiver, it is received by the I / F unit 11J. This Report message is transferred to the router mode receiving unit 12J.

Specific Queryメッセージに対するReportメッセージを受信した際のルータモード受信部12Jの動作手順を図4を参照して説明する。ここでは、端末装置20JからSpecific Queryメッセージに対するReportメッセージが送信された場合について説明する。   The operation procedure of the router mode receiving unit 12J when receiving the Report message for the Specific Query message will be described with reference to FIG. Here, a case will be described where a Report message for the Specific Query message is transmitted from the terminal device 20J.

ルータモード受信部12Jは、I/F部11Jを介してReportメッセージを受信すると(ステップS200)、マルチキャストテーブル記憶部13J内のマルチキャストテーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS210)。   When receiving the Report message via the I / F unit 11J (Step S200), the router mode receiving unit 12J searches for the multicast address included in the Report message from the multicast table in the multicast table storage unit 13J (Step S210).

マルチキャストテーブル記憶部13J内のマルチキャストテーブルにマルチキャストアドレスに該当するエントリが存在する場合(ステップS210、エントリあり)、ルータモード受信部12JはI/F部毎のエントリタイマ値(I/F部11Jのエントリタイマ値)をMALIに更新する(ステップS290)。   When there is an entry corresponding to the multicast address in the multicast table in the multicast table storage unit 13J (step S210, there is an entry), the router mode receiving unit 12J sets the entry timer value for each I / F unit (in the I / F unit 11J). (Entry timer value) is updated to MALI (step S290).

そして、ルータモード受信部12Jは、受信グループ管理テーブルのマルチキャストアドレスエントリのエントリタイマ値を確認する(ステップS300)。マルチキャストアドレスエントリのエントリタイマ値がLLQTを超える値ならば(ステップS300、>LLQT)、マルチキャストアドレスエントリのエントリタイマ値をMALIに更新する(ステップS270)。   Then, the router mode reception unit 12J confirms the entry timer value of the multicast address entry in the reception group management table (step S300). If the entry timer value of the multicast address entry exceeds LLQT (step S300,> LLQT), the entry timer value of the multicast address entry is updated to MALI (step S270).

一方、マルチキャストアドレスエントリのエントリタイマ値がLLQT以下の値ならば(ステップS300、≦LLQT)、ステップS430の処理(Reportメッセージの生成と送信)を行っていないので、Query受信処理部15は、Reportメッセージを生成する。生成したReportメッセージは、I/F部16を介してルータ接続ポートへ送信する(ステップS260)。そして、受信グループ管理テーブルのマルチキャストアドレスエントリのエントリタイマ値をMALIに更新する(ステップS270)。マルチキャストルータ30は、Reportメッセージを受信すると、エントリタイマをMALIに更新してマルチキャストの中継を継続する。   On the other hand, if the entry timer value of the multicast address entry is equal to or less than LLQT (step S300, ≦ LLQT), the processing of step S430 (generation and transmission of the report message) is not performed, so the query reception processing unit 15 reports Generate a message. The generated Report message is transmitted to the router connection port via the I / F unit 16 (step S260). Then, the entry timer value of the multicast address entry in the reception group management table is updated to MALI (step S270). When receiving the Report message, the multicast router 30 updates the entry timer to MALI and continues the multicast relay.

これにより、レイヤ2スイッチ10は、任意の受信者が脱退(消失)した場合にはその受信者を収容するI/F部へのマルチキャスト中継を停止するが、その他のI/F部へのマルチキャストの中継は継続することとなる。   Thereby, the layer 2 switch 10 stops the multicast relay to the I / F unit accommodating the receiver when an arbitrary receiver withdraws (disappears), but the multicast to other I / F units Will continue.

このように、実施の形態1によれば、端末装置から送られるReportメッセージなどに基づいて、I/F部毎のマルチキャストテーブルや受信グループ管理テーブルの生成、更新を行い、I/F部毎のマルチキャストテーブルや受信グループ管理テーブルを用いてメッセージ中継を行なっているので、プロキシ機能を用いたマルチキャストを実現することが可能となる。   As described above, according to the first embodiment, the multicast table and the reception group management table for each I / F unit are generated and updated based on the Report message transmitted from the terminal device, and the I / F unit is updated. Since message relaying is performed using a multicast table and a reception group management table, multicast using a proxy function can be realized.

また、I/F部毎のマルチキャストテーブルエントリのエントリタイマ値を参照してSpecific Queryメッセージの中継の有無(必要性)を判定しているので、必要のないメッセージ中継を無くすことができ、制御メッセージ交換トラヒックを削減することが可能となる。   In addition, since the presence / absence (necessity) of the forwarding of the specific query message is determined with reference to the entry timer value of the multicast table entry for each I / F part, unnecessary message relaying can be eliminated, and the control message Exchange traffic can be reduced.

また、受信グループ管理テーブルにおけるマルチキャストアドレスエントリのエントリタイマ値がLLQT以下の場合には、Specific QueryメッセージやGeneral Queryメッセージに対するマルチキャストルータ30へのReportメッセージを行なわず、エントリタイマ値の更新時にLLQT以下からLLQTを超える値に変更されたことをReportメッセージ送信の条件としているので、必要最小限のReportメッセージのみがマルチキャストルータ30へ送信されることとなり、制御メッセージ交換トラヒックを削減することが可能となる。   Also, when the entry timer value of the multicast address entry in the reception group management table is LLQT or less, the Report message to the multicast router 30 for the Specific Query message or the General Query message is not performed, and the entry timer value is updated from LLQT or less Since the report message transmission condition is changed to a value exceeding LLQT, only the minimum necessary report message is transmitted to the multicast router 30, and control message exchange traffic can be reduced.

したがって、通信ネットワーク1内の各リンクに流れるメッセージが少なくなり、効率良くマルチキャストグループメンバシップ管理プロトコル交換を行なうことが可能となる。   Therefore, the number of messages flowing through each link in the communication network 1 is reduced, and it is possible to efficiently perform multicast group membership management protocol exchange.

実施の形態2.
つぎに、図6〜図12を用いてこの発明の実施の形態2について説明する。実施の形態2では、INCLUDEモードの受信者が任意のソースをソースリストから削除するBLOCKタイプのReportメッセージを送信した場合に、ソースタイマ値の変化に基づいて、マルチキャストルータ30へのReportメッセージを送信するか否かを判断する。
Embodiment 2. FIG.
Next, a second embodiment of the present invention will be described with reference to FIGS. In the second embodiment, when a receiver in INCLUDE mode transmits a BLOCK type report message for deleting an arbitrary source from the source list, a report message is transmitted to the multicast router 30 based on the change in the source timer value. Judge whether to do.

図6は、本発明の実施の形態2に係るレイヤ2スイッチを有した通信ネットワークの構成を示す図である。図6の各構成要素のうち図1に示す実施の形態1の通信ネットワーク1と同一機能を達成する構成要素については同一番号を付しており、重複する説明は省略する。   FIG. 6 is a diagram showing a configuration of a communication network having a layer 2 switch according to Embodiment 2 of the present invention. Among the constituent elements in FIG. 6, constituent elements that achieve the same functions as those of the communication network 1 of the first embodiment shown in FIG. 1 are given the same numbers, and redundant descriptions are omitted.

レイヤ2スイッチ40は、レイヤ2スイッチ10と同様のスイッチである。レイヤ2スイッチ40は、I/F部11Jで端末装置20Jと接続し、I/F部16でレイヤ2スイッチ10と接続している。   The layer 2 switch 40 is the same switch as the layer 2 switch 10. The layer 2 switch 40 is connected to the terminal device 20J by the I / F unit 11J, and is connected to the layer 2 switch 10 by the I / F unit 16.

また、レイヤ2スイッチ10は、I/F部11Jでレイヤ2スイッチ40と接続し、I/F部11Lで端末装置20Lと接続し、I/F部16でマルチキャストルータ30と接続している。   The layer 2 switch 10 is connected to the layer 2 switch 40 by the I / F unit 11J, is connected to the terminal device 20L by the I / F unit 11L, and is connected to the multicast router 30 by the I / F unit 16.

ここでは、端末装置20KからのReportメッセージ31が、レイヤ2スイッチ40、レイヤ2スイッチ10の順番で中継されてマルチキャストルータ30に送られる場合を示している。また、ここではレイヤ2スイッチ10がマルチキャストルータ30からのマルチキャストデータパケット35をレイヤ2スイッチ40へ中継し、レイヤ2スイッチ40がレイヤ2スイッチ10からのマルチキャストデータパケット35を端末装置20Kに中継している場合を示している。   Here, a case is shown in which the Report message 31 from the terminal device 20K is relayed in the order of the layer 2 switch 40 and the layer 2 switch 10 and sent to the multicast router 30. Here, the layer 2 switch 10 relays the multicast data packet 35 from the multicast router 30 to the layer 2 switch 40, and the layer 2 switch 40 relays the multicast data packet 35 from the layer 2 switch 10 to the terminal device 20K. Shows the case.

なお、以下では、通信ネットワーク1がマルチキャスト受信者としてIGMPv3または、MLDv2をサポートし、ソースアドレスも指定可能な端末装置20J〜20Lが存在するものとして説明する。   In the following description, it is assumed that the communication network 1 supports IGMPv3 or MLDv2 as a multicast receiver and there are terminal devices 20J to 20L that can also specify a source address.

これらのソースアドレスを指定可能な端末装置20J〜20Lは、Reportメッセージの中に、自装置が参加を希望するマルチキャストグループアドレスと、送信元装置のIPアドレスであるソースアドレスのリスト(ソースアドレスリスト)と、フィルタモードとを含めておき、これらの情報をレイヤ2スイッチ10,40に通知する。このうち、フィルタモードは、ソースアドレスリストが受信を要求する対象であるか、受信から除外する対象であるかを示す情報である。   The terminal devices 20J to 20L that can specify these source addresses include, in the Report message, a multicast group address that the device itself wants to participate in and a list of source addresses that are IP addresses of the transmission source devices (source address list). And the filter mode, and notifies the layer 2 switches 10 and 40 of these pieces of information. Among these, the filter mode is information indicating whether the source address list is a target for requesting reception or excluded from reception.

例えば、マルチキャストアドレスMでフィルタモードINCLUDE(A)の場合、ソースリストAに含まれるソースアドレスを送信元とし、この送信元に宛先Mのマルチキャストパケットの受信を要求するものである。   For example, in the case of the filter mode INCLUDE (A) with the multicast address M, the source address included in the source list A is set as the transmission source, and the transmission source is requested to receive the multicast packet of the destination M.

また、マルチキャストアドレスMでフィルタモードEXCLUDE(X,Y)の場合、ソースリストYに含まれるソースアドレス以外のソースアドレスを送信元とし、この送信元に宛先Mのマルチキャストパケットの受信を要求するものである。   Further, in the case of the filter mode EXCLUDE (X, Y) with the multicast address M, the source address other than the source address included in the source list Y is set as the transmission source, and this transmission source is requested to receive the multicast packet of the destination M. is there.

ここでの前記Xは、「要求リスト」と呼ばれ、ソースタイマを起動中のソースを列記したソースリストである。また、前記Yは「除外リスト」と呼ばれ、受信者が除外を要求しているソースを列記したソースリストである。   Here, the X is called a “request list”, and is a source list listing sources that are starting the source timer. Y is referred to as an “exclusion list”, and is a source list that lists sources from which the recipient requests exclusion.

ここでのマルチキャストルータ30も、実施の形態1のマルチキャストルータ30と同様に、定期的にGeneral Queryメッセージを送信する。そして、レイヤ2スイッチ10,40は、General Queryメッセージ中のインターバルタイマ値等の情報を記憶し、General Queryメッセージを各I/F部に中継する。   The multicast router 30 here also periodically transmits a general query message, similarly to the multicast router 30 of the first embodiment. The layer 2 switches 10 and 40 store information such as interval timer values in the general query message, and relay the general query message to each I / F unit.

図6に示す通信ネットワーク1では、レイヤ2スイッチ10,40が多段接続しており、それぞれのレイヤ2スイッチ10,40で実施の形態1のレイヤ2スイッチ10と同様に情報更新とメッセージ中継を行なう。   In the communication network 1 shown in FIG. 6, the layer 2 switches 10 and 40 are connected in multiple stages, and the layer 2 switches 10 and 40 perform information update and message relay in the same manner as the layer 2 switch 10 of the first embodiment. .

通信ネットワーク1上にソースアドレス指定に対応したマルチキャスト受信端末(端末装置20J〜20L)が存在する場合、マルチキャスト受信端末はQueryメッセージに対してソースアドレスとフィルタモードを含むReportメッセージを応答する。本実施の形態では、端末装置20KがソースリストA、フィルタモードINCLUDEとして、マルチキャストグループに参加する場合について説明する。   When there are multicast receiving terminals (terminal devices 20J to 20L) corresponding to the source address specification on the communication network 1, the multicast receiving terminal responds to the Query message with a Report message including the source address and the filter mode. In the present embodiment, a case will be described in which terminal device 20K joins a multicast group as source list A and filter mode INCLUDE.

端末装置20Kは、マルチキャストルータ30からのQueryメッセージに対してReport(IS_IN(A))メッセージ(ソースリストA、フィルタモードINCLUDE)(参加要求メッセージ)を応答する。このReportメッセージは、レイヤ2スイッチ40のI/F部11Kで受信される。レイヤ2スイッチ40のI/F部11Kは、Reportメッセージを受信するとルータモード受信部12KにReportメッセージを転送する。   The terminal device 20K responds to the Query message from the multicast router 30 with a Report (IS_IN (A)) message (source list A, filter mode INCLUDE) (participation request message). This Report message is received by the I / F unit 11K of the layer 2 switch 40. When receiving the Report message, the I / F unit 11K of the layer 2 switch 40 transfers the Report message to the router mode receiving unit 12K.

ここで、Reportメッセージを受信した際のルータモード受信部12J〜12Lの動作について説明する。なお、ルータモード受信部12J〜12Lは同様の動作を行なうため、ここではルータモード受信部12Kの動作手順について説明する。   Here, the operation of the router mode receiving units 12J to 12L when receiving the Report message will be described. Since router mode receiving units 12J to 12L perform the same operation, the operation procedure of router mode receiving unit 12K will be described here.

図7は、実施の形態2に係るレイヤ2スイッチがReportメッセージを受信した際のルータモード受信部の動作手順を示すフローチャートである。図7では、レイヤ2スイッチ40が、IGMPv3やMLDv2などのソース指定可能なグループメンバシップ管理プロトコルのReportメッセージを受信した場合の動作手順を示している。   FIG. 7 is a flowchart showing an operation procedure of the router mode receiving unit when the layer 2 switch according to the second embodiment receives the report message. FIG. 7 shows an operation procedure when the layer 2 switch 40 receives a report message of a group membership management protocol such as IGMPv3 or MLDv2 that can be designated as a source.

ルータモード受信部12Kは、I/F部11Kを介してReportメッセージを受信すると(ステップS500)、マルチキャストテーブル記憶部13K内のマルチキャストテーブル(I/F部毎のマルチキャストテーブル)からReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS510)。   When the router mode receiving unit 12K receives the report message via the I / F unit 11K (step S500), it is included in the report message from the multicast table (multicast table for each I / F unit) in the multicast table storage unit 13K. A multicast address is searched (step S510).

マルチキャストテーブル記憶部13K内のマルチキャストテーブルに、Reportメッセージのマルチキャストアドレスに該当するエントリが存在しない場合(ステップS510、エントリなし)、ルータモード受信部12Kは、Reportメッセージに対応するマルチキャストエントリ(I/F部毎のマルチキャストエントリ)をマルチキャストテーブルに生成する(ステップS520)。具体的には、Reportメッセージ中のフィルタモードおよびソースリストをマルチキャストエントリに設定する。ここでは、I/F部11Kが端末装置20Kから初めてReportメッセージを受信しているので、I/F部11K(端末装置20K)に対応するマルチキャストエントリ(ソースリストA、フィルタモードINCLUDE)を生成する。   When there is no entry corresponding to the multicast address of the Report message in the multicast table in the multicast table storage unit 13K (step S510, no entry), the router mode receiving unit 12K determines that the multicast entry (I / F) corresponding to the Report message A multicast entry for each copy) is generated in the multicast table (step S520). Specifically, the filter mode and the source list in the Report message are set in the multicast entry. Here, since the I / F unit 11K receives the Report message for the first time from the terminal device 20K, a multicast entry (source list A, filter mode INCLUDE) corresponding to the I / F unit 11K (terminal device 20K) is generated. .

マルチキャストエントリを生成した後、ルータモード受信部12Kは、ソースタイマまたはフィルタタイマを起動する。ここでは、マルチキャストエントリにフィルタモードINCLUDEを生成しているので、ソースタイマを起動する。ここでのソースタイマは、ソースタイマ初期値をMALIとし、時間の経過とともにタイマ値を減算していく(ステップS530)。   After generating the multicast entry, the router mode receiving unit 12K starts the source timer or the filter timer. Here, since the filter mode INCLUDE is generated for the multicast entry, the source timer is started. The source timer here sets the initial value of the source timer to MALI, and subtracts the timer value as time elapses (step S530).

ルータモード受信部12Kは、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS540)。   The router mode reception unit 12K searches for the multicast address included in the Report message from the reception group management table in the reception group management table storage unit 14 (step S540).

受信グループ管理テーブル記憶部14内の受信グループ管理テーブルにマルチキャストアドレスに該当するマルチキャストアドレスエントリが存在しない場合(ステップS540、エントリなし)、ルータモード受信部12Kは、受信グループ管理テーブルに新たなエントリを生成して登録する。具体的には、受信グループ管理テーブルに新たなマルチキャストアドレスと、Reportメッセージ中のフィルタモードおよびソースリストと、宛先I/F(I/F部11K)などを設定し、受信グループ管理テーブル記憶部14に記憶させる(ステップS550)。   When there is no multicast address entry corresponding to the multicast address in the reception group management table in the reception group management table storage unit 14 (step S540, no entry), the router mode reception unit 12K adds a new entry to the reception group management table. Generate and register. Specifically, a new multicast address, a filter mode and source list in the Report message, a destination I / F (I / F unit 11K), and the like are set in the reception group management table, and the reception group management table storage unit 14 (Step S550).

ここでは、I/F部11Kが端末装置20Kから初めてReportメッセージを受信しているので、ルータモード受信部12Kは、受信グループ管理テーブルに新たなエントリを設定する。   Here, since the I / F unit 11K has received the Report message for the first time from the terminal device 20K, the router mode reception unit 12K sets a new entry in the reception group management table.

Query受信処理部15は、新たに生成したエントリに基づいて、Reportメッセージを生成する。生成したReportメッセージは、I/F部16を介してルータ接続ポートへ送信する(ステップS560)。ここでのReportメッセージは、例えばReport(TO_IN(A))としてもよいし、Report(ALLOW(A))としてもよい。   The Query reception processing unit 15 generates a Report message based on the newly generated entry. The generated Report message is transmitted to the router connection port via the I / F unit 16 (step S560). The Report message here may be, for example, Report (TO_IN (A)) or Report (ALLOW (A)).

ルータ接続ポートから送信されたReportメッセージは、レイヤ2スイッチ10のI/F部11Jに到着する。レイヤ2スイッチ10では、レイヤ2スイッチ40と同様の処理を実行し、レイヤ2スイッチ10のI/F部16(ルータ接続ポート)からReportメッセージが送信される。   The Report message transmitted from the router connection port arrives at the I / F unit 11J of the layer 2 switch 10. In the layer 2 switch 10, processing similar to that of the layer 2 switch 40 is executed, and a Report message is transmitted from the I / F unit 16 (router connection port) of the layer 2 switch 10.

レイヤ2スイッチ10のルータ接続ポートから送信されたReportメッセージは、マルチキャストルータ30に到着する。マルチキャストルータ30は、Reportメッセージに含まれるマルチキャストアドレスを宛先として、Reportメッセージで指定されたソースリストやフィルタモードで受信要求されているソースアドレスを持つマルチキャストパケットの中継を開始する。   The Report message transmitted from the router connection port of the layer 2 switch 10 arrives at the multicast router 30. The multicast router 30 starts relaying a multicast packet having the multicast address included in the Report message as a destination and having the source address specified in the Report message and the source address requested to be received in the filter mode.

レイヤ2スイッチ10は、マルチキャストルータ30からのマルチキャストパケットをI/F部16により受信すると、Query受信処理部15が受信グループ管理テーブルを参照して宛先マルチキャストアドレスに対応するエントリを抽出する。そして、エントリ内の宛先I/Fに定義されたI/F部のうち、I/F部毎のマルチキャストテーブルのソースリストやフィルタモードで受信要求されているソースアドレスとマルチキャストパケットのソースアドレスとが合致するI/F部に、マルチキャストパケットを中継する。ここでは、I/F部毎のマルチキャストテーブルとして、I/F部11K(端末装置20K)に対応するマルチキャストエントリ(ソースリストA、フィルタモードINCLUDE)が生成されている。したがって、INCLUDE(A)エントリを持つI/F部11Jにマルチキャストパケットを中継する。   In the layer 2 switch 10, when the multicast packet from the multicast router 30 is received by the I / F unit 16, the Query reception processing unit 15 refers to the reception group management table and extracts an entry corresponding to the destination multicast address. Among the I / F parts defined in the destination I / F in the entry, the source list of the multicast table for each I / F part, the source address requested for reception in the filter mode, and the source address of the multicast packet The multicast packet is relayed to the matching I / F unit. Here, a multicast entry (source list A, filter mode INCLUDE) corresponding to the I / F unit 11K (terminal device 20K) is generated as a multicast table for each I / F unit. Therefore, the multicast packet is relayed to the I / F unit 11J having the INCLUDE (A) entry.

レイヤ2スイッチ10のI/F部11Jから送られるマルチキャストパケットは、レイヤ2スイッチ40が受信する。レイヤ2スイッチ40でもレイヤ2スイッチ10と同様な処理を行ない、I/F部11Kからマルチキャストパケットが中継され、端末装置20Kにマルチキャストパケットが到着する。   The multicast packet sent from the I / F unit 11J of the layer 2 switch 10 is received by the layer 2 switch 40. The layer 2 switch 40 also performs the same processing as the layer 2 switch 10, relays the multicast packet from the I / F unit 11K, and arrives at the terminal device 20K.

このように、ソース指定に対応したMLDv2においても、ソース指定に対応していないMLDv1等と同様に、レイヤ2スイッチ40のI/F部11K以外のI/F部にはマルチキャストが中継されないので、マルチキャスト受信者の存在しないインタフェースに不要なトラヒックが中継されることはない。これにより、不要なトラヒックの中継を防ぐことができる。   Thus, even in MLDv2 corresponding to source designation, multicast is not relayed to I / F units other than the I / F unit 11K of the layer 2 switch 40, as in MLDv1 and the like not corresponding to source designation. Unnecessary traffic is not relayed to an interface where no multicast receiver exists. As a result, unnecessary traffic relaying can be prevented.

つぎに、レイヤ2スイッチ10がマルチキャスト受信者に関する情報(マルチキャストマルチキャストアドレスエントリ)を設定した後、マルチキャストルータ30が質問間隔周期で送信するGeneral QueryをI/F部16で受信した際の動作を図8を参照して説明する。   Next, after the layer 2 switch 10 sets information about the multicast receiver (multicast multicast address entry), the operation when the multicast router 30 receives the general query transmitted at the query interval period by the I / F unit 16 is illustrated. Explanation will be made with reference to FIG.

図8は、実施の形態2に係るレイヤ2スイッチがGeneral Queryメッセージを受信した際のQuery受信処理部の動作手順を示すフローチャートである。レイヤ2スイッチ10のI/F部16では、General Queryメッセージを受信すると(ステップS600)、Query受信処理部15へGeneral Queryメッセージを転送する。   FIG. 8 is a flowchart illustrating an operation procedure of the query reception processing unit when the layer 2 switch according to the second embodiment receives the general query message. When the I / F unit 16 of the layer 2 switch 10 receives the general query message (step S600), it transfers the general query message to the query reception processing unit 15.

Query受信処理部15は、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルを検索して、受信グループ管理テーブルにマルチキャストアドレスエントリが存在するか否かを確認する(ステップS610)。   The query reception processing unit 15 searches the reception group management table in the reception group management table storage unit 14 and checks whether or not a multicast address entry exists in the reception group management table (step S610).

ここでは、端末装置20Kから既にReportメッセージを受信した後であり、受信グループ管理テーブルにエントリを作成してあるので、受信グループ管理テーブルにマルチキャストマルチキャストアドレスエントリが存在することとなる。マルチキャストマルチキャストアドレスエントリが存在する場合(ステップS610、エントリあり)、Query受信処理部15は、このマルチキャストマルチキャストアドレスエントリのフィルタモード、ソースリストを用いてエントリ毎のReportメッセージを生成する。   Here, since a report message has already been received from the terminal device 20K and an entry has been created in the reception group management table, a multicast multicast address entry exists in the reception group management table. When there is a multicast multicast address entry (step S610, with entry), the Query reception processing unit 15 generates a Report message for each entry using the filter mode and source list of this multicast multicast address entry.

そして、生成したReportメッセージをルータ接続ポートから送信する。このとき、複数エントリの情報をそれぞれのアドレスレコードとして、1つのReportメッセージに格納して送信してもよい。ここでは、Query受信処理部15が、Report(IS_IN(A))メッセージを生成して、ルータ接続ポートに送信する。このとき、生成するReportメッセージパケットのソースアドレスは未定アドレスとしておく(ステップS620)。   Then, the generated Report message is transmitted from the router connection port. At this time, information of a plurality of entries may be stored as one address record and transmitted in one Report message. Here, the Query reception processing unit 15 generates a Report (IS_IN (A)) message and transmits it to the router connection port. At this time, the source address of the generated Report message packet is set as an undetermined address (step S620).

マルチキャストルータ30は、Reportメッセージのソースアドレスが未定アドレスの場合であっても、Reportメッセージを正常なメッセージとして処理するよう設定されているものとする。例えば、マルチキャストルータ30をRFC3376等の標準規格で規定しておく。   The multicast router 30 is set to process the Report message as a normal message even if the source address of the Report message is an undetermined address. For example, the multicast router 30 is defined by a standard such as RFC3376.

Reportメッセージを受信したマルチキャストルータ30は、Reportメッセージに含まれるマルチキャストアドレス、ソースリストおよびフィルタモードで指定されたマルチキャストの受信者の存在を確認し、マルチキャストの中継を継続する。   The multicast router 30 that has received the Report message confirms the presence of the multicast address specified in the multicast address, source list, and filter mode included in the Report message, and continues the multicast relay.

Query受信処理部15では、受信グループ管理テーブルを検索して、受信グループ管理テーブルに次のマルチキャストアドレスエントリ(他のマルチキャストアドレスエントリ)が存在するか否かを確認する(ステップS610)。Query受信処理部15は、受信グループ管理テーブル内の全てのマルチキャストアドレスエントリに対してステップS620の処理を行う。   The query reception processing unit 15 searches the reception group management table to check whether or not the next multicast address entry (another multicast address entry) exists in the reception group management table (step S610). The query reception processing unit 15 performs the process of step S620 on all multicast address entries in the reception group management table.

受信グループ管理テーブル内の全てのマルチキャストアドレスエントリに対してステップS620の処理を行うと、受信グループ管理テーブル内に残っているマルチキャストアドレスエントリが存在しないと判断する(ステップS610、エントリなし)。そして、I/F部16が受信したGeneral Queryメッセージを、I/F部16以外の各I/F部11J〜11Lを介して、端末装置20J〜20L側の全ポートに中継する(ステップS630)。   When the processing of step S620 is performed on all multicast address entries in the reception group management table, it is determined that there are no remaining multicast address entries in the reception group management table (step S610, no entry). Then, the general query message received by the I / F unit 16 is relayed to all the ports on the terminal devices 20J to 20L via the I / F units 11J to 11L other than the I / F unit 16 (step S630). .

なお、レイヤ2スイッチ10が、端末装置からGeneral Queryメッセージに対するReportメッセージを受信して、端末装置のマルチキャストマルチキャストアドレスエントリを生成するまでは、受信グループ管理テーブルにマルチキャストアドレスエントリが存在しない(ステップS610、エントリなし)。このため、端末装置からReportメッセージを受信するまでは、マルチキャストルータ30にReportメッセージを作成することなく、各I/F部からGeneral Queryメッセージを中継する(ステップS630)。   Note that there is no multicast address entry in the reception group management table until the layer 2 switch 10 receives a report message for the general query message from the terminal device and generates a multicast multicast address entry for the terminal device (step S610, No entry). For this reason, until receiving the Report message from the terminal device, the General Query message is relayed from each I / F unit without creating a Report message in the multicast router 30 (step S630).

レイヤ2スイッチ10が中継したGeneral Queryメッセージは、レイヤ2スイッチ40で受信され、レイヤ2スイッチ40においてもレイヤ2スイッチ10と同様な処理(各I/F部へのQueryの中継)が行なわれる。   The general query message relayed by the layer 2 switch 10 is received by the layer 2 switch 40, and the layer 2 switch 40 also performs the same processing as the layer 2 switch 10 (relay of queries to each I / F unit).

レイヤ2スイッチ40が各I/F部11J〜11Lに対してGeneral Queryメッセージを中継した結果、マルチキャスト受信者(端末装置)が存在すれば、中継されたGeneral Queryメッセージに対してマルチキャスト受信者からReportメッセージが返答される。   If the layer 2 switch 40 relays the general query message to each of the I / F units 11J to 11L, and there is a multicast receiver (terminal device), the multicast receiver reports to the relayed general query message. The message is replied.

ここでは、I/F部11Kの先にマルチキャスト受信者である端末装置20Kが存在するので、中継されたGeneral Queryメッセージに対して端末装置20KからReportメッセージが返答される。この端末装置20KからのReportメッセージは、レイヤ2スイッチ40のI/F部11Kで受信され、ルータモード受信部12Kに転送される。   Here, since the terminal device 20K which is a multicast receiver exists ahead of the I / F unit 11K, a Report message is returned from the terminal device 20K to the relayed General Query message. The Report message from the terminal device 20K is received by the I / F unit 11K of the layer 2 switch 40 and transferred to the router mode receiving unit 12K.

ここで、マルチキャストアドレスのエントリをマルチキャストテーブルに設定した後にルータモード受信部12KがReportメッセージを受信した際の動作手順を図7を参照して説明する。   Here, the operation procedure when the router mode receiving unit 12K receives the Report message after setting the multicast address entry in the multicast table will be described with reference to FIG.

ルータモード受信部12Kは、I/F部11Kを介してReportメッセージを受信すると(ステップS500)、マルチキャストテーブル記憶部13K内のマルチキャストテーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS510)。   When receiving the Report message via the I / F unit 11K (Step S500), the router mode receiving unit 12K searches the multicast table in the multicast table storage unit 13K for the multicast address included in the Report message (Step S510).

マルチキャストテーブル記憶部13K内のマルチキャストテーブルにマルチキャストアドレスに該当するエントリが存在する場合(ステップS510、エントリあり)、ルータモード受信部12Kは、新たなフィルタモードおよびソースリストの更新処理を行なう。具体的には、エントリのフィルタモードおよびソースリストと、メッセージのフィルタモードおよびソースリストとに基づいて、新たなフィルタモードおよびソースリストを抽出し、新たなフィルタモードおよびソースリストとしてマルチキャストテーブルに登録する。そして、フィルタモードとソースリストとの組み合わせに応じた処理(例えば、Reportメッセージの送信処理など)を行なう。ここでのルータモード受信部12Kは、例えば、後述するエントリ情報101,102に基づいて、エントリの更新処理とルータ接続ポートからのReportメッセージ送信を行なう(ステップS570)。   If there is an entry corresponding to the multicast address in the multicast table in the multicast table storage unit 13K (step S510, entry is present), the router mode reception unit 12K performs a new filter mode and source list update process. Specifically, a new filter mode and source list are extracted based on the filter mode and source list of the entry and the filter mode and source list of the message, and are registered in the multicast table as the new filter mode and source list. . Then, processing corresponding to the combination of the filter mode and the source list (for example, report message transmission processing) is performed. Here, the router mode receiving unit 12K performs, for example, entry update processing and report message transmission from the router connection port based on entry information 101 and 102 described later (step S570).

ここでフィルタモードとソースリストとの組み合わせに基づいた、エントリの更新処理とルータ接続ポートから送信するReportメッセージの内容について説明する。図9および図10は、ルータモード受信部のマルチキャストエントリ状態とルータ接続ポートから送信するメッセージの関係を示す図である。図9,10のエントリ情報101,102では、ルータモード受信部12J〜12Lのマルチキャストエントリの状態に応じて、受信したReportメッセージの内容により更新するI/F部毎のマルチキャストテーブルエントリの管理内容と、ルータ接続ポートから送信するReportメッセージの内容と、をそれぞれ対応付けている。   Here, the update process of the entry based on the combination of the filter mode and the source list and the content of the Report message transmitted from the router connection port will be described. 9 and 10 are diagrams showing the relationship between the multicast entry state of the router mode receiving unit and the message transmitted from the router connection port. In the entry information 101 and 102 of FIGS. 9 and 10, the management contents of the multicast table entry for each I / F unit to be updated according to the content of the received Report message according to the state of the multicast entry of the router mode receiving units 12J to 12L. The contents of the Report message transmitted from the router connection port are associated with each other.

エントリ情報101,102では、「Router State」を示す列91、「Router Receiver」を示す列92、「New Router State」を示す列93、「Router Mode Action」を示す列94、「Host Mode Action」を示す列95がそれぞれ対応付けられている。   In the entry information 101 and 102, a column 91 indicating "Router State", a column 92 indicating "Router Receiver", a column 93 indicating "New Router State", a column 94 indicating "Router Mode Action", and "Host Mode Action" Are associated with each other.

列91は、Reportメッセージ受信前のI/F部毎のマルチキャストエントリの状態を表している。INCLUDEモードにおける括弧内は、ソースリストを表している。EXCLUDEモードにおける括弧内の第1項は要求ソースのリストを表しており、第2項は除外ソースのリストを表している。列92は、I/F部11J〜11Lで受信するReportメッセージの内容を示している。括弧内は、ソースリストを表している。   A column 91 represents the state of the multicast entry for each I / F part before receiving the Report message. The parentheses in the INCLUDE mode represent the source list. In the EXCLUDE mode, the first item in parentheses represents a list of request sources, and the second item represents a list of exclusion sources. A column 92 shows the contents of the Report message received by the I / F units 11J to 11L. The source list is shown in parentheses.

列93は、Reportメッセージを受信したことによる新たなエントリ状態(エントリの更新内容)を表している。ソースリスト(括弧内)における「+」演算子は和集合を示し、「−」演算子は差集合を示し、「*」演算子は積集合を示している。   A column 93 represents a new entry state (entry update contents) due to reception of the Report message. The “+” operator in the source list (in parentheses) indicates a union, the “−” operator indicates a difference set, and the “*” operator indicates a product set.

列94は、Reportメッセージを受信したことによるルータモード受信部12J〜12Lの動作を表している。「(A)=T(時間)」は、ソースリストAのソースタイマをTに更新することを表している。「Delete(A)」は、ソースリストAを削除することを表している。「Filter Timer=T」は、フィルタタイマをTに更新することを表している。   A column 94 represents the operation of the router mode receiving units 12J to 12L due to reception of the Report message. “(A) = T (time)” represents that the source timer of the source list A is updated to T. “Delete (A)” indicates that the source list A is deleted. “Filter Timer = T” indicates that the filter timer is updated to T.

本発明の特徴の1つである列95は、Reportメッセージを受信した際に、ルータ接続ポートへ送信すべき情報(マルチキャストルータ30に対する動作)を示している。「Report(TYPE(A))」は、レコードタイプが「TYPE」、ソースリストAのReportメッセージをルータ接続ポートへ送信することを表している。例えば、「Report(BLOCK(A))」の場合は、レコードタイプが「BLOCK」、ソースリストAのReportメッセージをルータ接続ポートへ送信することを表している。   A column 95, which is one of the features of the present invention, indicates information (operation for the multicast router 30) to be transmitted to the router connection port when the Report message is received. “Report (TYPE (A))” indicates that the report type is “TYPE” and the report message of the source list A is transmitted to the router connection port. For example, “Report (BLOCK (A))” indicates that the record type is “BLOCK” and the report message of the source list A is transmitted to the router connection port.

本実施の形態では、INCLUDE(A)のエントリを持っているときに、IS_IN(A)を受信している。図10のエントリ情報102(009)に示すように、INCLUDE(A)のエントリを持っているときに、IS_IN(B)を受信すると、新たなエントリ状態はINCLUDE(A+B)なるので、INCLUDE(A)のエントリを持っているときに、IS_IN(A)を受信すると、新たなエントリ状態は、INCLUDE(A+A)となる。すなわち、新たなエントリ状態は、INCLUDE(A)となる。そして、ルータモード受信部12Kの動作は、(A)=MALIへの更新であるので、ソースリストAのソースタイマをMALIに更新する。   In this embodiment, IS_IN (A) is received when an entry of INCLUDE (A) is held. As shown in the entry information 102 (009) of FIG. 10, when IS_IN (B) is received when the entry has INCLUDE (A), the new entry state becomes INCLUDE (A + B). ) And IS_IN (A) is received, the new entry state becomes INCLUDE (A + A). That is, the new entry state is INCLUDE (A). Since the operation of the router mode receiving unit 12K is (A) = update to MALI, the source timer of the source list A is updated to MALI.

なお、ここでは「Host Mode Action」を示す列95が設定されていないため、マルチキャストルータ30へのReportメッセージの送信処理は行なわない。   Here, since the column 95 indicating “Host Mode Action” is not set, the transmission process of the Report message to the multicast router 30 is not performed.

ルータモード受信部12Kが、I/F部毎のマルチキャストテーブルにおいてフィルタモードおよびソースリストの更新処理を行なった後、Query受信処理部15は受信グループ管理テーブルのマルチキャストアドレスエントリの更新を行なう(ステップS580)。具体的には、I/F部11Kの更新エントリ内容と他のI/F部のエントリ内容に基づいて、ソースリスト、フィルタモード、宛先I/Fの情報を再計算する。   After the router mode reception unit 12K performs the filter mode and source list update processing in the multicast table for each I / F unit, the Query reception processing unit 15 updates the multicast address entry in the reception group management table (step S580). ). Specifically, the information of the source list, filter mode, and destination I / F is recalculated based on the update entry contents of the I / F unit 11K and the entry contents of other I / F units.

宛先I/Fの情報の再計算においては、例えばRFC3810の4.2節等に記載されたインタフェース毎の状態の管理方法などを用いる。すなわちQuery受信処理部15は、EXCLUDEモードの宛先I/Fが1つでも存在すれば、再計算後のモードはEXCLUDEとする。そして、全てのEXCLUDEモードの宛先I/Fのソースリストの共通項から、INCLUDEモードの宛先I/Fのソースリストを除外したものをソースリストとする。また、全ての宛先I/FがINCLUDEモードである場合、再計算後のモードはINCLUDEモードとし、全ての宛先I/Fのソースリストの和を再計算後のソースリストとする。   In the recalculation of the destination I / F information, for example, the state management method for each interface described in section 4.2 of RFC3810 is used. That is, if there is at least one destination I / F in the EXCLUDE mode, the Query reception processing unit 15 sets the recalculated mode to EXCLUDE. A source list is obtained by excluding the source list of the destination I / F in the INCLUDE mode from the common items of the source lists of the destination I / F in all the EXCLUDE modes. When all destination I / Fs are in INCLUDE mode, the mode after recalculation is INCLUDE mode, and the sum of the source lists of all destination I / Fs is the source list after recalculation.

そして、更新前後のフィルタモード、ソースリストを比較して変化があった場合、または、更新前後の各宛先I/Fのマルチキャストエントリのソースタイマ値の最大値を比較して更新前後でLLQT以下の値のソースタイマ値がMALIに更新された場合は、変化の内容に応じたReportメッセージを生成し、ルータ接続ポートに送信する(ステップS590)。   Then, when there is a change by comparing the filter mode and source list before and after the update, or by comparing the maximum value of the source timer value of the multicast entry of each destination I / F before and after the update, the LLQT or less before and after the update When the source timer value of the value is updated to MALI, a Report message corresponding to the content of the change is generated and transmitted to the router connection port (step S590).

具体的には、フィルタモードがINCLUDEモードからEXCLUDEモードに変更された場合は、TO_EXタイプのReportメッセージを生成し、EXCLUDEモードからINCLUDEモードに変更された場合は、TO_INタイプのReportメッセージを生成する。   Specifically, when the filter mode is changed from the INCLUDE mode to the EXCLUDE mode, a TO_EX type report message is generated, and when the filter mode is changed from the EXCLUDE mode to the INCLUDE mode, a TO_IN type report message is generated.

また、INCLUDEモードのソースリストが変更された場合は、追加されたソースリストについてALLOWタイプのReportメッセージを生成し、削除されたソースリストについてBLOCKタイプのReportメッセージを生成する。   When the INCLUDE mode source list is changed, an ALLOW type report message is generated for the added source list, and a BLOCK type report message is generated for the deleted source list.

また、EXCLUDEモードのソースリストが変更された場合は、追加されたソースリストについてBLOCKタイプのReportメッセージを生成し、削除されたソースリストについてALLOWタイプのReportメッセージを生成する。   When the EXCLUDE mode source list is changed, a BLOCK type report message is generated for the added source list, and an ALLOW type report message is generated for the deleted source list.

また、受信I/F部の中で最大のソースタイマ値がLLQT以下からLLQTよりも大きな値に更新された場合は、当該ソースリストを指定したALLOWタイプのReportメッセージを生成する。   When the maximum source timer value in the reception I / F unit is updated from LLQT or less to a value larger than LLQT, an ALLOW type Report message specifying the source list is generated.

なお、メッセージ数を削減するために、Query受信からMaximum Response Delay時間以内の受信グループ管理テーブルエントリの更新情報をまとめてReportメッセージを生成してもよい。これにより、複数メッセージを集約してReportメッセージを生成できる。   In order to reduce the number of messages, a report message may be generated by collecting update information of reception group management table entries within the Maximum Response Delay time from receiving the Query. Thereby, a plurality of messages can be aggregated to generate a Report message.

また、レイヤ2スイッチが複数段接続していることを考慮して、レイヤ2スイッチ間の中継遅延時間を差し引いて、Maximum Response Delayよりも小さな時間以内での更新情報をまとめてもよい。   In consideration of the fact that the layer 2 switches are connected in a plurality of stages, the update information within a time smaller than the maximum response delay may be collected by subtracting the relay delay time between the layer 2 switches.

ここでは、受信グループ管理テーブルエントリのエントリタイマおよびソースタイマ値はLLQTより大きい値となっており、フィルタモードの変更やソースリストの変更もないため、受信グループ管理テーブルエントリの更新を契機としてReportの送信を行なうことはない。   Here, the entry timer and source timer values of the reception group management table entry are larger than LLQT, and there is no change in the filter mode or the source list. Therefore, when the reception group management table entry is updated, the Report There is no transmission.

なお、レイヤ2スイッチ40が、General Query受信時の処理としてルータ接続ポートであるI/F部16からReport(IS_IN(A))メッセージを送信すると、このReport(IS_IN(A))メッセージは、レイヤ2スイッチ10によって受信される。レイヤ2スイッチ10は、レイヤ2スイッチ40と同様に、I/F部毎のマルチキャストエントリのソースタイマ値をMALIに更新するのみで、マルチキャストルータ30へReportメッセージは送信しない。受信者が継続的にマルチキャストに参加している状態では、上記の動作(図7,8に示した動作)が定期的に実行される。   When the Layer 2 switch 40 transmits a Report (IS_IN (A)) message from the I / F unit 16 that is a router connection port as a process at the time of receiving a general query, the Report (IS_IN (A)) message 2 is received by the switch 10. Similar to the layer 2 switch 40, the layer 2 switch 10 only updates the source timer value of the multicast entry for each I / F unit to MALI, and does not transmit a report message to the multicast router 30. In a state where the receiver is continuously participating in the multicast, the above operation (the operation shown in FIGS. 7 and 8) is periodically executed.

つぎに、通信ネットワーク1に受信者が追加された場合について説明する。ここでは、受信者として端末装置20Lが追加された場合について説明する。図11は、実施の形態2の通信ネットワークに受信者が追加された場合のデータ中継を説明するための図である。   Next, a case where a recipient is added to the communication network 1 will be described. Here, a case where the terminal device 20L is added as a receiver will be described. FIG. 11 is a diagram for explaining data relay when a recipient is added to the communication network according to the second embodiment.

ここでは、端末装置20Kとマルチキャストルータ30の間のデータ中継に加えて、端末装置20Lとマルチキャストルータ30の間のデータ中継が行なわれている場合を示している。具体的には、図6のデータ中継に加えて、端末装置20LからのReportメッセージ32が、レイヤ2スイッチ10で中継されてマルチキャストルータ30に送られている。また、マルチキャストルータ30からのマルチキャストデータパケット35が、レイヤ2スイッチ10で中継されて端末装置20Lに送られている。   Here, a case where data relay between the terminal device 20L and the multicast router 30 is performed in addition to data relay between the terminal device 20K and the multicast router 30 is shown. Specifically, in addition to the data relay of FIG. 6, a Report message 32 from the terminal device 20 </ b> L is relayed by the layer 2 switch 10 and sent to the multicast router 30. A multicast data packet 35 from the multicast router 30 is relayed by the layer 2 switch 10 and sent to the terminal device 20L.

端末装置20Lは、マルチキャストに参加するため、Reportメッセージ32として例えばReport(TO_IN(B))メッセージなどを送信する。レイヤ2スイッチ10のI/F部11Lは、端末装置20LからのReportメッセージ32を受信し、ルータモード受信部12Lにメッセージを転送する。   In order to participate in the multicast, the terminal device 20L transmits, for example, a Report (TO_IN (B)) message as the Report message 32. The I / F unit 11L of the layer 2 switch 10 receives the Report message 32 from the terminal device 20L, and transfers the message to the router mode receiving unit 12L.

ここで、マルチキャストに参加するためのReportメッセージ32を受信した際のルータモード受信部12Lの動作手順を図7を参照して説明する。レイヤ2スイッチ10のルータモード受信部12Lは、I/F部11Lを介してReportメッセージを受信すると(ステップS500)、マルチキャストテーブル記憶部13L内のマルチキャストテーブル(I/F部毎のマルチキャストテーブル)からReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS510)。   Here, the operation procedure of the router mode receiving unit 12L when receiving the Report message 32 for participating in the multicast will be described with reference to FIG. When the router mode receiving unit 12L of the layer 2 switch 10 receives the Report message via the I / F unit 11L (step S500), the router mode receiving unit 12L uses the multicast table (multicast table for each I / F unit) in the multicast table storage unit 13L. A multicast address included in the Report message is searched (step S510).

マルチキャストテーブル記憶部13L内のマルチキャストテーブルに、Reportメッセージのマルチキャストアドレスに該当するエントリが存在しない場合(ステップS510、エントリなし)、ルータモード受信部12Lは、Reportメッセージに対応するマルチキャストエントリ(I/F部毎のマルチキャストエントリ)をマルチキャストテーブルに生成する(ステップS520)。具体的には、Reportメッセージ中のフィルタモードおよびソースリストをマルチキャストエントリに設定する。ここでは、I/F部11Lが端末装置20Lから初めてReportメッセージを受信しているので、I/F部11L(端末装置20L)に対応するマルチキャストエントリ(ソースリストA、フィルタモードINCLUDE)を生成する。   If there is no entry corresponding to the multicast address of the Report message in the multicast table in the multicast table storage unit 13L (step S510, no entry), the router mode receiving unit 12L determines that the multicast entry (I / F) corresponding to the Report message A multicast entry for each copy) is generated in the multicast table (step S520). Specifically, the filter mode and the source list in the Report message are set in the multicast entry. Here, since the I / F unit 11L receives the Report message for the first time from the terminal device 20L, a multicast entry (source list A, filter mode INCLUDE) corresponding to the I / F unit 11L (terminal device 20L) is generated. .

マルチキャストエントリを生成した後、ルータモード受信部12Lは、ソースタイマを起動する(ステップS530)。ここでのソースタイマは、ソースタイマ初期値をMALIとし、時間の経過とともにタイマ値を減算していく(ステップS530)。   After generating the multicast entry, the router mode receiving unit 12L starts the source timer (step S530). The source timer here sets the initial value of the source timer to MALI, and subtracts the timer value as time elapses (step S530).

ルータモード受信部12Lは、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS540)。   The router mode reception unit 12L searches for the multicast address included in the Report message from the reception group management table in the reception group management table storage unit 14 (step S540).

ここでは、既に端末装置20Kのマルチキャストアドレスが受信グループ管理テーブルに登録されているので、受信グループ管理テーブルにマルチキャストアドレスに該当するエントリが存在している。受信グループ管理テーブル記憶部14内の受信グループ管理テーブルにマルチキャストアドレスに該当するエントリが存在する場合(ステップS540、エントリあり)、受信グループ管理テーブルのマルチキャストアドレスエントリの更新を行なう(ステップS580)。具体的には、I/F部11Lの更新エントリ内容と他のI/F部のエントリ内容に基づいて、ソースリスト、フィルタモード、宛先I/Fの情報を再計算する。   Here, since the multicast address of the terminal device 20K is already registered in the reception group management table, an entry corresponding to the multicast address exists in the reception group management table. If there is an entry corresponding to the multicast address in the reception group management table in the reception group management table storage unit 14 (step S540, there is an entry), the multicast address entry in the reception group management table is updated (step S580). Specifically, the information of the source list, the filter mode, and the destination I / F is recalculated based on the update entry content of the I / F unit 11L and the entry content of the other I / F unit.

そして、Query受信処理部15は、Reportメッセージの送信が必要か否かを判断し、必要に応じてReportメッセージを生成する。ここでのレイヤ2スイッチ10は、受信グループ管理テーブルのマルチキャストアドレスエントリとして、対象のマルチキャストアドレス、フィルタモードINCLUDE、ソースリスト(A)、宛先I/F(I/F部11J)のエントリを有している。したがって、I/F部11LからReport(TO_IN(B))メッセージを受信すると、Query受信処理部15がエントリ情報101に基づいて、マルチキャストアドレスエントリのソースリストを(A+B)に更新し、宛先I/Fの情報にI/F部11Lを追加する。   Then, the Query reception processing unit 15 determines whether it is necessary to transmit a Report message, and generates a Report message as necessary. The layer 2 switch 10 here has entries of the target multicast address, filter mode INCLUDE, source list (A), and destination I / F (I / F unit 11J) as multicast address entries in the reception group management table. ing. Accordingly, when a Report (TO_IN (B)) message is received from the I / F unit 11L, the Query reception processing unit 15 updates the source list of the multicast address entry to (A + B) based on the entry information 101, and the destination I / F The I / F unit 11L is added to the information of F.

ソースリスト(A)の範囲のソースタイマはLLQTよりも大きな値であるが、ソースリスト(B−A)の範囲は新たに追加されたソースリストであるため、ソースリスト(B−A)についてALLOWタイプのReportメッセージを生成し、ルータ接続ポートへ送信する(ステップS590)。   The source timer in the range of the source list (A) is larger than LLQT, but the range of the source list (BA) is a newly added source list. A Type Report message is generated and transmitted to the router connection port (step S590).

このReportメッセージは、マルチキャストルータ30に到着する。マルチキャストルータ30は、ソースリスト(B−A)をソースリストに追加し、ソースリスト(B−A)の範囲のマルチキャストの中継を開始する。   This Report message arrives at the multicast router 30. The multicast router 30 adds the source list (B-A) to the source list, and starts relaying multicast in the range of the source list (B-A).

つぎに、受信者が明示的にBLOCKタイプのReportメッセージを送信して一部のソースリストを変更する場合の処理について説明する。例えば、端末装置20Kは、INCLUDEモードで参加中のマルチキャストのソースリストAからソースリストCを除外するため、BLOCK(C)を指定したReportメッセージを送信する。   Next, processing when the recipient explicitly sends a BLOCK type Report message to change a part of the source list will be described. For example, the terminal device 20K transmits a Report message specifying BLOCK (C) in order to exclude the source list C from the multicast source list A participating in the INCLUDE mode.

レイヤ2スイッチ40のI/F部11Kは、端末装置20KからのReportメッセージを受信すると、ルータモード受信部12Kに転送する。ルータモード受信部12Kは、I/F部11Kのマルチキャストテーブルの対応エントリに対して、エントリ情報101,102に基づいた処理を行なう。ここでは、INCLUDE(A)状態でBLOCK(C)を受信するため、ソースリスト(A*C)のソースタイマをLLQTに短縮し、ルータ接続ポートからReport(BLOCK(C))を送信する(図9の002)。ここでのReportメッセージは、BLOCKメッセージ内のソースリスト全体Cを対象として上流側へBLOCKメッセージを送信される。   Upon receiving the Report message from the terminal device 20K, the I / F unit 11K of the layer 2 switch 40 transfers the report message to the router mode receiving unit 12K. The router mode receiving unit 12K performs processing based on the entry information 101 and 102 for the corresponding entry in the multicast table of the I / F unit 11K. Here, in order to receive BLOCK (C) in the INCLUDE (A) state, the source timer of the source list (A * C) is shortened to LLQT, and Report (BLOCK (C)) is transmitted from the router connection port (FIG. 9 002). The Report message here is transmitted to the upstream side for the entire source list C in the BLOCK message.

また、受信グループ管理テーブルの該当エントリについては、Query受信処理部15が、他のI/F部で有する同一のマルチキャストグループアドレスのエントリのソースリストを抽出する。このソースリストのうち、ソースタイマ値がLLQTより大きなソースをソースリストCから除外し、LLQTより大きなソースが除外されたソースリストCに対して、ソースタイマ値をLLQTに更新する。ここでは、他のI/F部でマルチキャストエントリを有していないため、ソースリストCの全体について、ソースタイマ値をLLQTに更新する。   For the corresponding entry in the reception group management table, the Query reception processing unit 15 extracts the source list of the entries of the same multicast group address that other I / F units have. In this source list, a source whose source timer value is larger than LLQT is excluded from the source list C, and the source timer value is updated to LLQT for the source list C from which a source larger than LLQT is excluded. Here, since the other I / F unit does not have a multicast entry, the source timer value is updated to LLQT for the entire source list C.

ルータ接続ポートから送信されたReport(BLOCK(C))メッセージは、レイヤ2スイッチ10に到着してルータモード受信部12Jに転送される。、このメッセージを受けたルータモード受信部12Jは、エントリ情報101,102に従った処理を行なう。   The Report (BLOCK (C)) message transmitted from the router connection port arrives at the layer 2 switch 10 and is transferred to the router mode receiving unit 12J. Upon receiving this message, the router mode receiving unit 12J performs processing according to the entry information 101 and 102.

ここでは、INCLUDE(A)状態でBLOCK(C)を受信するため、ルータモード受信部12Jは、ソースリスト(A*C)のソースタイマをLLQTに短縮し、ルータ接続ポートからReport(BLOCK(C))メッセージ(受信したBLOCKメッセージに含まれるソースリスト全体)を送信する。また、Query受信処理部15は、受信グループ管理テーブルの該当エントリの更新を行なう。   Here, in order to receive BLOCK (C) in the INCLUDE (A) state, the router mode receiving unit 12J shortens the source timer of the source list (A * C) to LLQT, and reports from the router connection port to Report (BLOCK (CLOCK )) Send a message (the entire source list included in the received BLOCK message). Further, the Query reception processing unit 15 updates the corresponding entry in the reception group management table.

ここでのレイヤ2スイッチ10は、受信グループ管理テーブルエントリとして、対象のマルチキャストアドレス、フィルタモードINCLUDE,ソースリスト(A+B)のエントリを有している。I/F部11JからReport(BLOCK(C))メッセージを受信しても、I/F部11Lのソースリストは変化しない。このため、受信グループ管理テーブルエントリの内容の変化をトリガとしたReport送信は行なわない。   The layer 2 switch 10 here has entries of the target multicast address, filter mode INCLUDE, and source list (A + B) as reception group management table entries. Even when a Report (BLOCK (C)) message is received from the I / F unit 11J, the source list of the I / F unit 11L does not change. For this reason, Report transmission triggered by a change in the contents of the reception group management table entry is not performed.

レイヤ2スイッチ10のルータ接続ポートから送信されたReportメッセージは、マルチキャストルータ30に到着する。マルチキャストルータ30は、Reportメッセージ内で示されたマルチキャストグループアドレスのソースリストに対して、ソースタイマをLLQTに更新し、Multicast Address and Source Specific Queryメッセージを送信する。レイヤ2スイッチ10のI/F部16では、マルチキャストルータ30からのSpecific Queryメッセージを受信すると、Query受信処理部15へ送信する。   The Report message transmitted from the router connection port of the layer 2 switch 10 arrives at the multicast router 30. The multicast router 30 updates the source timer to LLQT with respect to the source list of the multicast group address indicated in the Report message, and transmits a Multicast Address and Source Specific Query message. When the I / F unit 16 of the layer 2 switch 10 receives the Specific Query message from the multicast router 30, the I / F unit 16 transmits the message to the Query reception processing unit 15.

ここで、Query受信処理部15がSpecific Queryメッセージを受信した際の処理について説明する。図12は、実施の形態2に係るレイヤ2スイッチがSpecific Queryメッセージを受信した際のQuery受信処理部の動作手順を示すフローチャートである。   Here, a process when the Query reception processing unit 15 receives a Specific Query message will be described. FIG. 12 is a flowchart illustrating an operation procedure of the query reception processing unit when the layer 2 switch according to the second embodiment receives the specific query message.

図12では、レイヤ2スイッチ10がIGMPv3やMLDv2などのソース指定可能なグループメンバシップ管理プロトコルのソース指定を含むSpeicific Queryメッセージを受信した場合の動作手順を示している。   FIG. 12 shows an operation procedure when the layer 2 switch 10 receives a specific query message including source designation of a group membership management protocol such as IGMPv3 or MLDv2 that can be designated as a source.

レイヤ2スイッチ10のI/F部16では、Specific Queryメッセージを受信すると(ステップS700)、Query受信処理部15へSpecific Queryメッセージを転送する。   When receiving the Specific Query message (step S700), the I / F unit 16 of the layer 2 switch 10 transfers the Specific Query message to the Query reception processing unit 15.

Query受信処理部15は、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルを検索する。Query受信処理部15は、受信グループ管理テーブルにSpecific Queryメッセージで指示されたマルチキャストグループアドレスに対応するマルチキャストアドレスエントリが存在するか否かを確認する(ステップS710)。   The query reception processing unit 15 searches the reception group management table in the reception group management table storage unit 14. The Query reception processing unit 15 checks whether or not there is a multicast address entry corresponding to the multicast group address indicated by the Specific Query message in the reception group management table (Step S710).

受信グループ管理テーブルにSpecific Queryメッセージで指示されたマルチキャストグループアドレスのマルチキャストアドレスエントリが存在する場合(ステップS710、エントリあり)、Query受信処理部15がマルチキャストアドレスエントリの宛先I/FのそれぞれについてI/F部毎のマルチキャストアドレスエントリを確認する。そして、Specific Queryメッセージで指定されたソースリストに含まれるソースであって、ソースアドレスのソースタイマ値がLLQTより大きなソースを抽出する(ステップS720)。そして、抽出したソースをソースリストにまとめ、1つのIS_INタイプのReportメッセージを生成してルータ接続ポートから送信する(ステップS730)。   When there is a multicast address entry of the multicast group address indicated by the Specific Query message in the reception group management table (step S710, there is an entry), the Query reception processing unit 15 performs I / F for each destination I / F of the multicast address entry. Check the multicast address entry for each part F. Then, a source that is included in the source list specified by the Specific Query message and has a source address whose source timer value is larger than LLQT is extracted (step S720). Then, the extracted sources are collected in a source list, and one IS_IN type Report message is generated and transmitted from the router connection port (step S730).

I/F部11Jのエントリは、INCLUDE(A)、LLQT以下の値を示すソースタイマ(A*C)であり、I/F部11LのエントリはINCLUDE(B)、LLQTよりも大きな値を示すソースタイマ(B)である。従って、ここでのQuery受信処理部15は、ソースリスト(B*C)は必要であるので、Report(IS_IN(B*C))メッセージを生成してルータ接続ポートから送信する。   The entry of the I / F unit 11J is a source timer (A * C) indicating a value equal to or less than INCLUDE (A), LLQT, and the entry of the I / F unit 11L indicates a value larger than INCLUDE (B), LLQT. Source timer (B). Accordingly, the Query reception processing unit 15 here needs the source list (B * C), and therefore generates a Report (IS_IN (B * C)) message and transmits it from the router connection port.

また、Query受信処理部15は、各宛先I/Fからソースタイマ値LLQT以下のソースリストメンバを持つI/F部を抽出する。そして抽出したそれぞれのI/F部に対してSpecific Queryメッセージを中継する(ステップS740)。   Further, the Query reception processing unit 15 extracts an I / F unit having a source list member equal to or less than the source timer value LLQT from each destination I / F. Then, the Specific Query message is relayed to each extracted I / F unit (step S740).

ここでのQuery受信処理部15は、I/F部11Jのソースタイマ(A*C)がLLQT以下となっているため、I/F部11JにQueryメッセージの中継を行なう。I/F部11Lのソースタイマ(B)はLLQTより大きな値のため、I/F部11LへはQueryメッセージの中継を行なわない。   The Query reception processing unit 15 here relays the Query message to the I / F unit 11J because the source timer (A * C) of the I / F unit 11J is equal to or less than LLQT. Since the source timer (B) of the I / F unit 11L is larger than LLQT, the Query message is not relayed to the I / F unit 11L.

Query受信処理部15によって中継されたSpecific Queryメッセージは、レイヤ2スイッチ40に到着する。レイヤ2スイッチ40でもレイヤ2スイッチ10と同様な処理が行なわれる。ここでは、ソースタイマ(A*C)がLLQT以下であるI/F部11KにSpecific Queryメッセージを中継する。また、Specific Queryで指定されているソースリスト(C)の範囲は全てソースタイマ値がLLQT以下となっているため、レイヤ2スイッチ40ではルータ接続ポートへのReportメッセージの送信を行なわない。   The Specific Query message relayed by the Query reception processing unit 15 arrives at the layer 2 switch 40. The layer 2 switch 40 performs the same processing as the layer 2 switch 10. Here, the Specific Query message is relayed to the I / F unit 11K whose source timer (A * C) is LLQT or less. In addition, since the source timer value is all equal to or less than LLQT in the range of the source list (C) specified by the specific query, the layer 2 switch 40 does not transmit a report message to the router connection port.

このように、指定されたマルチキャストアドレスのエントリを持たないI/F部(レイヤ2スイッチ40のI/F部11J)や、全てのソースタイマ値がLLQTよりも大きなI/F部(レイヤ2スイッチ10のI/F部11L)にはSpecific Queryメッセージを中継しないこととなる。   In this way, the I / F unit (I / F unit 11J of the layer 2 switch 40) that does not have an entry for the designated multicast address, or the I / F unit (layer 2 switch in which all source timer values are larger than LLQT). Therefore, the specific query message is not relayed to the 10 I / F unit 11L).

また、Specific Queryメッセージを中継したI/F部11Kの先に受信者が存在しなければSpecific Queryメッセージに対してReportメッセージが応答されることはない。この場合、I/F部毎のマルチキャストテーブルのエントリのソースタイマが満了するのでソースリスト(A*C)を削除する。そして、受信グループ管理テーブルエントリの更新を行ない、ソースリストを(A−C)に更新する。これにより、レイヤ2スイッチ40ではソースリスト(A−C)以外のソースアドレスからのマルチキャストパケットの中継を停止する。   Also, if there is no receiver ahead of the I / F unit 11K that relayed the specific query message, the report message is not responded to the specific query message. In this case, since the source timer of the multicast table entry for each I / F part expires, the source list (A * C) is deleted. Then, the reception group management table entry is updated, and the source list is updated to (AC). As a result, the layer 2 switch 40 stops relaying multicast packets from source addresses other than the source list (AC).

また、レイヤ2スイッチ10においても、Reportメッセージの未受信によってソースタイマがタイムアウトし、I/F部毎のマルチキャストテーブル(I/F部11Jのマルチキャストテーブル)のエントリからソースリスト(A*C)のソースを削除する。そして、受信グループ管理テーブルエントリの更新を行ない、ソースリストを(B+(A−C))に更新する。これにより、レイヤ2スイッチ10ではソースリスト(A*C)に対応するソースアドレスからのマルチキャストパケットの中継を停止する。   In the layer 2 switch 10 as well, the source timer times out due to the non-reception of the Report message, and from the entry of the multicast table for each I / F unit (the multicast table of the I / F unit 11J), Delete the source. Then, the reception group management table entry is updated, and the source list is updated to (B + (AC)). As a result, the layer 2 switch 10 stops relaying the multicast packet from the source address corresponding to the source list (A * C).

マルチキャストルータ30では、ソースリスト(C)に対するSpecific Queryへの応答としてIS_IN(B*C)のみを受信する。このため、ソースリスト(C−B)についてはソースタイマがタイムアウトし、ソースリストから削除される。これにより、ソースリスト(C−B)に対応するソースアドレスからのマルチキャストパケットの中継が停止する。   The multicast router 30 receives only IS_IN (B * C) as a response to the Specific Query for the source list (C). For this reason, the source timer for the source list (C-B) times out and is deleted from the source list. Thereby, the relay of the multicast packet from the source address corresponding to the source list (CB) is stopped.

このように、INCLUDEモードの受信者が任意のソースをソースリストから削除するBLOCKタイプのReportメッセージを送信した場合には、その受信者を収容するI/F部へのマルチキャスト中継は停止するが、その他のI/F部へのマルチキャストの中継は継続することとなる。   In this way, when a receiver in INCLUDE mode transmits a BLOCK type Report message that deletes an arbitrary source from the source list, multicast relay to the I / F unit that accommodates the receiver stops, Multicast relay to other I / F units will continue.

また、BLOCKタイプのReportメッセージを上流側(マルチキャストルータ30側)に伝達する際に、BLOCKメッセージ内のソースリスト全体を対象として上流側へBLOCKメッセージを送信するので、レイヤ2スイッチが多段接続されている場合であってもマルチキャストルータ30から適切なソースリスト範囲を対象としたSpecific Queryメッセージが送信されることとなる。   In addition, when transmitting a BLOCK type Report message to the upstream side (multicast router 30 side), the BLOCK message is transmitted to the upstream side for the entire source list in the BLOCK message, so that layer 2 switches are connected in multiple stages. Even if it is, the specific query message for the appropriate source list range is transmitted from the multicast router 30.

なお、レイヤ2スイッチ40のI/F部11Kの先に受信者が存在し、Specific Queryメッセージに対してIS_IN(C)タイプのReportメッセージが応答された場合は、このメッセージがI/F部11Kで受信される。そして、このメッセージは、ルータモード受信部12Kに転送される。   In addition, when a receiver exists ahead of the I / F unit 11K of the layer 2 switch 40 and an IS_IN (C) type Report message is responded to the Specific Query message, this message is sent to the I / F unit 11K. Received at. This message is transferred to the router mode receiving unit 12K.

ここで、ソースタイマ(A*C)がLLQT以下であるI/F部11KにSpecific Queryメッセージを中継した後に、ルータモード受信部12KがIS_IN(C)タイプのReportメッセージを受信した際の動作手順を図7を参照して説明する。   Here, the operation procedure when the router mode receiving unit 12K receives an IS_IN (C) type report message after relaying the specific query message to the I / F unit 11K whose source timer (A * C) is LLQT or less. Will be described with reference to FIG.

ルータモード受信部12Kは、I/F部11Kを介してIS_IN(C)タイプのReportメッセージを受信すると(ステップS500)、マルチキャストテーブル記憶部13K内のマルチキャストテーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS510)。   When the router mode receiving unit 12K receives an IS_IN (C) type report message via the I / F unit 11K (step S500), the router mode receiving unit 12K searches for the multicast address included in the report message from the multicast table in the multicast table storage unit 13K. (Step S510).

マルチキャストテーブル記憶部13K内のマルチキャストテーブルにマルチキャストアドレスに該当するエントリが存在する場合(ステップS510、エントリあり)、ルータモード受信部12Kは、エントリ情報101,102に従って、新たなフィルタモードおよびソースリストの更新処理、Reportメッセージの送信処理を行なう(ステップS570)。   When there is an entry corresponding to the multicast address in the multicast table in the multicast table storage unit 13K (step S510, there is an entry), the router mode receiving unit 12K adds the new filter mode and source list according to the entry information 101 and 102. Update processing and report message transmission processing are performed (step S570).

つぎに、Query受信処理部15は、受信グループ管理テーブルのマルチキャストアドレスエントリの更新を行なう(ステップS580)。具体的には、I/F部11Kの更新エントリ内容と他のI/F部のエントリ内容に基づいて、ソースリスト、フィルタモード、宛先I/Fの情報を再計算する。   Next, the Query reception processing unit 15 updates the multicast address entry in the reception group management table (step S580). Specifically, the information of the source list, filter mode, and destination I / F is recalculated based on the update entry contents of the I / F unit 11K and the entry contents of other I / F units.

このとき、Query受信処理部15は、受信グループ管理テーブルのマルチキャストアドレスエントリの宛先I/Fのそれぞれに対し、I/F部毎のマルチキャストテーブルのマルチキャストアドレスエントリを確認する。ステップS570の処理でLLQT以下のソースタイマ値から、当該ソースタイマ値よりも大きな値に更新されたソースと同一のソースであって、かつマルチキャストアドレスエントリのソースタイマ値がLLQTより大きなソースを抽出する。そして抽出したソースをソースリストから削除したソースリストに対してReportメッセージを生成し、各ルータ接続ポートへ送信する(ステップS590)。ここでは、Query受信処理部15がReport(ALLOW(C))メッセージを生成し送信する。   At this time, the Query reception processing unit 15 confirms the multicast address entry in the multicast table for each I / F unit with respect to each destination I / F of the multicast address entry in the reception group management table. From the source timer value equal to or lower than LLQT in the process of step S570, a source that is the same source as the source updated to a value larger than the source timer value and whose source timer value of the multicast address entry is larger than LLQT is extracted. . Then, a Report message is generated for the source list in which the extracted source is deleted from the source list, and transmitted to each router connection port (step S590). Here, the Query reception processing unit 15 generates and transmits a Report (ALLOW (C)) message.

このReport(ALLOW(C))メッセージは、レイヤ2スイッチ10により受信され、レイヤ2スイッチ10ではレイヤ2スイッチ40と同様な処理が行なわれる。これにより、ルータ接続ポートに対してReport(IS_IN(C−B))メッセージが送信される。マルチキャストルータ30は、レイヤ2スイッチ10からのReportメッセージを受信すると、ソースタイマをMALIに更新してマルチキャストの中継を継続する。   This Report (ALLOW (C)) message is received by the layer 2 switch 10, and the layer 2 switch 10 performs the same processing as the layer 2 switch 40. As a result, a Report (IS_IN (C-B)) message is transmitted to the router connection port. When receiving the Report message from the layer 2 switch 10, the multicast router 30 updates the source timer to MALI and continues the multicast relay.

なお、本実施の形態では、受信者からのBLOCKタイプのReportメッセージを受信してソースタイマ値をLLQTとしたことを契機として、ルータ接続ポートへのBLOCKタイプのReportメッセージを送信する場合について説明したが、ソースタイマがエージングによりLLQT以下の値に更新されたことを契機としてルータ接続ポートへのBLOCKタイプのReportメッセージを送信してもよい。この場合も、レイヤ2スイッチ10,40は、前述したレイヤ2スイッチ10,40と同様の動作を行なう。   In this embodiment, a case has been described in which a BLOCK type report message is transmitted to the router connection port when a BLOCK type report message is received from the receiver and the source timer value is set to LLQT. However, a BLOCK type Report message to the router connection port may be transmitted when the source timer is updated to a value equal to or less than LLQT due to aging. Also in this case, the layer 2 switches 10 and 40 perform the same operation as the layer 2 switches 10 and 40 described above.

このように、実施の形態2によれば、ソースタイマ値の更新時に閾値(LLQT)を挟んだ変化が行なわれたか否かによってReportメッセージの送信要否を判定しているので、BLOCKメッセージを受信したセグメントに他の受信者が存在した場合であっても、少ないメッセージ交換によって確実な受信者確認が可能となる。したがって、効率良くマルチキャストの中継を継続することが可能となる。   As described above, according to the second embodiment, whether or not a Report message needs to be transmitted is determined based on whether or not a change across the threshold (LLQT) has been performed when the source timer value is updated. Even if there are other recipients in the segment, the recipient can be surely confirmed by exchanging few messages. Therefore, multicast relay can be continued efficiently.

また、BLOCKタイプのReportメッセージを上流側に伝達する際には、BLOCKメッセージ内のソースリスト全体を対象として上流側へBLOCKメッセージを送信するので、レイヤ2スイッチが多段接続されている場合であってもマルチキャストルータ30から適切なソースリスト範囲を対象としたSpecific Queryメッセージが送信される。したがって、下流側で漏れのない範囲のソースリストに対して端末装置の有無を確認することができ迅速なグループメンバ削除が可能となる。   In addition, when transmitting a BLOCK type Report message to the upstream side, the BLOCK message is transmitted to the upstream side for the entire source list in the BLOCK message, so that the layer 2 switch is connected in multiple stages. Also, a specific query message for an appropriate source list range is transmitted from the multicast router 30. Therefore, the presence / absence of the terminal device can be confirmed with respect to the source list in the range that does not leak on the downstream side, and the group member can be quickly deleted.

実施の形態3.
つぎに、図7、図12〜図13を用いてこの発明の実施の形態3について説明する。実施の形態3では、受信者がEXCLUDEモード(除外要求モード)である場合に、Nullのメッセージを用いてEXCLUDEモードからINCLUDEモード(受信要求モード)への遷移を行なう。
Embodiment 3 FIG.
Next, a third embodiment of the present invention will be described with reference to FIGS. 7 and 12 to 13. In the third embodiment, when the recipient is in the EXCLUDE mode (exclusion request mode), a transition from the EXCLUDE mode to the INCLUDE mode (reception request mode) is performed using a Null message.

図13は、実施の形態3の通信ネットワークのデータ中継を説明するための図である。図13の各構成要素のうち図1に示す実施の形態1の通信ネットワーク1と同一機能を達成する構成要素については同一番号を付しており、重複する説明は省略する。   FIG. 13 is a diagram for explaining data relay in the communication network according to the third embodiment. Of the constituent elements in FIG. 13, constituent elements that achieve the same functions as those of the communication network 1 of the first embodiment shown in FIG. 1 are given the same numbers, and redundant descriptions are omitted.

ここでは、レイヤ2スイッチ10がマルチキャストルータ30からのQueryメッセージ51を端末装置20J〜20Lへ中継し、端末装置20JからのReportメッセージ62をマルチキャストルータ30へ中継している場合を示している。また、ここではマルチキャストルータ30からのマルチキャストデータパケット63をレイヤ2スイッチ10が端末装置20Jに中継している場合を示している。   Here, a case is shown in which the layer 2 switch 10 relays the Query message 51 from the multicast router 30 to the terminal devices 20J to 20L and relays the Report message 62 from the terminal device 20J to the multicast router 30. Here, a case is shown in which the layer 2 switch 10 relays the multicast data packet 63 from the multicast router 30 to the terminal device 20J.

なお、以下では、通信ネットワーク1がマルチキャスト受信者としてIGMPv3または、MLDv2をサポートし、ソースアドレスも指定可能な端末装置20Jが存在するものとして説明する。   In the following description, it is assumed that there is a terminal device 20J in which the communication network 1 supports IGMPv3 or MLDv2 as a multicast receiver and can specify a source address.

つぎに、実施の形態3に係るレイヤ2スイッチの動作手順について説明する。実施の形態1,2のレイヤ2スイッチ10,40と同様に、マルチキャストルータ30は定期的にGeneral Queryメッセージを送信し、レイヤ2スイッチ10はメッセージ中のインターバルタイマ値情報等を記憶し、受信メッセージを各I/F部に中継する。   Next, an operation procedure of the layer 2 switch according to the third embodiment will be described. As with the layer 2 switches 10 and 40 of the first and second embodiments, the multicast router 30 periodically transmits a general query message, the layer 2 switch 10 stores interval timer value information and the like in the message, and receives the received message. Are relayed to each I / F unit.

本実施の形態では、通信ネットワーク1において、端末装置20Jが除外リストA、フィルタモードEXCLUDEとしてマルチキャストグループに参加する場合について説明する。   In the present embodiment, a case will be described in which terminal device 20J joins a multicast group as exclusion list A and filter mode EXCLUDE in communication network 1.

端末装置20Jは、マルチキャストルータ30からのGeneral Queryメッセージに対してReport(IS_EX(A))メッセージを応答する。このReportメッセージは、レイヤ2スイッチ10のI/F部11Jで受信され、I/F部11Jは受信したReportメッセージをルータモード受信部12Jに転送する。   The terminal device 20J responds with a Report (IS_EX (A)) message in response to the General Query message from the multicast router 30. This Report message is received by the I / F unit 11J of the layer 2 switch 10, and the I / F unit 11J transfers the received Report message to the router mode receiving unit 12J.

ここで、Reportメッセージを受信した際のルータモード受信部の動作手順を図7を参照して説明する。ルータモード受信部12Jは、I/F部11Jを介してReportメッセージを受信すると(ステップS500)、マルチキャストテーブル記憶部13J内のマルチキャストテーブル(I/F部11Jのマルチキャストテーブル)からReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS510)。   Here, the operation procedure of the router mode reception unit when receiving the Report message will be described with reference to FIG. When the router mode receiving unit 12J receives the Report message via the I / F unit 11J (step S500), it is included in the Report message from the multicast table in the multicast table storage unit 13J (the multicast table of the I / F unit 11J). A multicast address is searched (step S510).

マルチキャストテーブル記憶部13J内のマルチキャストテーブルに、Reportメッセージのマルチキャストアドレスに該当するエントリが存在しない場合(ステップS510、エントリなし)、ルータモード受信部12Jは、Reportメッセージに対応するマルチキャストエントリ(I/F部毎のマルチキャストエントリ)をマルチキャストテーブルに生成する(ステップS520)。具体的には、Reportメッセージ中のフィルタモードおよびソースリストをマルチキャストエントリに設定する。ここでは、I/F部11Jが端末装置20Jから初めてReportメッセージを受信しているので、I/F部11J(端末装置20J)に対応するマルチキャストエントリ(ソースリストA、フィルタモードEXCLUDE)を生成する。   When there is no entry corresponding to the multicast address of the Report message in the multicast table in the multicast table storage unit 13J (step S510, no entry), the router mode receiving unit 12J reads the multicast entry (I / F) corresponding to the Report message. A multicast entry for each copy) is generated in the multicast table (step S520). Specifically, the filter mode and the source list in the Report message are set in the multicast entry. Here, since the I / F unit 11J receives the Report message for the first time from the terminal device 20J, a multicast entry (source list A, filter mode EXCLUDE) corresponding to the I / F unit 11J (terminal device 20J) is generated. .

マルチキャストエントリを生成した後、ルータモード受信部12Jは、ソースタイマまたはフィルタタイマを起動する。ここでは、マルチキャストエントリにフィルタモードEXCLUDEを生成しているので、フィルタタイマを起動する。ここでのフィルタタイマは、フィルタタイマ初期値をMALIとし、時間の経過とともにタイマ値を減算していく(ステップS530)。   After generating the multicast entry, the router mode receiving unit 12J starts the source timer or the filter timer. Here, since the filter mode EXCLUDE is generated for the multicast entry, the filter timer is started. The filter timer here sets the filter timer initial value to MALI, and subtracts the timer value as time passes (step S530).

ルータモード受信部12Jは、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS540)。   The router mode reception unit 12J searches for the multicast address included in the Report message from the reception group management table in the reception group management table storage unit 14 (step S540).

受信グループ管理テーブル記憶部14内の受信グループ管理テーブルにマルチキャストアドレスに該当するエントリが存在しない場合(ステップS540、エントリなし)、ルータモード受信部12Jは、受信グループ管理テーブルに新たなエントリを生成して登録する。具体的には、受信グループ管理テーブルに新たなマルチキャストアドレスと、Reportメッセージ中のフィルタモードおよびソースリストと、宛先I/F(I/F部11J)などを設定し、受信グループ管理テーブル記憶部14に記憶させる(ステップS550)。   When there is no entry corresponding to the multicast address in the reception group management table in the reception group management table storage unit 14 (step S540, no entry), the router mode reception unit 12J generates a new entry in the reception group management table. And register. Specifically, a new multicast address, a filter mode and source list in the Report message, a destination I / F (I / F unit 11J), and the like are set in the reception group management table, and the reception group management table storage unit 14 (Step S550).

ここでは、I/F部11Jが端末装置20Jから初めてReportメッセージを受信しているので、ルータモード受信部12Jは、受信グループ管理テーブルに新たなエントリを設定する。ここでの受信グループ管理テーブルへの追加エントリは、例えばEXCLUDE(Null,A)である。   Here, since the I / F unit 11J receives a Report message for the first time from the terminal device 20J, the router mode receiving unit 12J sets a new entry in the reception group management table. The additional entry to the reception group management table here is, for example, EXCLUDE (Null, A).

Query受信処理部15は、新たに生成したエントリに基づいて、Reportメッセージを生成する。生成したReportメッセージは、I/F部16を介してルータ接続ポートへ送信する(ステップ560)。ここでのReportメッセージは、例えばReport(TO_EX(A))である。   The Query reception processing unit 15 generates a Report message based on the newly generated entry. The generated Report message is transmitted to the router connection port via the I / F unit 16 (step 560). The Report message here is, for example, Report (TO_EX (A)).

ルータ接続ポートから送信されたReportメッセージはマルチキャストルータ30に到着する。マルチキャストルータ30は、Reportメッセージに含まれるマルチキャストアドレスを宛先として、Reportメッセージで指定されたソースリストやフィルタモードで受信要求されているソースアドレスを持つマルチキャストパケットの中継を開始する。このとき、マルチキャストルータ30が管理するレコードはEXCLUDE(Null,A)となっている。   The Report message transmitted from the router connection port arrives at the multicast router 30. The multicast router 30 starts relaying a multicast packet having the multicast address included in the Report message as a destination and having the source address specified in the Report message and the source address requested to be received in the filter mode. At this time, the record managed by the multicast router 30 is EXCLUDE (Null, A).

レイヤ2スイッチ10は、マルチキャストルータ30からのマルチキャストパケットをI/F部16により受信すると、Query受信処理部15が受信グループ管理テーブルを参照して宛先マルチキャストアドレスに対応するエントリを抽出する。そして、エントリ内の宛先I/Fに定義されたI/F部のうち、I/F部毎のマルチキャストテーブルのソースリストやフィルタモードで受信要求されているソースアドレスとマルチキャストパケットのソースアドレスとが合致するI/F部に、マルチキャストパケットを中継する。ここでは、I/F部毎のマルチキャストテーブルとして、I/F部11J(端末装置20J)に対応するマルチキャストエントリ(ソースリストA、フィルタモードEXCLUDE)が生成されている。したがって、EXCLUDE(A)エントリを持つI/F部11Jにマルチキャストパケットを中継する。   In the layer 2 switch 10, when the multicast packet from the multicast router 30 is received by the I / F unit 16, the Query reception processing unit 15 refers to the reception group management table and extracts an entry corresponding to the destination multicast address. Among the I / F parts defined in the destination I / F in the entry, the source list of the multicast table for each I / F part, the source address requested for reception in the filter mode, and the source address of the multicast packet The multicast packet is relayed to the matching I / F unit. Here, a multicast entry (source list A, filter mode EXCLUDE) corresponding to the I / F unit 11J (terminal device 20J) is generated as a multicast table for each I / F unit. Therefore, the multicast packet is relayed to the I / F unit 11J having the EXCLUDE (A) entry.

このように、ソース指定に対応したIGMPv3またはMLDv2においてEXCLUDEモード受信者が存在する場合であっても、I/F部11J以外のI/F部にはマルチキャストは中継されないので、マルチキャスト受信者の存在しないインタフェースに不要なトラヒックが中継されることはない。これにより、不要なトラヒックの中継を防ぐことができる。   As described above, even if there is an EXCLUDE mode receiver in IGMPv3 or MLDv2 corresponding to the source designation, multicast is not relayed to the I / F unit other than the I / F unit 11J. Unnecessary traffic is not relayed to the interface that does not. As a result, unnecessary traffic relaying can be prevented.

つぎに、レイヤ2スイッチ10がマルチキャスト受信者に関する情報を設定した後、マルチキャストルータ30が質問間隔周期で送信するGeneral QueryをI/F部16で受信した際の動作について説明する。   Next, the operation when the I / F unit 16 receives the general query transmitted by the multicast router 30 at the query interval period after the layer 2 switch 10 sets information regarding the multicast receiver will be described.

I/F部16がGeneral Queryメッセージを受信すると、Query受信処理部15へメッセージを転送する。Query受信処理部15の処理は、実施の形態2の図8に示した動作手順と同様の手順によってReportメッセージの生成と送信、General Queryメッセージの中継を行なうので、その説明は省略する。   When the I / F unit 16 receives the general query message, the message is transferred to the query reception processing unit 15. The processing of the Query reception processing unit 15 generates and transmits a Report message and relays the General Query message according to the same procedure as the operation procedure shown in FIG.

なお、本実施の形態では、ステップS620の処理において、Query受信処理部15が、Report(IS_EX(A))メッセージを生成し、マルチキャストルータ30に送信する。このとき、生成するReportメッセージパケットのソースアドレスは未定アドレスとしておく。   In the present embodiment, in the process of step S620, the Query reception processing unit 15 generates a Report (IS_EX (A)) message and transmits it to the multicast router 30. At this time, the source address of the generated Report message packet is set as an undetermined address.

レイヤ2スイッチ10がルータ接続ポートに送信したReportメッセージを受信したマルチキャストルータ30は、Reportメッセージに含まれるマルチキャストアドレス、ソースリストおよびフィルタモードで指定されたマルチキャストの受信者の存在を確認し、マルチキャストの中継を継続する。   The multicast router 30 that has received the Report message sent by the layer 2 switch 10 to the router connection port confirms the multicast address specified in the multicast address, the source list, and the filter mode included in the Report message. Continue relaying.

レイヤ2スイッチ10が各I/F部11J〜11Lに対してGeneral Queryメッセージを中継した結果、マルチキャスト受信者が存在すれば、中継されたGeneral Queryメッセージに対してマルチキャスト受信者からReportメッセージが返答される。   If the layer 2 switch 10 relays the general query message to each of the I / F units 11J to 11L, and there is a multicast receiver, a report message is returned from the multicast receiver to the relayed general query message. The

ここでは、I/F部11Jの先にマルチキャスト受信者である端末装置20Jが存在するので、中継されたGeneral Queryメッセージに対して端末装置20JからReportメッセージが返答される。この端末装置20JからのReportメッセージは、レイヤ2スイッチ10のI/F部11Jで受信され、ルータモード受信部12Jに転送される。   Here, since the terminal device 20J that is a multicast receiver exists ahead of the I / F unit 11J, a Report message is returned from the terminal device 20J to the relayed General Query message. The Report message from the terminal device 20J is received by the I / F unit 11J of the layer 2 switch 10 and transferred to the router mode receiving unit 12J.

ここで、マルチキャストアドレスのエントリをマルチキャストテーブルに設定した後にルータモード受信部12JがReportメッセージを受信した際の動作手順を図7を参照して説明する。   Here, an operation procedure when the router mode receiving unit 12J receives the Report message after setting the multicast address entry in the multicast table will be described with reference to FIG.

ルータモード受信部12Jは、I/F部11Jを介してReportメッセージを受信すると(ステップS500)、マルチキャストテーブル記憶部13J内のマルチキャストテーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS510)。   When the router mode receiving unit 12J receives the Report message via the I / F unit 11J (step S500), the router mode receiving unit 12J searches for the multicast address included in the report message from the multicast table in the multicast table storage unit 13J (step S510).

マルチキャストテーブル記憶部13J内のマルチキャストテーブルにマルチキャストアドレスに該当するエントリが存在する場合(ステップS510、エントリあり)、ルータモード受信部12Jは、新たなフィルタモードおよびソースリストの更新処理を行なう。具体的には、エントリのフィルタモードおよびソースリストと、メッセージのフィルタモードおよびソースリストとに基づいて、新たなフィルタモードおよびソースリストを抽出し、新たなフィルタモードおよびソースリストとしてマルチキャストテーブルに登録する。そして、フィルタモードとソースリストとの組み合わせに応じた処理(例えば、Reportメッセージの送信処理など)を行なう。ここでのルータモード受信部12Jは、例えばエントリ情報101,102に基づいて、エントリの更新処理とルータ接続ポートからのメッセージ送信を行なう(ステップS570)。本実施の形態では、EXCLUDE(A)のエントリを持っているときに、IS_EX(A)を受信しているので、フィルタタイマをMALIに更新するのみである。   If there is an entry corresponding to the multicast address in the multicast table in the multicast table storage unit 13J (step S510, there is an entry), the router mode receiving unit 12J performs a new filter mode and source list update process. Specifically, a new filter mode and source list are extracted based on the filter mode and source list of the entry and the filter mode and source list of the message, and are registered in the multicast table as the new filter mode and source list. . Then, processing corresponding to the combination of the filter mode and the source list (for example, report message transmission processing) is performed. The router mode receiving unit 12J here performs entry update processing and message transmission from the router connection port based on the entry information 101 and 102, for example (step S570). In the present embodiment, since IS_EX (A) is received when EXCLUDE (A) has an entry, the filter timer is only updated to MALI.

ルータモード受信部12Jが、I/F部毎のマルチキャストテーブルにおいてフィルタモードおよびソースリストの更新処理を行なった後、Query受信処理部15は受信グループ管理テーブルのマルチキャストアドレスエントリの更新を行なう(ステップS580)。具体的には、I/F部11Jの更新エントリ内容と他のI/F部のエントリ内容に基づいて、ソースリスト、フィルタモード、宛先I/Fの情報を再計算する。   After the router mode reception unit 12J performs the filter mode and source list update processing in the multicast table for each I / F unit, the Query reception processing unit 15 updates the multicast address entry in the reception group management table (step S580). ). Specifically, the information of the source list, filter mode, and destination I / F is recalculated based on the update entry contents of the I / F unit 11J and the entry contents of other I / F units.

そして、Query受信処理部15は、Reportメッセージの送信が必要か否かを判断し、必要に応じてReportメッセージを生成する。Reportメッセージの送信要否の判定は、前述のステップS590と同様の処理によって行なう。   Then, the Query reception processing unit 15 determines whether it is necessary to transmit a Report message, and generates a Report message as necessary. Whether the Report message needs to be transmitted is determined by the same process as in step S590 described above.

ここでは、エントリ内容に変更はなく、フィルタモードの変更やソースリストの変更もないため、ステップS590の処理でReportメッセージの送信を行なうことはない。受信者が継続的にマルチキャストに参加している状態では、上記の動作(図7,8に示した動作)が定期的に実行される。   Here, there is no change in the entry contents, and there is no change in the filter mode or the source list. Therefore, the Report message is not transmitted in the process of step S590. In a state where the receiver is continuously participating in the multicast, the above operation (the operation shown in FIGS. 7 and 8) is periodically executed.

つぎに、通信ネットワーク1にINCLUDEモードの受信者が追加された場合について説明する。ここでは、受信者として端末装置20Lが追加された場合について説明する。図13において、端末装置20Lもマルチキャストに参加するため、例えばReport(TO_IN(B))メッセージを送信したものとする。   Next, a case where a receiver in INCLUDE mode is added to the communication network 1 will be described. Here, a case where the terminal device 20L is added as a receiver will be described. In FIG. 13, it is assumed that the terminal device 20L also transmits a Report (TO_IN (B)) message, for example, in order to participate in the multicast.

ここでは、マルチキャストに参加するためのReportメッセージを受信した際のルータモード受信部12Lの動作手順を図7を参照して説明する。レイヤ2スイッチ10のI/F部11LはReportメッセージを受信し、ルータモード受信部12Lに受信したメッセージを中継する。   Here, the operation procedure of the router mode receiving unit 12L when receiving a Report message for participating in multicast will be described with reference to FIG. The I / F unit 11L of the layer 2 switch 10 receives the Report message and relays the received message to the router mode receiving unit 12L.

レイヤ2スイッチ10のルータモード受信部12Lは、I/F部11Lを介してReportメッセージを受信すると(ステップS500)、マルチキャストテーブル記憶部13L内のマルチキャストテーブル(I/F部11Lのマルチキャストテーブル)からReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS510)。   When the router mode receiving unit 12L of the layer 2 switch 10 receives the Report message via the I / F unit 11L (step S500), the multicast mode in the multicast table storage unit 13L (the multicast table of the I / F unit 11L) A multicast address included in the Report message is searched (step S510).

マルチキャストテーブル記憶部13L内のマルチキャストテーブルに、Reportメッセージのマルチキャストアドレスに該当するエントリが存在しない場合(ステップS510、エントリなし)、ルータモード受信部12Lは、Reportメッセージに対応するマルチキャストエントリ(I/F部毎のマルチキャストエントリ)をマルチキャストテーブルに生成する(ステップS520)。具体的には、Reportメッセージ中のフィルタモードおよびソースリストをマルチキャストエントリに設定する。ここでは、I/F部11Lが端末装置20Lから初めてReportメッセージを受信しているので、I/F部11L(端末装置20L)に対応するマルチキャストエントリ(ソースリストA、フィルタモードINCLUDE)を生成する。   If there is no entry corresponding to the multicast address of the Report message in the multicast table in the multicast table storage unit 13L (step S510, no entry), the router mode receiving unit 12L determines that the multicast entry (I / F) corresponding to the Report message A multicast entry for each copy) is generated in the multicast table (step S520). Specifically, the filter mode and the source list in the Report message are set in the multicast entry. Here, since the I / F unit 11L receives the Report message for the first time from the terminal device 20L, a multicast entry (source list A, filter mode INCLUDE) corresponding to the I / F unit 11L (terminal device 20L) is generated. .

マルチキャストエントリを生成した後、ルータモード受信部12Lは、ソースタイマを起動する(ステップS530)。ここでのソースタイマは、ソースタイマ初期値をMALIとし、時間の経過とともにタイマ値を減算していく(ステップS530)。   After generating the multicast entry, the router mode receiving unit 12L starts the source timer (step S530). The source timer here sets the initial value of the source timer to MALI, and subtracts the timer value as time elapses (step S530).

ルータモード受信部12Lは、受信グループ管理テーブル記憶部14内の受信グループ管理テーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS540)。   The router mode reception unit 12L searches for the multicast address included in the Report message from the reception group management table in the reception group management table storage unit 14 (step S540).

ここでは、既に端末装置20Jのマルチキャストアドレスが受信グループ管理テーブルに登録されているので、受信グループ管理テーブルにマルチキャストアドレスに該当するエントリが存在している。受信グループ管理テーブル記憶部14内の受信グループ管理テーブルにマルチキャストアドレスに該当するエントリが存在する場合(ステップS540、エントリあり)、受信グループ管理テーブルのマルチキャストアドレスエントリの更新を行なう(ステップS580)。具体的には、I/F部11Lの更新エントリ内容と他のI/F部のエントリ内容に基づいて、ソースリスト、フィルタモード、宛先I/Fの情報を再計算する。   Here, since the multicast address of the terminal device 20J is already registered in the reception group management table, an entry corresponding to the multicast address exists in the reception group management table. If there is an entry corresponding to the multicast address in the reception group management table in the reception group management table storage unit 14 (step S540, there is an entry), the multicast address entry in the reception group management table is updated (step S580). Specifically, the information of the source list, the filter mode, and the destination I / F is recalculated based on the update entry content of the I / F unit 11L and the entry content of the other I / F unit.

そして、Query受信処理部15は、Reportメッセージの送信が必要か否かを判断し、必要に応じてReportメッセージを生成する。Reportメッセージの送信要否の判定は、前述のステップS590と同様の処理によって行なう。   Then, the Query reception processing unit 15 determines whether it is necessary to transmit a Report message, and generates a Report message as necessary. Whether the Report message needs to be transmitted is determined by the same process as in step S590 described above.

ここでのレイヤ2スイッチ10は、受信グループ管理テーブルエントリとして、対象のマルチキャストアドレス、フィルタモードEXCLUDE、ソースリストNull、除外リストAのエントリを有している。したがって、I/F部11LからReport(TO_IN(B))メッセージを受信すると、I/F部11LのマルチキャストテーブルにINCLUDE(B)エントリを生成し、受信グループ管理エントリのソースリストを(B)に更新し、除外リストを(A−B)に更新して、宛先I/Fの情報にI/F部11Lを追加する。   The layer 2 switch 10 here has entries of the target multicast address, filter mode EXCLUDE, source list Null, and exclusion list A as reception group management table entries. Therefore, when a Report (TO_IN (B)) message is received from the I / F unit 11L, an INCLUDE (B) entry is generated in the multicast table of the I / F unit 11L, and the source list of the reception group management entry is set to (B). Update the exclusion list to (A-B) and add the I / F unit 11L to the destination I / F information.

さらに、ソースリスト(A*B)の範囲は新たに追加されたソースリストであるため、Query受信処理部15は、ソースリスト(A*B)についてALLOWタイプのReportメッセージを生成し、ルータ接続ポートへ送信する(ステップS590)。   Further, since the range of the source list (A * B) is a newly added source list, the Query reception processing unit 15 generates an ALLOW type Report message for the source list (A * B), and transmits the router connection port. (Step S590).

このReportメッセージは、マルチキャストルータ30に到着する。マルチキャストルータ30は、ソースリスト(A*B)をソースリストに追加し、マルチキャスト管理レコードをEXCLUDE(B,A−B)に更新し、マルチキャスト管理レコード(ソースリスト)の範囲のマルチキャストの中継を開始する。   This Report message arrives at the multicast router 30. The multicast router 30 adds the source list (A * B) to the source list, updates the multicast management record to EXCLUDE (B, AB), and starts relaying multicast within the range of the multicast management record (source list). To do.

つぎに、受信者が明示的にBLOCKタイプのReportメッセージを送信して一部のソースリストを変更する場合の処理について説明する。例えば、端末装置20JはEXCLUDEモードで参加中のマルチキャストのソースリストからソースリストCを除外するため、BLOCK(C)を指定したReportメッセージを送信する。なお、ここでのソースリストCは除外リストAと重複しない範囲のソースリストとする。   Next, processing when the recipient explicitly sends a BLOCK type Report message to change a part of the source list will be described. For example, the terminal device 20J transmits a Report message specifying BLOCK (C) in order to exclude the source list C from the multicast source list participating in the EXCLUDE mode. Here, the source list C is a source list that does not overlap with the exclusion list A.

レイヤ2スイッチ40のI/F部11Jは、端末装置20JからのReportメッセージを受信すると、ルータモード受信部12Jに転送する。ルータモード受信部12Jは、I/F部11Jのマルチキャストテーブルの対応エントリに対して、エントリ情報101,102に基づいた処理を行なう。ここでは、EXCLUDE(Null,A)状態でBLOCK(C)を受信するため、ソースリスト(C)のソースタイマをLLQTとして起動し、ルータ接続ポートからReport(BLOCK(C))を送信する。   Upon receiving the Report message from the terminal device 20J, the I / F unit 11J of the layer 2 switch 40 transfers the report message to the router mode receiving unit 12J. The router mode receiving unit 12J performs processing based on the entry information 101 and 102 for the corresponding entry in the multicast table of the I / F unit 11J. Here, in order to receive BLOCK (C) in the EXCLUDE (Null, A) state, the source timer of the source list (C) is started as LLQT, and Report (BLOCK (C)) is transmitted from the router connection port.

レイヤ2スイッチ10のルータ接続ポートから送信されたReportメッセージは、マルチキャストルータ30に到着する。マルチキャストルータ30は、Reportメッセージ内で示されたマルチキャストグループアドレスのソースリスト(C)に対して、ソースタイマをLLQTに更新し、Multicast Address and Source Specific Queryメッセージを送信する。レイヤ2スイッチ10のI/F部16では、マルチキャストルータ30からのSpecific Queryメッセージを受信すると、Query受信処理部15へ送信する。   The Report message transmitted from the router connection port of the layer 2 switch 10 arrives at the multicast router 30. The multicast router 30 updates the source timer to LLQT for the multicast group address source list (C) indicated in the Report message, and transmits a Multicast Address and Source Specific Query message. When the I / F unit 16 of the layer 2 switch 10 receives the Specific Query message from the multicast router 30, the I / F unit 16 transmits the message to the Query reception processing unit 15.

ここで、Query受信処理部15がSpecific Queryメッセージを受信した際の処理について図12を参照して説明する。なお、ここでのステップS700〜S720の処理は実施の形態2の処理と同様の処理であるため、その説明は省略する。   Here, a process when the Query reception processing unit 15 receives the Specific Query message will be described with reference to FIG. Note that the processing in steps S700 to S720 here is the same as the processing in the second embodiment, and a description thereof will be omitted.

本実施の形態では、I/F部11JのエントリがEXCLUDE(A)、ソースタイマ(C)<LLQTであり、I/F部11LのエントリがINCLUDE(B)、ソースタイマ(B)>LLQTである。従って、Query受信処理部15は、Report(IS_IN(B*C))メッセージを生成してルータ接続ポートから送信する(ステップS730)。   In this embodiment, the entry of the I / F unit 11J is EXCLUDE (A) and the source timer (C) <LLQT, and the entry of the I / F unit 11L is INCLUDE (B) and the source timer (B)> LLQT. is there. Therefore, the Query reception processing unit 15 generates a Report (IS_IN (B * C)) message and transmits it from the router connection port (step S730).

また、Query受信処理部15は、I/F部11Jのソースタイマ(C)がLLQT以下となっているため、I/F部11JにSpecific Queryメッセージの中継を行なう。また、Query受信処理部15は、I/F部11Lのソースタイマ(B)はLLQTより大きな値のため、Queryメッセージの中継は行なわない(ステップS740)。   Further, since the source timer (C) of the I / F unit 11J is equal to or lower than LLQT, the Query reception processing unit 15 relays the Specific Query message to the I / F unit 11J. Further, the Query reception processing unit 15 does not relay the Query message because the source timer (B) of the I / F unit 11L is larger than the LLQT (Step S740).

このように、指定されたマルチキャストアドレスのエントリを持たないI/F部や、全てのソースタイマ値がLLQTよりも大きなI/F部にはSpecific Queryメッセージを中継しないこととなり、制御メッセージの交換を低減させることが可能となる。   In this way, the Specific Query message is not relayed to an I / F unit that does not have an entry for the designated multicast address or an I / F unit in which all the source timer values are larger than LLQT, and control messages are exchanged. It can be reduced.

また、Specific Queryメッセージを中継したI/F部11Jの先に対象ソースを要求する受信者が存在しなければSpecific Queryメッセージに対してReportメッセージが応答されることはない。この場合、I/F部毎のマルチキャストテーブルのエントリに含まれるソースタイマが満了するので、ソースリスト(C)を削除して除外リストに追加する。そして、I/F部11JのエントリはEXCLUDE(Null,A+C)となる。また、Query受信処理部15は、受信グループ管理テーブルエントリの更新を行ない、ソースリストを(B−C)に、除外リストを(A+C−B)に更新する。これにより、レイヤ2スイッチ10では、新たに除外対象となったソース(C−A−B)からのマルチキャストパケットの中継を停止する。   Further, if there is no receiver requesting the target source at the end of the I / F unit 11J that relayed the specific query message, the report message is not responded to the specific query message. In this case, since the source timer included in the multicast table entry for each I / F part expires, the source list (C) is deleted and added to the exclusion list. The entry of the I / F unit 11J is EXCLUDE (Null, A + C). Further, the Query reception processing unit 15 updates the reception group management table entry, and updates the source list to (B−C) and the exclusion list to (A + C−B). As a result, the layer 2 switch 10 stops relaying the multicast packet from the newly excluded source (C-A-B).

マルチキャストルータ30では、ソースリスト(C)に対するSpecific Queryへの応答としてReport(IS_IN(B*C))メッセージのみを受信する。このため、ソースリスト(C−B)についてはソースタイマがタイムアウトし、ソースリストから削除する。これにより、マルチキャストルータ30では、ソースリスト(C−B)に対応するソースアドレスからのマルチキャストパケットの中継を停止する。   The multicast router 30 receives only the Report (IS_IN (B * C)) message as a response to the Specific Query for the source list (C). For this reason, the source timer times out for the source list (CB) and is deleted from the source list. As a result, the multicast router 30 stops relaying the multicast packet from the source address corresponding to the source list (C-B).

このように、EXCLUDEモードの受信者が任意のソースを除外リストに追加するBLOCKタイプのReportメッセージを送信した場合には、その受信者を収容するI/F部へのマルチキャスト中継は停止するが、その他のI/F部へのマルチキャストの中継は継続することとなる。   Thus, when a receiver in EXCLUDE mode transmits a BLOCK type Report message that adds an arbitrary source to the exclusion list, multicast relay to the I / F unit that accommodates the receiver stops, Multicast relay to other I / F units will continue.

また、BLOCKタイプのReportメッセージを上流側に伝達する際に、BLOCKメッセージ内のソースリスト全体を対象として上流側へBLOCKメッセージを送信するので、レイヤ2スイッチが多段接続されている場合であってもマルチキャストルータ30から適切なソースリスト範囲を対象としたSpecific Queryメッセージが送信される。これにより、下流側で漏れのない範囲のソースリストに対して受信者の有無の確認が可能となり、迅速なグループメンバ削除が可能となる。   Also, when transmitting a BLOCK type report message to the upstream side, the BLOCK message is transmitted to the upstream side for the entire source list in the BLOCK message, so even if the layer 2 switch is connected in multiple stages A specific query message for an appropriate source list range is transmitted from the multicast router 30. As a result, it is possible to confirm the presence or absence of a receiver in the source list in a range that does not leak on the downstream side, and it is possible to quickly delete a group member.

なお、レイヤ2スイッチ10のI/F部11Jの先に受信者が存在し、Specific Queryメッセージに対してIS_IN(C)タイプのReportメッセージが応答された場合は、このメッセージがI/F部11Jで受信される。そして、このメッセージはルータモード受信部12Jに転送される。   Note that if the recipient exists ahead of the I / F unit 11J of the layer 2 switch 10 and an IS_IN (C) type Report message is responded to the Specific Query message, this message is sent to the I / F unit 11J. Received at. This message is transferred to the router mode receiving unit 12J.

ここで、ソースタイマ(C)がLLQT以下であるI/F部11JにSpecific Queryメッセージを中継した後に、ルータモード受信部12JがReportメッセージを受信した際の動作手順を図7を参照して説明する。   Here, the operation procedure when the router mode receiving unit 12J receives the Report message after relaying the Specific Query message to the I / F unit 11J whose source timer (C) is LLQT or less will be described with reference to FIG. To do.

ルータモード受信部12Kは、I/F部11Kを介してReportメッセージを受信すると(ステップS500)、マルチキャストテーブル記憶部13K内のマルチキャストテーブルからReportメッセージに含まれるマルチキャストアドレスを検索する(ステップS510)。   When receiving the Report message via the I / F unit 11K (Step S500), the router mode receiving unit 12K searches the multicast table in the multicast table storage unit 13K for the multicast address included in the Report message (Step S510).

マルチキャストテーブル記憶部13K内のマルチキャストテーブルにマルチキャストアドレスに該当するエントリが存在する場合(ステップS510、エントリあり)、ルータモード受信部12Kは、エントリ情報101,102に従って、新たなフィルタモードおよびソースリストの更新処理、Reportメッセージの送信処理を行なう(ステップS570)。   When there is an entry corresponding to the multicast address in the multicast table in the multicast table storage unit 13K (step S510, there is an entry), the router mode receiving unit 12K adds the new filter mode and source list according to the entry information 101 and 102. Update processing and report message transmission processing are performed (step S570).

つぎに、Query受信処理部15は、受信グループ管理テーブルのマルチキャストアドレスエントリの更新を行なう(ステップS580)。具体的には、I/F部11Jの更新エントリ内容と他のI/F部のエントリ内容に基づいて、ソースリスト、フィルタモード、宛先I/Fの情報を再計算する。   Next, the Query reception processing unit 15 updates the multicast address entry in the reception group management table (step S580). Specifically, the information of the source list, filter mode, and destination I / F is recalculated based on the update entry contents of the I / F unit 11J and the entry contents of other I / F units.

このとき、Query受信処理部15は、受信グループ管理テーブルのマルチキャストアドレスエントリの宛先I/Fのそれぞれに対し、I/F部毎のマルチキャストテーブルのマルチキャストエントリを確認する。ステップS570の処理でLLQT以下のソースタイマ値からさらに大きな値に更新されたソースと同一のソースであって、かつマルチキャストアドレスエントリのソースタイマ値がLLQTより大きなソースを抽出する。そして抽出したソースをソースリストから削除したソースリストに対してReportメッセージを生成し、各ルータ接続ポートへ送信する。ここでは、I/F部11Lのソースタイマ(B)がLLQTより大きな値となっているので、Report(IS_IN(C−B))メッセージを生成し送信する。マルチキャストルータ30は、レイヤ2スイッチ10からのReportメッセージを受信すると、ソースタイマをMALIに更新してマルチキャストの中継を継続する。   At this time, the Query reception processing unit 15 confirms the multicast entry in the multicast table for each I / F unit with respect to each destination I / F of the multicast address entry in the reception group management table. In step S570, a source that is the same source as the source timer value updated from the source timer value equal to or lower than LLQT to a larger value and whose source timer value of the multicast address entry is larger than LLQT is extracted. Then, a Report message is generated for the source list in which the extracted source is deleted from the source list, and transmitted to each router connection port. Here, since the source timer (B) of the I / F unit 11L has a value larger than LLQT, a Report (IS_IN (CB)) message is generated and transmitted. When receiving the Report message from the layer 2 switch 10, the multicast router 30 updates the source timer to MALI and continues the multicast relay.

このように、ソースタイマ値の更新時に閾値(LLQT)を挟んだ変化が行なわれたか否かによってReportメッセージの送信要否を判定しているので、BLOCKメッセージを送信したセグメントに他の受信者が存在した場合であっても、少ないメッセージ交換によって確実な受信者確認が可能となる。したがって、効率良くマルチキャストの中継を継続することが可能となる。   In this way, since it is determined whether or not the Report message needs to be transmitted depending on whether or not a change across the threshold (LLQT) has been performed when the source timer value is updated, other receivers may be included in the segment that transmitted the BLOCK message. Even if it exists, it is possible to confirm the recipient reliably by exchanging few messages. Therefore, multicast relay can be continued efficiently.

つぎに、受信者がEXCLUDEモードからINCLUDEモードへ変更する場合の動作について説明する。ここでは、端末装置20JがEXCLUDEモードで参加中のマルチキャストからソースリストCを指定したINCLUDEモードに遷移するため(ソースリストを変更するため)に、TO_IN(C)を指定したReportメッセージを送信した場合について説明する。   Next, an operation when the receiver changes from the EXCLUDE mode to the INCLUDE mode will be described. In this case, when the terminal device 20J transmits a Report message specifying TO_IN (C) to change from the multicast participating in the EXCLUDE mode to the INCLUDE mode specifying the source list C (to change the source list). Will be described.

レイヤ2スイッチ10のI/F部11Jは、TO_IN(C)を指定したReportメッセージを受信すると、I/F部毎のマルチキャストテーブルの対応エントリに対してエントリ情報101,102に基づいた処理を行なう。   When the I / F unit 11J of the layer 2 switch 10 receives the Report message specifying TO_IN (C), the I / F unit 11J performs processing based on the entry information 101 and 102 for the corresponding entry in the multicast table for each I / F unit. .

本実施の形態では、EXCLUDE(Null,A)の状態でTO_IN(C)を受信するので(図9の「008」)、I/F部11Jは、EXCLUDE(C,A−C)状態に遷移する。また、ソースリスト(C)のソースタイマをMALIとして起動し、フィルタタイマをLLQTに更新する。さらに、ルータ接続ポートであるI/F部16からReport(TO_IN({}))を送信する。なお、I/F部11JのEXCLUDEモードのエントリでは要求リストがNullであることから、BLOCKタイプのReportメッセージは内容が空となる。このため、Reportメッセージの送信は行なわない。   In the present embodiment, TO_IN (C) is received in the EXCLUDE (Null, A) state (“008” in FIG. 9), so that the I / F unit 11J transitions to the EXCLUDE (C, A-C) state. To do. Also, the source timer of the source list (C) is started as MALI, and the filter timer is updated to LLQT. Further, Report (TO_IN ({})) is transmitted from the I / F unit 16 which is a router connection port. Since the request list is Null in the EXCLUDE mode entry of the I / F unit 11J, the content of the BLOCK type Report message is empty. For this reason, the Report message is not transmitted.

ルータ接続ポートから送信されたReportメッセージは、マルチキャストルータ30に到着する。マルチキャストルータ30は、EXCLUDEモードのレコードを更新し、要求リスト(B+C)のソースタイマをLLQTに更新してMulticast Address and Source Specific Queryメッセージ(第1のQueryメッセージ)を送信する。また、マルチキャストルータ30は、フィルタタイマをLLQTに更新してMulticast Address Specific Queryメッセージ(第2のQueryメッセージ)を送信する。   The Report message transmitted from the router connection port arrives at the multicast router 30. The multicast router 30 updates the record in the EXCLUDE mode, updates the source timer of the request list (B + C) to LLQT, and transmits a Multicast Address and Source Specific Query message (first query message). Further, the multicast router 30 updates the filter timer to LLQT and transmits a Multicast Address Specific Query message (second Query message).

ここで、Query受信処理部15がSpecific Queryメッセージを受信した際の処理について図12を参照して説明する。なお、ここでのステップS700〜S720の処理は実施の形態2の処理と同様の処理であるため、その説明は省略する。   Here, a process when the Query reception processing unit 15 receives the Specific Query message will be described with reference to FIG. Note that the processing in steps S700 to S720 here is the same as the processing in the second embodiment, and a description thereof will be omitted.

本実施の形態では、I/F部11JのエントリがEXCLUDE(A−C)、ソースタイマ(C)>LLQTであり、I/F部11LのエントリがINCLUDE(B)、ソースタイマ(B)>LLQTである。従って、Query受信処理部15は、Report(IS_IN(B+C))メッセージを生成してルータ接続ポートから送信する(ステップS730)。   In this embodiment, the entry of the I / F unit 11J is EXCLUDE (AC) and the source timer (C)> LLQT, and the entry of the I / F unit 11L is INCLUDE (B) and the source timer (B)> LLQT. Therefore, the Query reception processing unit 15 generates a Report (IS_IN (B + C)) message and transmits it from the router connection port (step S730).

また、Query受信処理部15は、I/F部11JにLLQT以下のソースタイマが存在しないので、第1のQueryメッセージを中継しない(ステップS740)。I/F部16は、第1のQueryメッセージに続いて第2のQueryメッセージを受信し、Query受信処理部15へ転送する。   Further, the Query reception processing unit 15 does not relay the first Query message because the I / F unit 11J does not have a source timer equal to or less than LLQT (step S740). The I / F unit 16 receives the second Query message following the first Query message, and transfers it to the Query reception processing unit 15.

ここで、Query受信処理部15がMulticast Address Specific Queryメッセージを受信した場合の動作について説明する。図14は、Query受信部がMulticast Address Specific Queryメッセージを受信した際の動作手順を示すフローチャートである。   Here, an operation when the Query reception processing unit 15 receives the Multicast Address Specific Query message will be described. FIG. 14 is a flowchart illustrating an operation procedure when the Query receiving unit receives a Multicast Address Specific Query message.

図14では、レイヤ2スイッチ10がIGMPv3やMLDv2などのソース指定可能なグループメンバシップ管理プロトコルのソース指定を伴わないSpecific Queryメッセージを受信した場合の動作を示している。   FIG. 14 illustrates an operation when the layer 2 switch 10 receives a specific query message that does not accompany the source designation of a group membership management protocol such as IGMPv3 or MLDv2 that can be designated.

Query受信処理部15は、I/F部16を介してMulticast Address Specific Queryメッセージ(第2のQueryメッセージ)を受信すると(ステップS800)、受信グループ管理テーブルにSpecific Queryメッセージで指示されたマルチキャストグループアドレスに対応するマルチキャストアドレスエントリが存在するか否かを確認する(ステップS810)。   When receiving the Multicast Address Specific Query message (second Query message) via the I / F unit 16 (Step S800), the Query reception processing unit 15 receives the multicast group address indicated by the Specific Query message in the reception group management table. It is confirmed whether there is a multicast address entry corresponding to (step S810).

指示されたマルチキャストアドレスのエントリが存在する場合(ステップS810、エントリあり)、Query受信処理部15は、エントリの宛先I/FのそれぞれについてI/F部毎のマルチキャストエントリを確認する。そして、フィルタタイマ値がLLQT以下のI/F部を除いた各I/F部のエントリを集約して1つのReportメッセージを生成し、ルータ接続ポートから送信する(ステップS820)。   If there is an entry for the instructed multicast address (step S810, entry exists), the Query reception processing unit 15 checks the multicast entry for each I / F unit for each destination I / F of the entry. Then, the entries of the respective I / F units excluding the I / F unit whose filter timer value is equal to or less than LLQT are aggregated to generate one Report message, which is transmitted from the router connection port (step S820).

本実施の形態では、I/F部11JのエントリがEXCLUDE(A−C)、フィルタタイマ<LLQTであり、I/F部11LのエントリがINCLUDE(B)である。従って、Query受信処理部15は、Report(IS_IN(B))メッセージを生成してルータ接続ポートから送信する。   In the present embodiment, the entry of the I / F unit 11J is EXCLUDE (AC), filter timer <LLQT, and the entry of the I / F unit 11L is INCLUDE (B). Therefore, the Query reception processing unit 15 generates a Report (IS_IN (B)) message and transmits it from the router connection port.

また、Query受信処理部15は、宛先I/FとなっているI/F部のうち、ソースタイマ値がLLQT以下のソースリストメンバを持つ各I/F部、またはフィルタタイマ値がLLQT以下のEXCLUDEモードエントリを持つ各I/F部(メンバ)対して、第2のQueryメッセージを中継する(ステップS830)。   Also, the Query reception processing unit 15 has each I / F unit having a source list member whose source timer value is LLQT or less, or the filter timer value is LLQT or less among the I / F units that are the destination I / F. The second Query message is relayed to each I / F unit (member) having the EXCLUDE mode entry (step S830).

ここでは、I/F部11JのエントリがEXCLUDE(A−C)、フィルタタイマ<LLQTであり、I/F部11LのエントリがINCLUDE(B)、ソースタイマ(B)>LLQTである。従って、Query受信処理部15は、I/F部11Jにのみ第2のQueryメッセージを中継する。   Here, the entry of the I / F unit 11J is EXCLUDE (AC) and filter timer <LLQT, and the entry of the I / F unit 11L is INCLUDE (B) and source timer (B)> LLQT. Accordingly, the Query reception processing unit 15 relays the second Query message only to the I / F unit 11J.

このように、指定されたマルチキャストアドレスのエントリを持たないI/F部や、全てのソースタイマ値がLLQTよりも大きなI/F部にはSpecific Queryメッセージを中継しないこととなるので、メッセージ交換手順を削減することが可能となる。   In this way, the Specific Query message is not relayed to an I / F unit that does not have an entry for a designated multicast address, or an I / F unit that has a source timer value larger than LLQT. Can be reduced.

これにより、レイヤ2スイッチ10のI/F部11Jは第2のQueryメッセージを送信し、端末装置20Jは第2のQueryメッセージに対してReport(IS_IN(C))メッセージを応答する。   As a result, the I / F unit 11J of the layer 2 switch 10 transmits the second Query message, and the terminal device 20J responds to the Report (IS_IN (C)) message with respect to the second Query message.

なお、レイヤ2スイッチ10が送信する各Reportメッセージは、Queryメッセージに対する応答として送信しているため、LLQTよりも小さな送信待ち遅延時間を用意し、その時間内に発生したReport送信要求を1つのReportメッセージに集約して送信してもよい。   Since each Report message transmitted by the layer 2 switch 10 is transmitted as a response to the Query message, a transmission waiting delay time smaller than LLQT is prepared, and a Report transmission request generated within that time is provided as one Report. You may aggregate and transmit to a message.

I/F部11Jは、端末装置20JからのReport(IS_IN(C))メッセージを受信すると、I/F部毎のマルチキャストテーブルの対応エントリに対して、エントリ情報101,102に基づいた処理を行なう。   When receiving the Report (IS_IN (C)) message from the terminal device 20J, the I / F unit 11J performs processing based on the entry information 101 and 102 for the corresponding entry in the multicast table for each I / F unit. .

ここでは、EXCLUDE(C、A−C)状態でIS_IN(C)を受信するため、ソースリスト(C)のソースタイマをMALIに更新するのみである(図10の010)。この後、フィルタタイマは満了するため、I/F部11JのエントリはINCLUDE(C)に遷移する。また、受信グループ管理テーブルエントリはINCLUDE(B+C)に更新する。   Here, in order to receive IS_IN (C) in the EXCLUDE (C, A-C) state, the source timer of the source list (C) is only updated to MALI (010 in FIG. 10). Thereafter, since the filter timer expires, the entry of the I / F unit 11J transitions to INCLUDE (C). The reception group management table entry is updated to INCLUDE (B + C).

これにより、マルチキャストルータ30ではQueryメッセージの送信に対してReport(IS_IN(B+C))メッセージを受信するのみである。この結果、マルチキャストルータ30ではフィルタタイマが満了し、管理レコードはINCLUDE(B+C)に遷移する。   Thus, the multicast router 30 only receives a Report (IS_IN (B + C)) message in response to the transmission of the Query message. As a result, in the multicast router 30, the filter timer expires, and the management record transitions to INCLUDE (B + C).

このように実施の形態3によれば、フィルタタイマがLLQT以下に更新する際に、NullのTO_INタイプのReportメッセージを送信することでマルチキャストルータ30からのMulticast Address Speicific Queryメッセージの送信を促すことができ、このQueryメッセージを中継することで受信者の存在確認を迅速に行なうことが可能となる。これにより、EXCLUDEモードからINCLUDEモードへの遷移を確実かつ迅速に行なうことが可能となる。   As described above, according to the third embodiment, when the filter timer is updated to LLQT or less, it is prompted to transmit a Multicast Address Specific Query message from the multicast router 30 by transmitting a Null TO_IN type Report message. It is possible to quickly confirm the presence of the receiver by relaying the Query message. As a result, the transition from the EXCLUDE mode to the INCLUDE mode can be performed reliably and quickly.

また、マルチキャストルータ30から送信されるQueryメッセージを用いて受信者の存在確認を行なうので、受信者によってQueryメッセージパケットが廃棄されることがない。さらに、レイヤ2スイッチ10の使用するIPアドレスをQuerier選出プロセスと関連付けることなく割り当てることができるのでマルチキャストルータ30はアドレス管理を容易に行なうことが可能となる。   Further, since the presence of the receiver is confirmed using the Query message transmitted from the multicast router 30, the Query message packet is not discarded by the receiver. Furthermore, since the IP address used by the layer 2 switch 10 can be assigned without associating it with the Queryer selection process, the multicast router 30 can easily manage the address.

また、Specific Queryメッセージの受信時にソースタイマ、フィルタタイマの値に応じた応答メッセージの内容を生成し、中継先のI/F部の選別を行なっているので、少ないメッセージ交換手順でメッセージ交換を行うことが可能となる。   Since the response message contents corresponding to the values of the source timer and the filter timer are generated when the Specific Query message is received and the I / F part of the relay destination is selected, the message exchange is performed with a few message exchange procedures. It becomes possible.

実施の形態4.
つぎに、図15および図16を用いてこの発明の実施の形態4について説明する。実施の形態4ではネットワークトポロジの変化を検出すると、送信元リスト(受信要求の対象)を空としたTO_INタイプのReportメッセージをルータ接続ポートに送信して、マルチキャスト中継ツリーの再構成を迅速に行なう。
Embodiment 4 FIG.
Next, a fourth embodiment of the present invention will be described with reference to FIGS. In the fourth embodiment, when a change in the network topology is detected, a TO_IN type Report message with an empty transmission source list (reception request target) is transmitted to the router connection port to quickly reconfigure the multicast relay tree. .

図15は、本発明の実施の形態4に係るレイヤ2スイッチを有した通信ネットワークの構成を示す図である。図15の各構成要素のうち図1や図6に示す実施の形態1,2の通信ネットワーク1,2と同一機能を達成する構成要素については同一番号を付しており、重複する説明は省略する。   FIG. 15 is a diagram showing a configuration of a communication network having a layer 2 switch according to Embodiment 4 of the present invention. Components in FIG. 15 that achieve the same functions as the communication networks 1 and 2 in the first and second embodiments shown in FIG. 1 and FIG. To do.

通信ネットワーク3は、マルチキャストルータ30、レイヤ2スイッチ10、レイヤ2スイッチ41,42、端末装置20P〜20Sを備えている。マルチキャストルータ30は、レイヤ2スイッチ10に接続し、レイヤ2スイッチ10はレイヤ2スイッチ41,42に接続している。また、レイヤ2スイッチ41は、端末装置20Pと端末装置20Qに接続し、レイヤ2スイッチ42は、端末装置20Rと端末装置20Sに接続している。   The communication network 3 includes a multicast router 30, a layer 2 switch 10, layer 2 switches 41 and 42, and terminal devices 20P to 20S. The multicast router 30 is connected to the layer 2 switch 10, and the layer 2 switch 10 is connected to the layer 2 switches 41 and 42. The layer 2 switch 41 is connected to the terminal device 20P and the terminal device 20Q, and the layer 2 switch 42 is connected to the terminal device 20R and the terminal device 20S.

レイヤ2スイッチ41,42は、レイヤ2スイッチ40(レイヤ2スイッチ10)と同様のスイッチである。また、端末装置20P〜20Sは、端末装置20J〜20Lと同様の端末装置である。   The layer 2 switches 41 and 42 are the same switches as the layer 2 switch 40 (layer 2 switch 10). The terminal devices 20P to 20S are terminal devices similar to the terminal devices 20J to 20L.

レイヤ2スイッチ41とレイヤ2スイッチ42は接続されてループ経路を形成しているが、リンク障害が発生していない状態ではレイヤ2スイッチ41とレイヤ2スイッチ42との間の経路がブロッキングされている。これにより、リンク障害が発生していない状態では、レイヤ2スイッチ42と43の間のパケットの中継を遮断している   The layer 2 switch 41 and the layer 2 switch 42 are connected to form a loop path, but the path between the layer 2 switch 41 and the layer 2 switch 42 is blocked when no link failure occurs. . As a result, the relay of packets between the layer 2 switches 42 and 43 is blocked when no link failure has occurred.

通信ネットワーク3では、レイヤ2スイッチ41が端末装置20PからのReportメッセージ54をレイヤ2スイッチ10へ中継し、レイヤ2スイッチ42が端末装置20R,20SからのReportメッセージ54をレイヤ2スイッチ10へ中継している。そして、レイヤ2スイッチ10がReportメッセージ54をマルチキャストルータ30へ中継している。   In the communication network 3, the layer 2 switch 41 relays the report message 54 from the terminal device 20P to the layer 2 switch 10, and the layer 2 switch 42 relays the report message 54 from the terminal devices 20R and 20S to the layer 2 switch 10. ing. The layer 2 switch 10 relays the report message 54 to the multicast router 30.

また、レイヤ2スイッチ10がマルチキャストルータ30からのQueryメッセージ51をレイヤ2スイッチ41,42へ中継している。そして、レイヤ2スイッチ41がレイヤ2スイッチ10からのQueryメッセージ51を端末装置20P,20Qに中継し、レイヤ2スイッチ42がレイヤ2スイッチ10からのQueryメッセージ51を端末装置20R,20Sに中継している。   Further, the layer 2 switch 10 relays the query message 51 from the multicast router 30 to the layer 2 switches 41 and 42. Then, the layer 2 switch 41 relays the query message 51 from the layer 2 switch 10 to the terminal devices 20P and 20Q, and the layer 2 switch 42 relays the query message 51 from the layer 2 switch 10 to the terminal devices 20R and 20S. Yes.

つぎに、実施の形態4に係るレイヤ2スイッチの動作手順について説明する。通信ネットワーク3において、レイヤ2スイッチ10,41,42は、物理的なループを構成しているので、論理的なツリートポロジを構成してパケットの無限周回を防ぐ構成制御機構を動作させているものとする。例えば、レイヤ2スイッチ10,41,42では、IEEE802.1D Spanning Tree Protocol等によって構成制御機構を動作させている。   Next, an operation procedure of the layer 2 switch according to the fourth embodiment will be described. In the communication network 3, since the layer 2 switches 10, 41, and 42 constitute a physical loop, they operate a configuration control mechanism that forms a logical tree topology and prevents infinite circulation of packets. And For example, in the layer 2 switches 10, 41, 42, the configuration control mechanism is operated by IEEE 802.1D Spanning Tree Protocol or the like.

端末装置のうち、端末装置20P,20R,20SがIGMPやMLDなどのマルチキャストグループメンバシップ管理プロトコルによってマルチキャストグループに参加し、マルチキャストルータ30からのマルチキャストデータパケットを受信しているものとする。レイヤ2スイッチ10,41,42は、それぞれスヌーピング動作を行なっており、I/F部毎のマルチキャストテーブル、受信グループ管理テーブルを有している。   Of the terminal devices, the terminal devices 20P, 20R, and 20S are assumed to participate in the multicast group by a multicast group membership management protocol such as IGMP and MLD and receive multicast data packets from the multicast router 30. Each of the layer 2 switches 10, 41, and 42 performs a snooping operation, and has a multicast table and a reception group management table for each I / F unit.

レイヤ2スイッチ41とレイヤ2スイッチ42の間のリンクに障害が発生すると、構成制御機構によってレイヤ2スイッチ41とレイヤ2スイッチ42の間のリンクがブロッキング解除される。   When a failure occurs in the link between the layer 2 switch 41 and the layer 2 switch 42, the link between the layer 2 switch 41 and the layer 2 switch 42 is released from blocking by the configuration control mechanism.

ここで、レイヤ2スイッチ41とレイヤ2スイッチ42の間のリンクに障害が発生した場合のデータ中継について説明する。図16は、図15に示した実施の形態4に係る通信ネットワークがリンク障害発生した場合のデータ中継を説明するための図である。   Here, data relay when a failure occurs in the link between the layer 2 switch 41 and the layer 2 switch 42 will be described. FIG. 16 is a diagram for explaining data relaying when a link failure occurs in the communication network according to the fourth embodiment shown in FIG.

ブロッキング解除されると、通信ネットワーク3では、レイヤ2スイッチ41が端末装置20PからのReportメッセージ56をレイヤ2スイッチ10へ中継している。また、レイヤ2スイッチ42が端末装置20R,20SからのReportメッセージ54をレイヤ2スイッチ41に中継し、レイヤ2スイッチ41がレイヤ2スイッチ42からのReportメッセージ54をレイヤ2スイッチ10へ中継している。そして、レイヤ2スイッチ10がReportメッセージ56をマルチキャストルータ30へ中継している。   When the blocking is released, in the communication network 3, the layer 2 switch 41 relays the report message 56 from the terminal device 20P to the layer 2 switch 10. The layer 2 switch 42 relays the report message 54 from the terminal devices 20R and 20S to the layer 2 switch 41, and the layer 2 switch 41 relays the report message 54 from the layer 2 switch 42 to the layer 2 switch 10. . The layer 2 switch 10 relays the Report message 56 to the multicast router 30.

また、レイヤ2スイッチ10がマルチキャストルータ30からのQueryメッセージ55をレイヤ2スイッチ41へ中継している。そして、レイヤ2スイッチ41がレイヤ2スイッチ10からのQueryメッセージ(Multicast Address Specific Queryメッセージ)55を端末装置20P、レイヤ2スイッチ42に中継し、レイヤ2スイッチ42がレイヤ2スイッチ10からのQueryメッセージ55を端末装置20R,20Sに中継している。   Further, the layer 2 switch 10 relays the query message 55 from the multicast router 30 to the layer 2 switch 41. Then, the layer 2 switch 41 relays the query message (multicast address specific query message) 55 from the layer 2 switch 10 to the terminal device 20P and the layer 2 switch 42, and the layer 2 switch 42 receives the query message 55 from the layer 2 switch 10. Are relayed to the terminal devices 20R and 20S.

つぎに、実施の形態4に係る通信ネットワークの動作手順について説明する。各レイヤ2スイッチ10,41,42は、構成制御機構によるネットワークトポロジの変化を検出すると、送信元リストを空としたTO_INタイプのReportメッセージをルータ接続ポートに送信する。また、このとき各レイヤ2スイッチ10,41,42は、最大応答待ち時間のタイマ(ネットワークトポロジ変化からLLQT時間経過するまでを計測するタイマ)を起動するとともに、エントリタイマ、ソースタイマ、フィルタタイマをLLQTに短縮する。   Next, an operation procedure of the communication network according to the fourth embodiment will be described. Upon detecting a change in the network topology by the configuration control mechanism, each of the layer 2 switches 10, 41, and 42 transmits a TO_IN type Report message with an empty transmission source list to the router connection port. At this time, each layer 2 switch 10, 41, 42 starts a timer for maximum response waiting time (a timer for measuring the time until LLQT time elapses from a change in network topology), and has an entry timer, a source timer, and a filter timer. Shorten to LLQT.

このとき、各レイヤ2スイッチ10,41,42の送信するReportメッセージが多数マルチキャストルータ30に到着しないように、タイマを設けてReportメッセージの送信数を制限してもよい。   At this time, a timer may be provided to limit the number of Report messages transmitted so that a large number of Report messages transmitted by the layer 2 switches 10, 41, 42 do not arrive at the multicast router 30.

マルチキャストルータ30は、Reportメッセージを受信すると、Multicast Address Speicific Queryメッセージを送信する。レイヤ2スイッチ10は、マルチキャストルータ30からのQueryメッセージを受信した際に、先述のタイマが起動中であれば(タイマ値が満了するまでの間)、全ポート(ここではレイヤ2スイッチ41)にQueryメッセージを中継する。   When the multicast router 30 receives the Report message, the multicast router 30 transmits a Multicast Address Specific Query message. When the Layer 2 switch 10 receives the Query message from the multicast router 30 and the timer described above is running (until the timer value expires), all the ports (here, the Layer 2 switch 41) are connected. Relay the Query message.

レイヤ2スイッチ41は、レイヤ2スイッチ10からのQueryメッセージを受信し、レイヤ2スイッチ10と同様に全ポート(ここでは端末装置20P、レイヤ2スイッチ42)に中継する。   The layer 2 switch 41 receives the query message from the layer 2 switch 10 and relays it to all ports (here, the terminal device 20P and the layer 2 switch 42) in the same manner as the layer 2 switch 10.

レイヤ2スイッチ42は、ブロッキングが解除されたポートからレイヤ2スイッチ41からのQueryメッセージを受信し、ルータ接続ポートとして学習する。そして、レイヤ2スイッチ42は、レイヤ2スイッチ41と同様に全ポート(ここでは端末装置20R,20S)にQueryメッセージを中継する。   The layer 2 switch 42 receives the Query message from the layer 2 switch 41 from the port whose blocking has been released, and learns it as a router connection port. Then, similarly to the layer 2 switch 41, the layer 2 switch 42 relays the Query message to all ports (in this case, the terminal devices 20R and 20S).

各受信者はこれらのQueryメッセージを受信するとReportメッセージを応答する。これにより、各レイヤ2スイッチ10,41,42はI/F部毎のマルチキャストテーブルの内容を更新する。また、各種タイマ値がLLQT以下の値からMALIへ更新されるため、ルータ接続ポートへReportメッセージを送信する。これにより、通信ネットワーク3ではトポロジ変化後のマルチキャストツリーが再構築される。   Each recipient responds with a Report message upon receiving these Query messages. Thereby, each layer 2 switch 10, 41, 42 updates the contents of the multicast table for each I / F unit. In addition, since various timer values are updated from a value equal to or lower than LLQT to MALI, a Report message is transmitted to the router connection port. Thereby, in the communication network 3, the multicast tree after the topology change is reconstructed.

このように、ネットワークトポロジの変化を検出した際に、各種タイマ値をLLQTに短縮し、ネットワークトポロジ変化からLLQT時間経過するまでを計測するタイマを起動している。そして、Report(TO_IN({}))メッセージを送信してルータからのMulticast Address Speicific Queryメッセージ送信を促し、タイマ起動中に受信したMulticast Address Speicific Queryメッセージは全ポートに中継しているので、受信端末の存在を迅速に確認することが可能となる。   As described above, when a change in the network topology is detected, the various timer values are shortened to LLQT, and a timer for measuring the time until the LLQT time elapses after the change in the network topology is started. Then, a Report (TO_IN ({})) message is transmitted to prompt the router to send a Multicast Address Specific Query message, and the Multicast Address Specific Query message received during the timer start is relayed to all ports. It is possible to quickly confirm the presence of

このように、実施の形態4によれば、ネットワークトポロジの変化を検出すると、送信元リストを空としたTO_INタイプのReportメッセージをマルチキャストルータ30に送信しているのでネットワークトポロジ変化後のマルチキャスト中継ツリー再構成を迅速に行なうことが可能となる。   Thus, according to the fourth embodiment, when a change in the network topology is detected, a TO_IN type Report message with an empty transmission source list is transmitted to the multicast router 30, so the multicast relay tree after the change in the network topology Reconfiguration can be performed quickly.

また、予めマルチキャストルータ30の接続する上流インタフェースとマルチキャスト受信端末が接続する下流インタフェースを登録しておく必要がなく、任意のトポロジで各インタフェースを利用可能である。   Further, it is not necessary to register in advance an upstream interface to which the multicast router 30 is connected and a downstream interface to which the multicast receiving terminal is connected, and each interface can be used in an arbitrary topology.

さらに、受信者情報を収集するためにレイヤ2スイッチ自身がQueryメッセージを生成することなく、マルチキャストルータ30からのQueryメッセージの送信を促すよう、Reportメッセージを送信するのみであるため、端末装置が受信処理を行なうことが保障されていない未定アドレスを使う必要もない。これにより、Query送信者選出プロセスに参加しないようレイヤ2スイッチのアドレス管理を行なう必要もないのでアドレス管理を容易に行なうことが可能となる。   Furthermore, since the Layer 2 switch itself does not generate a Query message in order to collect the recipient information, it only transmits a Report message so as to prompt transmission of the Query message from the multicast router 30, so that the terminal device receives it. There is no need to use undetermined addresses that are not guaranteed to be processed. As a result, it is not necessary to manage the address of the layer 2 switch so as not to participate in the Query sender selection process, and thus it becomes possible to easily manage the address.

以上のように、本発明にかかるデータ中継装置は、マルチキャストデータのデータ中継に適している。   As described above, the data relay device according to the present invention is suitable for data relay of multicast data.

実施の形態1に係るレイヤ2スイッチを有した通信ネットワークの構成を示す図である。It is a figure which shows the structure of the communication network which has the layer 2 switch which concerns on Embodiment 1. FIG. 実施の形態1に係るレイヤ2スイッチの構成を示すブロック図である。3 is a block diagram illustrating a configuration of a layer 2 switch according to Embodiment 1. FIG. 実施の形態1に係るレイヤ2スイッチがGeneral Queryメッセージを受信した際の動作手順を示すフローチャートである。7 is a flowchart illustrating an operation procedure when the layer 2 switch according to the first embodiment receives a general query message. 実施の形態1に係るレイヤ2スイッチがReportメッセージを受信した際の動作手順を示すフローチャートである。7 is a flowchart illustrating an operation procedure when the layer 2 switch according to the first embodiment receives a Report message. 実施の形態1に係るレイヤ2スイッチがSpecific Queryメッセージを受信した際の動作手順を示すフローチャートである。6 is a flowchart illustrating an operation procedure when the layer 2 switch according to the first embodiment receives a Specific Query message. 実施の形態2に係るレイヤ2スイッチを有した通信ネットワークの構成を示す図である。It is a figure which shows the structure of the communication network which has the layer 2 switch which concerns on Embodiment 2. FIG. 実施の形態2に係るレイヤ2スイッチがReportメッセージを受信した際のルータモード受信部の動作手順を示すフローチャートである。10 is a flowchart illustrating an operation procedure of a router mode receiving unit when the layer 2 switch according to the second embodiment receives a Report message. 実施の形態2に係るレイヤ2スイッチがGeneral Queryメッセージを受信した際の動作手順を示すフローチャートである。10 is a flowchart illustrating an operation procedure when a layer 2 switch according to the second embodiment receives a general query message. マルチキャストエントリ状態とルータ接続ポートから送信するメッセージの関係を示す図(1)である。It is a figure (1) which shows the relationship between the message transmitted from a multicast entry state and a router connection port. マルチキャストエントリ状態とルータ接続ポートから送信するメッセージの関係を示す図(2)である。FIG. 6B is a diagram (2) illustrating a relationship between a multicast entry state and a message transmitted from a router connection port. 実施の形態2の通信ネットワークに受信者が追加された場合のデータ中継を説明するための図である。FIG. 10 is a diagram for explaining data relay when a receiver is added to the communication network according to the second embodiment. 実施の形態2に係るレイヤ2スイッチがSpecific Queryメッセージを受信した際の動作手順を示すフローチャートである。10 is a flowchart showing an operation procedure when the layer 2 switch according to the second embodiment receives a Specific Query message. 実施の形態3の通信ネットワークのデータ中継を説明するための図である。FIG. 10 is a diagram for explaining data relay of the communication network according to the third embodiment. Query受信部がMulticast Address Specific Queryメッセージを受信した際の動作手順を示すフローチャートである。It is a flowchart which shows the operation | movement procedure at the time of a Query receiving part receiving a Multicast Address Specific Query message. 実施の形態4に係るレイヤ2スイッチを有した通信ネットワークの構成を示す図である。It is a figure which shows the structure of the communication network which has the layer 2 switch which concerns on Embodiment 4. FIG. 図15に示した通信ネットワークがリンク障害発生した場合のデータ中継を説明するための図である。FIG. 16 is a diagram for explaining data relay when a link failure occurs in the communication network shown in FIG. 15.

符号の説明Explanation of symbols

1〜3 通信ネットワーク
10,40,41,42 レイヤ2スイッチ
11J〜11L,16 I/F部
12J〜12L ルータモード受信部
13J〜13L マルチキャストテーブル記憶部
14 受信グループ管理テーブル記憶部
15 Query受信処理部
20J〜20L,20P〜20S 端末装置
30 マルチキャストルータ
101,102 エントリ情報
1-3 Communication network 10, 40, 41, 42 Layer 2 switch 11J-11L, 16 I / F unit 12J-12L Router mode reception unit 13J-13L Multicast table storage unit 14 Reception group management table storage unit 15 Query reception processing unit 20J to 20L, 20P to 20S Terminal device 30 Multicast router 101, 102 Entry information

Claims (11)

レイヤ3のマルチキャストメンバシップ管理プロトコルで用いられマルチキャストルータと受信端末との間で送受信されるメッセージをスヌーピングして、マルチキャスト中継を制御するデータ中継装置において、
前記受信端末毎のインタフェースで前記受信端末側とメッセージの送受信を行なう端末側通信部と、
前記マルチキャストルータ側とメッセージの送受信を行なうルータ側通信部と、
マルチキャストへの参加またはマルチキャストからの離脱を示すメッセージを前記マルチキャストルータに向けて送信するとともに前記マルチキャストルータから送信される前記マルチキャストに関する問い合わせを行なう問合せメッセージを前記受信端末側へ中継して、前記マルチキャストルータ側との間のマルチキャスト中継および前記受信端末側との間のマルチキャスト中継を制御し、且つ前記問合せメッセージに対する前記受信端末からの応答メッセージに基づいて前記受信端末に関する受信者情報を収集し、収集した受信者情報を用いて前記マルチキャスト中継を制御する通信制御部と、
を備え、
前記受信者情報は、前記各インタフェースに対応するマルチキャストエントリに関するマルチキャスト情報および前記各マルチキャストエントリを管理する管理タイマのタイマ値の情報を含み、
前記通信制御部は、前記問合せメッセージのうち離脱する受信者を確認する離脱確認メッセージを前記マルチキャストルータ側から受信した際に、前記各タイマ値に基づいて前記離脱確認メッセージを中継するか否かを判断し、前記離脱確認メッセージを中継すると判断した場合に、前記離脱確認メッセージを中継すると判断させたタイマ値に対応するインタフェースから前記離脱確認メッセージを中継することを特徴とするデータ中継装置。
In a data relay device that controls multicast relay by snooping messages that are used in the layer 3 multicast membership management protocol and transmitted and received between a multicast router and a receiving terminal,
A terminal-side communication unit that transmits and receives messages to and from the receiving terminal at an interface for each receiving terminal;
A router side communication unit for sending and receiving messages to and from the multicast router side;
A message indicating participation in multicast or leaving from multicast is transmitted to the multicast router and an inquiry message for inquiring about the multicast transmitted from the multicast router is relayed to the receiving terminal side, and the multicast router Control the multicast relay to and from the receiving terminal side , and collect and collect the receiver information on the receiving terminal based on the response message from the receiving terminal to the inquiry message A communication control unit for controlling the multicast relay using receiver information ;
With
The receiver information includes multicast information related to a multicast entry corresponding to each interface and information on a timer value of a management timer that manages each multicast entry,
The communication control unit determines whether or not to relay the leave confirmation message based on each timer value when receiving from the multicast router a leave confirmation message for confirming a receiver to leave among the inquiry messages. A data relay apparatus that relays the leave confirmation message from an interface corresponding to a timer value determined to relay the leave confirmation message when it is determined to relay the leave confirmation message.
前記通信制御部は、前記マルチキャストからの離脱を要求する離脱要求メッセージを前記受信端末側から受信すると、前記離脱要求メッセージに対応するタイマ値を前記離脱確認メッセージを中継するか否かの判断基準となる閾値に設定しておき、前記マルチキャストルータ側から前記離脱確認メッセージを受信した際には、前記各タイマ値と前記閾値とをそれぞれ比較するとともに、この比較結果に基づいて前記各タイマ値に対応するマルチキャストエントリ毎に前記離脱確認メッセージを中継するか否かを判断することを特徴とする請求項に記載のデータ中継装置。 When the communication control unit receives a leave request message requesting leave from the multicast from the receiving terminal side, a criterion for determining whether to relay the leave confirmation message is a timer value corresponding to the leave request message; When the leave confirmation message is received from the multicast router side, the timer value is compared with the threshold value, and the timer value is handled based on the comparison result. the data relay apparatus according to claim 1, wherein said to determine whether to relay a leaving confirmation message to each multicast entries. 前記通信制御部は、前記マルチキャストルータ側から前記離脱確認メッセージを受信した際に、前記各タイマ値に基づいて前記離脱確認メッセージに対する応答メッセージを前記マルチキャストルータ側に送信するか否かを判断し、前記応答メッセージを送信すると判断させたタイマ値が存在する場合には、当該タイマ値のマルチキャストエントリに対応する応答メッセージを前記マルチキャストルータ側に送信することを特徴とする請求項に記載のデータ中継装置。 When the communication control unit receives the leave confirmation message from the multicast router side, it determines whether to send a response message to the leave confirmation message to the multicast router side based on each timer value, 3. The data relay according to claim 2 , wherein when there is a timer value determined to transmit the response message, a response message corresponding to the multicast entry of the timer value is transmitted to the multicast router side. apparatus. 前記通信制御部は、前記マルチキャストからの離脱を要求する離脱要求メッセージを前記受信端末側から受信すると、前記離脱要求メッセージに対応するタイマ値を前記閾値に設定しておき、前記マルチキャストルータ側から前記離脱確認メッセージを受信した際には、前記各タイマ値と前記閾値とをそれぞれ比較するとともに、この比較結果に基づいて前記各タイマ値に対応するマルチキャストエントリ毎に前記応答メッセージを送信するか否かを判断することを特徴とする請求項に記載のデータ中継装置。 The communication control unit receives a withdrawal request message requesting a leave from the multicast from the receiving terminal, a timer value corresponding to the withdrawal request message may be set to the threshold value, the from the multicast router side When receiving a leave confirmation message , each timer value is compared with the threshold value, and whether or not the response message is transmitted for each multicast entry corresponding to each timer value based on the comparison result The data relay device according to claim 3 , wherein: 前記通信制御部は、前記離脱要求メッセージまたは前記マルチキャストへの参加を要求する参加要求メッセージを前記受信端末から受信すると、前記離脱要求メッセージまたは前記参加要求メッセージを受信する前と受信した後の前記受信者情報の変化に基づいて、前記マルチキャストルータへの応答メッセージを前記マルチキャストルータ側へ送信するか否かを判断することを特徴とする請求項2〜4のいずれか1つに記載のデータ中継装置。 When the communication control unit receives the leave request message or the join request message for requesting participation in the multicast from the receiving terminal, the reception before receiving the leave request message or the join request message and after receiving the join request message 5. The data relay device according to claim 2 , wherein a determination is made as to whether or not to send a response message to the multicast router to the multicast router side based on a change in the user information. 6. . 前記通信制御部は、前記受信端末側から前記離脱要求メッセージを受信すると、マルチキャストエントリの状態変化に基づいて前記マルチキャストルータへの応答メッセージを前記マルチキャストルータ側へ送信するか否かを判断し、送信すると判断した場合には、前記離脱要求メッセージ内で指定されたソース全体を離脱対象とした応答メッセージを前記マルチキャストルータ側へ送信することを特徴とする請求項2〜5のいずれか1つに記載のデータ中継装置。 When the communication control unit receives the leave request message from the receiving terminal side, the communication control unit determines whether to send a response message to the multicast router to the multicast router side based on a change in state of the multicast entry, then when it is determined is described in any one of claims 2-5, characterized in that to send a response message and the detachable covers the entire specified source in the withdrawal request message to the multicast router-side Data relay device. 前記通信制御部は、前記受信端末側から前記離脱要求メッセージまたは前記参加要求メッセージを受信すると、マルチキャストエントリの状態変化に応じた値に前記タイマ値を更新するとともに、前記タイマ値の更新前後の変化に基づいて、前記応答メッセージを前記マルチキャストルータ側へ送信するか否かを判断することを特徴とする請求項5または6に記載のデータ中継装置。 When the communication control unit receives the leave request message or the join request message from the receiving terminal side, the communication control unit updates the timer value to a value according to a state change of the multicast entry, and changes before and after the timer value is updated. 7. The data relay device according to claim 5 , wherein whether or not to transmit the response message to the multicast router side is determined based on the data. 前記通信制御部は、マルチキャストの送信元リストから送信元の除外対象を指定した除外要求モードの応答メッセージを受信していた前記端末通信部のインタフェースが、前記送信元を受信要求の対象として指定した受信要求モードの応答メッセージを受信すると、前記除外要求モードで指定されている除外対象の送信元に対応するタイマ値を前記閾値に設定するとともに、前記受信要求の対象を空に設定した受信要求モードの応答メッセージを前記マルチキャストルータ側に送信することを特徴とする請求項2〜7のいずれか1つに記載のデータ中継装置。 The communication control unit has received the response message in the exclusion request mode in which the exclusion target of the transmission source is specified from the multicast transmission source list, and the interface of the terminal communication unit has specified the transmission source as a reception request target When the reception request mode response message is received, the reception request mode in which the timer value corresponding to the transmission source of the exclusion target specified in the exclusion request mode is set to the threshold value, and the reception request target is set to empty The data relay apparatus according to claim 2 , wherein the response message is transmitted to the multicast router side. 前記通信制御部は、自装置が接続されているネットワークのネットワークトポロジの変化を検出した際に、前記受信要求の対象を空に設定した受信要求モードの応答メッセージを前記マルチキャストルータ側に送信することを特徴とする請求項に記載のデータ中継装置。 When the communication control unit detects a change in the network topology of the network to which the own device is connected, the communication control unit transmits a response message in a reception request mode in which the reception request target is set to empty to the multicast router side. The data relay device according to claim 8 . 前記通信制御部は、自装置が接続されているネットワークのネットワークトポロジの変化を検出した際に、前記管理タイマのタイマ値を前記閾値に設定するとともに、前記閾値に設定されたタイマ値が満了するまでの間は、前記端末通信部の全てのインタフェースから前記離脱確認メッセージを中継することを特徴とする請求項に記載のデータ中継装置。 When the communication control unit detects a change in the network topology of the network to which the own device is connected, the communication control unit sets the timer value of the management timer to the threshold value, and the timer value set to the threshold value expires 10. The data relay device according to claim 9 , wherein the leave confirmation message is relayed from all the interfaces of the terminal communication unit until. 前記閾値は、前記離脱確認メッセージの最大応答待ち時間であることを特徴とする請求項2〜10のいずれか1つに記載のデータ中継装置。 The data relay device according to any one of claims 2 to 10 , wherein the threshold is a maximum response waiting time of the leave confirmation message .
JP2006337218A 2006-12-14 2006-12-14 Data relay device Expired - Fee Related JP4800916B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006337218A JP4800916B2 (en) 2006-12-14 2006-12-14 Data relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006337218A JP4800916B2 (en) 2006-12-14 2006-12-14 Data relay device

Publications (2)

Publication Number Publication Date
JP2008153766A JP2008153766A (en) 2008-07-03
JP4800916B2 true JP4800916B2 (en) 2011-10-26

Family

ID=39655523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006337218A Expired - Fee Related JP4800916B2 (en) 2006-12-14 2006-12-14 Data relay device

Country Status (1)

Country Link
JP (1) JP4800916B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8325725B2 (en) * 2009-07-20 2012-12-04 Telefonaktiebolaget L M Ericsson (Publ) Efficient host management protocol on multicast capable router
WO2014147784A1 (en) 2013-03-21 2014-09-25 三菱電機株式会社 Gateway device
JP6729845B2 (en) 2014-03-28 2020-07-29 富士通株式会社 Network system, packet transmission device, packet transmission method, and information processing program
JP2016163069A (en) * 2015-02-26 2016-09-05 日本電信電話株式会社 Office side device and multicast delivery method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020091926A1 (en) * 2001-01-10 2002-07-11 The Furukawa Electric Co., Ltd. Multicast authentication method, multicast authentication server, network interconnection apparatus and multicast authentication system
JP4297875B2 (en) * 2002-11-05 2009-07-15 富士通株式会社 Network relay method and apparatus
JP4141304B2 (en) * 2003-03-27 2008-08-27 富士通株式会社 Communication method, receiving terminal, L2 switch and L3 switch in multicast communication network
JP2006087014A (en) * 2004-09-17 2006-03-30 Fujitsu Ltd Layer-2 switch

Also Published As

Publication number Publication date
JP2008153766A (en) 2008-07-03

Similar Documents

Publication Publication Date Title
JP4292890B2 (en) Multicast distribution method, distribution apparatus and system
EP1128605B1 (en) Apparatus for multicast packet transmission
TWI357242B (en) Route selection in wireless networks
JP6047229B2 (en) Name-based neighbor discovery and multi-hop service discovery in information-centric networks
JP3888209B2 (en) Multicast communication apparatus and system
JP5653912B2 (en) Method and apparatus for multicast group management
JP4170929B2 (en) Mobile communication system, mobile terminal, and mobile communication method
JP4080599B2 (en) Communication control apparatus and communication control method applied to multicast-compatible LAN
JP3266188B2 (en) Multicast communication device and multicast communication method
US8085770B2 (en) Method of transporting a multipoint stream in a local area network and device for connection implementing the method
CA2611146C (en) Method for data communication and system thereof
US20080232368A1 (en) Network system
CN101442502A (en) Method, apparatus and system for monitoring session based on multicast technology
JP2004531179A (en) Multicast method in network for point-to-point packet switching
WO2006081750A1 (en) A process method for filtering multicast source
JP4800916B2 (en) Data relay device
JP2006074132A (en) Multicast communication method and gateway device
EP2439876B1 (en) Method and device for requesting multicasting, processing multicasting requests and assisting in the aforementioned process
WO2009024054A1 (en) A method, device and system for realizing the management protocol agent for members in a multicast group
JP3824906B2 (en) INTERNET CONNECTION METHOD, ITS DEVICE, AND INTERNET CONNECTION SYSTEM USING THE DEVICE
Ballardie et al. Core Based Tree (CBT) Multicast
JP2006324981A (en) Multicast packet transfer system
JP3817205B2 (en) Network relay apparatus and communication disconnection method of the apparatus
JP3991001B2 (en) Data relay apparatus, distribution path management apparatus, distribution path management system, and distribution path management method
JP5572848B2 (en) Communication apparatus and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090911

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110510

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110706

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

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

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

Free format text: PAYMENT UNTIL: 20140812

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees