WO2012103748A1 - Multicast control method, routing device and multicast system - Google Patents

Multicast control method, routing device and multicast system Download PDF

Info

Publication number
WO2012103748A1
WO2012103748A1 PCT/CN2011/079003 CN2011079003W WO2012103748A1 WO 2012103748 A1 WO2012103748 A1 WO 2012103748A1 CN 2011079003 W CN2011079003 W CN 2011079003W WO 2012103748 A1 WO2012103748 A1 WO 2012103748A1
Authority
WO
WIPO (PCT)
Prior art keywords
routing device
join request
request
upstream neighbor
network segment
Prior art date
Application number
PCT/CN2011/079003
Other languages
French (fr)
Chinese (zh)
Inventor
范树学
陈重
赵大赫
徐旭
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2012103748A1 publication Critical patent/WO2012103748A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing

Definitions

  • the present invention claims to be submitted to the Chinese Patent Office on February 1, 2011, and the application number is 201110034461.7, and the invention name is "a multicast control method, a routing device, and a multicast system.”
  • the priority of the Chinese Patent Application the entire contents of which is incorporated herein by reference.
  • TECHNICAL FIELD The present invention relates to the field of network communication technologies, and in particular, to a multicast control method, a routing device, and a multicast system.
  • IP Internet Protocol
  • the IP multicast protocol includes a protocol between the router and the receiver and a protocol between the router and the router, and the combination is used to construct a multicast forwarding tree from the multicast source to the multicast data receiver.
  • the protocol between the router and the receiver host is usually IGMP (Internet Group Management Protocol).
  • the protocol independent multicast (PIM) protocol is usually used between the router and the router.
  • PIM-SM Protocol Independent Multicast-Sparse Mode
  • the process of establishing a multicast forwarding tree is as shown in FIG. 1 , where 101 to 105 are five routers, 106 is a first receiving device, 107 is a second receiving device, and 108 is a multicast source.
  • the router 104 After receiving the IGMP join request from the first receiving device 106, the router 104 calculates the route to the multicast source 108 according to the unicast, and sends the PIM join message to the upstream router hop by hop, and routes the device 104-> Routing device 102->Routing device 101 establishes a multicast join tree, and then the multicast source along the PIM The reverse direction of the message is forwarded from the routing device 101 -> routing device 102 -> routing device 104 to the first receiving device 106.
  • the direction in which the PIM sends the join message to the upstream is calculated according to the unicast route. Then, if the routing device 105 receives the same as the first receiving device 106 from the second receiving device 107.
  • the IGMP join request calculates the route from the routing device 105 to the multicast source 108 through the routing device 103 based on the unicast route, and thus establishes a multicast forwarding tree from the routing device 101->the routing device 103->the routing device 105. At this time, it can be found that the routing device 102 and the routing device 103 simultaneously forward the same multicast data stream to the shared network segment.
  • Assert competition occurs when duplicate multicast data is generated in the shared network segment, as shown in Figure 2.
  • one of the prior art solutions is to select a router with low overhead to continue to forward the multicast data stream according to the cost of each router to the multicast source.
  • the routers with large overheads stop forwarding multicast data streams, and the routers with low overheads periodically broadcast Assert packets carrying their own overhead information on the shared network segment to avoid re-generation of duplicate multicast data, thus eliminating the shared network segment.
  • Double traffic on. It can be seen in the process that the AsSert competition is performed after repeated multicast data has appeared on the shared network segment, and during the Assert competition, the data received by the user through the shared network segment will have an impact. For example, a large number of mosaics appear in the received video image, and the user experience is poor. At the same time, the Assert message is sent periodically, which also increases the network load.
  • an embodiment of the present invention provides a multicast control method, a routing device, and a multicast system, so as to avoid repeated multicast data on a shared network segment.
  • the embodiment of the invention provides a multicast control method, and the method includes:
  • the second routing device on the shared network segment receives the first joining request periodically sent by the first routing device on the shared network segment, where the first joining request carries the reverse path of the first routing device.
  • the path forwards the RPF upstream neighbor information and the address information of the multicast source.
  • the second routing device determines that the RPF upstream neighbor is not the first routing device according to the RPF upstream neighbor information, and determines that it is the downstream routing device in the shared network segment according to the address information of the multicast source. After receiving the second join request sent by the downstream receiving device, the second join request is not forwarded to the RPF upstream neighbor that is obtained according to the unicast route and receives the second join request.
  • the second routing device When the second routing device receives the first joining request again or receives the leaving request sent by the first routing device, the RPF upstream neighbor that receives the second joining request according to the unicast route The RPF upstream neighbor that is carried in the first join request is sent, and the second join request is sent to the RPF upstream neighbor that is carried in the first join request.
  • a routing device the routing device is located on a shared network segment, and the router includes: a receiving module, configured to receive a first joining request periodically sent by a first routing device on the shared network segment, where the first The RSP carries the reverse path of the first routing device to forward the RPF upstream neighbor information and the address information of the multicast source.
  • a device identification module configured to determine, according to the RPF upstream neighbor information, whether it is an RPF upstream neighbor of the first routing device, and determine, according to the address information of the multicast source, whether it is a downstream in the shared network segment. Routing device
  • a request processing module configured to: when determining that it is a downstream routing device in the shared network segment, and receiving a second joining request sent by the downstream receiving device, temporarily not forwarding the second joining request to the unicast routing Obtaining an RPF upstream neighbor that receives the second join request, and when the receiving module receives the first join request or receives the leave request sent by the first routing device, obtain the self according to the unicast route.
  • the RPF upstream neighbor that receives the second join request is set to be the RPF upstream neighbor carried in the first join request, and sends the second join request to the RPF upstream neighbor carried in the first join request.
  • a multicast system the system includes: at least one first routing device that is located on a shared network segment, and at least one second routing device that is located on the shared network segment, where
  • the first routing device is configured to periodically send a first join request to the second routing device, where the first join request carries a reverse path of the first routing device to forward the RPF upstream neighbor information, and Address information of the multicast source;
  • the second routing device is configured to receive the first join request, and determine that the RPF upstream neighbor is not the first routing device according to the RPF upstream neighbor information, and determine according to the address information of the multicast source.
  • the second routing request sent by the downstream receiving device is received, the second joining request is not forwarded to the receiving second according to the unicast route.
  • the second RPF upstream neighbor is configured to be the RPF upstream neighbor that is carried in the first join request, and sends the second join request to the RPF upstream neighbor that is carried in the first join request.
  • the downstream routing device on the shared network segment in the embodiment of the present invention does not directly forward the join request to the upstream routing device obtained by the unicast path after receiving the join request sent by the downstream receiving device.
  • the upstream routing device that is consistent with the other joining requests that exist in the shared network segment is forwarded, and the access request is forwarded to the same upstream routing device, so as to avoid multiple different multicast data for the same multicast data in the shared network segment. Multicast data transmission path.
  • Figure 1 is a schematic diagram of a process of establishing a multicast forwarding tree in the PIM-SM protocol
  • FIG. 2 is a schematic diagram of a traffic conflict when a duplicate multicast data is generated in a shared network segment;
  • FIG. 3 is a schematic flowchart of a multicast control method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a topology of a multicast network according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a routing device on a shared network segment according to an embodiment of the present invention.
  • the embodiment of the present invention provides a multicast control method, a routing device, and a multicast system.
  • the embodiment of the invention provides a multicast control method. As shown in FIG. 3, the method may include:
  • the second routing device on the shared network segment receives the first join request periodically forwarded by the first routing device on the shared network segment, where the first join request carries the RPF of the first routing device.
  • RPF Reverse-path forwarding, reverse path forwarding
  • the destination address corresponding to the join request is all the routing devices loaded with PIM-SM in the network segment.
  • join request is sent for an upstream routing device on the shared network segment
  • all other routing devices on the network segment except the specific upstream routing device that load the PIM-SM protocol are also Can receive the join request.
  • the other routing device includes not only other upstream routing devices, but also all downstream routing devices in the shared network segment except the routing device that sends the join request.
  • all the routing devices that have received the above-mentioned join request on the shared network segment in order to confirm whether they need to respond to the join request, first whether they are the above-mentioned shared network.
  • the upstream device or the downstream device in the segment is identified to perform different operations.
  • the join request initiated by a receiver is assumed to be the first join request, and the routing device that sends the first join request is set as the first routing device, and the routing device that receives the first join request on the shared network segment is set.
  • the second routing device determines, according to the RPF upstream neighbor information, that the RPF is not the upstream neighbor of the first routing device, and determines that it is the downstream of the shared network segment according to the address information of the multicast source. After the device is routed, after receiving the second join request sent by the downstream receiving device, the second join request is not forwarded to the RPF upstream neighbor that is obtained according to the unicast route and receives the second join request.
  • the second routing device may obtain the RPF upstream neighbor information of the first routing device carried in the first join request, so as to determine whether the first join message is sent to itself. of.
  • the RPF upstream neighbor information of the first routing device that is carried in the first join request does not match the self-information, the first join message is not sent to the user, and the second routing device may directly The packet carrying the first join request is discarded.
  • the second routing device in the shared network segment has not received the join request initiated by the downstream receiving device, but it can receive the multicast data forwarded to the first routing device in the shared network segment, thereby creating a corresponding entry. . Since the second routing device does not receive the join request initiated by the downstream receiving device, the entry cannot guide the forwarding of the received multicast data, and the corresponding multicast data is terminated on the second routing device.
  • the second routing device When receiving the second join request sent by the downstream receiving device, the second routing device finds that the data active entry exists, and adds the corresponding outgoing interface to forward the multicast data, but the second routing device does not immediately forward the second
  • the request message is added to the RPF upstream neighbor that is obtained by the unicast route and receives the second join request, but waits for a period of time and then forwards.
  • the waiting time may be the period of the second join request.
  • the second routing device receives the first join request or receives the leave request sent by the first routing device, the RPF upstream neighbor that receives the second join request obtained according to the unicast route The RPF upstream neighbor that is carried in the first join request is sent, and the second join request is sent to the RPF upstream neighbor that is carried in the first join request.
  • the second routing device When the second routing device receives the first joining request sent by the first routing device, or the leaving request sent by the first routing device, obtains the RPF upstream neighbor information carried in the corresponding packet, and sets the self-acquisition obtained according to the unicast route. Receiving the RPF upstream neighbor information of the second join request, which is consistent with the RPF upstream neighbor information carried in the first join request or the leave request message sent by the first routing device, and sends the second neighbor to the RPF upstream neighbor. Join the request to avoid the out of the shared network segment There are a number of different multicast data transmission paths for the same multicast data.
  • the downstream routing device on the shared network segment after receiving the join request sent by the downstream receiving device, the downstream routing device on the shared network segment does not immediately forward the join request to the upstream routing device calculated by the unicast path, but keeps the join request.
  • An upstream routing device that is consistent with other join requests that are already in the shared network segment forwards the access request to the same upstream routing device, thereby preventing multiple different multicast data transmissions for the same multicast data in the shared network segment. path.
  • the information is retained to maintain an upstream routing device that is consistent with other joining requests already existing in the shared network segment.
  • the second routing device determines that it is the upstream routing device in the shared network segment according to the address information of the multicast source, and determines whether it is the RPF upstream neighbor carried in the first joining request, if And sending, according to the address information of the multicast source, the first join request to the upper-level network segment of the shared network segment; if not, discarding the first join request.
  • FIG. 4 is a schematic diagram of a topology structure of a multicast network according to an embodiment of the present invention.
  • the routing device 102, the routing device 103, the routing device 104, and the routing device 105 are directly connected to the same shared network segment, and the routing device 102 and the routing device 103 are upstream routing devices on the shared network segment, and the routing device 104 and the routing device 105 are
  • the shared network segment is a downstream routing device, and the routing device 102 and the routing device 103 have a common upstream routing device 101.
  • the routing device 101 directly connects to the multicast source 108.
  • the first receiving device 106 and the second receiving device 107 are respectively configured as routes.
  • the device 104 and the downstream receiving device of the routing device 105 are respectively configured as routes.
  • the first receiving device 106 and the second receiving device 107 are host devices that request to receive the multicast source 108 to send a data packet.
  • the downstream routing device 104 if it receives the join request (Joinl(S, G)) sent by the first receiving device 106, and queries the RPF upstream neighbor as the routing device 102, it sends a join request to the routing device 102. (Joinl (S, G)).
  • all other routing devices on the shared network segment that is, the routing device 103 and the routing device 105, will receive the join request (Joinl(S, G)).
  • the routing device 103 and the routing device 105 respectively identify whether the upstream routing device or the downstream routing device on the shared network segment and whether it is a join request according to the join request (Join(S, G)) (Joinl(S, G) The RPF upstream neighbor specified in ).
  • routing device 105 For routing device 105, assume that it is in the first receiving device When the standby 106 sends a join request (Joinl(S, G)) to the routing device 104, the second receiving device 107 does not send a join request (Join2(S, G)) to the routing device 105 to join the same source group, and therefore, the route The device 105 does not join the source group that the first receiving device 106 sends the join request to establish, and does not include the routing entry, and directly discards the join message.
  • the routing device 105 detects that the multicast data (Joinl(S, G)) request already exists on the shared network segment (S , G), so it does not immediately send (Join2(S, G)) to the upstream neighbor calculated according to the unicast route, but delays the sending (Join2(S, G)) message and shares the shared network segment (Joinl (S, G))
  • the requested multicast data waiting for the next cycle join message sent by the routing device 104, and obtaining the information of the RPF upstream routing device 102 from the corresponding join request (Joinl(S, G)), And correcting the RPF upstream neighbor obtained by the unicast route as the routing device 102, and sending the join request (Join2(S, G)) to the routing device 102.
  • the routing device 102 and the routing device 103 if it is identified as an upstream routing device on the shared network segment according to the join request (Joinl(S, G)), it continues to determine whether it is a join request (Joinl(S, G) The RPF upstream neighbor carried in the ), if yes, continues to send a join request (Joinl(S, G)) to the upper-level network segment of the shared network segment according to the address information of the multicast source; , then discard the join request (Joinl(S, G)).
  • the join request Joinl(S, G)
  • the routing device 102 is the RPF upstream neighbor determined in the join request (Join1 (S, G)), and the routing device 102 continues to the upper network segment of the shared network segment, that is, the routing device 101.
  • Sending a join request (Joinl(S, G)) and the routing device 103 is not joining the RPF upstream neighbor determined in the request (Joinl(S, G)), the routing device 103 will receive the join request (Joinl(S, G) ))throw away.
  • the join request sent by the receiving device may be a (S, G) type join request of the specified multicast source S, or a (*, G) type join request indicating all multicast sources of the specified multicast group G.
  • the join request is a (S, G) join request
  • the downstream device on the shared network segment determines the RPF upstream neighbor by finding the unicast route to the multicast source S; for the (*, G) type join request, it finds The route of the RP (Rendezvous Point) is used to determine the RPF upstream neighbor.
  • the routing device 105 shares the data forwarded by the multicast forwarding tree created by the routing device 104 before sending the PIM join message of the local device, and listens to the shared network segment in a sending period. After the request packet of the routing device of the multicast forwarding tree is added to the existing multicast forwarding tree, you can avoid creating different multicast forwardings on the shared network segment. The situation of double traffic is caused by the tree, and the occurrence of Assert can also be avoided.
  • the embodiment of the present invention further provides a routing device on a shared network segment, as shown in FIG. 5, which is a schematic structural diagram of the routing device.
  • the receiving module 501 is configured to receive a first join request that is periodically sent by the first routing device on the shared network segment, where the first join request carries the reverse path of the first routing device to forward the RPF upstream neighbor Information, and address information of the multicast source;
  • the device identification module 502 is configured to determine, according to the RPF upstream neighbor information, whether it is an RPF upstream neighbor of the first routing device, and determine, according to the address information of the multicast source, whether it is in the shared network segment.
  • Downstream routing device
  • the request processing module 503 is configured to: when determining that the user is the downstream routing device in the shared network segment, and receiving the second joining request sent by the downstream receiving device, temporarily not forwarding the second joining request to the unicast according to the unicast Obtaining, by the route, the RPF upstream neighbor that receives the second join request, when the receiving module receives the first join request again or receives the leave request sent by the first routing device, obtains the self-unicast route according to the unicast route.
  • the RPF upstream neighbor that receives the second join request is set as the RPF upstream neighbor that is carried in the first join request, and sends the second join request to the RPF upstream neighbor that is carried in the first join request.
  • the request processing module 503 is further configured to determine, if it is the upstream routing device in the shared network segment, whether it is the RPF upstream neighbor carried in the first join request, and if yes, And sending, according to the address information of the multicast source, the first join request to the upper-level network segment of the shared network segment; if not, discarding the first join request.
  • the first join request includes: (S, G) join request of the specified multicast source S forwarded by the first routing device, or all multicast sources of the specified multicast group G (*, G ) Join the request.
  • the upstream routing device obtained by the unicast path calculation does not directly forward the join request, but remains in the shared network segment.
  • An existing upstream routing device with the same join request, the access request It is forwarded to the same upstream routing device, so that multiple different multicast data transmission paths for the same multicast data can be avoided in the shared network segment.
  • the embodiment of the present invention further provides a multicast system, where the system includes: at least one first routing device located on a shared network segment, and at least one second routing device located on the shared network segment. , among them,
  • the first routing device is configured to: forward, to the second routing device, a first join request, where the join request carries a reverse path of the first routing device to forward RPF upstream neighbor information, and a multicast source Address information;
  • the second routing device is configured to: receive the first join request, determine, according to the RPF upstream neighbor information, that the RPF upstream neighbor is not the first routing device, and determine, according to the address information of the multicast source, When the second routing request sent by the downstream receiving device is received, the second joining request is not forwarded to the receiving second according to the unicast route. Adding the requested RPF upstream neighbor; when the second routing device receives the first joining request again or receives the leaving request sent by the first routing device, receiving the self-receiving according to the unicast route
  • the second RPF upstream neighbor is configured to be the RPF upstream neighbor that is carried in the first join request, and sends the second join request to the RPF upstream neighbor that is carried in the first join request.
  • system may further include: a multicast source, configured to send multicast data according to the first join request of the first routing device or the second join request of the second routing device.
  • a multicast source configured to send multicast data according to the first join request of the first routing device or the second join request of the second routing device.
  • the second routing device is further configured to: determine, according to the address information of the multicast source, that it is an upstream routing device in the shared network segment, determine whether it is the first joining request.
  • the RPF upstream neighbor if yes, continues to send the first join request to the upper-level network segment of the shared network segment according to the address information of the multicast source; if not, discard the first One join request.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method and the device embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located One place, or it can be distributed to multiple network elements. Can be based on actual needs Some or all of the modules are selected to achieve the objectives of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

Disclosed are a multicast control method, a routing device and a multicast system. The method comprises: a second routing device in a sharing network segment receiving a first join request periodically sent by a first routing device in the sharing network segment, the request carrying information of an RPF upstream neighbor of the first routing device; when determining that the second routing device itself is not an RPF upstream neighbor of the first routing device but a downstream routing device in the sharing network segment, the second routing device, after receiving a second join request sent by a downstream receiving device, temporarily not forwarding the second join request to an RPF upstream neighbor that receives the second join request and is acquired according to unicast routing; and when again receiving the first join request or receiving a leave request sent by the first routing device, setting the RPF upstream neighbor that receives the second join request and is acquired by the second routing device itself according to the unicast routing to an RPF upstream neighbor carried in the first join request, and sending the second join request to the RPF upstream neighbor.

Description

一种组播控制方法、 路由设备及组播系统 本申请要求于 2011年 2月 1日提交中国专利局、 申请号为 201110034461.7、 发明名称为"一种组播控制方法、路由设备及组播系统"的中国专利申请的优先 权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及网络通信技术领域, 更具体地说, 涉及一种组播控制方法、 路 由设备及组播系统。 背景技术 随着因特网的迅猛发展, IP ( Internet Protocol, 网络之间互连的协议 )组 播技术实现了 IP网络中点到多点的高效数据传送。由于组播技术能够有效地节 省带宽控制网络流量, 减轻服务器的负荷、 降低网络负载, 因此在实时数据传 送、 多媒体会议等诸多方面都有广泛的应用。  The present invention claims to be submitted to the Chinese Patent Office on February 1, 2011, and the application number is 201110034461.7, and the invention name is "a multicast control method, a routing device, and a multicast system." The priority of the Chinese Patent Application, the entire contents of which is incorporated herein by reference. TECHNICAL FIELD The present invention relates to the field of network communication technologies, and in particular, to a multicast control method, a routing device, and a multicast system. BACKGROUND OF THE INVENTION With the rapid development of the Internet, IP (Internet Protocol) protocols have enabled efficient data transmission from point to point in IP networks. Because multicast technology can effectively save bandwidth to control network traffic, reduce server load and reduce network load, it has a wide range of applications in real-time data transmission, multimedia conferencing and many other aspects.
IP组播协议包括路由器和接收者之间协议以及路由器和路由器之间协议, 两者结合用于构建从组播源到组播数据接收者之间的组播转发树。路由器和接 收者主机之间协议通常采用 IGMP ( Internet Group Management Protocol , 组播 组管理协议) , 路由器和路由器之间通常采用 PIM ( Protocol Independent Multicast , 协议无关组播) 协议。 其中, PIM-SM ( Protocol Independent Multicast-Sparse Mode , 协议无关组播 -稀松模式 )协议作为一种典型的组播路 由标准, 得到了广泛应用。  The IP multicast protocol includes a protocol between the router and the receiver and a protocol between the router and the router, and the combination is used to construct a multicast forwarding tree from the multicast source to the multicast data receiver. The protocol between the router and the receiver host is usually IGMP (Internet Group Management Protocol). The protocol independent multicast (PIM) protocol is usually used between the router and the router. The Protocol Independent Multicast-Sparse Mode (PIM-SM) protocol is widely used as a typical multicast routing standard.
在 PIM-SM协议中, 组播转发树的建立过程如图 1所示, 其中, 101〜105为 五个路由器, 106为第一接收设备, 107为第二接收设备, 108为组播源, 首先, 路由器 104收到第一接收设备 106的 IGMP加入请求后, 根据单播计算出到组播 源 108的路由, 逐跳向上游路由器发送 PIM加入报文, 通过一路向上途径路由 设备 104->路由设备 102->路由设备 101建立组播加入树, 然后组播源沿着 PIM 报文加入的反方向从路由设备 101 ->路由设备 102->路由设备 104将组播数据转 发给第一接收设备 106。 In the PIM-SM protocol, the process of establishing a multicast forwarding tree is as shown in FIG. 1 , where 101 to 105 are five routers, 106 is a first receiving device, 107 is a second receiving device, and 108 is a multicast source. After receiving the IGMP join request from the first receiving device 106, the router 104 calculates the route to the multicast source 108 according to the unicast, and sends the PIM join message to the upstream router hop by hop, and routes the device 104-> Routing device 102->Routing device 101 establishes a multicast join tree, and then the multicast source along the PIM The reverse direction of the message is forwarded from the routing device 101 -> routing device 102 -> routing device 104 to the first receiving device 106.
根据 PIM建立转发树的原理, PIM向上游发送加入报文的方向是根据单播 路由计算出来的,那么如果路由设备 105同时收到第二接收设备 107发出的与第 一接收设备 106—样的 IGMP加入请求, 根据单播路由计算从路由设备 105到达 组播源 108经过路由设备 103的路由最优, 因此同时建立从路由设备 101->路由 设备 103->路由设备 105的组播转发树。 这时可以发现路由设备 102、 路由设备 103会同时向共享网段上转发相同的组播数据流。 根据 IP组播协议规定, 当共 享网段中产生重复的组播数据时会发生 Assert (断言)竟争, 如图 2所示。  According to the principle that the PIM establishes a forwarding tree, the direction in which the PIM sends the join message to the upstream is calculated according to the unicast route. Then, if the routing device 105 receives the same as the first receiving device 106 from the second receiving device 107. The IGMP join request calculates the route from the routing device 105 to the multicast source 108 through the routing device 103 based on the unicast route, and thus establishes a multicast forwarding tree from the routing device 101->the routing device 103->the routing device 105. At this time, it can be found that the routing device 102 and the routing device 103 simultaneously forward the same multicast data stream to the shared network segment. According to the IP multicast protocol, Assert competition occurs when duplicate multicast data is generated in the shared network segment, as shown in Figure 2.
为了避免共享网段上产生重复的组播数据, 现有技术的解决方案之一为, 根据相互竟争的路由器各自到组播源的开销,选择一个开销小的路由器继续转 发组播数据流, 开销大的路由器停止转发组播数据流, 并且由开销小的路由器 周期性地在共享网段上广播携带自己开销信息的 Assert报文, 避免重复的组播 数据的再次产生, 从而消除共享网段上的双份流量。 该处理过程中可见, 该方 案是在共享网段上已经出现重复的组播数据后才进行 Assert竟争处理, 而当发 生 Assert竟争期间, 用户通过共享网段接收到的数据将会产生影响, 例如: 接 收到的视频图像会出现大量马赛克, 用户体验差, 同时由于周期发送 Assert报 文, 也会增加网络负担。  In order to avoid the generation of duplicate multicast data on the shared network segment, one of the prior art solutions is to select a router with low overhead to continue to forward the multicast data stream according to the cost of each router to the multicast source. The routers with large overheads stop forwarding multicast data streams, and the routers with low overheads periodically broadcast Assert packets carrying their own overhead information on the shared network segment to avoid re-generation of duplicate multicast data, thus eliminating the shared network segment. Double traffic on. It can be seen in the process that the AsSert competition is performed after repeated multicast data has appeared on the shared network segment, and during the Assert competition, the data received by the user through the shared network segment will have an impact. For example, a large number of mosaics appear in the received video image, and the user experience is poor. At the same time, the Assert message is sent periodically, which also increases the network load.
现有技术中的第二种解决方案是,在共享网段上还未出现重复的组播数据 之前,就开始周期发送 Assert报文。该方案虽然可以提前避免双份流量的产生, 但在无重复的组播数据产生的共享网段中,周期发送无用的 Assert报文会影响 性能, 增加网络负担。 发明内容 有鉴于此, 本发明实施例提供一种组播控制方法、 路由设备及组播系统, 避免共享网段上出现重复的组播数据。  The second solution in the prior art is to start sending Assert messages periodically before repeated multicast data has appeared on the shared network segment. Although the scheme can avoid the generation of double traffic in advance, in the shared network segment where no duplicate multicast data is generated, periodically sending useless Assert packets will affect performance and increase network load. SUMMARY OF THE INVENTION In view of this, an embodiment of the present invention provides a multicast control method, a routing device, and a multicast system, so as to avoid repeated multicast data on a shared network segment.
本发明实施例提供一种组播控制方法, 所述方法包括:  The embodiment of the invention provides a multicast control method, and the method includes:
共享网段上的第二路由设备接收所述共享网段上的第一路由设备周期性 发送的第一加入请求,所述第一加入请求中携带有所述第一路由设备的反向路 径转发 RPF上游邻居信息, 以及组播源的地址信息; The second routing device on the shared network segment receives the first joining request periodically sent by the first routing device on the shared network segment, where the first joining request carries the reverse path of the first routing device. The path forwards the RPF upstream neighbor information and the address information of the multicast source.
所述第二路由设备根据所述 RPF上游邻居信息确定自身不是所述第一路 由设备的 RPF上游邻居, 且根据所述组播源的地址信息确定自身为所述共享 网段内的下游路由设备时, 则接收到下游接收设备发送的第二加入请求后, 暂 时不将所述第二加入请求转发至根据单播路由获得的接收所述第二加入请求 的 RPF上游邻居;  The second routing device determines that the RPF upstream neighbor is not the first routing device according to the RPF upstream neighbor information, and determines that it is the downstream routing device in the shared network segment according to the address information of the multicast source. After receiving the second join request sent by the downstream receiving device, the second join request is not forwarded to the RPF upstream neighbor that is obtained according to the unicast route and receives the second join request.
当所述第二路由设备再次接收到所述第一加入请求或接收到所述第一路 由设备发送的离开请求时,将自身根据单播路由获得的接收所述第二加入请求 的 RPF上游邻居设置为所述第一加入请求中携带的 RPF上游邻居, 并向所述 第一加入请求中携带的 RPF上游邻居发送所述第二加入请求。  When the second routing device receives the first joining request again or receives the leaving request sent by the first routing device, the RPF upstream neighbor that receives the second joining request according to the unicast route The RPF upstream neighbor that is carried in the first join request is sent, and the second join request is sent to the RPF upstream neighbor that is carried in the first join request.
一种路由设备, 所述路由设备位于共享网段上, 所述路由器包括: 接收模块,用于接收所述共享网段上的第一路由设备周期性发送的第一加 入请求, 所述第一加入请求中携带有所述第一路由设备的反向路径转发 RPF 上游邻居信息, 以及组播源的地址信息;  A routing device, the routing device is located on a shared network segment, and the router includes: a receiving module, configured to receive a first joining request periodically sent by a first routing device on the shared network segment, where the first The RSP carries the reverse path of the first routing device to forward the RPF upstream neighbor information and the address information of the multicast source.
设备识别模块, 用于根据所述 RPF上游邻居信息确定自身是否为所述第 一路由设备的 RPF上游邻居, 且根据所述组播源的地址信息确定自身是否为 所述共享网段内的下游路由设备;  a device identification module, configured to determine, according to the RPF upstream neighbor information, whether it is an RPF upstream neighbor of the first routing device, and determine, according to the address information of the multicast source, whether it is a downstream in the shared network segment. Routing device
请求处理模块, 用于在确定自身为所述共享网段内的下游路由设备, 并接 收到下游接收设备发送的第二加入请求时,暂时不将所述第二加入请求转发至 根据单播路由获得的接收所述第二加入请求的 RPF上游邻居, 当所述接收模 块次接收到所述第一加入请求或接收到所述第一路由设备发送的离开请求时, 将自身根据单播路由获得的接收所述第二加入请求的 RPF上游邻居设置为所 述第一加入请求中携带的 RPF上游邻居,并向所述第一加入请求中携带的 RPF 上游邻居发送所述第二加入请求。  a request processing module, configured to: when determining that it is a downstream routing device in the shared network segment, and receiving a second joining request sent by the downstream receiving device, temporarily not forwarding the second joining request to the unicast routing Obtaining an RPF upstream neighbor that receives the second join request, and when the receiving module receives the first join request or receives the leave request sent by the first routing device, obtain the self according to the unicast route. The RPF upstream neighbor that receives the second join request is set to be the RPF upstream neighbor carried in the first join request, and sends the second join request to the RPF upstream neighbor carried in the first join request.
一种组播系统,所述系统包括:位于共享网段上的至少一个第一路由设备、 位于所述共享网段上的至少一个第二路由设备, 其中,  A multicast system, the system includes: at least one first routing device that is located on a shared network segment, and at least one second routing device that is located on the shared network segment, where
所述第一路由设备, 用于向所述第二路由设备周期性发送第一加入请求, 所述第一加入请求中携带有所述第一路由设备的反向路径转发 RPF上游邻居 信息, 以及组播源的地址信息; 所述第二路由设备, 用于接收所述第一加入请求, 当根据所述 RPF上游 邻居信息确定自身不是所述第一路由设备的 RPF上游邻居, 且根据所述组播 源的地址信息确定自身为所述共享网段内的下游路由设备时,则接收到下游接 收设备发送的第二加入请求后,暂时不将所述第二加入请求转发至根据单播路 由获得的接收所述第二加入请求的 RPF上游邻居; 当所述第二路由设备再次 接收到所述第一加入请求或接收到所述第一路由设备发送的离开请求时,将自 身根据单播路由获得的接收所述第二加入请求的 RPF上游邻居设置为所述第 一加入请求中携带的 RPF上游邻居, 并向所述第一加入请求中携带的 RPF上 游邻居发送所述第二加入请求。 The first routing device is configured to periodically send a first join request to the second routing device, where the first join request carries a reverse path of the first routing device to forward the RPF upstream neighbor information, and Address information of the multicast source; The second routing device is configured to receive the first join request, and determine that the RPF upstream neighbor is not the first routing device according to the RPF upstream neighbor information, and determine according to the address information of the multicast source. When the second routing request sent by the downstream receiving device is received, the second joining request is not forwarded to the receiving second according to the unicast route. Adding the requested RPF upstream neighbor; when the second routing device receives the first joining request again or receives the leaving request sent by the first routing device, receiving the self-receiving according to the unicast route The second RPF upstream neighbor is configured to be the RPF upstream neighbor that is carried in the first join request, and sends the second join request to the RPF upstream neighbor that is carried in the first join request.
同现有技术相比,本发明实施例中共享网段上的下游路由设备在接收到下 游接收设备发送的加入请求之后,并不是直接向由单播路径计算获得的上游路 由设备转发该加入请求,而是保持与共享网段中已存在的其他加入请求一致的 上游路由设备,将该接入请求转发至同一上游路由设备,从而避免共享网段中 出现多条不同的针对相同组播数据的组播数据传输路径。 附图说明 为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技术 描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动 的前提下, 还可以根据这些附图获得其他的附图。  Compared with the prior art, the downstream routing device on the shared network segment in the embodiment of the present invention does not directly forward the join request to the upstream routing device obtained by the unicast path after receiving the join request sent by the downstream receiving device. The upstream routing device that is consistent with the other joining requests that exist in the shared network segment is forwarded, and the access request is forwarded to the same upstream routing device, so as to avoid multiple different multicast data for the same multicast data in the shared network segment. Multicast data transmission path. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only the present drawings. Some embodiments of the invention may also be used to obtain other figures from these figures without departing from the art.
图 1为 PIM-SM协议中, 组播转发树的建立过程示意图;  Figure 1 is a schematic diagram of a process of establishing a multicast forwarding tree in the PIM-SM protocol;
图 2为共享网段中产生重复的组播数据时发生流量冲突的示意图; 图 3为本发明实施例提供的组播控制方法流程示意图;  2 is a schematic diagram of a traffic conflict when a duplicate multicast data is generated in a shared network segment; FIG. 3 is a schematic flowchart of a multicast control method according to an embodiment of the present invention;
图 4为本发明实施例提供的组播网的拓朴结构示意图;  4 is a schematic structural diagram of a topology of a multicast network according to an embodiment of the present invention;
图 5为本发明实施例提供的一种位于共享网段上的路由设备结构示意图。 具体实施方式 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 FIG. 5 is a schematic structural diagram of a routing device on a shared network segment according to an embodiment of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, instead of All embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention.
为了避免共享网段上出现相同组播数据传输的缺陷,本发明实施例提供了 一种组播控制方法、 路由设备及组播系统。  In order to avoid the defect of the same multicast data transmission on the shared network segment, the embodiment of the present invention provides a multicast control method, a routing device, and a multicast system.
本发明实施例提供了一种组播控制方法, 如图 3所示, 该方法可以包括: The embodiment of the invention provides a multicast control method. As shown in FIG. 3, the method may include:
301、 共享网段上的第二路由设备接收到所述共享网段上的第一路由设备 周期性转发的第一加入请求,所述第一加入请求中携带有所述第一路由设备的 RPF ( Reverse-path Forwarding, 反向路径转发)上游邻居信息, 以及组播源的 地址信息; 301. The second routing device on the shared network segment receives the first join request periodically forwarded by the first routing device on the shared network segment, where the first join request carries the RPF of the first routing device. (Reverse-path forwarding, reverse path forwarding) upstream neighbor information, and address information of the multicast source;
在 PIM-SM协议中,当位于组播树的某一共享网段上的一个路由设备根据 接收者的请求需要加入组播树的源组中时,首先会根据其自身的路由表项中的 源地址信息,查询从该路由设备到路由表项中的源地址所在的路由设备之间的 单播路由, 然后, 根据查询到的该单播路由确定位于其上游的 RPF上游邻居, 并向该 RPF上游邻居周期性发送加入请求, 该加入请求中携带其确定的 RPF 上游邻居的相关信息, 以及组播树的源、 组地址。 根据 PIM-SM协议的规定, 加入请求对应的目的地址为网段中所有加载 PIM-SM协议的路由设备。 因此, 虽然此时加入请求是针对该共享网段上的某一上游路由设备而发送的,但是该 网段上除该特定上游路由设备之外的、所有加载 PIM-SM协议的其他路由设备 也能接收到该加入请求。其中, 上述其他路由设备不仅包括其他的上游路由设 备, 还包括该共享网段内除发送该加入请求的路由设备外的所有下游路由设 备。  In the PIM-SM protocol, when a routing device on a shared network segment of the multicast tree needs to join the source group of the multicast tree according to the request of the receiver, it is first based on its own routing entry. The source address information is used to query the unicast route between the routing device and the routing device where the source address is located in the routing entry, and then determine the upstream RPF upstream neighbor according to the unicast route that is queried, and The RPF upstream neighbor periodically sends a join request, and the join request carries the information about the RPF upstream neighbor determined by the RPF, and the source and group address of the multicast tree. According to the PIM-SM protocol, the destination address corresponding to the join request is all the routing devices loaded with PIM-SM in the network segment. Therefore, although the join request is sent for an upstream routing device on the shared network segment, all other routing devices on the network segment except the specific upstream routing device that load the PIM-SM protocol are also Can receive the join request. The other routing device includes not only other upstream routing devices, but also all downstream routing devices in the shared network segment except the routing device that sends the join request.
对于共享网段上接收到上述加入请求的所有路由设备,在接收到同一共享 网段上的其他路由设备发送的加入请求后,为了确认是否需要响应上述加入请 求, 首先对自身是否为上述共享网段内的上游设备或是下游设备进行识别, 以 执行不同的操作。  After receiving the join request sent by other routing devices on the same shared network segment, all the routing devices that have received the above-mentioned join request on the shared network segment, in order to confirm whether they need to respond to the join request, first whether they are the above-mentioned shared network. The upstream device or the downstream device in the segment is identified to perform different operations.
本发明实施例中, 某接收者发起的加入请求假设为第一加入请求,发送该 第一加入请求的路由设备设为第一路由设备,共享网段上接收该第一加入请求 的路由设备设为第二路由设备。 302、 所述第二路由设备根据所述 RPF上游邻居信息确定自身不是所述第 一路由设备的 RPF上游邻居, 且根据所述组播源的地址信息确定自身为所述 共享网段内的下游路由设备时, 则接收到下游接收设备发送的第二加入请求 后,暂时不将所述第二加入请求转发至根据单播路由获得的接收所述第二加入 请求的 RPF上游邻居; In the embodiment of the present invention, the join request initiated by a receiver is assumed to be the first join request, and the routing device that sends the first join request is set as the first routing device, and the routing device that receives the first join request on the shared network segment is set. For the second routing device. The second routing device determines, according to the RPF upstream neighbor information, that the RPF is not the upstream neighbor of the first routing device, and determines that it is the downstream of the shared network segment according to the address information of the multicast source. After the device is routed, after receiving the second join request sent by the downstream receiving device, the second join request is not forwarded to the RPF upstream neighbor that is obtained according to the unicast route and receives the second join request.
上述过程中, 当第二路由设备接收到第一加入请求后, 可以获取第一加入 请求中携带的第一路由设备的 RPF上游邻居信息, 从而能够确定该第一加入 报文是否是发给自己的。 当第一加入请求中携带的所述第一路由设备的 RPF 上游邻居信息与自身信息不符合时, 则可确定该第一加入报文不是发给自己 的, 此时, 第二路由设备可以直接丟弃携带该第一加入请求的数据包。  In the above process, after receiving the first join request, the second routing device may obtain the RPF upstream neighbor information of the first routing device carried in the first join request, so as to determine whether the first join message is sent to itself. of. When the RPF upstream neighbor information of the first routing device that is carried in the first join request does not match the self-information, the first join message is not sent to the user, and the second routing device may directly The packet carrying the first join request is discarded.
共享网段中的第二路由设备此时还没有收到其下游接收设备发起的加入 请求,但其可以收到共享网段中转发给第一路由设备的组播数据,从而创建相 应的表项。 由于第二路由设备未接收到其下游接收设备发起的加入请求, 该表 项并不能指导接收到的组播数据的转发,相应的组播数据在第二路由设备上被 终结。  The second routing device in the shared network segment has not received the join request initiated by the downstream receiving device, but it can receive the multicast data forwarded to the first routing device in the shared network segment, thereby creating a corresponding entry. . Since the second routing device does not receive the join request initiated by the downstream receiving device, the entry cannot guide the forwarding of the received multicast data, and the corresponding multicast data is terminated on the second routing device.
当接收到下游接收设备发送的第二加入请求时,第二路由设备发现已经存 在数据活跃的表项, 添加相应的出接口以便转发组播数据,但第二路由设备并 不是立即转发该第二加入请求报文给自身根据单播路由获得的接收所述第二 加入请求的 RPF上游邻居, 而是等待一段时间后再转发, 举例来说, 该等待 时间可以为第二加入请求发送的周期。  When receiving the second join request sent by the downstream receiving device, the second routing device finds that the data active entry exists, and adds the corresponding outgoing interface to forward the multicast data, but the second routing device does not immediately forward the second The request message is added to the RPF upstream neighbor that is obtained by the unicast route and receives the second join request, but waits for a period of time and then forwards. For example, the waiting time may be the period of the second join request.
303、 当所述第二路由设备再次接收到所述第一加入请求或接收到第一路 由设备发送的离开请求时,将自身根据单播路由获得的接收所述第二加入请求 的 RPF上游邻居设置为所述第一加入请求中携带的 RPF上游邻居, 并向所述 第一加入请求中携带的 RPF上游邻居发送所述第二加入请求。  303. When the second routing device receives the first join request or receives the leave request sent by the first routing device, the RPF upstream neighbor that receives the second join request obtained according to the unicast route The RPF upstream neighbor that is carried in the first join request is sent, and the second join request is sent to the RPF upstream neighbor that is carried in the first join request.
当第二路由设备再次接收到第一路由设备发送的第一加入请求,或者第一 路由设备发送的离开请求时, 获取相应报文中携带的 RPF上游邻居信息, 设 置自身根据单播路由获得的接收所述第二加入请求的 RPF上游邻居信息, 使 之与第一路由设备发送的第一加入请求或离开请求报文中携带的 RPF上游邻 居信息相一致, 并向该 RPF上游邻居发送第二加入请求, 避免共享网段中出 现多条不同的针对相同组播数据的组播数据传输路径。 When the second routing device receives the first joining request sent by the first routing device, or the leaving request sent by the first routing device, obtains the RPF upstream neighbor information carried in the corresponding packet, and sets the self-acquisition obtained according to the unicast route. Receiving the RPF upstream neighbor information of the second join request, which is consistent with the RPF upstream neighbor information carried in the first join request or the leave request message sent by the first routing device, and sends the second neighbor to the RPF upstream neighbor. Join the request to avoid the out of the shared network segment There are a number of different multicast data transmission paths for the same multicast data.
可见, 本发明实施例中,共享网段上的下游路由设备在接收到下游接收设 备发送的加入请求之后,并不是立刻向由单播路径计算获得的上游路由设备转 发该加入请求,而是保持与共享网段中已存在的其他加入请求一致的上游路由 设备,将该接入请求转发至同一上游路由设备,从而避免共享网段中出现多条 不同的针对相同组播数据的组播数据传输路径。  It can be seen that, in the embodiment of the present invention, after receiving the join request sent by the downstream receiving device, the downstream routing device on the shared network segment does not immediately forward the join request to the upstream routing device calculated by the unicast path, but keeps the join request. An upstream routing device that is consistent with other join requests that are already in the shared network segment forwards the access request to the same upstream routing device, thereby preventing multiple different multicast data transmissions for the same multicast data in the shared network segment. path.
此外, 举例来说, 如果所述第二路由设备具有其他已存在的路由表项, 则 居信息, 以保持与共享网段中已存在的其他加入请求一致的上游路由设备。  In addition, for example, if the second routing device has other existing routing entries, the information is retained to maintain an upstream routing device that is consistent with other joining requests already existing in the shared network segment.
当所述第二路由设备根据所述组播源的地址信息确定自身为所述共享网 段内的上游路由设备, 且判断自身是否为所述第一加入请求中携带的 RPF上 游邻居, 如果是, 则根据所述组播源的地址信息, 继续向所述共享网段的上一 级网段发送所述第一加入请求; 如果否, 则丟弃所述第一加入请求。  When the second routing device determines that it is the upstream routing device in the shared network segment according to the address information of the multicast source, and determines whether it is the RPF upstream neighbor carried in the first joining request, if And sending, according to the address information of the multicast source, the first join request to the upper-level network segment of the shared network segment; if not, discarding the first join request.
为了便于对本发明实施例技术方案的充分理解,下面将结合本发明实施例 中的附图, 对本发明实施例中的技术方案进行清楚、 完整的描述。  In order to facilitate a full understanding of the technical solutions of the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described.
图 4是本发明实施例提供的一种组播网的拓朴结构示意图。其中,路由设 备 102、 路由设备 103、 路由设备 104及路由设备 105直连在同一共享网段, 路由设备 102和路由设备 103在共享网段上为上游路由设备, 路由设备 104 和路由设备 105在共享网段是为下游路由设备, 路由设备 102和路由设备 103 有共同的上游路由设备 101 , 路由设备 101直连组播源 108, 此外, 第一接收 设备 106和第二接收设备 107分别为路由设备 104及路由设备 105的下游接收 设备, 通常, 第一接收设备 106和第二接收设备 107为请求接收组播源 108 发出数据包的主机设备。对于下游路由设备 104来说, 若其接收第一接收设备 106发送的加入请求 (Joinl(S,G)), 且查询到其 RPF上游邻居为路由设备 102 时, 则向路由设备 102发送加入请求 (Joinl(S,G))。 此时, 共享网段上的其他所 有路由设备,即路由设备 103、路由设备 105都将接收到加入请求 (Joinl(S,G))。 路由设备 103、 路由设备 105会根据该加入请求 (Join(S,G)), 分别识别自身是 共享网段上的上游路由设备还是下游路由设备以及自身是否是加入请求 (Joinl(S,G))中指定的 RPF上游邻居。对于路由设备 105,假设其在第一接收设 备 106向路由设备 104发送加入请求 (Joinl(S,G))时,第二接收设备 107并未向 路由设备 105发送加入相同源组的加入请求 (Join2(S,G)), 因此, 路由设备 105 此时并未加入到第一接收设备 106发送加入请求建立的源组中,还未包含路由 表项, 直接丟弃该加入报文。 而当第二接收设备 107向路由设备 105发送加入 请求 (Join2(S,G))时,路由设备 105检测到共享网段上已经存在 (Joinl(S,G))请求 的组播数据(S,G) , 所以不立刻向根据单播路由计算出的上游邻居发送 (Join2(S,G)), 而是延迟发送 (Join2(S,G))报文, 同时分享共享网段中(Joinl(S,G)) 请求到的组播数据, 等待接收路由设备 104发送的下一周期加入报文,从相应 的加入请求 (Joinl(S,G))中获取 RPF上游路由设备 102的信息, 并更正自身由 单播路由获得的 RPF上游邻居为路由设备 102,并将加入请求 (Join2(S,G))发送 至路由设备 102。 FIG. 4 is a schematic diagram of a topology structure of a multicast network according to an embodiment of the present invention. The routing device 102, the routing device 103, the routing device 104, and the routing device 105 are directly connected to the same shared network segment, and the routing device 102 and the routing device 103 are upstream routing devices on the shared network segment, and the routing device 104 and the routing device 105 are The shared network segment is a downstream routing device, and the routing device 102 and the routing device 103 have a common upstream routing device 101. The routing device 101 directly connects to the multicast source 108. In addition, the first receiving device 106 and the second receiving device 107 are respectively configured as routes. The device 104 and the downstream receiving device of the routing device 105. Generally, the first receiving device 106 and the second receiving device 107 are host devices that request to receive the multicast source 108 to send a data packet. For the downstream routing device 104, if it receives the join request (Joinl(S, G)) sent by the first receiving device 106, and queries the RPF upstream neighbor as the routing device 102, it sends a join request to the routing device 102. (Joinl (S, G)). At this time, all other routing devices on the shared network segment, that is, the routing device 103 and the routing device 105, will receive the join request (Joinl(S, G)). The routing device 103 and the routing device 105 respectively identify whether the upstream routing device or the downstream routing device on the shared network segment and whether it is a join request according to the join request (Join(S, G)) (Joinl(S, G) The RPF upstream neighbor specified in ). For routing device 105, assume that it is in the first receiving device When the standby 106 sends a join request (Joinl(S, G)) to the routing device 104, the second receiving device 107 does not send a join request (Join2(S, G)) to the routing device 105 to join the same source group, and therefore, the route The device 105 does not join the source group that the first receiving device 106 sends the join request to establish, and does not include the routing entry, and directly discards the join message. When the second receiving device 107 sends a join request (Join2(S, G)) to the routing device 105, the routing device 105 detects that the multicast data (Joinl(S, G)) request already exists on the shared network segment (S , G), so it does not immediately send (Join2(S, G)) to the upstream neighbor calculated according to the unicast route, but delays the sending (Join2(S, G)) message and shares the shared network segment (Joinl (S, G)) The requested multicast data, waiting for the next cycle join message sent by the routing device 104, and obtaining the information of the RPF upstream routing device 102 from the corresponding join request (Joinl(S, G)), And correcting the RPF upstream neighbor obtained by the unicast route as the routing device 102, and sending the join request (Join2(S, G)) to the routing device 102.
对于路由设备 102及路由设备 103而言, 当根据加入请求 (Joinl(S,G)) 分 别识别自身是共享网段上的上游路由设备, 则继续判断自身是否为加入请求 (Joinl(S,G))中携带的 RPF上游邻居, 如果是, 则根据所述组播源的地址信息, 继续向所述共享网段的上一级网段发送加入请求 (Joinl(S,G)); 如果否, 则丟弃 加入请求 (Joinl(S,G))。 在图 4 所示实施例中, 路由设备 102 为加入请求 (Joinl(S,G))中确定的 RPF上游邻居, 则路由设备 102继续向共享网段的上一 级网段, 即路由设备 101发送加入请求 (Joinl(S,G)), 而路由设备 103并非加入 请求 (Joinl(S,G))中确定的 RPF上游邻居, 则路由设备 103将接收到的加入请 求 (Joinl(S,G))丟弃。  For the routing device 102 and the routing device 103, if it is identified as an upstream routing device on the shared network segment according to the join request (Joinl(S, G)), it continues to determine whether it is a join request (Joinl(S, G) The RPF upstream neighbor carried in the ), if yes, continues to send a join request (Joinl(S, G)) to the upper-level network segment of the shared network segment according to the address information of the multicast source; , then discard the join request (Joinl(S, G)). In the embodiment shown in FIG. 4, the routing device 102 is the RPF upstream neighbor determined in the join request (Join1 (S, G)), and the routing device 102 continues to the upper network segment of the shared network segment, that is, the routing device 101. Sending a join request (Joinl(S, G)), and the routing device 103 is not joining the RPF upstream neighbor determined in the request (Joinl(S, G)), the routing device 103 will receive the join request (Joinl(S, G) ))throw away.
此外, 上述接收设备发送的加入请求可以是指定组播源 S的 (S, G )类 型加入请求, 也可以是表示指定组播组 G的所有组播源的 (*, G )类型加入 请求。 当加入请求是(S, G )加入请求时, 共享网段上的下游设备通过查找 到组播源 S的单播路由确定 RPF上游邻居; 对于 (*, G)类型加入请求, 则通 过查找到 RP ( Rendezvous Point, 汇聚点 ) 的路由确定 RPF上游邻居。  In addition, the join request sent by the receiving device may be a (S, G) type join request of the specified multicast source S, or a (*, G) type join request indicating all multicast sources of the specified multicast group G. When the join request is a (S, G) join request, the downstream device on the shared network segment determines the RPF upstream neighbor by finding the unicast route to the multicast source S; for the (*, G) type join request, it finds The route of the RP (Rendezvous Point) is used to determine the RPF upstream neighbor.
上述实施例的整个实现过程中, 路由设备 105在发送自身的 PIM加入报 文之前,共享路由设备 104创建的组播转发树转发下来的数据, 当在一个发送 周期内监听到共享网段中创建已有组播转发树的路由设备的请求报文后,将自 己加入到已经存在的组播转发树中,可以避免在共享网段中创建不同的组播转 发树而出现双份流量的情况, 同时也可以避免 Assert的发生。 In the whole implementation process of the foregoing embodiment, the routing device 105 shares the data forwarded by the multicast forwarding tree created by the routing device 104 before sending the PIM join message of the local device, and listens to the shared network segment in a sending period. After the request packet of the routing device of the multicast forwarding tree is added to the existing multicast forwarding tree, you can avoid creating different multicast forwardings on the shared network segment. The situation of double traffic is caused by the tree, and the occurrence of Assert can also be avoided.
相应上述组播控制方法实施例,本发明实施例还提供了一种位于共享网段 上的路由设备, 如图 5所示, 为该路由设备的结构示意图, 可见, 所述路由设 备可以包括:  Corresponding to the foregoing embodiment of the multicast control method, the embodiment of the present invention further provides a routing device on a shared network segment, as shown in FIG. 5, which is a schematic structural diagram of the routing device.
接收模块 501 , 用于接收所述共享网段上的第一路由设备周期性发送的第 一加入请求, 所述第一加入请求中携带有所述第一路由设备的反向路径转发 RPF上游邻居信息, 以及组播源的地址信息;  The receiving module 501 is configured to receive a first join request that is periodically sent by the first routing device on the shared network segment, where the first join request carries the reverse path of the first routing device to forward the RPF upstream neighbor Information, and address information of the multicast source;
设备识别模块 502,用于根据所述 RPF上游邻居信息确定自身是否为所述 第一路由设备的 RPF上游邻居, 且根据所述组播源的地址信息确定自身是否 为所述共享网段内的下游路由设备;  The device identification module 502 is configured to determine, according to the RPF upstream neighbor information, whether it is an RPF upstream neighbor of the first routing device, and determine, according to the address information of the multicast source, whether it is in the shared network segment. Downstream routing device;
请求处理模块 503 , 用于在确定自身为所述共享网段内的下游路由设备, 并接收到下游接收设备发送的第二加入请求时,暂时不将所述第二加入请求转 发至根据单播路由获得的接收所述第二加入请求的 RPF上游邻居, 当所述接 收模块再次接收到所述第一加入请求或接收到第一路由设备发送的离开请求 时, 将自身根据单播路由获得的接收所述第二加入请求的 RPF上游邻居设置 为所述第一加入请求中携带的 RPF上游邻居, 并向所述第一加入请求中携带 的 RPF上游邻居发送所述第二加入请求。  The request processing module 503 is configured to: when determining that the user is the downstream routing device in the shared network segment, and receiving the second joining request sent by the downstream receiving device, temporarily not forwarding the second joining request to the unicast according to the unicast Obtaining, by the route, the RPF upstream neighbor that receives the second join request, when the receiving module receives the first join request again or receives the leave request sent by the first routing device, obtains the self-unicast route according to the unicast route. The RPF upstream neighbor that receives the second join request is set as the RPF upstream neighbor that is carried in the first join request, and sends the second join request to the RPF upstream neighbor that is carried in the first join request.
举例来说,所述请求处理模块 503还用于在确定自身为所述共享网段内的 上游路由设备时, 则判断自身是否为所述第一加入请求中携带的 RPF上游邻 居, 如果是, 则根据所述组播源的地址信息, 继续向所述共享网段的上一级网 段发送所述第一加入请求; 如果否, 则丟弃所述第一加入请求。  For example, the request processing module 503 is further configured to determine, if it is the upstream routing device in the shared network segment, whether it is the RPF upstream neighbor carried in the first join request, and if yes, And sending, according to the address information of the multicast source, the first join request to the upper-level network segment of the shared network segment; if not, discarding the first join request.
举例来说, 所述第一加入请求, 包括: 第一路由设备转发的指定组播源 S 的 (S, G )加入请求, 或者表示指定组播组 G的所有组播源的 (*, G )加入 请求。  For example, the first join request includes: (S, G) join request of the specified multicast source S forwarded by the first routing device, or all multicast sources of the specified multicast group G (*, G ) Join the request.
上述各功能模块所涉及的具体工作过程,可以参考前述组播控制方法实施 例中所涉及的相关内容, 此处不再进行赞述。  For the specific working process involved in the foregoing functional modules, reference may be made to the related content involved in the foregoing multicast control method embodiment, and no further reference is made herein.
当所述路由设备位于共享网段上,在接收到下游接收设备发送的加入请求 之后, 并不是直接向由单播路径计算获得的上游路由设备转发该加入请求, 而 是保持与共享网段中已存在的其他加入请求一致的上游路由设备,将该接入请 求转发至同一上游路由设备,从而可以避免共享网段中出现多条不同的针对相 同组播数据的组播数据传输路径。 After the routing device is located on the shared network segment, after receiving the join request sent by the downstream receiving device, the upstream routing device obtained by the unicast path calculation does not directly forward the join request, but remains in the shared network segment. An existing upstream routing device with the same join request, the access request It is forwarded to the same upstream routing device, so that multiple different multicast data transmission paths for the same multicast data can be avoided in the shared network segment.
相应上述实施例, 本发明实施例还提供了一种组播系统, 所述系统包括: 位于共享网段上的至少一个第一路由设备、位于所述共享网段上的至少一个第 二路由设备, 其中,  According to the foregoing embodiment, the embodiment of the present invention further provides a multicast system, where the system includes: at least one first routing device located on a shared network segment, and at least one second routing device located on the shared network segment. , among them,
所述第一路由设备用于, 向所述第二路由设备转发第一加入请求, 所述加 入请求中携带有所述第一路由设备的反向路径转发 RPF上游邻居信息, 以及 组播源的地址信息;  The first routing device is configured to: forward, to the second routing device, a first join request, where the join request carries a reverse path of the first routing device to forward RPF upstream neighbor information, and a multicast source Address information;
所述第二路由设备用于, 接收所述第一加入请求, 当根据所述 RPF上游 邻居信息确定自身不是所述第一路由设备的 RPF上游邻居, 且根据所述组播 源的地址信息确定自身为所述共享网段内的下游路由设备时,则接收到下游接 收设备发送的第二加入请求后,暂时不将所述第二加入请求转发至根据单播路 由获得的接收所述第二加入请求的 RPF上游邻居; 当所述第二路由设备再次 接收到所述第一加入请求或接收到所述第一路由设备发送的离开请求时,将自 身根据单播路由获得的接收所述第二加入请求的 RPF上游邻居设置为所述第 一加入请求中携带的 RPF上游邻居, 并向所述第一加入请求中携带的 RPF上 游邻居发送所述第二加入请求。  The second routing device is configured to: receive the first join request, determine, according to the RPF upstream neighbor information, that the RPF upstream neighbor is not the first routing device, and determine, according to the address information of the multicast source, When the second routing request sent by the downstream receiving device is received, the second joining request is not forwarded to the receiving second according to the unicast route. Adding the requested RPF upstream neighbor; when the second routing device receives the first joining request again or receives the leaving request sent by the first routing device, receiving the self-receiving according to the unicast route The second RPF upstream neighbor is configured to be the RPF upstream neighbor that is carried in the first join request, and sends the second join request to the RPF upstream neighbor that is carried in the first join request.
此外, 所述系统还可以包括: 组播源, 用于根据所述第一路由设备的第一 加入请求或者第二路由设备的第二加入请求发送组播数据。  In addition, the system may further include: a multicast source, configured to send multicast data according to the first join request of the first routing device or the second join request of the second routing device.
举例来说, 所述第二路由设备还用于, 当根据所述组播源的地址信息确定 自身为所述共享网段内的上游路由设备,则判断自身是否为所述第一加入请求 中携带的 RPF上游邻居, 如果是, 则根据所述组播源的地址信息, 继续向所 述共享网段的上一级网段发送所述第一加入请求; 如果否, 则丟弃所述第一加 入请求。  For example, the second routing device is further configured to: determine, according to the address information of the multicast source, that it is an upstream routing device in the shared network segment, determine whether it is the first joining request. The RPF upstream neighbor, if yes, continues to send the first join request to the upper-level network segment of the shared network segment according to the address information of the multicast source; if not, discard the first One join request.
对于系统实施例而言, 由于其基本相应于方法、 设备实施例, 所以描述得 比较简单,相关之处参见方法和设备实施例的部分说明即可。 以上所描述的装 置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可 以不是物理上分开的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需 要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术 人员在不付出创造性劳动的情况下, 即可以理解并实施。 For the system embodiment, since it basically corresponds to the method and device embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method and the device embodiment. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located One place, or it can be distributed to multiple network elements. Can be based on actual needs Some or all of the modules are selected to achieve the objectives of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机 可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体(Random Access Memory, RAM )等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本 发明。 对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见 的,本文中所定义的一般原理可以在不脱离本发明实施例的精神或范围的情况 下, 在其它实施例中实现。 因此, 本发明实施例将不会被限制于本文所示的这 些实施例, 而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。  The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the embodiments of the invention. . Therefore, the present embodiments of the invention are not to be limited to the embodiments shown herein, but are to be accorded to the broadest scope of the principles and novel features disclosed herein.

Claims

权 利 要 求 Rights request
1、 一种组播控制方法, 其特征在于, 所述方法包括:  A multicast control method, the method comprising:
共享网段上的第二路由设备接收所述共享网段上的第一路由设备周期性 发送的第一加入请求,所述第一加入请求中携带有所述第一路由设备的反向路 径转发 RPF上游邻居信息, 以及组播源的地址信息;  The second routing device on the shared network segment receives the first join request periodically sent by the first routing device on the shared network segment, where the first join request carries the reverse path forwarding of the first routing device. RPF upstream neighbor information, and address information of the multicast source;
所述第二路由设备根据所述 RPF上游邻居信息确定自身不是所述第一路 由设备的 RPF上游邻居, 且根据所述组播源的地址信息确定自身为所述共享 网段内的下游路由设备时, 则接收到下游接收设备发送的第二加入请求后, 暂 时不将所述第二加入请求转发至根据单播路由获得的接收所述第二加入请求 的 RPF上游邻居;  The second routing device determines that the RPF upstream neighbor is not the first routing device according to the RPF upstream neighbor information, and determines that it is the downstream routing device in the shared network segment according to the address information of the multicast source. After receiving the second join request sent by the downstream receiving device, the second join request is not forwarded to the RPF upstream neighbor that is obtained according to the unicast route and receives the second join request.
当所述第二路由设备再次接收到所述第一加入请求或接收到所述第一路 由设备发送的离开请求时,将自身根据单播路由获得的接收所述第二加入请求 的 RPF上游邻居设置为所述第一加入请求中携带的 RPF上游邻居, 并向所述 第一加入请求中携带的 RPF上游邻居发送所述第二加入请求。  When the second routing device receives the first joining request again or receives the leaving request sent by the first routing device, the RPF upstream neighbor that receives the second joining request according to the unicast route The RPF upstream neighbor that is carried in the first join request is sent, and the second join request is sent to the RPF upstream neighbor that is carried in the first join request.
2、根据权利要求 1所述的组播控制方法, 其特征在于, 所述方法还包括: 当所述第二路由设备根据所述组播源的地址信息确定自身为所述共享网 段内的上游路由设备, 则判断自身是否为所述第一加入请求中携带的 RPF上 游邻居;  The multicast control method according to claim 1, wherein the method further comprises: determining, by the second routing device, that it is within the shared network segment according to address information of the multicast source The upstream routing device determines whether it is the upstream neighbor of the RPF carried in the first join request.
如果自身是所述第一加入请求中携带的 RPF上游邻居, 则根据所述组播 源的地址信息, 继续向所述共享网段的上一级网段发送所述第一加入请求; 如果自身不是所述第一加入请求中携带的 RPF上游邻居, 则丟弃所述第 一力口入请求。  If the RPF upstream neighbor is carried in the first join request, the first join request is sent to the upper network segment of the shared network segment according to the address information of the multicast source; If the RPF upstream neighbor is not included in the first join request, the first force incoming request is discarded.
3、 根据权利要求 1〜2中任一项所述的组播控制方法, 其特征在于, 所述 共享网段上的第二路由设备接收所述共享网段上的第一路由设备转发的第一 加入请求, 包括:  The multicast control method according to any one of claims 1 to 2, wherein the second routing device on the shared network segment receives the first forwarding device on the shared network segment. A join request, including:
所述第二路由设备接收所述第一路由设备转发的指定组播源 S的(S, G ) 加入请求, 或者表示指定组播组 G的所有组播源的 (*, G )加入请求。  The second routing device receives the (S, G) join request of the specified multicast source S forwarded by the first routing device, or the (*, G) join request of all multicast sources of the specified multicast group G.
4、 一种路由设备, 其特征在于, 所述路由设备位于共享网段上, 所述路 由器包括: 接收模块,用于接收所述共享网段上的第一路由设备周期性发送的第一加 入请求, 所述第一加入请求中携带有所述第一路由设备的反向路径转发 RPF 上游邻居信息, 以及组播源的地址信息; A routing device, wherein the routing device is located on a shared network segment, and the router includes: a receiving module, configured to receive a first join request periodically sent by the first routing device on the shared network segment, where the first join request carries the reverse path of the first routing device to forward the RPF upstream neighbor information And the address information of the multicast source;
设备识别模块, 用于根据所述 RPF上游邻居信息确定自身是否为所述第 一路由设备的 RPF上游邻居, 且根据所述组播源的地址信息确定自身是否为 所述共享网段内的下游路由设备;  a device identification module, configured to determine, according to the RPF upstream neighbor information, whether it is an RPF upstream neighbor of the first routing device, and determine, according to the address information of the multicast source, whether it is a downstream in the shared network segment. Routing device
请求处理模块, 用于在确定自身为所述共享网段内的下游路由设备, 并接 收到下游接收设备发送的第二加入请求时,暂时不将所述第二加入请求转发至 根据单播路由获得的接收所述第二加入请求的 RPF上游邻居, 当所述接收模 块次接收到所述第一加入请求或接收到所述第一路由设备发送的离开请求时, 将自身根据单播路由获得的接收所述第二加入请求的 RPF上游邻居设置为所 述第一加入请求中携带的 RPF上游邻居,并向所述第一加入请求中携带的 RPF 上游邻居发送所述第二加入请求。  a request processing module, configured to: when determining that it is a downstream routing device in the shared network segment, and receiving a second joining request sent by the downstream receiving device, temporarily not forwarding the second joining request to the unicast routing Obtaining an RPF upstream neighbor that receives the second join request, and when the receiving module receives the first join request or receives the leave request sent by the first routing device, obtain the self according to the unicast route. The RPF upstream neighbor that receives the second join request is set to be the RPF upstream neighbor carried in the first join request, and sends the second join request to the RPF upstream neighbor carried in the first join request.
5、 根据权利要求 4所述的路由设备, 其特征在于, 所述请求处理模块还 用于在确定自身为所述共享网段内的上游路由设备时,则判断自身是否为所述 第一加入请求中携带的 RPF上游邻居, 如果自身是所述第一加入请求中携带 的 RPF上游邻居, 则根据所述组播源的地址信息, 继续向所述共享网段的上 一级网段发送所述第一加入请求; 如果自身不是所述第一加入请求中携带的 RPF上游邻居, 则丟弃所述第一加入请求。  The routing device according to claim 4, wherein the request processing module is further configured to determine whether it is the first joining when determining that it is an upstream routing device in the shared network segment The RPF upstream neighbor that is carried in the request, if it is the RPF upstream neighbor carried in the first join request, continues to send to the upper-level network segment of the shared network segment according to the address information of the multicast source. The first join request is discarded; if the RPF upstream neighbor is not included in the first join request, the first join request is discarded.
6、 根据权利要求 4〜5中任一项所述的路由设备, 其特征在于, 所述第一 加入请求, 包括: 所述第一路由设备转发的指定组播源 S的 (S, G )加入请 求, 或者表示指定组播组 G的所有组播源的 (*, G )加入请求。  The routing device according to any one of claims 4 to 5, wherein the first joining request comprises: (S, G) of the specified multicast source S forwarded by the first routing device Join the request, or indicate the (*, G) join request for all multicast sources of the specified multicast group G.
7、 一种组播系统, 其特征在于, 所述系统包括: 位于共享网段上的至少 一个第一路由设备、 位于所述共享网段上的至少一个第二路由设备, 其中, 所述第一路由设备, 用于向所述第二路由设备周期性发送第一加入请求, 所述第一加入请求中携带有所述第一路由设备的反向路径转发 RPF上游邻居 信息, 以及组播源的地址信息;  A multicast system, the system includes: at least one first routing device that is located on a shared network segment, and at least one second routing device that is located on the shared network segment, where a routing device, configured to periodically send a first join request to the second routing device, where the first join request carries a reverse path of the first routing device to forward RPF upstream neighbor information, and a multicast source Address information;
所述第二路由设备, 用于接收所述第一加入请求, 当根据所述 RPF上游 邻居信息确定自身不是所述第一路由设备的 RPF上游邻居, 且根据所述组播 源的地址信息确定自身为所述共享网段内的下游路由设备时,则接收到下游接 收设备发送的第二加入请求后,暂时不将所述第二加入请求转发至根据单播路 由获得的接收所述第二加入请求的 RPF上游邻居; 当所述第二路由设备再次 接收到所述第一加入请求或接收到所述第一路由设备发送的离开请求时,将自 身根据单播路由获得的接收所述第二加入请求的 RPF上游邻居设置为所述第 一加入请求中携带的 RPF上游邻居, 并向所述第一加入请求中携带的 RPF上 游邻居发送所述第二加入请求。 The second routing device is configured to receive the first join request, and determine, according to the RPF upstream neighbor information, that the RPF upstream neighbor is not the first routing device, and according to the multicast When the address information of the source is determined to be the downstream routing device in the shared network segment, after receiving the second joining request sent by the downstream receiving device, the second joining request is not forwarded to the unicast routing. Receiving the RPF upstream neighbor of the second joining request; when the second routing device receives the first joining request again or receives the leaving request sent by the first routing device, obtaining the self according to the unicast route The RPF upstream neighbor that receives the second join request is set to be the RPF upstream neighbor carried in the first join request, and sends the second join request to the RPF upstream neighbor carried in the first join request.
8、 根据权利要求 7所述的组播系统, 其特征在于, 所述系统还包括: 组播源,用于根据所述第一路由设备的第一加入请求或者第二路由设备的 第二加入请求发送组播数据。  The multicast system according to claim 7, wherein the system further comprises: a multicast source, configured to be based on the first joining request of the first routing device or the second joining of the second routing device Request to send multicast data.
9、 根据权利要求 7或 8所述的组播系统, 其特征在于, 所述第二路由设备 还用于,当根据所述组播源的地址信息确定自身为所述共享网段内的上游路由 设备, 则判断自身是否为所述第一加入请求中携带的 RPF上游邻居, 如果自身 是所述第一加入请求中携带的 RPF上游邻居 , 则根据所述组播源的地址信息 , 继续向所述共享网段的上一级网段发送所述第一加入请求;如果自身不是所述 第一加入请求中携带的 RPF上游邻居, 则丟弃所述第一加入请求。  The multicast system according to claim 7 or 8, wherein the second routing device is further configured to determine that it is an upstream in the shared network segment according to the address information of the multicast source. The routing device determines whether it is the RPF upstream neighbor carried in the first join request, and if it is the RPF upstream neighbor carried in the first join request, according to the address information of the multicast source, continues to The first network segment of the shared network segment sends the first join request; if it is not the RPF upstream neighbor carried in the first join request, the first join request is discarded.
PCT/CN2011/079003 2011-02-01 2011-08-26 Multicast control method, routing device and multicast system WO2012103748A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110034461.7A CN102624604B (en) 2011-02-01 2011-02-01 Multicast control method, routing equipment and multicast system
CN201110034461.7 2011-02-01

Publications (1)

Publication Number Publication Date
WO2012103748A1 true WO2012103748A1 (en) 2012-08-09

Family

ID=46564295

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079003 WO2012103748A1 (en) 2011-02-01 2011-08-26 Multicast control method, routing device and multicast system

Country Status (2)

Country Link
CN (1) CN102624604B (en)
WO (1) WO2012103748A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103209134B (en) * 2013-04-22 2017-02-15 杭州华三通信技术有限公司 Method and equipment for multicast forwarding
CN103354524B (en) * 2013-07-03 2016-08-10 杭州华三通信技术有限公司 A kind of method and apparatus realizing three layers of on-demand routing of multicast based on PIM-SSM
CN105814838B (en) * 2014-06-24 2019-06-21 华为技术有限公司 A kind of multicasting method of software defined network, apparatus and system
CN105337746B (en) * 2015-09-23 2018-11-13 浙江宇视科技有限公司 A kind of transmission method and device of multicast packet

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330448A (en) * 2007-06-21 2008-12-24 华为技术有限公司 Method and apparatus for announcing link state information and determining multicast forwarding path
US20100135294A1 (en) * 2008-12-03 2010-06-03 Cisco Technology, Inc. Any-to any multicasting in a tunnel based virtual private network
CN101800742A (en) * 2010-01-28 2010-08-11 华为技术有限公司 Method for updating and processing upstream information of routing device, routing devices and network system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330448A (en) * 2007-06-21 2008-12-24 华为技术有限公司 Method and apparatus for announcing link state information and determining multicast forwarding path
US20100135294A1 (en) * 2008-12-03 2010-06-03 Cisco Technology, Inc. Any-to any multicasting in a tunnel based virtual private network
CN101800742A (en) * 2010-01-28 2010-08-11 华为技术有限公司 Method for updating and processing upstream information of routing device, routing devices and network system

Also Published As

Publication number Publication date
CN102624604A (en) 2012-08-01
CN102624604B (en) 2015-01-07

Similar Documents

Publication Publication Date Title
US7839850B2 (en) Forming equal cost multipath multicast distribution structures
US9077551B2 (en) Selection of multicast router interfaces in an L2 switch connecting end hosts and routers, which is running IGMP and PIM snooping
CN107276904B (en) Method and network device for distributing multicast service
US8009671B2 (en) Multicast method and multicast routing method
US8638787B2 (en) Multicast hello on demand
US8270395B2 (en) Forming multicast distribution structures using exchanged multicast optimization data
EP2437444A1 (en) Method, router and communication system for rapid multicast convergence
US8953446B1 (en) Load balancing multicast join requests over interior and exterior BGP paths in a MVPN
EP3226491A1 (en) Hot root standby support for multicast
US11509572B2 (en) Optimizing IP multicast delivery with use of local source nodes and the propagation of advertisements therefor
US11381883B2 (en) Dynamic designated forwarder election per multicast stream for EVPN all-active homing
US9838210B1 (en) Robust control plane assert for protocol independent multicast (PIM)
JP2013543687A (en) Multicast branch, protocol independent multicast router, and pruning method for layer 2 switch
US10382217B1 (en) Single actual-forwarder election in multicast VPNs
US9160683B2 (en) Providing PIM-SSM support for MRSVP-TE based multicast virtual private networks
WO2010111956A1 (en) Method and system for multicast-forwarding-path convergence
WO2018014767A1 (en) Information determination method and device, and storage medium
US10225091B2 (en) Method for implementing point-to-multipoint multicast, network node, and system
WO2011020346A1 (en) Method and apparatus for forwarding multicast data
WO2012103748A1 (en) Multicast control method, routing device and multicast system
WO2016131359A1 (en) Multicast line switching method and device for ring-shaped network
WO2014169856A1 (en) Multicast communication method and aggregation switch
WO2015014197A1 (en) Method for selecting route in scenario of multicast load, and router
WO2019075674A1 (en) Multicast packet transmission method, network device, and system
US11582054B2 (en) Multicast source discovery protocol (MSDP) loop avoidance

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11857474

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11857474

Country of ref document: EP

Kind code of ref document: A1