WO2016202035A1 - Ethernet ring network multicast proxy mode service convergence method and apparatus - Google Patents
Ethernet ring network multicast proxy mode service convergence method and apparatus Download PDFInfo
- Publication number
- WO2016202035A1 WO2016202035A1 PCT/CN2016/077250 CN2016077250W WO2016202035A1 WO 2016202035 A1 WO2016202035 A1 WO 2016202035A1 CN 2016077250 W CN2016077250 W CN 2016077250W WO 2016202035 A1 WO2016202035 A1 WO 2016202035A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- port
- group member
- multicast
- receiving
- ring network
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/42—Loop networks
Definitions
- the embodiments of the present invention relate to, but are not limited to, the Ethernet ring network, and in particular, to an Ethernet ring multicast proxy (Proxy) mode service convergence method and apparatus.
- Ethernet ring multicast proxy Proxy
- the Ethernet ring network is a typical networking application of Ethernet on the metropolitan area network. It solves the problems of weak protection of traditional data networks and poor time for recovery of faults. It can provide fast protection of 50ms and effectively improve the quality of service of the network. reliability.
- the Ethernet ring network has the advantage of supporting multicast applications.
- the traditional data network needs to replicate the multicast stream on each downlink port of the multicast branch node, and the Ethernet ring network only needs to replicate the multicast stream once on the entire ring network. Thereby greatly improving the effectiveness of multicast data stream replication.
- any node device in the Ethernet ring network (except for the root node connected to the multicast source) is peer-to-peer.
- the ports interconnected between the nodes are both source ports and receiving ports. If multiple multicast source scenarios are considered, all interconnect ports on the ring network are both source ports and receive ports.
- the IGMP (Internet Group Management Protocol) Proxy mode is used to prevent a large number of protocol packets from impacting the network or generating a loopback storm.
- the ring network IGMP Proxy mode has a "ping-pong effect", that is, neighboring device nodes will send inquiries and join each other. If all the users on a node are removed, the ring network port is still in the multicast group. According to the mechanism of the last user leaving the Proxy mode, the device does not send the Leave message to the source port. As a result, the multicast cannot be disconnected on the ring network. The traffic always consumes network bandwidth and the service cannot converge.
- Embodiments of the present invention provide a method and apparatus for service convergence in an Ethernet ring multicast Proxy mode. It enables multicast traffic to converge in a shorter time.
- the receiving port is deleted from the multicast group member.
- the multicast group member is checked. If only one ring network port is left in the group member, the leaving message is sent to the ring network port, and the ring network port is deleted from the multicast group member.
- the method further includes:
- the query message is ignored.
- the method before receiving the query message, the method further includes:
- Eliminate loops in the Ethernet ring network Eliminate loops in the Ethernet ring network.
- the embodiment of the invention further provides a method for service convergence in the Ethernet ring multicast proxy mode, including:
- the receiving port is deleted from the multicast group member.
- the multicast group member is checked, and if the group member has no port remaining, the leaving message is sent to the source port.
- the method further includes:
- the embodiment of the invention further provides an apparatus for service convergence in the Ethernet ring multicast Proxy mode, including:
- the first deleting module is configured to remove the receiving port from the multicast group member when receiving the leaving message
- a first processing module configured to check the multicast group member, if the group member only has one ring network port, send the leaving message to the ring network port, and send the ring network port from Group Deleted in the broadcast group member.
- the device further includes:
- the check module is set to check the multicast group members when receiving the query message.
- Ignore the module set to ignore the query message if there is only one ring port left in the group member and the port is a receiving port.
- the device further includes:
- the first cancellation module is configured to eliminate loops in the Ethernet ring network before receiving the query message.
- the embodiment of the invention further provides an apparatus for service convergence in the Ethernet ring multicast Proxy mode, including:
- the second deleting module is configured to remove the receiving port from the multicast group member when receiving the leaving message
- the second processing module is configured to check the multicast group member, and if the group member has no port remaining, send the leaving message to the source port.
- the device further includes:
- the reject module is set to stop receiving the multicast group data stream forwarded by the uplink multicast source.
- the embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
- the embodiment of the present invention effectively solves the "ping-pong effect" of the ring network Proxy multicast by processing the uplink node, the intermediate node, and the edge node in the IGMP Proxy mechanism, and the multicast traffic can converge in a relatively short time, thereby avoiding Long-term occupation of network bandwidth.
- FIG. 1 is a topological diagram of an Ethernet ring network according to an embodiment of the present invention.
- FIG. 2 is a structural diagram of an Ethernet ring network chain structure according to an embodiment of the present invention.
- FIG. 3 is a flowchart of a method for service convergence in an Ethernet ring multicast Proxy mode according to an embodiment of the present invention
- FIG. 4 is a flowchart of another method for convergence of an Ethernet ring network multicast Proxy mode according to an embodiment of the present invention
- FIG. 5 is a schematic structural diagram of an apparatus for service convergence in an Ethernet ring multicast Proxy mode according to an embodiment of the present invention
- FIG. 6 is a schematic structural diagram of another apparatus for convergence of an Ethernet ring network multicast Proxy mode according to an embodiment of the present invention.
- Ethernet ring network that has been clipped by the STP (Spanning Tree Protocol) can be regarded as a chain structure.
- STP Segning Tree Protocol
- the ring network port is an interconnection port between nodes in the Ethernet ring network, which is a source port and a receiving port.
- Receiving port the port that receives the protocol packet
- Source port Connects to the uplink port of the multicast source.
- Receive port The port connected to the user.
- the multicast data stream and protocol query packets are forwarded from the port.
- the fast convergence method of the Ethernet ring multicast proxy mode service is applied to an edge node or an intermediate node, including:
- Step 31 When the edge node or the intermediate node receives the leaving packet, the receiving port is deleted from the multicast group member.
- Step 32 Check the multicast group member, if the group member has only one ring network port, send the leaving message to the ring network port, and set the ring network port from the multicast group member. Deleted.
- the method further includes:
- the query message is ignored.
- the method before receiving the query message, the method further includes: eliminating a loop in the Ethernet ring network.
- a fast convergence method of the Ethernet ring multicast proxy mode service is applied to the uplink node, including:
- Step 41 When receiving the leaving message, deleting the receiving port from the multicast group member;
- step 42 the multicast group member is checked, and if the group member has no port remaining, the leaving message is sent to the source port.
- the method further includes: stopping receiving the multicast group data stream forwarded by the uplink multicast source.
- the method before receiving the query message, the method further includes: eliminating a loop in the Ethernet ring network.
- the ping-pong effect of the Ethernet ring network Proxy multicast is effectively solved by the special processing of the IGMP proxy mechanism, and the multicast traffic can converge in a short time, thereby avoiding occupying the network bandwidth for a long time.
- a device for fast convergence of an Ethernet ring multicast proxy mode service is configured on an edge node or an intermediate node, including:
- the first deleting module 51 is configured to: when receiving the leaving message, deleting the receiving port from the multicast group member;
- the first processing module 52 is configured to check the multicast group member, if the group member only has one ring network port, send the leaving message to the ring network port, and send the ring network port Remove from a multicast group member.
- the device further includes:
- the check module is set to check the multicast group members when receiving the query message.
- Ignore the module set to ignore the query message if there is only one ring port left in the group member and the port is a receiving port.
- the device further includes:
- the first cancellation module is configured to eliminate loops in the Ethernet ring network before receiving the query message.
- an apparatus for fast convergence of an Ethernet ring network multicast proxy mode service is configured on an uplink node, including:
- the second deleting module 61 is configured to delete the receiving port from the multicast group member when receiving the leaving message
- the second processing module 62 is configured to check the multicast group member, and if the group member has no port remaining, send the leaving message to the source port.
- the device further includes:
- the reject module is set to stop receiving the multicast group data stream forwarded by the uplink multicast source.
- the device further includes:
- the second cancellation module is configured to eliminate loops in the Ethernet ring network.
- Embodiment 1 is a diagrammatic representation of Embodiment 1:
- the Ethernet ring network consists of four nodes, of which node 3 is connected to a multicast source, and ports 2, 3, 4, 5, 7, 8, 9, and 10 are ring ports.
- Port 6 is configured as the source port
- 1 is configured as the receiving port
- 2, 3, 4, 5, 7, 8, 9, 10 are both the source port and the receiving port.
- the STP status of ports 9 and 10 is block.
- the user sends a join message to join the multicast group 224.1.1.1, and adds port 1 as the member port of the multicast group 224.1.1.1.
- the source port 2 sends the join message.
- Port 3 joins the multicast group member and sends the join message from the source port 3 and 4.
- all the interconnected ring ports are added as the member ports of the multicast group 224.1.1.1, and the node 3 is the port. 6
- ports 1, 2, 3, 4, 5, 7, and 8 are member ports of the multicast group 224.1.1.1.
- the data stream of multicast 224.1.1.1 is forwarded to all nodes and users along 6 ⁇ 7 ⁇ 8 and 6 ⁇ 5 ⁇ 4 ⁇ 3 ⁇ 2 ⁇ 1.
- the edge node 4 does not have a corresponding multicast group requesting user, so the data flow forwards the occupied bandwidth to the node.
- Nodes 3 and 4 communicate with each other through the ports 7 and 8.
- the node 4 receives the query packet and checks that only the ring port 9 is in the multicast group and does not respond to the query.
- Port 7 in node 3 After being removed from the multicast group 224.1.1.1 by aging, the data flow will no longer be forwarded to node 4.
- the user sends a Leave message, leaves the multicast group 224.1.1.1, and removes the port 1 from the multicast group member.
- the member of the multicast group 224.1.1.1 is checked. Only one ring network port 2 is used, so the slave port 2 Send the leave message and remove port 2 from the multicast group member.
- Node 2 deletes the port 3 from the multicast group member.
- the member of the multicast group is only the ring network 4. Therefore, the port 4 sends the Leave message and the port 4 is deleted from the multicast group member. All the ring ports in the ring network are no longer members of the multicast group 224.1.1.1, and the node 3 sends the leaving packets to the multicast source.
- the multicast source does not forward the multicast group. Data flow of 224.1.1.1.
- each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function.
- Embodiments of the invention are not limited to any specific form of combination of hardware and software.
- the embodiment of the present invention effectively solves the "ping-pong effect" of the ring network Proxy multicast by processing the uplink node, the intermediate node, and the edge node in the IGMP Proxy mechanism, and the multicast traffic can converge in a relatively short time, thereby avoiding Long-term occupation of network bandwidth.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
Disclosed are an Ethernet ring network multicast proxy mode service convergence method and apparatus. The method comprises: deleting, when a leaving message is received, a packet receiving port from a multicast group member; and checking the multicast group member, sending, if the group member have only one ring network port, the leaving message to the ring network port, and deleting the ring network port from the multicast group member.
Description
本发明实施例涉及但不限于以太环网领域,尤指一种以太环网组播代理(Proxy)模式业务收敛的方法和装置。The embodiments of the present invention relate to, but are not limited to, the Ethernet ring network, and in particular, to an Ethernet ring multicast proxy (Proxy) mode service convergence method and apparatus.
以太环网是以太网在城域网上的一种典型组网应用,解决了传统数据网保护能力弱、故障恢复时间差等问题,能够提供50ms的快速保护特性,有效的提高了网络的服务质量和可靠性。The Ethernet ring network is a typical networking application of Ethernet on the metropolitan area network. It solves the problems of weak protection of traditional data networks and poor time for recovery of faults. It can provide fast protection of 50ms and effectively improve the quality of service of the network. reliability.
以太环网具有支持组播应用的优势,传统数据网在组播分支节点的每一个下联端口上均需要进行组播流的复制,而以太环网只需在整个环网上复制一次组播流,从而大大提高了组播数据流复制的有效性。The Ethernet ring network has the advantage of supporting multicast applications. The traditional data network needs to replicate the multicast stream on each downlink port of the multicast branch node, and the Ethernet ring network only needs to replicate the multicast stream once on the entire ring network. Thereby greatly improving the effectiveness of multicast data stream replication.
如图1所示,以太环网中任一节点设备(除了连接组播源的根节点)都是对等的,节点间互联的端口既是源端口,也是接收端口。如果考虑多组播源的场景,则环网上所有互联端口既是源端口,也是接收端口。As shown in Figure 1, any node device in the Ethernet ring network (except for the root node connected to the multicast source) is peer-to-peer. The ports interconnected between the nodes are both source ports and receiving ports. If multiple multicast source scenarios are considered, all interconnect ports on the ring network are both source ports and receive ports.
对于环网组播业务,通常采用IGMP(Internet Group Management Protocol,网际组管理协议)Proxy模式,可以避免大量协议报文对网络产生冲击或产生环回风暴。但环网IGMP Proxy模式却存在“乒乓效应”,即相邻设备节点之间会对发查询报文,互相加入。即使一个节点上所有用户都离开了,由于环网端口还在组播组内,按照Proxy模式最后用户离开的机制,此时不会向源端口发送离开报文,导致组播在环网上无法断流,始终占用网络带宽,业务无法收敛。For the ring network multicast service, the IGMP (Internet Group Management Protocol) Proxy mode is used to prevent a large number of protocol packets from impacting the network or generating a loopback storm. However, the ring network IGMP Proxy mode has a "ping-pong effect", that is, neighboring device nodes will send inquiries and join each other. If all the users on a node are removed, the ring network port is still in the multicast group. According to the mechanism of the last user leaving the Proxy mode, the device does not send the Leave message to the source port. As a result, the multicast cannot be disconnected on the ring network. The traffic always consumes network bandwidth and the service cannot converge.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种以太环网组播Proxy模式业务收敛的方法和装置,
能够使得组播流量在较短时间内收敛。Embodiments of the present invention provide a method and apparatus for service convergence in an Ethernet ring multicast Proxy mode.
It enables multicast traffic to converge in a shorter time.
本发明实施例的以太环网组播Proxy模式业务收敛的方法,包括:The method for the service convergence of the Ethernet ring multicast proxy mode in the embodiment of the present invention includes:
当收到离开报文时,将收包端口从组播组成员中删除;When receiving the leaving message, the receiving port is deleted from the multicast group member.
检查所述组播组成员,如果所述组成员仅剩下一个环网端口,则向所述环网端口发送所述离开报文,并将所述环网端口从组播组成员中删除。The multicast group member is checked. If only one ring network port is left in the group member, the leaving message is sent to the ring network port, and the ring network port is deleted from the multicast group member.
可选地,所述方法还包括:Optionally, the method further includes:
当收到查询报文时,检查组播组成员;When receiving the query packet, check the multicast group member.
如果所述组成员仅剩下一个环网端口,并且所述端口是收包端口,则忽略所述查询报文。If the group member has only one ring network port left and the port is a receiving port, the query message is ignored.
可选地,收到查询报文之前,所述方法还包括:Optionally, before receiving the query message, the method further includes:
消除以太环网中的环路。Eliminate loops in the Ethernet ring network.
本发明实施例还提供一种以太环网组播Proxy模式业务收敛的方法,包括:The embodiment of the invention further provides a method for service convergence in the Ethernet ring multicast proxy mode, including:
当收到离开报文时,将收包端口从组播组成员中删除;When receiving the leaving message, the receiving port is deleted from the multicast group member.
检查所述组播组成员,如果所述组成员无端口剩下,则向源端口发送所述离开报文。The multicast group member is checked, and if the group member has no port remaining, the leaving message is sent to the source port.
可选地,所述方法还包括:Optionally, the method further includes:
停止接收上联的组播源转发的组播组数据流。Stop receiving multicast group data flows forwarded by the uplink multicast source.
本发明实施例还提供一种以太环网组播Proxy模式业务收敛的装置,包括:The embodiment of the invention further provides an apparatus for service convergence in the Ethernet ring multicast Proxy mode, including:
第一删除模块,设置为当收到离开报文时,将收包端口从组播组成员中删除;以及The first deleting module is configured to remove the receiving port from the multicast group member when receiving the leaving message;
第一处理模块,设置为检查所述组播组成员,如果所述组成员仅剩下一个环网端口,则向所述环网端口发送所述离开报文,并将所述环网端口从组
播组成员中删除。a first processing module, configured to check the multicast group member, if the group member only has one ring network port, send the leaving message to the ring network port, and send the ring network port from Group
Deleted in the broadcast group member.
可选地,所述装置还包括:Optionally, the device further includes:
检查模块,设置为当收到查询报文时,检查组播组成员;The check module is set to check the multicast group members when receiving the query message.
忽略模块,设置为如果所述组成员仅剩下一个环网端口,并且所述端口是收包端口,则忽略所述查询报文。Ignore the module, set to ignore the query message if there is only one ring port left in the group member and the port is a receiving port.
可选地,所述装置还包括:Optionally, the device further includes:
第一消除模块,设置为在收到查询报文之前消除以太环网中的环路。The first cancellation module is configured to eliminate loops in the Ethernet ring network before receiving the query message.
本发明实施例还提供一种以太环网组播Proxy模式业务收敛的装置,包括:The embodiment of the invention further provides an apparatus for service convergence in the Ethernet ring multicast Proxy mode, including:
第二删除模块,设置为当收到离开报文时,将收包端口从组播组成员中删除;以及The second deleting module is configured to remove the receiving port from the multicast group member when receiving the leaving message;
第二处理模块,设置为检查所述组播组成员,如果所述组成员无端口剩下,则向源端口发送所述离开报文。The second processing module is configured to check the multicast group member, and if the group member has no port remaining, send the leaving message to the source port.
可选地,所述装置还包括:Optionally, the device further includes:
拒绝模块,设置为停止接收上联的组播源转发的组播组数据流。The reject module is set to stop receiving the multicast group data stream forwarded by the uplink multicast source.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现上述方法。The embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
本发明实施例通过对IGMP Proxy机制中上联节点、中间节点和边缘节点的处理,有效解决了环网Proxy组播存在的“乒乓效应”,组播流量能够在较短时间内收敛,避免了长时间占用网络带宽。The embodiment of the present invention effectively solves the "ping-pong effect" of the ring network Proxy multicast by processing the uplink node, the intermediate node, and the edge node in the IGMP Proxy mechanism, and the multicast traffic can converge in a relatively short time, thereby avoiding Long-term occupation of network bandwidth.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述
BRIEF abstract
图1是本发明实施例以太环网拓扑图;1 is a topological diagram of an Ethernet ring network according to an embodiment of the present invention;
图2是本发明实施例以太环网链形结构图;2 is a structural diagram of an Ethernet ring network chain structure according to an embodiment of the present invention;
图3是本发明实施例以太环网组播Proxy模式业务收敛的方法的流程图;3 is a flowchart of a method for service convergence in an Ethernet ring multicast Proxy mode according to an embodiment of the present invention;
图4是本发明实施例另一以太环网组播Proxy模式业务收敛的方法的流程图;4 is a flowchart of another method for convergence of an Ethernet ring network multicast Proxy mode according to an embodiment of the present invention;
图5是本发明实施例以太环网组播Proxy模式业务收敛的装置的结构示意图;FIG. 5 is a schematic structural diagram of an apparatus for service convergence in an Ethernet ring multicast Proxy mode according to an embodiment of the present invention; FIG.
图6是本发明实施例另一以太环网组播Proxy模式业务收敛的装置的结构示意图。FIG. 6 is a schematic structural diagram of another apparatus for convergence of an Ethernet ring network multicast Proxy mode according to an embodiment of the present invention.
下面结合附图对本发明实施例进行说明,需要说明的是,在不冲突的情况下,本申请中的实施例和实施例中的特征可以相互任意组合。The embodiments of the present invention are described below with reference to the accompanying drawings. It should be noted that the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other without conflict.
如图2所示,可以将经过STP(Spanning Tree Protocol,生成树协议)裁剪后的以太环网看作一个链形结构,存在三种类型的节点设备:上联节点(连接组播源)、中间节点(两端处于转发状态)和边缘节点(只有一端处于转发状态)。As shown in Figure 2, the Ethernet ring network that has been clipped by the STP (Spanning Tree Protocol) can be regarded as a chain structure. There are three types of node devices: the uplink node (connecting to the multicast source). Intermediate nodes (both ends are in forwarding state) and edge nodes (only one end is in forwarding state).
其中,环网端口:以太环网中节点之间的互联端口,既是源端口,又是接收端口;The ring network port is an interconnection port between nodes in the Ethernet ring network, which is a source port and a receiving port.
收包端口:收到协议报文的端口;Receiving port: the port that receives the protocol packet;
源端口:连接组播源的上联端口;Source port: Connects to the uplink port of the multicast source.
接收端口:连接用户的端口,组播数据流及协议查询报文从该端口转发出去。Receive port: The port connected to the user. The multicast data stream and protocol query packets are forwarded from the port.
如图2和3所示,以太环网组播Proxy模式业务快速收敛的方法,应用于边缘节点或中间节点,包括:As shown in FIG. 2 and FIG. 3, the fast convergence method of the Ethernet ring multicast proxy mode service is applied to an edge node or an intermediate node, including:
步骤31,当边缘节点或中间节点收到离开报文时,将收包端口从组播组成员中删除;
Step 31: When the edge node or the intermediate node receives the leaving packet, the receiving port is deleted from the multicast group member.
步骤32,检查所述组播组成员,如果所述组成员仅剩下一个环网端口,则向所述环网端口发送所述离开报文,并将所述环网端口从组播组成员中删除。Step 32: Check the multicast group member, if the group member has only one ring network port, send the leaving message to the ring network port, and set the ring network port from the multicast group member. Deleted.
可选地,所述方法还包括:Optionally, the method further includes:
当收到查询报文时,检查组播组成员;When receiving the query packet, check the multicast group member.
如果所述组成员仅剩下一个环网端口,并且所述端口是收包端口,则忽略所述查询报文。If the group member has only one ring network port left and the port is a receiving port, the query message is ignored.
可选地,收到查询报文之前还包括:消除以太环网中的环路。Optionally, before receiving the query message, the method further includes: eliminating a loop in the Ethernet ring network.
如图2和4所示,一种以太环网组播Proxy模式业务快速收敛的方法,应用于上联节点,包括:As shown in FIG. 2 and FIG. 4, a fast convergence method of the Ethernet ring multicast proxy mode service is applied to the uplink node, including:
步骤41,当收到离开报文时,将收包端口从组播组成员中删除;Step 41: When receiving the leaving message, deleting the receiving port from the multicast group member;
步骤42,检查所述组播组成员,如果所述组成员无端口剩下,则向源端口发送所述离开报文。In step 42, the multicast group member is checked, and if the group member has no port remaining, the leaving message is sent to the source port.
可选地,所述方法还包括:停止接收上联的组播源转发的组播组数据流。Optionally, the method further includes: stopping receiving the multicast group data stream forwarded by the uplink multicast source.
可选地,收到查询报文之前还包括:消除以太环网中的环路。Optionally, before receiving the query message, the method further includes: eliminating a loop in the Ethernet ring network.
本发明实施例通过对IGMP Proxy机制做一些特殊的处理,有效解决了以太环网Proxy组播存在的“乒乓效应”,组播流量能够在较短时间内收敛,避免了长时间占用网络带宽。In the embodiment of the present invention, the ping-pong effect of the Ethernet ring network Proxy multicast is effectively solved by the special processing of the IGMP proxy mechanism, and the multicast traffic can converge in a short time, thereby avoiding occupying the network bandwidth for a long time.
如图2和5所示,一种以太环网组播Proxy模式业务快速收敛的装置,设置于边缘节点或中间节点,包括:As shown in FIG. 2 and FIG. 5, a device for fast convergence of an Ethernet ring multicast proxy mode service is configured on an edge node or an intermediate node, including:
第一删除模块51,设置为当收到离开报文时,将收包端口从组播组成员中删除;以及The first deleting module 51 is configured to: when receiving the leaving message, deleting the receiving port from the multicast group member;
第一处理模块52,设置为检查所述组播组成员,如果所述组成员仅剩下一个环网端口,则向所述环网端口发送所述离开报文,并将所述环网端口从组播组成员中删除。
The first processing module 52 is configured to check the multicast group member, if the group member only has one ring network port, send the leaving message to the ring network port, and send the ring network port Remove from a multicast group member.
可选地,所述装置还包括:Optionally, the device further includes:
检查模块,设置为当收到查询报文时,检查组播组成员;The check module is set to check the multicast group members when receiving the query message.
忽略模块,设置为如果所述组成员仅剩下一个环网端口,并且所述端口是收包端口,则忽略所述查询报文。Ignore the module, set to ignore the query message if there is only one ring port left in the group member and the port is a receiving port.
可选地,所述装置还包括:Optionally, the device further includes:
第一消除模块,设置为在收到查询报文之前消除以太环网中的环路。The first cancellation module is configured to eliminate loops in the Ethernet ring network before receiving the query message.
如图2和6所示,一种以太环网组播Proxy模式业务快速收敛的装置,设置于上联节点,包括:As shown in FIG. 2 and FIG. 6 , an apparatus for fast convergence of an Ethernet ring network multicast proxy mode service is configured on an uplink node, including:
第二删除模块61,设置为当收到离开报文时,将收包端口从组播组成员中删除;The second deleting module 61 is configured to delete the receiving port from the multicast group member when receiving the leaving message;
第二处理模块62,设置为检查所述组播组成员,如果所述组成员无端口剩下,则向源端口发送所述离开报文。The second processing module 62 is configured to check the multicast group member, and if the group member has no port remaining, send the leaving message to the source port.
可选地,所述装置,还包括:Optionally, the device further includes:
拒绝模块,设置为停止接收上联的组播源转发的组播组数据流。The reject module is set to stop receiving the multicast group data stream forwarded by the uplink multicast source.
可选地,所述装置,还包括:Optionally, the device further includes:
第二消除模块,设置为消除以太环网中的环路。The second cancellation module is configured to eliminate loops in the Ethernet ring network.
实施例一:Embodiment 1:
如图1所示,以太环网由4个节点组成,其中节点3连接组播源,端口2、3、4、5、7、8、9、10为环网端口。其中端口6配置为源端口,1配置为收包端口,2、3、4、5、7、8、9、10既是源端口,也是接收端口。端口9和10的STP状态为block。As shown in Figure 1, the Ethernet ring network consists of four nodes, of which node 3 is connected to a multicast source, and ports 2, 3, 4, 5, 7, 8, 9, and 10 are ring ports. Port 6 is configured as the source port, 1 is configured as the receiving port, and 2, 3, 4, 5, 7, 8, 9, 10 are both the source port and the receiving port. The STP status of ports 9 and 10 is block.
节点1上用户发送加入报文,加入组播组224.1.1.1,添加端口1为组播组224.1.1.1的成员端口,同时从源端口2发送加入报文;节点2收到加入报文,将端口3加入组播组成员,同时从源端口3、4发送加入报文,依次下去所有互联的环网端口依次添加为组播组224.1.1.1的成员端口,节点3向端口
6发送加入报文给组播源,使组播数据流从端口6进入节点3并往下转发。On node 1, the user sends a join message to join the multicast group 224.1.1.1, and adds port 1 as the member port of the multicast group 224.1.1.1. At the same time, the source port 2 sends the join message. Port 3 joins the multicast group member and sends the join message from the source port 3 and 4. In turn, all the interconnected ring ports are added as the member ports of the multicast group 224.1.1.1, and the node 3 is the port.
6 Send the join message to the multicast source, and the multicast data stream enters node 3 from port 6 and forwards it.
此时,端口1、2、3、4、5、7、8为组播组224.1.1.1的成员端口。组播224.1.1.1的数据流分别沿6→7→8和6→5→4→3→2→1向所有节点及用户转发。At this time, ports 1, 2, 3, 4, 5, 7, and 8 are member ports of the multicast group 224.1.1.1. The data stream of multicast 224.1.1.1 is forwarded to all nodes and users along 6→7→8 and 6→5→4→3→2→1.
边缘节点4没有对应的组播组请求用户,因此数据流向该节点转发占用带宽。节点3和节点4之间通过端口7、8互发查询报文,节点4收到查询报文检查只有环网端口9在组播组中,不响应该查询报文,节点3中的端口7通过老化从组播组224.1.1.1成员中删除,数据流将不再往节点4转发。The edge node 4 does not have a corresponding multicast group requesting user, so the data flow forwards the occupied bandwidth to the node. Nodes 3 and 4 communicate with each other through the ports 7 and 8. The node 4 receives the query packet and checks that only the ring port 9 is in the multicast group and does not respond to the query. Port 7 in node 3 After being removed from the multicast group 224.1.1.1 by aging, the data flow will no longer be forwarded to node 4.
节点1上用户发送离开报文,离开组播组224.1.1.1,将端口1从组播组成员中删除,此时检查组播组224.1.1.1的成员,只有一个环网端口2,因此从端口2发送离开报文,并将端口2从组播组成员中删除。节点2收到离开报文,将端口3从组播组成员中删除,检查组播组成员只有环网4,因此从端口4发送离开报文,并将端口4从组播组成员中删除。依次下去,环网中所有环网端口均不再是组播组224.1.1.1的成员,并且节点3向端口6发送离开报文给组播源,组播源将不再往下转发组播组224.1.1.1的数据流。On the node 1, the user sends a Leave message, leaves the multicast group 224.1.1.1, and removes the port 1 from the multicast group member. At this time, the member of the multicast group 224.1.1.1 is checked. Only one ring network port 2 is used, so the slave port 2 Send the leave message and remove port 2 from the multicast group member. After receiving the Leave message, Node 2 deletes the port 3 from the multicast group member. The member of the multicast group is only the ring network 4. Therefore, the port 4 sends the Leave message and the port 4 is deleted from the multicast group member. All the ring ports in the ring network are no longer members of the multicast group 224.1.1.1, and the node 3 sends the leaving packets to the multicast source. The multicast source does not forward the multicast group. Data flow of 224.1.1.1.
本领域的普通技术人员应当理解,可以对本发明实施例的技术方案进行修改或者等同替换,而不脱离本申请技术方案的精神和范围,均应涵盖在本申请的权利要求范围当中。A person skilled in the art should understand that the technical solutions of the embodiments of the present invention may be modified or equivalent, without departing from the spirit and scope of the technical solutions of the present application, and should be included in the scope of the claims of the present application.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本发明实施例不限制于任何特定形式的硬件和软件的结合。
One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
本发明实施例通过对IGMP Proxy机制中上联节点、中间节点和边缘节点的处理,有效解决了环网Proxy组播存在的“乒乓效应”,组播流量能够在较短时间内收敛,避免了长时间占用网络带宽。
The embodiment of the present invention effectively solves the "ping-pong effect" of the ring network Proxy multicast by processing the uplink node, the intermediate node, and the edge node in the IGMP Proxy mechanism, and the multicast traffic can converge in a relatively short time, thereby avoiding Long-term occupation of network bandwidth.
Claims (10)
- 一种以太环网组播代理Proxy模式业务收敛的方法,包括:A method for service convergence of an Ethernet ring multicast proxy proxy mode includes:当收到离开报文时,将收包端口从组播组成员中删除;When receiving the leaving message, the receiving port is deleted from the multicast group member.检查所述组播组成员,如果所述组成员仅剩下一个环网端口,则向所述环网端口发送所述离开报文,并将所述环网端口从组播组成员中删除。The multicast group member is checked. If only one ring network port is left in the group member, the leaving message is sent to the ring network port, and the ring network port is deleted from the multicast group member.
- 如权利要求1所述的方法,还包括:The method of claim 1 further comprising:当收到查询报文时,检查组播组成员;When receiving the query packet, check the multicast group member.如果所述组成员仅剩下一个环网端口,并且所述端口是收包端口,则忽略所述查询报文。If the group member has only one ring network port left and the port is a receiving port, the query message is ignored.
- 如权利要求2所述的方法,所述收到查询报文之前,所述方法还包括:The method of claim 2, before the receiving the query message, the method further comprises:消除以太环网中的环路。Eliminate loops in the Ethernet ring network.
- 一种以太环网组播代理Proxy模式业务收敛的方法,包括:A method for service convergence of an Ethernet ring multicast proxy proxy mode includes:当收到离开报文时,将收包端口从组播组成员中删除;When receiving the leaving message, the receiving port is deleted from the multicast group member.检查所述组播组成员,如果所述组成员无端口剩下,则向源端口发送所述离开报文。The multicast group member is checked, and if the group member has no port remaining, the leaving message is sent to the source port.
- 如权利要求4所述的方法,还包括:The method of claim 4 further comprising:停止接收上联的组播源转发的组播组数据流。Stop receiving multicast group data flows forwarded by the uplink multicast source.
- 一种以太环网组播代理Proxy模式业务收敛的装置,包括:An apparatus for service convergence of an Ethernet ring multicast proxy proxy mode includes:第一删除模块,设置为当收到离开报文时,将收包端口从组播组成员中删除;以及The first deleting module is configured to remove the receiving port from the multicast group member when receiving the leaving message;第一处理模块,设置为检查所述组播组成员,如果所述组成员仅剩下一个环网端口,则向所述环网端口发送所述离开报文,并将所述环网端口从组播组成员中删除。a first processing module, configured to check the multicast group member, if the group member only has one ring network port, send the leaving message to the ring network port, and send the ring network port from Deleted in the multicast group member.
- 如权利要求6所述的装置,还包括:The apparatus of claim 6 further comprising:检查模块,设置为当收到查询报文时,检查组播组成员;The check module is set to check the multicast group members when receiving the query message.忽略模块,设置为如果所述组成员仅剩下一个环网端口,并且所述端口 是收包端口,则忽略所述查询报文。Ignore the module, set to if there is only one ring port left in the group member, and the port If the port is the receiving port, the query message is ignored.
- 如权利要求7所述的装置,还包括:The apparatus of claim 7 further comprising:第一消除模块,设置为在收到查询报文之前消除以太环网中的环路。The first cancellation module is configured to eliminate loops in the Ethernet ring network before receiving the query message.
- 一种以太环网组播代理Proxy模式业务收敛的装置,包括:An apparatus for service convergence of an Ethernet ring multicast proxy proxy mode includes:第二删除模块,设置为当收到离开报文时,将收包端口从组播组成员中删除;以及The second deleting module is configured to remove the receiving port from the multicast group member when receiving the leaving message;第二处理模块,设置为检查所述组播组成员,如果所述组成员无端口剩下,则向源端口发送所述离开报文。The second processing module is configured to check the multicast group member, and if the group member has no port remaining, send the leaving message to the source port.
- 如权利要求9所述的装置,还包括:The apparatus of claim 9 further comprising:拒绝模块,设置为停止接收上联的组播源转发的组播组数据流。 The reject module is set to stop receiving the multicast group data stream forwarded by the uplink multicast source.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510335332.XA CN106330645B (en) | 2015-06-16 | 2015-06-16 | Method and device for fast convergence of Ethernet ring multicast Proxy mode service |
CN201510335332.X | 2015-06-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016202035A1 true WO2016202035A1 (en) | 2016-12-22 |
Family
ID=57544973
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/077250 WO2016202035A1 (en) | 2015-06-16 | 2016-03-24 | Ethernet ring network multicast proxy mode service convergence method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106330645B (en) |
WO (1) | WO2016202035A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106603441A (en) * | 2017-01-05 | 2017-04-26 | 盛科网络(苏州)有限公司 | Multicast message processing method and switch chip in distributed link aggregation network |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110868307B (en) * | 2018-08-28 | 2022-01-21 | 杭州海康威视数字技术股份有限公司 | Message processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1787520A (en) * | 2004-12-08 | 2006-06-14 | 华为技术有限公司 | System and method for realizing internet set managing protocol on elastic packet ring |
US7075929B2 (en) * | 2001-06-06 | 2006-07-11 | Motorola, Inc. | Dense mode IP multicast call scoping in a wireless communication system |
CN1968160A (en) * | 2006-11-07 | 2007-05-23 | 华为技术有限公司 | Internet group management protocol listening method and switch |
CN101494549A (en) * | 2009-03-02 | 2009-07-29 | 杭州华三通信技术有限公司 | Method for transmitting multicast data by RPR and RPR node |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101009628A (en) * | 2007-01-09 | 2007-08-01 | 杭州华为三康技术有限公司 | Update method and device for multicast list in the change of switching network topology |
CN101312400B (en) * | 2007-05-25 | 2011-03-30 | 上海大亚科技有限公司 | Method for realizing IGMP interception function on modem device with 4 ethernet interfaces |
CN101102249B (en) * | 2007-08-21 | 2011-10-26 | 中兴通讯股份有限公司 | A method for quickly switching Ethernet loop network multicast link |
CN101510891B (en) * | 2009-04-03 | 2012-08-22 | 烽火通信科技股份有限公司 | Apparatus and method for implementing multicast by EPON access system |
-
2015
- 2015-06-16 CN CN201510335332.XA patent/CN106330645B/en active Active
-
2016
- 2016-03-24 WO PCT/CN2016/077250 patent/WO2016202035A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7075929B2 (en) * | 2001-06-06 | 2006-07-11 | Motorola, Inc. | Dense mode IP multicast call scoping in a wireless communication system |
CN1787520A (en) * | 2004-12-08 | 2006-06-14 | 华为技术有限公司 | System and method for realizing internet set managing protocol on elastic packet ring |
CN1968160A (en) * | 2006-11-07 | 2007-05-23 | 华为技术有限公司 | Internet group management protocol listening method and switch |
CN101494549A (en) * | 2009-03-02 | 2009-07-29 | 杭州华三通信技术有限公司 | Method for transmitting multicast data by RPR and RPR node |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106603441A (en) * | 2017-01-05 | 2017-04-26 | 盛科网络(苏州)有限公司 | Multicast message processing method and switch chip in distributed link aggregation network |
CN106603441B (en) * | 2017-01-05 | 2019-09-20 | 盛科网络(苏州)有限公司 | Multicast message processing method and exchange chip in distributed aggregated link network |
Also Published As
Publication number | Publication date |
---|---|
CN106330645B (en) | 2020-06-05 |
CN106330645A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9553736B2 (en) | Aggregating data traffic from access domains | |
EP2555476A1 (en) | Method, system and device for protecting multicast in communication network | |
US9160616B2 (en) | Multicast packet transmission method, related device and system | |
US20150085862A1 (en) | Forwarding Multicast Data Packets | |
US20090213855A1 (en) | Method and switch for implementing internet group management protocol snooping | |
EP2773070A1 (en) | Multicast processing method and apparatus | |
US20140226525A1 (en) | Safe Multicast Distribution with Predictable Topology Changes | |
JP2013535911A (en) | Method and apparatus for fast switching from a primary multicast tree to a standby multicast tree | |
CN103401781B (en) | It is applied to cut-in method and the equipment of multilink transparent interconnection network | |
US10243754B2 (en) | Protocol independent multicast designated router notify delay feature | |
US9030926B2 (en) | Protocol independent multicast last hop router discovery | |
WO2016202035A1 (en) | Ethernet ring network multicast proxy mode service convergence method and apparatus | |
WO2012152134A1 (en) | Rapid convergence method for ethernet layer 2 multicast and ethernet system | |
WO2016131359A1 (en) | Multicast line switching method and device for ring-shaped network | |
US20160149714A1 (en) | Shortest Path Bridging (SPB) - Protocol-Independent Multicast (PIM) Interactions On A Backbone Edge Bridge (BEB) Acting As A Multicast Boundary Router Interfacing With A PIM Network | |
US9313037B2 (en) | Method, apparatus and system for forwarding data under protocol independent multicast dual join | |
US11296980B2 (en) | Multicast transmissions management | |
CN110535675B (en) | Method and device for multicast fast switching | |
CN108650176B (en) | Method and system for realizing two-layer multicast protection by two-stage replication | |
WO2017036176A1 (en) | Pseudo node identifying method and apparatus | |
US20160149715A1 (en) | Protocol-Independent Multicast (PIM) Snooping For A Shortest Path Bridging Multicast (SPBM) Network | |
Said | Accurate performance evaluation of internet multicast architectures: hierarchical and fully distributed vs. service-centric | |
CN112671630B (en) | Multicast method, device, network equipment and storage medium | |
US11991076B1 (en) | Optimized MVPN route exchange in SD-WAN environments | |
Čičić et al. | Performance evaluation of pim-sm recovery |
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: 16810776 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: 16810776 Country of ref document: EP Kind code of ref document: A1 |