JP2006324981A - Multicast packet transfer system - Google Patents

Multicast packet transfer system Download PDF

Info

Publication number
JP2006324981A
JP2006324981A JP2005146720A JP2005146720A JP2006324981A JP 2006324981 A JP2006324981 A JP 2006324981A JP 2005146720 A JP2005146720 A JP 2005146720A JP 2005146720 A JP2005146720 A JP 2005146720A JP 2006324981 A JP2006324981 A JP 2006324981A
Authority
JP
Japan
Prior art keywords
multicast
packet
entry
processing 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.)
Withdrawn
Application number
JP2005146720A
Other languages
Japanese (ja)
Inventor
Yoshio Umebayashi
義男 梅林
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2005146720A priority Critical patent/JP2006324981A/en
Publication of JP2006324981A publication Critical patent/JP2006324981A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently transfer and discard multicast packets and to efficiently control and manage multicast packets to be discarded, in a multicast packet transfer system for router devices. <P>SOLUTION: A packet processing part to which a multicast packet from a source is inputted retrieves a table by using an address which is inputted by a retrieval processing part and is included in the packet and transfers the packet to a router device of a following stage in response to detecting it as a retrieval result that the packet is a transfer and discards the packet in response to detecting that it is discard entry, and starts a multicast processing part in response to detecting that it is not any entry, to retrieve an internal memory of the multicast processing part and registers a new entry to be transfered or discarded into the table as a transfer or discard entry when detecting the new entry. A system is so configured that discard entries are managed in the packet processing part by a timer. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は,マルチキャストルーティング機能を有するルータ装置におけるマルチキャストパケット転送方式に関し,マルチキャストパケットの不要トラヒックの流入を抑止することができるマルチキャストパケット転送方式に関する。   The present invention relates to a multicast packet transfer method in a router apparatus having a multicast routing function, and relates to a multicast packet transfer method capable of suppressing inflow of unnecessary traffic of multicast packets.

図10は従来のマルチキャスト通信のネットワーク構成を示す。図中,80はマルチキャストデータパケットの送信源のサーバであるソース(Source) ,81はソース80から最初にパケットを受信する最初のルータであるファーストホップルータ(FHR:First Hop Router) ,82はマルチキャストパケットの配信グループの基点となるランデブーポイント(Rendezvous Point:RP)ルータ,83はRPルータ82から配信されたマルチキャストデータを配下のルータに転送するルータ,84は受信端末85へマルチキャストパケットを転送する最終段のルータであるラストホップルータ(LHR:Last Hop Router),85はソース80からのマルチキャストパケットを受け取るクライアント(またはホスト)である受信端末である。   FIG. 10 shows a conventional multicast communication network configuration. In the figure, reference numeral 80 denotes a source that is a server of a transmission source of multicast data packets, 81 denotes a first hop router (FHR: First Hop Router) that is a first router that receives a packet from the source 80, and 82 denotes multicast. A rendezvous point (RP) router serving as a base point of a packet distribution group, 83 is a router that transfers multicast data distributed from the RP router 82 to a subordinate router, and 84 is a final transfer of multicast packets to a receiving terminal 85. A last hop router (LHR) 85, which is a stage router, is a receiving terminal that is a client (or host) that receives a multicast packet from the source 80.

図10に示すような複数のルータと端末(ホスト)から構成されるネットワークにおいて,ファーストホップルータ81からラストホップルータ84までの範囲のプロトコル(ルータとルータ間の制御用のプロトコル)は,TCP/IPのマルチキャストルーティングプロトコルの一つであるRFC2362のPIM−SM(Protocol Independent Multicast-Sparse Mode)に従って動作する。このモードはマルチキャストパケットを広い領域にまばらに散在するマルチキャストグループ(共有ツリーを用いる)に転送する環境で使用する。また,ラストホップルータ84と受信端末85の間のプロトコル(ルータと端末(ホスト)間の制御用のプロトコル)はIGMP(IPV4対応のInternet Group Management Protocol:同一データを複数のホストに効率良く配送するIPマルチキャストで,配送を受けるために構成されるホストのグループを制御するためのプロトコル)やMLD(IPV6対応のMulticast Listener Discovery Protocol:ルータが受信端末の存在を調査するためのプロトコル)により動作する。   In a network composed of a plurality of routers and terminals (hosts) as shown in FIG. 10, the protocol (control protocol between routers) from the first hop router 81 to the last hop router 84 is TCP / It operates in accordance with RFC 2362 PIM-SM (Protocol Independent Multicast-Sparse Mode) which is one of IP multicast routing protocols. This mode is used in an environment where multicast packets are forwarded to multicast groups (using a shared tree) that are sparsely distributed over a wide area. The protocol between the last hop router 84 and the receiving terminal 85 (control protocol between the router and the terminal (host)) is IGMP (Internet Group Management Protocol corresponding to IPV4: efficiently delivering the same data to a plurality of hosts). It operates according to IP multicast (protocol for controlling a group of hosts configured to receive delivery) and MLD (IPV6-compatible Multicast Listener Discovery Protocol: a protocol for a router to investigate the presence of a receiving terminal).

マルチキャスト通信では,送信端末はパケットを一つ送信することによって,必要に応じてマルチキャストルータがパケットの複製を行い,受信端末に中継していく。すなわち,マルチキャスト通信では,同一ネットワーク上を複数のコピーパケットが通過することがないため帯域を有効に利用でき,またルータを通過するパケットの数が減ることでルータの負荷が軽くなる。   In multicast communication, the sending terminal transmits one packet, and the multicast router duplicates the packet as necessary and relays it to the receiving terminal. In other words, in multicast communication, a plurality of copy packets do not pass through the same network, so that the bandwidth can be used effectively, and the load on the router is reduced by reducing the number of packets passing through the router.

各マルチキャストルータがあるネットワークインタフェースにパケットを中継するかどうかは,そのネットワークインタフェースにつながったサブネット上にマルチキャスト受信端末が存在するかどうか,およびサブネット上の自分以外のマルチキャストルータがそのデータパケットの中継を望んでいるかどうかによって決定される。サブネット上にマルチキャスト受信端末が存在するかどうかは,IGMP/MLDプロトコルによって決定され,サブネット上のマルチキャストルータがデータパケットの中継を望んでいるかどうかは,マルチキャストルーティングプロトコル(PIM−SMが一般的)によって決定される。つまり,ルータ・端末(ホスト)間の制御用プロトコルIGMP/MLD,ルータ・ルータ間の制御用プロトコルがマルチキャストルーティングプロトコル(PIM−SM等)であり,IGMP/MLDプロトコルとマルチキャストルーティングプロトコルが連携して中継先を決定する。ここで,マルチキャストルータは,一般的にハードルータであり,トラヒック転送をハード処理で行い,プロトコル制御パケットの処理はCPUで行う。   Whether each multicast router relays a packet to a network interface depends on whether there is a multicast receiving terminal on the subnet connected to the network interface, and other multicast routers on the subnet relay the data packet. It depends on whether you want it. Whether a multicast receiving terminal exists on the subnet is determined by the IGMP / MLD protocol, and whether a multicast router on the subnet wants to relay a data packet depends on the multicast routing protocol (PIM-SM is common). It is determined. That is, the control protocol IGMP / MLD between the router and terminal (host) is the multicast routing protocol (such as PIM-SM), and the IGMP / MLD protocol and the multicast routing protocol work together. Determine the relay destination. Here, the multicast router is generally a hard router, and traffic transfer is performed by hardware processing, and protocol control packet processing is performed by the CPU.

PIM−SMプロトコルによる基本動作を説明する。ネットワーク上のPIM−SMルータであるファーストホップルータ81が,これに直接接続するソース(サーバ)80からマルチキャストデータパケットの送信を受け取ると,RPルータ82にそのマルチキャストデータパケットの配信を開始する。RPルータ82はファーストホップルータ81からマルチキャストパケットの配信を受けた時に受信端末85からのパケット受信要求がまだ無ければファーストホップルータ81からの配信を単に廃棄して待機する。一方,ラストホップルータ84は,接続されたネットワークでマルチキャストパケットの受信を希望する受信端末(クライアント)85の存在を検出するとRPルータ82にクライアントの存在(及び受信希望のグループ)を伝えるために上流方向の隣接ルータにPIM−Join(マルチキャスト参加)メッセージを送信する。PIM−Joinメッセージが順次,PIM−SMルータを経由してRPルータ82に到達するとRPルータ82からマルチキャストパケットの配信が開始される。   A basic operation based on the PIM-SM protocol will be described. When the first hop router 81, which is a PIM-SM router on the network, receives transmission of a multicast data packet from a source (server) 80 directly connected to the first hop router 81, distribution of the multicast data packet to the RP router 82 is started. When receiving a multicast packet distribution from the first hop router 81, the RP router 82 simply discards the distribution from the first hop router 81 and waits if there is no packet reception request from the receiving terminal 85. On the other hand, when the last hop router 84 detects the presence of a receiving terminal (client) 85 that desires to receive a multicast packet in the connected network, the last hop router 84 communicates with the RP router 82 in order to inform the RP router 82 of the presence of the client (and the group that wants to receive it). A PIM-Join (multicast join) message is transmitted to the neighboring router in the direction. When the PIM-Join messages sequentially reach the RP router 82 via the PIM-SM router, multicast packet distribution is started from the RP router 82.

このように,ソース(サーバ)とファーストホップルータとの間には明示的な制御シーケンス(転送開始・停止)が無いため,サーバはパケット受信要求を行っているクライアントの存在有無に関わらず,パケットを伝送路上に送信し続ける。そのため,ファーストホップルータはこのパケットを常に受信し,処理装置(CPU)において必要か不要かの判断を行う必要がある。仮に,該当パケットが不要な場合,この判断処理は定常的にファーストホップルータの処理装置の処理性能を低下させ,他のマルチキャストグループの接続処理にも影響を与えたり,マルチキャスト処理とは無関係の処理装置上で動作する他の処理を圧迫することになるという問題がある。   In this way, since there is no explicit control sequence (transfer start / stop) between the source (server) and the first hop router, the server can send a packet regardless of the presence or absence of the client requesting packet reception. Is continuously transmitted on the transmission line. For this reason, the first hop router must always receive this packet and determine whether it is necessary or unnecessary in the processing unit (CPU). If the packet is not needed, this decision processing steadily degrades the processing performance of the processing device of the first hop router, affects the connection processing of other multicast groups, and is unrelated to multicast processing. There is a problem in that other processes that operate on the apparatus are pressed.

パケット転送装置の技術において,受信したパケットについて廃棄までの処理を簡略化して処理の負荷を軽減する技術として,送信端末から送出されるマルチキャストパケットを送信側IPルータ装置から最終的に受信側IPルータ装置を経て受信端末に送信する場合に,受信希望有無確認装置により複数の受信端末の中から受信を希望しているものに送信経路の作成を要求させ,これによりIPルータ装置は転送が要求されるパケットの情報及び転送不要のパケットの情報を管理テーブルに書き込んでおき,該当するパケットが受信されるとハードウェアにより転送不要のパケットを廃棄し,転送が要求されるパケットの転送を行うことが知られている(特許文献1参照)。
特開2003−234760号公報
In the technology of the packet transfer device, as a technology for reducing the processing load by simplifying the processing up to discarding the received packet, the multicast packet sent from the transmission terminal is finally transmitted from the transmission side IP router device to the reception side IP router. When transmitting to the receiving terminal through the device, the receiving request confirmation device requests the receiving terminal to request the creation of the transmission path from among a plurality of receiving terminals, whereby the IP router device is requested to transfer. Packet information and packet information that does not need to be transferred are written to the management table. When the corresponding packet is received, the packet that does not need to be transferred is discarded by the hardware, and the packet that requires transfer is transferred. It is known (see Patent Document 1).
JP 2003-234760 A

上記特許文献1に記載の技術では,マルチキャストパケットの廃棄と転送の処理をハードにより行うことでルータ装置の処理装置(CPU)による各パケット毎の処理負担を軽減することができるが,配信が終了したマルチキャストデータパケットに対する無駄なリソースを消費するという問題がある。   In the technique described in Patent Document 1, the processing load for each packet by the processing unit (CPU) of the router device can be reduced by performing the processing of discarding and forwarding the multicast packet by hardware, but the distribution is completed. There is a problem of consuming unnecessary resources for the multicast data packets.

本発明はマルチキャストパケットの転送,廃棄を効率良く処理すると共に廃棄すべきマルチキャストパケットの管理制御を効率良く行うことができるマルチキャストパケット転送方式を提供することを目的とする。   SUMMARY OF THE INVENTION An object of the present invention is to provide a multicast packet transfer method capable of efficiently processing multicast packet transfer and discard, and efficiently performing management control of the multicast packet to be discarded.

図1は本発明の原理構成を示す。図中,1はルータ装置,10はパケット処理部,10aはマルチキャストパケット通知手段,10bは転送処理手段,10cは廃棄処理手段,11はRFC2362(TCP/IP)のPIM−SMによる制御を行うマルチキャスト処理部,11aはマルチキャスト配信の制御に使用するための配信要求や廃棄要求があった転送エントリ,廃棄エントリ及びマルチキャストグループの配信の基点となるRP(ランデブーポイント)のルータ装置の設定状況等の情報を格納した内部メモリ,11bは廃棄エントリに対するタイマの更新を行うタイマ処理部,12は入力するマルチキャストデータパケット(以下,単にマルチキャストパケットという)のヘッダ(送信先,送信元等を含む)を用いたテーブルを検索する検索処理部,13はマルチキャストパケットについて転送すべきパケットか廃棄すべきパケットかを表す登録情報をそれぞれ転送エントリ,廃棄エントリとして格納されているテーブルである。   FIG. 1 shows the principle configuration of the present invention. In the figure, 1 is a router device, 10 is a packet processing unit, 10a is multicast packet notification means, 10b is transfer processing means, 10c is discard processing means, and 11 is a multicast that performs control by PIM-SM of RFC2362 (TCP / IP). The processing unit 11a is information such as a transfer entry for which a distribution request or a discard request is used for controlling multicast distribution, a discard entry, and a setting status of a router device of an RP (Rendezvous Point) serving as a base point for multicast group distribution. 11b is a timer processing unit for updating a timer for a discard entry, and 12 is a header (including a transmission destination, a transmission source, etc.) of an input multicast data packet (hereinafter simply referred to as a multicast packet). Search processing unit to search the table, 13 is multi Each forwarding entry registration information indicating whether the packet should be discarded if the packet should be forwarded for turbocharger strike packet is a table which is stored as a waste entry.

図1において,情報の発生源から送信されたマルチキャストパケットがルータ装置1に入力すると,パケット処理部10は入力したマルチキャストパケットのヘッダに含まれた宛先アドレス(DA:Destination Address),送信元アドレス(SA:Source Address) を検索処理部12に供給して,検索処理部12によりSA,DAを用いてテーブル13を検索する。テーブル13にはマルチキャスト処理部11により転送すべきマルチキャストパケットの情報が登録された転送エントリと,廃棄すべきマルチキャストパケットの情報が登録された廃棄エントリが格納されており,検索により転送エントリとして登録されていることが分かると,パケット処理部10の転送処理手段10bにより当該マルチキャストパケットを後段のルータ装置に転送する処理を行い,検索により廃棄エントリとして登録されている場合は廃棄処理手段10cによりそのマルチキャストパケットを廃棄する。また,検索処理部12により転送エントリと廃棄エントリの何れとしても登録されてなく検索されないと,マルチキャストパケット通知手段10aによりマルチキャストデータパケットを通知しマルチキャスト処理部11が動作する。   In FIG. 1, when a multicast packet transmitted from an information source is input to the router device 1, the packet processing unit 10 includes a destination address (DA) and a source address (DA) included in the header of the input multicast packet. SA: Source Address) is supplied to the search processing unit 12, and the search processing unit 12 searches the table 13 using SA and DA. The table 13 stores a transfer entry in which information on the multicast packet to be transferred by the multicast processing unit 11 and a discard entry in which information on the multicast packet to be discarded is registered. When it is found that the multicast packet is transferred to the subsequent router device by the transfer processing means 10b of the packet processing unit 10, and if it is registered as a discard entry by the search, the discard processing means 10c Discard the packet. If the search processing unit 12 is not registered as a transfer entry or a discard entry and is not searched, the multicast packet notification means 10a notifies the multicast data packet and the multicast processing unit 11 operates.

マルチキャスト処理部11は内部メモリ11aを検索し,当該パケットのSA,DAを持つエントリが無い場合は,そのエントリを内部メモリ11aに作成し,送信先にランデブーポイント(RP)があるか内部メモリ11aで判別し,ある場合は当該マルチキャストパケットをカプセル化した制御データ(RPへの通知)を後段のルータ装置に送信する。その場合,ランデブーポイント(RP)のルータ装置において,受信端末からの受信要求があるとそのマルチキャストパケットを受信端末へ転送し,受信要求が無い場合は,マルチキャストパケットの転送中止を要求する制御データをこのルータ装置1に送信してくる。また,マルチキャスト処理部11が内部メモリ11aを検索し,当該パケットのSA,DAを持つエントリが存在して,送信先が無い場合は内部メモリ11aの当該エントリのタイマを更新(初期値に設定)して,廃棄エントリをテーブル13へ登録する。また,タイマ処理部11bは,内部メモリ11aの廃棄エントリがタイムアウトする前にテーブル13から該当する廃棄エントリを削除する処理を行う。これにより,送信元からのマルチキャストパケットの送信が停止したかどうかをマルチキャスト処理部11で判断することができ,送信停止したパケットに対応する廃棄エントリによる無駄なハードリソースの消費を回避する。そして,廃棄対象のマルチキャストパケットが送信されてきた場合は,マルチキャスト処理部11を起動することにより,新たに廃棄エントリを登録することができる。   The multicast processing unit 11 searches the internal memory 11a. If there is no entry having the SA and DA of the packet, the multicast processing unit 11 creates the entry in the internal memory 11a and checks whether the destination has a rendezvous point (RP). If there is, control data (notification to RP) encapsulating the multicast packet is transmitted to the subsequent router device. In that case, in the router device at the rendezvous point (RP), if there is a reception request from the receiving terminal, the multicast packet is transferred to the receiving terminal, and if there is no reception request, control data for requesting to cancel the transfer of the multicast packet is sent. It is transmitted to this router device 1. Also, the multicast processing unit 11 searches the internal memory 11a, and if there is an entry having the SA and DA of the packet and there is no transmission destination, the timer of the entry in the internal memory 11a is updated (set to an initial value). Then, the discard entry is registered in the table 13. Further, the timer processing unit 11b performs processing for deleting the corresponding discard entry from the table 13 before the discard entry in the internal memory 11a times out. As a result, it is possible for the multicast processing unit 11 to determine whether or not the transmission of the multicast packet from the transmission source has been stopped, thereby avoiding unnecessary consumption of hard resources due to the discard entry corresponding to the packet whose transmission has been stopped. When a multicast packet to be discarded has been transmitted, a new discard entry can be registered by activating the multicast processing unit 11.

本発明により,受信を希望する端末が存在しない,すなわち転送不要のマルチキャストパケットをハードレベルでフィルタリングして処理機構への負荷を低減すると共に,受信希望の端末が現れる前,または永遠に受信希望の端末が現れないグループについては,サーバからのマルチキャストパケットが停止した時点で廃棄エントリを削除することができる。これにより不要なハードウェアリソースの浪費を回避することができ,不正トラヒックアタックによるリソース消費を回避することができる。   According to the present invention, there is no terminal that wishes to receive, that is, multicast packets that do not need to be forwarded are filtered at the hard level to reduce the load on the processing mechanism, and before the terminal that wants to receive appears or forever. For groups in which terminals do not appear, discard entries can be deleted when the multicast packet from the server stops. As a result, waste of unnecessary hardware resources can be avoided, and resource consumption due to unauthorized traffic attacks can be avoided.

また,マルチキャストパケットが送信され続けている廃棄エントリの削除により発生し得る制御用パケット(例えば,PIMレジスタパケット)の送信を抑止し,ファーストホップルータとランデブーポイントルータ間の無駄なネットワーク帯域の消費を防止することができる。   In addition, transmission of control packets (for example, PIM register packets) that may occur due to deletion of discard entries in which multicast packets continue to be transmitted is suppressed, and useless network bandwidth is consumed between the first hop router and the rendezvous point router. Can be prevented.

図2は実施例の構成を示し,図中,2,20,21,22の各符号は上記図1の1,10,11,12の各部に対応し,2はルータ装置,20はパケット処理部,21はCPU及びメモリを含む処理部,210はPIM−SMによる転送エントリの登録と削除及び廃棄エントリの登録と削除や,各エントリのタイマの制御を行うPIM−SM処理部,PIM−SM処理部210で管理する210aはエントリ情報を格納する内部メモリ,22は検索処理部である。230,231は合わせて図1の13(テーブル)に対応し,230は宛先アドレス(DA)と送信元アドレス(SA)を用いて検索を行うCAM(Content Addressable Memory:検索機能付きメモリ) ,231は検索機能付きメモリ230により検索された結果をアドレスとしてデータが読み出されるSRAM(Static RAM),24はCAM230とSRAM231にアクセスしてエントリ情報の登録及び削除の動作を行うデバイスドライバである。   2 shows the configuration of the embodiment. In the figure, reference numerals 2, 20, 21, and 22 correspond to the parts 1, 10, 11, and 12 in FIG. 1, 2 is a router device, and 20 is packet processing. 21, a processing unit including a CPU and a memory, 210 a PIM-SM processing unit that performs registration and deletion of transfer entries by PIM-SM, registration and deletion of discard entries, and control of the timer of each entry, PIM-SM 210a managed by the processing unit 210 is an internal memory for storing entry information, and 22 is a search processing unit. 230 and 231 collectively correspond to 13 (table) in FIG. 1, and 230 is a CAM (Content Addressable Memory) for performing a search using the destination address (DA) and the source address (SA), 231 Is an SRAM (Static RAM) from which data is read out using the result of retrieval by the memory with retrieval function 230 as an address, and 24 is a device driver that accesses the CAM 230 and SRAM 231 to register and delete entry information.

このルータ装置2は,マルチキャストパケットを最初に受け取るファーストホップルータとして使用する場合について説明するが,ランデブーポイントのルータ装置及びラストホップルータとして使用することもできる。   Although this router device 2 will be described as a first hop router that receives a multicast packet first, it can also be used as a rendezvous point router device and a last hop router.

図3は転送エントリ登録時の装置間の動作シーケンスである。図3において,30はマルチキャストパケットの送信源のサーバであるソース(Source) ,31はランデブーポイントへ向かうマルチキャストパケットを最初に受け取るルータである代表ルータ(DR: Designated Router) と呼ばれ,これは図10の符号81で表すファーストホップルータ(FHR:First Hop Router)と同じである。32はランデブー(Rendezvous Point) ポイントルータ(RPルータという),33はランデブーポイントルータ32から配信されたマルチキャストパケットを転送するネットワーク,34はマルチキャストパケットを受け取る受信端末(Receiver) である。   FIG. 3 shows an operation sequence between devices at the time of transfer entry registration. In FIG. 3, 30 is called a source (Source) which is a multicast packet transmission source server, and 31 is a designated router (DR: Designated Router) which is a router that first receives a multicast packet destined for a rendezvous point. This is the same as a first hop router (FHR) represented by a reference numeral 81 of 10. 32 is a rendezvous point point router (referred to as RP router), 33 is a network for transferring multicast packets distributed from the rendezvous point router 32, and 34 is a receiving terminal (Receiver) for receiving the multicast packets.

図4はルータ装置におけるマルチキャストパケット受信時の装置内の処理フローであり,上記図2,図3を参照しながら説明する。図3に示すように,代表ルータ31がソース30からマルチキャスパケット1(multi-data1)を受信すると(図3のa),代表ルータ31において,受信したパケットをパケット処理部20(図2)に入力する。パケット処理部20は受信したマルチキャストパケットのヘッダ情報を用いて,検索処理部22でCAM230,SRAM231の検索を依頼する(図4のS1)。この場合,CAM230に対し,マルチキャストパケットのヘッダに含まれた宛先アドレス(DA)と送信元アドレス(SA)を用いて検索して,ヒットした場合はSRAM231に対する読出しアドレスが出力される。この時,SRAM231が読出し動作を行うことで,この読出しアドレスに対応した領域に登録されたエントリ情報が読出される。この検索結果により得られた情報(エントリ無しを表す情報を含む)は検索処理部22からパケット処理部20に供給されて,当該マルチキャストパケットに対してエントリ情報が存在する(登録されているか判別される(図4のS2)。ここでエントリ情報が存在(登録)されていることが分かると,そのエントリ情報が転送用(転送エントリの登録)であるかまたは廃棄用(廃棄エントリの登録)であるかを判別する(図4のS3)。転送エントリとして登録されていると,当該マルチキャストパケットを検索結果に従った転送処理を実施する(図4のS4)。廃棄エントリとして登録されていると,当該マルチキャストパケットを廃棄する。   FIG. 4 is a processing flow in the device when the router device receives the multicast packet, which will be described with reference to FIGS. As shown in FIG. 3, when the representative router 31 receives the multicast packet 1 (multi-data 1) from the source 30 (a in FIG. 3), the representative router 31 converts the received packet into the packet processing unit 20 (FIG. 2). To enter. The packet processing unit 20 uses the header information of the received multicast packet to request the search processing unit 22 to search the CAM 230 and the SRAM 231 (S1 in FIG. 4). In this case, the CAM 230 is searched using the destination address (DA) and the source address (SA) included in the header of the multicast packet, and if a hit is found, the read address for the SRAM 231 is output. At this time, the SRAM 231 performs a read operation, whereby the entry information registered in the area corresponding to the read address is read. Information obtained from the search result (including information indicating no entry) is supplied from the search processing unit 22 to the packet processing unit 20 to determine whether entry information exists for the multicast packet (whether it is registered). (S2 in FIG. 4) When it is found that entry information exists (registered) here, the entry information is for transfer (transfer entry registration) or for discard (discard entry registration). (S3 in Fig. 4) If registered as a transfer entry, the multicast packet is transferred according to the search result (S4 in Fig. 4). , The multicast packet is discarded.

上記図4のステップS2において,エントリ情報が存在しない場合は,PIM−SM処理部(図2の210)にマルチキャストパケットを通知し,エントリ検索を行う(図4のS6)。すなわち,PIM−SM処理部は,PIM−SM処理のために使用するエントリ情報を内部メモリ210aに保持しており,そのメモリをパケット処理部(図2の20)で受け取ったマルチキャストパケットのヘッダにより検索して,対応するエントリが存在(登録)するか判別し(図4のS7),一致するエントリが存在しない場合は新規にエントリを作成しPIM−SM処理部210のメモリに保存する(同S8)。続いて,このルータ装置の下位の送信先にランデブーポイント(RP)が存在するか判別し(図4のS9),無い場合は処理を終了するが,ある場合はPIM−SMのプロトコルによるPIM−Registerパケットを送信する(同S10,図3のb)。具体的には,PIM−Registerパケットにマルチキャストデータをカプセル化してランデブーポイント(図3のRPルータ32)に向けてユニキャスト送信する。   If entry information does not exist in step S2 in FIG. 4, a multicast packet is notified to the PIM-SM processing unit (210 in FIG. 2), and an entry search is performed (S6 in FIG. 4). That is, the PIM-SM processing unit holds the entry information used for the PIM-SM processing in the internal memory 210a, and the memory is stored in the header of the multicast packet received by the packet processing unit (20 in FIG. 2). A search is performed to determine whether the corresponding entry exists (registered) (S7 in FIG. 4). If there is no matching entry, a new entry is created and stored in the memory of the PIM-SM processing unit 210 (same as above). S8). Subsequently, it is determined whether or not a rendezvous point (RP) exists at a lower transmission destination of this router device (S9 in FIG. 4). If there is no rendezvous point (RP), the processing is terminated. A Register packet is transmitted (S10 of FIG. 3, b in FIG. 3). Specifically, multicast data is encapsulated in a PIM-Register packet, and unicasted to a rendezvous point (RP router 32 in FIG. 3).

図3のシーケンスにおいて,このPIM−Registerパケット受け取ったランデブーポイント(RP)のルータ32は,共有ツリーが構築されているか判別する。共有ツリーが構築されている場合は,マルチキャストパケットの受信を希望する受信端末(レシーバ)が存在するので,ランデブーポイントのルータは代表ルータ(DR)31に対して,グループに参加することを要求するPIM−Joinパケットを代表ルータ(DR)31に送信し(図3のc),代表ルータ31とランデブーポイント(RP)ルータ32間の最短パスツリーを構築する。   In the sequence of FIG. 3, the rendezvous point (RP) router 32 that has received this PIM-Register packet determines whether a shared tree has been constructed. When the shared tree is constructed, there is a receiving terminal (receiver) that desires to receive multicast packets, and therefore the router at the rendezvous point requests the representative router (DR) 31 to participate in the group. The PIM-Join packet is transmitted to the designated router (DR) 31 (c in FIG. 3), and the shortest path tree between the designated router 31 and the rendezvous point (RP) router 32 is constructed.

代表ルータ31では,パケット処理部20でPIM−Joinパケットを受信するとPIM−SM処理部210に通知する。PIM−SM処理部210は内部メモリ210aで管理するエントリを更新し,デバイスドライバ24を通じてCAM230,SRAM231にマルチキャスト転送用エントリを登録する(図3のd)。この登録が行われた後は,ソース(図3の30)からのマルチキャストパケット(図3のe)は,パケット処理部20において検索処理部22の検索処理を含むハード処理の転送によりランデブーポイント(RP)32方向に送信される(図3のf)。   The representative router 31 notifies the PIM-SM processing unit 210 when the packet processing unit 20 receives the PIM-Join packet. The PIM-SM processing unit 210 updates the entry managed by the internal memory 210a, and registers the multicast transfer entry in the CAM 230 and SRAM 231 through the device driver 24 (d in FIG. 3). After this registration is performed, the multicast packet (e in FIG. 3) from the source (30 in FIG. 3) is transferred to the rendezvous point (e.g., by the packet processing unit 20 by hardware processing including search processing of the search processing unit 22). RP) is transmitted in the 32 direction (f in FIG. 3).

この後,ランデブーポイント(RP)ルータ32からPIM−SMプロトコルによる制御パケットであるPIM−Register−Stopパケットを代表ルータ(DR)31で受信すると(図3のg),そのPIM−SM処理部210で既に管理するエントリがPIM−Joinパケットを受信している場合は,PIM−SM処理部210はCAM320,SRAM321に対してエントリ登録削除は行われず,マルチキャストパケットがソースから送られてきた時(図3のh),そのパケットはランデブーポイント(RP)に転送される(図3のi)。   Thereafter, when the representative router (DR) 31 receives a PIM-Register-Stop packet, which is a control packet based on the PIM-SM protocol, from the rendezvous point (RP) router 32 (g in FIG. 3), the PIM-SM processing unit 210 In the case where the entry already managed by the PIM-Join packet has been received, the PIM-SM processing unit 210 does not delete the entry registration to the CAM 320 and the SRAM 321 and the multicast packet is sent from the source (see FIG. 3 h), the packet is transferred to the rendezvous point (RP) (i in FIG. 3).

図5は代表ルータ(DR)がマルチキャストパケットを初めて受信した時の動作シーケンスであるが,該当パケットの受信を希望する受信端末が存在しない場合を示し,図中の30〜34の各符号は上記図3の同一符号の各部と同じである。   FIG. 5 shows an operation sequence when the designated router (DR) receives a multicast packet for the first time. FIG. 5 shows a case where there is no receiving terminal that desires to receive the packet. Reference numerals 30 to 34 in FIG. It is the same as each part of the same code | symbol of FIG.

図6は代表ルータがRPからレジスタ・ストップ(Register-Stop)メッセージを受信した時の処理フローである。   FIG. 6 is a processing flow when the designated router receives a register-stop message from the RP.

図5の動作シーケンスについて上記図4及び図6の処理フローを参照しながら説明する。代表ルータ31において,マルチキャストパケットを受信すると(図5のa),そのパケット処理部(図2の20)において受信したマルチキャストパケットのヘッダを用いて,検索処理部22に検索を依頼する(図4のS1)。ここで,ヘッダ情報と一致するエントリが存在しないと,上記図4について説明したように,マルチキャストパケットを検索処理部22の処理により,エントリの存在が判別され(図4のS7),エントリが存在しないと,エントリを新規作成し(同S8),送信先にランデブーポイント(RP)ルータ32があると,マルチキャストパケットをカプセル化したPIM−Registerを送信する(図4のS11,図5のb)。ここで,ランデブーポイント(RP)に共有ツリーが構築されてない(該当マルチキャストパケットの受信を希望する受信端末が存在しない)と,ランデブーポイント(RP)ルータ32は,代表ルータ31に対してPIM−Register-Stop メッセージを送信する(図5のc)。   The operation sequence of FIG. 5 will be described with reference to the processing flows of FIG. 4 and FIG. When the representative router 31 receives the multicast packet (a in FIG. 5), it requests the search processing unit 22 to search using the header of the multicast packet received in the packet processing unit (20 in FIG. 2) (FIG. 4). S1). If there is no entry that matches the header information, as described above with reference to FIG. 4, the multicast packet search processing unit 22 determines the presence of the entry (S7 in FIG. 4), and the entry exists. Otherwise, a new entry is created (S8), and if there is a rendezvous point (RP) router 32 at the destination, a PIM-Register encapsulating the multicast packet is transmitted (S11 in FIG. 4, b in FIG. 5). . Here, if the shared tree is not constructed at the rendezvous point (RP) (there is no receiving terminal that desires to receive the corresponding multicast packet), the rendezvous point (RP) router 32 makes a PIM- A Register-Stop message is transmitted (c in FIG. 5).

代表ルータ31がこのPIM−Register-Stop メッセージを受信すると(図6のS1),パケット処理部20からPIM−SM処理部210に通知されてその内部メモリ210aにエントリが存在するか判別し(同S2),存在しないと処理を終了する。エントリが存在した場合,そのエントリに送信先が含まれているか判別し(図6のS3),送信先があると処理を終了するが,送信先がないとCAM230,SRAM231に廃棄エントリを登録する(同S4,図5のd)。これ以降のソースからのマルチキャストパケットはハードレベルで廃棄され(図5のe,f),不要トラヒックの流入は抑止される。   When the designated router 31 receives this PIM-Register-Stop message (S1 in FIG. 6), it is notified from the packet processing unit 20 to the PIM-SM processing unit 210, and it is determined whether an entry exists in the internal memory 210a (same as above). S2) If it does not exist, the process is terminated. If there is an entry, it is determined whether or not the transmission destination is included in the entry (S3 in FIG. 6). If there is a transmission destination, the process ends. If there is no transmission destination, a discard entry is registered in the CAM 230 and SRAM 231. (S4, d of FIG. 5). Subsequent multicast packets from the source are discarded at the hard level (e and f in FIG. 5), and the inflow of unnecessary traffic is suppressed.

図7はPIM−SM処理部における廃棄エントリのタイマ管理の処理フローである。この処理は一定周期(例えば,10秒毎)で起動され,起動するとPIM−SM処理部のエントリを検索して,廃棄エントリか判別し(図7のS1),廃棄エントリでなければ処理を終了し,廃棄エントリの場合は,その廃棄エントリに付属する残存タイマがタイムアウトの直前であるか判別する(同S2)。例えば,廃棄エントリの残存タイマは,初期設定値が3分30秒とした場合,3分20秒経過したか(タイムアウトの前の10秒前か)を判別する。タイムアウトの直前でない場合はこの処理を終了するが,タイムアウトの直前であることが分かると,CAM230,SRAM231のテーブルから廃棄エントリの削除を行う(図7のS3)。   FIG. 7 is a processing flow for timer management of discard entries in the PIM-SM processing unit. This process is started at a fixed period (for example, every 10 seconds). When the process is started, the PIM-SM processing unit entry is searched to determine whether it is a discard entry (S1 in FIG. 7). If it is a discard entry, it is determined whether the remaining timer attached to the discard entry is immediately before the timeout (S2). For example, if the initial value of the discard entry remaining timer is 3 minutes and 30 seconds, it is determined whether or not 3 minutes and 20 seconds have elapsed (10 seconds before the timeout). If it is not immediately before the timeout, this process is terminated. If it is determined that it is immediately before the timeout, the discard entry is deleted from the tables of the CAM 230 and the SRAM 231 (S3 in FIG. 7).

図8,図9は廃棄エントリの残存時間(デフォルト3分30秒)がタイムアウトする時の動作シーケンスであり,図8は廃棄エントリ削除とその時の装置間の動作シーケンス,図9は廃棄エントリ再登録とその時の装置間の動作シーケンスである。   8 and 9 show the operation sequence when the remaining time of the discard entry (default 3 minutes and 30 seconds) times out, FIG. 8 shows the discard entry deletion and the operation sequence between devices at that time, and FIG. 9 shows the discard entry re-registration. And an operation sequence between the devices at that time.

上記図5のa〜dと同様に,ソース30からのマルチキャストパケットの代表ルータ31への入力(図8のa),代表ルータ31からのPIM−Registerパケットのランデブーポイント(RP)ルータ32への送信(同b),ランデブーポイント(RP)ルータ32から代表ルータ31へのPIM−Register−Stopパケットの送信により(同c),代表ルータ31での廃棄エントリ登録が行われる(同d)。この後,ソース30から送られて来る3つのマルチキャストパケット(図8のe〜g)がハードウェアにより廃棄され,その後ソース30からのマルチキャストパケットが停止する(図8のhで示す)。その後,エントリ残存タイマがタイムアウト(3分30秒)する前(例えば3分20秒)に上記図7の処理フローにより廃棄エントリがテーブル(CAM230,SRAM231)から削除される(図8のi)。   5A to 5D, the multicast packet from the source 30 is input to the representative router 31 (a in FIG. 8), and the PIM-Register packet from the representative router 31 to the rendezvous point (RP) router 32. Transmission (same as b), and by sending a PIM-Register-Stop packet from the rendezvous point (RP) router 32 to the representative router 31 (same as c), the discard entry registration is performed at the representative router 31 (same as d). Thereafter, the three multicast packets (eg, e to g in FIG. 8) sent from the source 30 are discarded by the hardware, and then the multicast packet from the source 30 is stopped (indicated by h in FIG. 8). Thereafter, before the entry remaining timer times out (3 minutes and 30 seconds) (for example, 3 minutes and 20 seconds), the discard entry is deleted from the table (CAM 230, SRAM 231) by the process flow of FIG. 7 (i in FIG. 8).

廃棄エントリをテーブルに登録するとハードレベルでマルチキャストパケットが廃棄されるため,処理部(図2の21)にパケットが上がってこなくなる。そのため,PIM−SM処理部(図2の210)で管理する内部メモリ(図2の210a)の廃棄エントリのタイマの残存時間が更新されず,またソースがマルチキャストパケット送信を停止したかどうかの判断ができなくなる。そのため,PIM−SM処理部は内部メモリで管理する廃棄エントリがタイムアウトする前に,一旦デバイスドライバ(図2の24)を通じて廃棄エントリをテーブルから削除する。   When the discard entry is registered in the table, the multicast packet is discarded at the hardware level, so that the packet does not go up to the processing unit (21 in FIG. 2). Therefore, it is determined whether the remaining time of the discard entry timer in the internal memory (210a in FIG. 2) managed by the PIM-SM processing unit (210 in FIG. 2) has not been updated, and whether the source has stopped multicast packet transmission. Can not be. Therefore, the PIM-SM processing unit once deletes the discard entry from the table through the device driver (24 in FIG. 2) before the discard entry managed in the internal memory times out.

これにより,マルチキャストパケットのレシーバ(受信端末)が現れる前,または永遠にレシーバが現れないマルチキャストパケットについて,パケットが停止した時点で廃棄エントリが削除されることになる。そして,不要な廃棄エントリによるハードウェア資源の消費を回避することができる。   As a result, the discard entry is deleted before the multicast packet receiver (receiving terminal) appears or when the packet stops for the multicast packet for which the receiver does not appear forever. Further, it is possible to avoid consumption of hardware resources due to unnecessary discard entries.

上記の廃棄エントリの残存タイマのタイムアウト前にテーブルから廃棄エントリを削除した後,廃棄対象のマルチキャストパケットの転送が停止しているが,図9は上記図8の動作シーケンスにおいて残存タイマのタイムアウト前に廃棄エントリ削除を行った後も,廃棄対象のマルチキャストパケットが転送され続けている例である。   After deleting the discard entry from the table before the timeout of the remaining timer of the discard entry, the transfer of the multicast packet to be discarded is stopped. FIG. 9 shows the operation sequence of FIG. 8 before the timeout of the remaining timer. This is an example in which the multicast packet to be discarded continues to be transferred even after the discard entry is deleted.

図9において,a〜gまでは上記図8と同様であり,廃棄エントリの登録が行われると(図9のd),廃棄されたマルチキャストパケットが廃棄エントリ登録によってハードウェアにより順番に廃棄される(図9のe〜h)。この後,上記図7の処理フローにより廃棄エントリがテーブル(CAM230,SRAM231)から削除され(図9のi),その後にマルチキャストパケットが転送されてくると(図9のj),上記廃棄エントリの削除が行われた後なので,パケット処理部(図2の20)における検索処理部22ではエントリ無しの結果が得られて,処理部21のPIM−SM処理部210による処理に移行する(図4のS1,S2のNの場合)。この時,PIM−SM処理部210で管理する内部メモリ210aのエントリを検索し,該当するパケットに一致するものが廃棄エントリであることが分かるため,この廃棄エントリのタイマ(残存時間)の更新を行い(図4のS12),また再びCAM230,SRAM231に廃棄エントリを登録する(図4のS13,図9のk)。この後,続いてマルチキャストパケットが転送されてくると,パケット処理部によるハードウェア処理(検索処理部22のテーブル検索)でそのパケットが廃棄される(図9のl)。   In FIG. 9, a to g are the same as those in FIG. 8, and when the discard entry is registered (d in FIG. 9), the discarded multicast packets are sequentially discarded by the hardware by the discard entry registration. (E to h in FIG. 9). Thereafter, the discard entry is deleted from the table (CAM 230, SRAM 231) by the processing flow of FIG. 7 (i in FIG. 9), and then the multicast packet is transferred (j in FIG. 9). Since the deletion has been performed, the search processing unit 22 in the packet processing unit (20 in FIG. 2) obtains a result of no entry, and the process proceeds to the processing by the PIM-SM processing unit 210 of the processing unit 21 (FIG. 4 S1, S2 N). At this time, an entry in the internal memory 210a managed by the PIM-SM processing unit 210 is searched, and it is found that a packet matching the corresponding packet is a discard entry. Therefore, the timer (remaining time) of this discard entry is updated. (S12 in FIG. 4), and the discard entry is registered again in the CAM 230 and SRAM 231 (S13 in FIG. 4, k in FIG. 9). Thereafter, when the multicast packet is subsequently transferred, the packet is discarded by hardware processing (table search of the search processing unit 22) by the packet processing unit (l in FIG. 9).

(付記1) マルチキャストルーティング機能を有するルータ装置におけるマルチキャストパケット転送方式において,ソースからのマルチキャストパケットが入力されるパケット処理部と,入力されるマルチキャストパケットのヘッダに含まれたアドレスを用いて検索を行う検索処理部と,転送すべきマルチキャストパケットと廃棄すべきマルチキャストパケットのアドレスを含む情報が転送エントリと廃棄エントリとして登録されたテーブルと,マルチキャストパケットをPIM−SMのプロトコルにより処理を行うマルチキャスト処理部とを備え,前記パケット処理部は,前記検索処理部による入力されたマルチキャストパケットに含まれたアドレスを用いた前記テーブルの検索の結果,転送エントリであることが検出されると,当該マルチキャストパケットを後段のルータ装置に転送し,廃棄エントリであることが検出されると前記マルチキャストパケットを廃棄し,前記各エントリの何れも検出されないと前記マルチキャスト処理部を起動し,前記マルチキャスト処理部は,起動するとマルチキャスト処理のためのデータを格納した内部メモリを検索し,新たに転送または廃棄すべきエントリを検出すると前記テーブルに転送または廃棄のエントリとして登録することを特徴とするマルチキャストパケット転送方式。   (Supplementary note 1) In a multicast packet transfer method in a router device having a multicast routing function, a search is performed using a packet processing unit to which a multicast packet from a source is input and an address included in the header of the input multicast packet. A search processing unit, a table in which information including the address of the multicast packet to be transferred and the multicast packet to be discarded is registered as a transfer entry and a discard entry, a multicast processing unit for processing the multicast packet according to the PIM-SM protocol, And when the packet processing unit detects that the entry is a forwarding entry as a result of searching the table using the address included in the multicast packet input by the search processing unit, The multicast packet is forwarded to a subsequent router device, and when it is detected that the entry is a discard entry, the multicast packet is discarded, and when none of the entries is detected, the multicast processing unit is activated, and the multicast processing unit Is a multicast packet transfer system characterized in that, when activated, an internal memory storing data for multicast processing is searched, and when an entry to be newly transferred or discarded is detected, it is registered in the table as a forwarding or discarded entry. .

(付記2) 付記1において,前記マルチキャスト処理部は,前記パケット処理部が初めて受信したマルチキャストパケットであることを検出することにより起動されると,内部メモリに当該エントリを新規保存して,前記マルチキャストパケットを制御データにカプセル化して後段に配置されたランデブーポイントルータに送信し,前記ランデブーポイントルータから,前記マルチキャストパケットを受信する端末が存在しないことを通知する制御データを送信してくると,前記マルチキャスト処理部は前記マルチキャストパケットの廃棄エントリを前記テーブルに登録することにより不要トラヒックの後段のルータへの流入を防ぐことを特徴とするマルチキャストパケット転送方式。   (Supplementary Note 2) In Supplementary Note 1, when the multicast processing unit is activated by detecting that the packet processing unit is a multicast packet received for the first time, the multicast processing unit newly stores the entry in an internal memory, and the multicast processing unit When the packet is encapsulated in control data and transmitted to a rendezvous point router arranged at a later stage, and the control data for notifying that there is no terminal that receives the multicast packet is transmitted from the rendezvous point router, A multicast packet forwarding method, wherein a multicast processing unit prevents an inflow of unnecessary traffic to a router at a later stage by registering a discard entry of the multicast packet in the table.

(付記3) 付記1において,前記マルチキャスト処理部は内部メモリで管理する廃棄エントリに対して予め決められた時間が設定されたタイマ値を設定し,前記廃棄エントリのタイマ値は一定周期毎に更新されて,前記タイマ値が予め決められたタイムアウト時間の直前の値になると,前記テーブルに登録された廃棄エントリを削除することを特徴とするマルチキャストパケット転送方式。   (Supplementary note 3) In Supplementary note 1, the multicast processing unit sets a timer value in which a predetermined time is set for the discard entry managed in the internal memory, and the timer value of the discard entry is updated at a constant period. Then, when the timer value becomes a value immediately before a predetermined timeout time, the discard entry registered in the table is deleted.

(付記4) 付記3において,前記廃棄エントリが削除された後に,廃棄エントリに対応するマルチキャストパケットが送信されてくると,前記パケット処理部は前記マルチキャスト処理部が起動され,前記マルチキャスト処理部は,内部メモリで管理する廃棄エントリに該当するものとして対応するタイマ値の残存時間の更新を行い,前記テーブルに再び廃棄エントリを登録することを特徴とするマルチキャストパケット転送方式。   (Supplementary Note 4) In Supplementary Note 3, when a multicast packet corresponding to the discard entry is transmitted after the discard entry is deleted, the packet processing unit is activated, and the multicast processing unit A multicast packet forwarding method, wherein a remaining time of a timer value corresponding to a discard entry managed in an internal memory is updated, and a discard entry is registered again in the table.

本発明の原理構成を示す図である。It is a figure which shows the principle structure of this invention. 実施例の構成を示す図である。It is a figure which shows the structure of an Example. 転送エントリ登録時の装置間の動作シーケンスを示す図である。It is a figure which shows the operation | movement sequence between apparatuses at the time of transfer entry registration. ルータ装置におけるマルチキャストパケット受信時の処理フローを示す図である。It is a figure which shows the processing flow at the time of the multicast packet reception in a router apparatus. 代表ルータがマルチキャストパケットを初めて受信した時の動作シーケンスを示す図である。It is a figure which shows the operation | movement sequence when a designated router receives a multicast packet for the first time. 代表ルータがRPからレジスタ・ストップ・メッセージを受信した時の処理フローを示す図である。It is a figure which shows the processing flow when a designated router receives a register stop message from RP. PIM−SM処理部における廃棄エントリのタイマ管理の処理フローを示す図である。It is a figure which shows the processing flow of the timer management of the discard entry in a PIM-SM process part. 廃棄エントリ削除とその時の装置間の動作シーケンスを示す図である。It is a figure which shows the operation | movement sequence between apparatus deletion at the time of discard entry deletion. 廃棄エントリ再登録とその時の装置間の動作シーケンスを示す図である。It is a figure which shows the operation | movement sequence between apparatuses at the time of discard entry re-registration. 従来のマルチキャスト通信のネットワーク構成を示す図である。It is a figure which shows the network structure of the conventional multicast communication.

符号の説明Explanation of symbols

1 ルータ装置
10 パケット処理部
10a マルチキャストパケット通知手段
10b 転送処理手段
10c 廃棄処理手段
11 マルチキャスト処理部
11a 内部メモリ
11b タイマ処理部
12 検索処理部
13 テーブル
DESCRIPTION OF SYMBOLS 1 Router apparatus 10 Packet processing part 10a Multicast packet notification means 10b Transfer processing means 10c Discard processing means 11 Multicast processing part 11a Internal memory 11b Timer processing part 12 Search processing part 13 Table

Claims (3)

マルチキャストルーティング機能を有するルータ装置におけるマルチキャストパケット転送方式において,
ソースからのマルチキャストパケットが入力されるパケット処理部と,入力されるマルチキャストパケットのヘッダに含まれたアドレスを用いて検索を行う検索処理部と,転送すべきマルチキャストパケットと廃棄すべきマルチキャストパケットのアドレスを含む情報が転送エントリと廃棄エントリとして登録されたテーブルと,マルチキャストパケットをPIM−SMのプロトコルにより処理を行うマルチキャスト処理部とを備え,
前記パケット処理部は,前記検索処理部による入力されたマルチキャストパケットに含まれたアドレスを用いた前記テーブルの検索の結果,転送エントリであることが検出されると,当該マルチキャストパケットを後段のルータ装置に転送し,廃棄エントリであることが検出されると前記マルチキャストパケットを廃棄し,前記各エントリの何れも検出されないと前記マルチキャスト処理部を起動し,
前記マルチキャスト処理部は,起動するとマルチキャスト処理のためのデータを格納した内部メモリを検索し,新たに転送または廃棄すべきエントリを検出すると前記テーブルに転送または廃棄のエントリとして登録することを特徴とするマルチキャストパケット転送方式。
In a multicast packet forwarding method in a router device having a multicast routing function,
A packet processing unit to which a multicast packet from the source is input, a search processing unit that performs a search using an address included in the header of the input multicast packet, and a multicast packet to be transferred and an address of the multicast packet to be discarded Including a table in which information including a transfer entry and a discard entry is registered, and a multicast processing unit that processes multicast packets according to the PIM-SM protocol,
When the packet processing unit detects that the entry is a forwarding entry as a result of searching the table using the address included in the multicast packet input by the search processing unit, the packet processing unit transmits the multicast packet to the subsequent router device. And when it is detected that the entry is a discard entry, the multicast packet is discarded, and when none of the entries is detected, the multicast processing unit is activated.
The multicast processing unit searches an internal memory storing data for multicast processing when activated, and registers an entry to be transferred or discarded as a transfer or discard entry when a new entry to be transferred or discarded is detected. Multicast packet forwarding method.
請求項1において,
前記マルチキャスト処理部は,前記パケット処理部が初めて受信したマルチキャストパケットであることを検出することにより起動されると,内部メモリに当該エントリを新規保存して,前記マルチキャストパケットを制御データにカプセル化して後段に配置されたランデブーポイントルータに送信し,
前記ランデブーポイントルータから,前記マルチキャストパケットを受信する端末が存在しないことを通知する制御データを送信してくると,前記マルチキャスト処理部は前記マルチキャストパケットの廃棄エントリを前記テーブルに登録することにより不要トラヒックの後段のルータへの流入を防ぐことを特徴とするマルチキャストパケット転送方式。
In claim 1,
When the multicast processing unit is activated by detecting that the packet processing unit is the first received multicast packet, the multicast processing unit newly stores the entry in an internal memory and encapsulates the multicast packet into control data. Sent to the rendezvous point router located in the latter stage,
When control data for notifying that there is no terminal that receives the multicast packet is transmitted from the rendezvous point router, the multicast processing unit registers unnecessary entries in the table by registering the discard entry of the multicast packet in the table. A multicast packet forwarding method characterized in that it prevents inflow to the subsequent router.
請求項1において,
前記マルチキャスト処理部は内部メモリで管理する廃棄エントリに対して予め決められた時間が設定されたタイマ値を設定し,前記廃棄エントリのタイマ値は一定周期毎に更新されて,前記タイマ値が予め決められたタイムアウト時間の直前の値になると,前記テーブルに登録された廃棄エントリを削除することを特徴とするマルチキャストパケット転送方式。
In claim 1,
The multicast processing unit sets a timer value in which a predetermined time is set for a discard entry managed in an internal memory, the timer value of the discard entry is updated at a constant period, and the timer value is set in advance. A multicast packet transfer method, wherein a discard entry registered in the table is deleted when a value immediately before a predetermined timeout time is reached.
JP2005146720A 2005-05-19 2005-05-19 Multicast packet transfer system Withdrawn JP2006324981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005146720A JP2006324981A (en) 2005-05-19 2005-05-19 Multicast packet transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005146720A JP2006324981A (en) 2005-05-19 2005-05-19 Multicast packet transfer system

Publications (1)

Publication Number Publication Date
JP2006324981A true JP2006324981A (en) 2006-11-30

Family

ID=37544318

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005146720A Withdrawn JP2006324981A (en) 2005-05-19 2005-05-19 Multicast packet transfer system

Country Status (1)

Country Link
JP (1) JP2006324981A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008177968A (en) * 2007-01-22 2008-07-31 Alaxala Networks Corp Packet relay device
US8102846B2 (en) 2005-03-31 2012-01-24 Alcatel Lucent Method and apparatus for managing a multicast tree using a multicast tree manager and a content server
JP2012529198A (en) * 2009-06-03 2012-11-15 アルカテル−ルーセント Method and apparatus at multiple rendezvous points for co-processing multicast traffic from mobile multicast sources
JP2014183332A (en) * 2013-03-18 2014-09-29 Fujitsu Ltd Information processing device, multicast distribution system, and program
US9680880B2 (en) * 2006-07-11 2017-06-13 Alcatel-Lucent Usa Inc. Method and apparatus for supporting IP multicast

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8102846B2 (en) 2005-03-31 2012-01-24 Alcatel Lucent Method and apparatus for managing a multicast tree using a multicast tree manager and a content server
US9680880B2 (en) * 2006-07-11 2017-06-13 Alcatel-Lucent Usa Inc. Method and apparatus for supporting IP multicast
JP2008177968A (en) * 2007-01-22 2008-07-31 Alaxala Networks Corp Packet relay device
US8023448B2 (en) 2007-01-22 2011-09-20 Alaxala Networks Corporation Packet relay apparatus
JP2012529198A (en) * 2009-06-03 2012-11-15 アルカテル−ルーセント Method and apparatus at multiple rendezvous points for co-processing multicast traffic from mobile multicast sources
JP2014183332A (en) * 2013-03-18 2014-09-29 Fujitsu Ltd Information processing device, multicast distribution system, and program

Similar Documents

Publication Publication Date Title
US8243643B2 (en) Active multicast information protocol
KR100811890B1 (en) Anycast routing method and apparatus for supporting service flow in internet system
JP3888209B2 (en) Multicast communication apparatus and system
US20060056427A1 (en) Multicast communication method and gateway apparatus
JP5653912B2 (en) Method and apparatus for multicast group management
JP2004179811A (en) Packet repeating device
EP1890424A1 (en) A system and method for achieving the data communication
WO2019085822A1 (en) Method and device for implementing multicast service
JP2003298635A (en) Source address selection system, router equipment, communication node and source address selection method
US7620045B2 (en) Communication system, multicast-capable router, transmitter terminal, receiver terminal, and communication method
JP3872051B2 (en) System and method for searching and distributing contents, and program
JP2006324981A (en) Multicast packet transfer system
JP3526027B2 (en) IP multicast route control method and router
KR100670818B1 (en) Method and system of managing layer2 table in distributed router
JP4800916B2 (en) Data relay device
JP4775716B2 (en) Relay device, relay method, and relay program
WO2011044729A1 (en) Method and apparatus for checking anycast group configuration in communication network
JP2005286681A (en) Relay equipment
JP4481666B2 (en) Communication system, router, transmission terminal, reception terminal, and communication method
JP5572848B2 (en) Communication apparatus and communication method
JP3584897B2 (en) Multicast router route registration system and program
JP3949626B2 (en) IP multicast network
JP6993883B2 (en) Multicast relay device, multicast relay system and multicast relay method
KR100487127B1 (en) Management method of multicast routing table entries in distributed architecture router
Fenner et al. RFC 7761: Protocol Independent Multicast-Sparse Mode (PIM-SM): Protocol Specification (Revised)

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080805