WO2016131359A1 - 环型组网组播线路切换的方法及装置 - Google Patents

环型组网组播线路切换的方法及装置 Download PDF

Info

Publication number
WO2016131359A1
WO2016131359A1 PCT/CN2016/071231 CN2016071231W WO2016131359A1 WO 2016131359 A1 WO2016131359 A1 WO 2016131359A1 CN 2016071231 W CN2016071231 W CN 2016071231W WO 2016131359 A1 WO2016131359 A1 WO 2016131359A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast
network device
network
line
ring
Prior art date
Application number
PCT/CN2016/071231
Other languages
English (en)
French (fr)
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 WO2016131359A1 publication Critical patent/WO2016131359A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks

Definitions

  • This application relates to, but is not limited to, the field of data communication technology.
  • the network architecture is often configured as a protective ring network, so that when a fault occurs at a certain point in the ring network, it can be quickly Switching from a faulty line to a normal line ensures a user experience.
  • the performance requirements of the network are further improved.
  • multicast needs to quickly drain the multicast stream that users need from the normal line when the network topology changes, without user intervention, to achieve seamless handover.
  • the multicast service of the related art only needs to send multicast query messages and multicast join messages to the network devices corresponding to all network device ports in the network when the network topology changes. Query the response of the message to complete the line switch.
  • a large number of invalid multicast query messages and multicast join messages are transmitted in the ring network. This occupies a large amount of network bandwidth and causes serious Network congestion.
  • the present invention provides a method and a device for switching a ring network multicast line, which aims to solve the technical problem that a large amount of network bandwidth is occupied when the ring network switches the multicast line in the related art, causing serious network congestion.
  • a method for switching a ring network multicast line includes:
  • the network device When receiving the information that the network topology of the ring network changes, the network device is updated. Port attribute
  • the network device sends a multicast join message to the upstream network device according to the updated port attribute, so as to switch the multicast line of the ring network.
  • the method for switching the ring network multicast line includes: performing the following simultaneously: step:
  • the network device sends a multicast query message to the network device downstream thereof according to the updated port attribute.
  • the step of the network device sending a multicast join message to the upstream network device according to the updated port attribute to switch the multicast line of the ring network includes:
  • the network device sends the multicast join message to the upstream network device based on the determined port to switch the multicast line of the ring network.
  • the method for switching the ring network multicast line includes:
  • the network device When receiving the multicast query message, the network device sends a multicast join message to the upstream network device to join the multicast line, so as to switch the multicast line of the ring network.
  • the method for switching the ring network multicast line includes:
  • the network device When receiving the multicast join message, the network device adds the multicast join message to the multicast line to switch the multicast line of the ring network.
  • the method for switching the ring network multicast line includes:
  • the device When the network topology of the ring network is not changed, if the network device applies to join the multicast line of the ring network, the device sends a multicast join message to the network device upstream of the network device.
  • a network device comprising:
  • the update module is set to: information that changes the network topology of the ring network when it receives the ring network. Update its own port properties;
  • the packet sending module is configured to: send a multicast join message to the upstream network device according to the updated port attribute, to switch the multicast line of the ring network.
  • the packet sending module is further configured to: when sending the multicast join message to the network device upstream of the network device according to the updated port attribute, to the network device according to the updated port attribute
  • the downstream network device sends a multicast query message.
  • the message sending module includes:
  • the port determining unit is configured to: determine a port connected to the upstream network device according to the updated port attribute:
  • the message sending unit is configured to: send the multicast join message to the upstream network device according to the determined port, to switch the multicast line of the ring network.
  • the network device further includes a message receiving module, where the message receiving module is configured to:
  • the device When receiving the multicast query message, the device sends a multicast join message to the network device upstream of the network device to join the multicast line to switch the multicast line of the ring network.
  • the network device further includes a message receiving module, where the message receiving module is configured to:
  • the device that adds the multicast join message When receiving a multicast join message, the device that adds the multicast join message is added to the multicast line to switch the multicast line of the ring network.
  • the message sending module is further configured to:
  • the device When the network topology of the ring network is not changed, if the network device applies to join the multicast line of the ring network, the device sends a multicast join message to the network device upstream of the network device.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the embodiment of the present invention updates the port attribute of the network device in the ring network when the network topology of the ring network changes, and the network device whose port attribute has the updated network device to the upstream device Sends a multicast join message to switch the multicast line of the ring network. This prevents the upstream network device from sending multicast join messages to the downstream network device. It also avoids the network topology update structure.
  • the port attributes are not updated.
  • the network device sends a multicast join message to the ring network. This greatly reduces the number of multicast packets forwarded on the ring network. This greatly reduces the number of multicast packets broadcasted when the network device is in the ring network.
  • the probability of a storm prevents the ring network from occupying a large amount of bandwidth in the process of switching multicast lines, causing serious network congestion and reducing invalid users in the ring network. At the same time, it also prevents downstream network devices from receiving upstream network devices.
  • the sent multicast join message generates an invalid multicast forwarding entry, which increases the number of valid multicast forwarding entries of the downstream network device, and increases the number of multicast users connected to the downstream network device.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for switching a ring network multicast line according to the present invention
  • FIG. 2 is a schematic flowchart of a third embodiment of a method for switching a ring network multicast line according to the present invention
  • FIG. 3 is a schematic diagram of multicast deployment of a ring network of three network devices when the network topology does not change;
  • FIG. 4 is a schematic diagram of multicast deployment after a network topology change occurs in a ring network of three network devices;
  • FIG. 5 is a schematic diagram of functional modules of a first embodiment of a network device according to the present invention.
  • the embodiment of the present invention provides a method for switching a ring network multicast line.
  • the ring network multicast line is used.
  • the methods of switching include:
  • Step S10 The network device updates its own port attribute when receiving information that the network topology of the ring network changes.
  • the network topology changes.
  • the network topology of the ring network is detected to change (for example, the network device receives the prompt information for changing the network topology of the ring network), it needs to be based on the spanning tree.
  • the protocol updates the port attributes of the network devices in the ring network. That is, the network devices in the ring network forward each other a special protocol packet (bridge protocol data unit) by selecting the root bridge, selecting the root port, and selecting Specify the port three steps to complete the update of the network device port properties to re-determine the network topology.
  • bridge protocol data unit bridge protocol data unit
  • the network device updates its port attribute according to the port protocol, where the port protocol includes STP (Spanning Tree Protocol), MSTP (Multiple Spanning Tree Protocol), and RSTP (rapid spanning Tree Protocol).
  • the fast spanning tree protocol, etc. based on these port protocols, update the port attributes of the network devices in the ring network, for example, the port attributes of a port of the network device farthest from the multicast server path before the network topology changes.
  • the congestion port of the network device becomes the root port.
  • the port attribute update is recorded in the standard protocols STP, MSTP, and RSTP.
  • Step S20 The network device sends a multicast join message to the upstream network device according to the updated port attribute, so as to switch the multicast line of the ring network.
  • a network device whose port attribute is updated needs to send a multicast join message to its upstream network device.
  • the multicast join message is used to inform the upstream network device that a new network device needs to join the multicast line, and the port attribute is not updated.
  • the network device does not need to send multicast join messages to switch the multicast lines of the ring network.
  • the port attribute of the network device in the ring network is updated, and the network device whose port attribute is updated sends a multicast join report to the network device of the upstream device.
  • the multicast line of the ring network is switched, thereby preventing the upstream network device from sending multicast join messages to the downstream network device, and also avoiding the network topology update structure, the network device whose port attribute is not updated.
  • Sending multicast join messages in the network This greatly reduces the number of multicast packets that can be forwarded on the ring network. This greatly reduces the probability of multicast packet broadcast storms when the number of network devices in the ring network is large.
  • the ring network occupies a large amount of bandwidth in the process of switching multicast lines, causing serious network congestion and reducing invalid users in the ring network. At the same time, it also prevents downstream network devices from receiving multicast joins from upstream network devices. Generating multicast packets An invalid entry is sent, that is, the number of valid entries for multicast forwarding of the downstream network device is increased, thereby increasing the number of multicast users connected to the downstream network device.
  • the method for switching the ring network multicast line includes:
  • Step S50 When the network topology of the ring network is not changed, if the network device applies to join the multicast line of the ring network, send a multicast join report to the network device upstream of the network device. Text.
  • the network device when the network topology of the ring network does not change, if a new network device applies to join the multicast line of the ring network, the network device joins the upstream network device. Sending a multicast join message to join the multicast line of the ring network.
  • the network device that requests to join the multicast line of the ring network sends multicast join messages to all network devices connected to it.
  • the network device is configured to send multicast join messages to its downstream network devices, which reduces the number of packets forwarded in the ring network and reduces the bandwidth occupied by the new network devices.
  • a second embodiment of the method for switching the ring network multicast line is proposed.
  • the port attribute sends a multicast join message to the network device of the upstream device.
  • the network device sends a multicast query message to the downstream network device according to the updated port attribute.
  • the network device with the updated port attribute sends a multicast join message to the network device of the upstream device, and the network device sends a multicast query message to the network device of the downstream device according to the updated port attribute, the multicast The Query message is used to actively query the downstream network device for the multicast join message to be sent upstream.
  • the downstream network device receives the multicast query message sent by the upstream network device, it determines whether it needs to send the multicast join message. If the network device immediately sends a multicast join message to the upstream network device to apply for joining the multicast line, the network device can update the port connection status more timely. The efficiency of the multicast line switching of the ring network is further improved.
  • S20 includes:
  • Step S21 The network device determines, according to the updated port attribute, a port that is connected to the upstream network device:
  • Step S22 The network device sends the multicast join message to the upstream network device based on the determined port, so as to switch the multicast line of the ring network.
  • the port of each network device connected to the upstream device or the downstream device may be determined according to the port attribute of the network device.
  • the port is classified according to the STP, RSTP, and MSTP protocols, that is, the port attribute includes the root port. , designated ports, non-designated ports, and disabled ports:
  • the first type of port (that is, the non-designated port) is the replacement port, the backup port, and the blocked port in the STP, RSTP, and MSTP protocols.
  • the non-designated port does not participate in the forwarding.
  • the multicast protocol packets are not sent to the unspecified port.
  • the second type of port (the root port) is the port that connects to the root bridge device.
  • the actual port is connected to the port of the multicast server.
  • the multicast join message of the multicast protocol packet is sent to the root port and then sent to the root port.
  • the actual function of the third type of port (that is, the designated port) is to forward the user stream.
  • the multicast query packet of the multicast protocol packet is sent to the designated port, and then sent to another network device through the designated port.
  • the fourth type of port is a port that does not participate in the ring network protocol. However, if the fourth type of port exists as a multicast receiving port, it forwards or sends a multicast query message to it; If the source port exists, the multicast join message is forwarded to it; if the network device itself is the root bridge device, all non-blocking ports of the network device are converted to the fourth type of port.
  • the network device connected to the root port of the network device is determined to be the upstream network device, and the network device connected to the designated port of the network device is determined to be the downstream network device.
  • a method for determining an upstream network device and a downstream network device of a network device is provided, that is, determining, according to the updated port attribute of the network device, a port that each network device is connected to the upstream network device and the downstream network device, And determining the upstream network device and the downstream network device of the network device, wherein the network device connected to the root port of the network device is determined to be the upstream network device, and the network device connected to the designated port of the network device is determined to be the downstream network device, so that The method of determining the upstream network device and the downstream network device of each network device accurately and quickly determines the manner of the upstream and downstream devices relative to the method based on the MAC address of the network device, and has higher determination efficiency.
  • a fourth embodiment of the method for switching the ring network multicast line is proposed.
  • the ring network group is provided.
  • the method for switching the broadcast line also includes:
  • step S30 the network device sends a multicast join message to the upstream network device to join the multicast line to receive the multicast line of the ring network when receiving the multicast query message.
  • the network device when receiving the multicast query message, the network device sends a multicast join message to the upstream network device to join the multicast line, thereby preventing the network device in the ring network from receiving the network topology.
  • the delay of the changed information which causes the network device to rejoin the multicast line takes a long time, improves the efficiency of the multicast line switching of the ring network, and also informs the upstream network device that it is online by multicasting the join message. Status, to avoid offline network devices continue to occupy multicast line resources.
  • a fifth embodiment of the method for switching the ring network multicast line is proposed.
  • the ring network group is provided.
  • the method for switching the broadcast line also includes:
  • Step S40 When receiving the multicast join message, the network device adds the multicast join message to the multicast line to switch the multicast line of the ring network.
  • the network device when the network device receives the multicast join message sent by the downstream network device, the network device adds the multicast join message to the multicast line, for example, the downstream port of the network device is a blocked port, that is, The downstream network is not connected to other network devices. After the network topology changes, the blocked port of the A network device becomes the designated port.
  • the B network device sends a multicast join message to the designated port of the A.
  • the network device receives the B network device. After the multicast join message, the B network device is added to the multicast line, and the B network device is determined to be the downstream node of the A network device. In this way, all the network devices that send the multicast join message are added to the multicast line.
  • the broadcast line that is, switching from the faulty line to the normal line
  • the ring network of three network devices is taken as an example to explain the method for switching the ring network multicast line in the embodiment of the present invention.
  • the ring network includes network device A, network device B, and network device C.
  • Each network device has multicast services enabled.
  • the P10 port is connected to the multicast server. Therefore, the P10 port does not participate in the calculation of the ring network protocol.
  • the network device A is closest to the multicast server, its path cost is the smallest, and it is selected by the ring network protocol (such as STP, MSTP, RSTP, etc.).
  • the root bridge device, the P11 port and the P12 port of the network device A are the fourth type of ports, and all the multicast packets are forwarded and processed;
  • the P21 port of the network device B and the P31 port of the network device C are the second type of ports. Only the multicast join message is forwarded; the P22 port of network device B and the P32 port of network device C are the first type of ports (such as blocked ports), and do not receive and process any multicast packets.
  • the P12 of the network device A is the first type of port (such as the blocked port), and the P22 port of the network device B is changed to the second type of port, that is, the P22 port sends a multicast join message to its upstream (network device C).
  • the P32 port of the network device C is the third type port, and the P32 port sends the multicast query message to the downstream (network device B); the P31 port of the network device B is the second type port, P31 The port sends a multicast join message to its upstream (network device A). Therefore, the network device C is prevented from sending a multicast join message to the network device B, and the network device B is configured to generate a multicast forwarding invalid entry when receiving the multicast join message of the network device C, that is, the number of valid entries of the network device B is increased. Therefore, the number of multicast users connected to the network device B is increased.
  • the multicast line switching method of the ring network of three or more network devices is basically the same as the ring network of the three network devices, and will not be repeatedly described herein.
  • the embodiment of the present invention further provides a network device.
  • the network device includes:
  • the update module 10 is configured to: update the port attribute of the ring network when the information of the network topology of the ring network is changed;
  • the network topology of the ring network changes.
  • the network device receives the prompt information for prompting the change of the network topology of the ring network.
  • the port attribute of the network device in the ring network is updated according to the spanning tree protocol, that is, the network devices in the ring network are forwarded to each other.
  • a special protocol message (bridge protocol data unit) completes the network device port attribute update by selecting the root bridge, selecting the root port, and selecting the designated port to re-determine the network topology.
  • the update module 10 updates its own port attribute according to the port protocol, where the port protocol includes STP (Spanning Tree Protocol), MSTP (Multiple Spanning Tree Protocol), and RSTP (rapid spanning Tree). Protocol, Rapid Spanning Tree Protocol, etc., based on these port protocols, update the port attributes of the network devices in the ring network, for example, the port of the port that is the farthest from the multicast server path before the network topology changes. The attribute is a blocked port. After the network topology changes, the network device's congestion port becomes the root port. The port attribute update is recorded in the standard protocols STP, MSTP, and RSTP.
  • STP Ses Tree Protocol
  • MSTP Multiple Spanning Tree Protocol
  • RSTP Rapid Spanning Tree Protocol
  • the message sending module 20 is configured to: send a multicast join message to the upstream network device according to the updated port attribute, to switch the multicast line of the ring network;
  • the message sending module 20 sends a multicast join message to the upstream network device, and the multicast join message is used to notify the upstream network device that a new network device needs to join the multicast.
  • a network device whose line and port attributes are not updated does not need to send a multicast join message, thus switching the multicast line of the ring network.
  • the update module 10 updates the port attribute of the network device in the ring network
  • the packet sending module 20 sends the multicast join to the network device of the upstream device.
  • the packet is switched to the multicast line of the ring network. This prevents the upstream network device from sending multicast join messages to the downstream network device. It also avoids the network topology update structure. Sends multicast join messages to the ring network.
  • the number of multicast packets to be forwarded in the ring network is greatly reduced. This greatly reduces the probability of multicast packet broadcast storms when the number of network devices in the ring network is large. A large amount of bandwidth is occupied, and serious network congestion occurs, which reduces the invalid users of the ring network.
  • the downstream network device does not receive the multicast join message sent by the upstream network device to generate an invalid multicast forwarding entry. The number of valid entries for multicast forwarding on the downstream network device increases the number of multicast users connected to downstream network devices.
  • the message sending module 20 is further configured to: when the network topology of the ring network is not changed, if the network device applies to join the multicast line of the ring network, The network device upstream of the network device sends a multicast join message.
  • the packet sending module 20 adds to the upstream of the ring network.
  • the network device sends a multicast join message to join the multicast line of the ring network.
  • the network device that requests to join the multicast line of the ring network sends multicast join messages to all network devices connected to it.
  • the network device is prevented from sending multicast join messages to its downstream network devices, which reduces the number of packets forwarded in the ring network and reduces the bandwidth occupied by the new network devices.
  • the message sending module 20 is further configured to send a multicast query message to the network device downstream of the network device according to the updated port attribute when sending the multicast join message to the network device upstream of the network device according to the updated port attribute. Text.
  • the packet sending module 20 of the updated network device sends a multicast join message to the upstream network device, and the network device sends a multicast query to the downstream network device according to the updated port attribute.
  • the packet is used by the downstream network device to actively query whether the multicast join message is sent upstream.
  • the downstream network device receives the multicast query message sent by the upstream network device, it determines whether it is A multicast join message needs to be sent (that is, whether the port attribute is changed). If yes, the downstream network device immediately sends a multicast join message to the upstream network device to apply for joining the multicast line, so that the network device updates its Port connection status is more In time, the efficiency of switching the multicast line of the ring network is further improved.
  • the message sending module 20 includes:
  • the port determining unit 21 is configured to: determine, according to the updated port attribute, a port connected to the upstream network device:
  • the message sending unit 22 is configured to: send the multicast join message to the upstream network device based on the determined port, to switch the multicast line of the ring network.
  • the port of each network device connected to the upstream device or the downstream device may be determined according to the port attribute of the network device.
  • the port is classified according to the STP, RSTP, and MSTP protocols, that is, the port attribute includes the root port. , designated ports, non-designated ports, and disabled ports:
  • the first type of port (that is, the non-designated port) is the replacement port, the backup port, and the blocked port in the STP, RSTP, and MSTP protocols.
  • the non-designated port does not participate in the forwarding.
  • the multicast protocol packets are not sent to the unspecified port.
  • the second type of port (the root port) is the port that connects to the root bridge device.
  • the actual port is connected to the port of the multicast server.
  • the multicast join message of the multicast protocol packet is sent to the root port and then sent to the root port.
  • the actual function of the third type of port (that is, the designated port) is to forward the user stream.
  • the multicast query packet of the multicast protocol packet is sent to the designated port, and then sent to another network device through the designated port.
  • the fourth type of port is a port that does not participate in the ring network protocol. However, if the fourth type of port exists as a multicast receiving port, it forwards or sends a multicast query message to it; If the source port exists, the multicast join message is forwarded to it; if the network device itself is the root bridge device, all non-blocking ports of the network device are converted to the fourth type of port.
  • the network device connected to the root port is an upstream network device
  • the network device connected to the designated port is determined to be a downstream network device
  • a method for determining an upstream network device and a downstream network device of a network device that is, each network device and an upstream network are determined according to the updated port attribute of the network device.
  • the device and the downstream network device connect the port, thereby determining the upstream network device and the downstream network device of the network device, wherein the determining module 30 determines that the network device connected to the root port of the network device is the upstream network device, determining the designation with the network device
  • the network device connected to the port is a downstream network device, so that the upstream network device and the downstream network device of each network device can be accurately and quickly determined, and the manner of determining the upstream and downstream devices is compared with the method based on the MAC address of the network device. High efficiency.
  • a fourth embodiment of the device for switching the ring network multicast line is proposed.
  • the ring network group is provided.
  • the device for switching the broadcast line also includes:
  • the packet receiving module 30 is configured to: when receiving the multicast query message, send a multicast join message to the network device upstream of the network device to join the multicast line, so as to switch the multicast line of the ring network.
  • the packet receiving module 30 sends a multicast join message to the upstream network device to join the multicast line when receiving the multicast query message, thereby avoiding the network device in the ring network from receiving the network.
  • the delay in the information of the topology change which causes the network device to rejoin the multicast line takes a long time, improves the efficiency of the multicast line switching of the ring network, and also informs the upstream network device through the multicast join message. You are online, avoiding network devices that are offline and continue to occupy multicast line resources.
  • a fifth embodiment of the device for switching the ring network multicast line is proposed.
  • the ring network group is provided.
  • the device for switching the broadcast line also includes:
  • the packet receiving module 30 is configured to: when receiving the multicast join message, add the multicast join message to the multicast line to switch the multicast line of the ring network.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the port attribute of the network device in the ring network is updated, and the network device whose port attribute is updated sends a multicast join message to the network device of the upstream device. Therefore, the multicast line of the ring network is switched, so that the upstream network device sends the multicast join message to the downstream network device, and the network topology update structure is avoided.
  • the network sends multicast join messages, which greatly reduces the number of multicast packets forwarded on the ring network. This greatly reduces the number of network devices in the ring network. The probability of multicast packet broadcast storms occurs for a long time.
  • the network device receives the multicast join message sent by the upstream network device to generate an invalid multicast forwarding entry, which increases the number of valid multicast forwarding entries of the downstream network device, and increases the number of multicast users connected to the downstream network device. .

Abstract

本文公布一种环型组网组播线路切换的方法,该方法包括在接收到环型组网的网络拓扑结构发生变化的信息时,网络设备更新自身的端口属性;网络设备根据更新后的端口属性向上游的网络设备发送组播加入报文,以切换环型组网的组播线路。

Description

环型组网组播线路切换的方法及装置 技术领域
本申请涉及但不限于数据通讯技术领域。
背景技术
在当前网络组网建设中,为了保证网络稳定可靠以及网络的经济性,经常将网络架构组建为保护性的环型组网,从而当环型组网中某点出现故障中断时,能够快速地从故障线路切换至正常线路,保证用户体验。
在环形组网情况下,组播业务的开通对网络的性能要求进一步提升。组播作为一种对时延要求很高的宽带业务,需要在网络拓扑发生变化的时候能够快速将用户需要的组播流从正常的线路引流,而不需要用户干涉,达到无缝切换,提供用户网络使用感受。相关技术的组播业务在发生网络拓扑变化的时候,仅仅是通过向网络中所有网络设备端口对应的网络设备发送组播查询报文与组播加入报文的方式,以期待网络设备对组播查询报文的回应来完成线路切换。但是,这种的方式在环型组网网络设备较多的情况时,会导致大量无效的组播查询报文与组播加入报文在环型组网中传输,占用大量网络带宽,造成严重的网络拥塞。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本文提供一种环型组网组播线路切换的方法及装置,旨在解决相关技术环形组网切换组播线路时,占用大量网络带宽,造成严重的网络拥塞的技术问题。
一种环型组网组播线路切换的方法,所述环型组网组播线路切换的方法包括:
在接收到环型组网的网络拓扑结构发生变化的信息时,网络设备更新自 身的端口属性;
所述网络设备根据更新后的端口属性向上游的网络设备发送组播加入报文,以切换所述环型组网的组播线路。
可选地,在执行所述网络设备根据更新后的端口属性,向上游的网络设备发送组播加入报文的步骤时,所述环型组网组播线路切换的方法还包括:同时执行以下步骤:
所述网络设备根据更新后的端口属性向其下游的网络设备发送组播查询报文。
可选地,所述网络设备根据更新后的端口属性向上游的网络设备发送组播加入报文,以切换所述环型组网的组播线路的步骤包括:
所述网络设备根据更新后的端口属性确定与上游的网络设备连接的端口;
所述网络设备基于确定的所述端口将所述组播加入报文发送至上游的网络设备,以切换所述环型组网的组播线路。
可选地,所述环型组网组播线路切换的方法还包括:
所述网络设备在接收组播查询报文时,向上游的网络设备发送组播加入报文以加入组播线路,以切换所述环型组网的组播线路。
可选地,所述环型组网组播线路切换的方法还包括:
所述网络设备在接收组播加入报文时,将该组播加入报文的发送设备加入到组播线路,以切换所述环型组网的组播线路。
可选地,所述环型组网组播线路切换的方法还包括:
在环型组网的网络拓扑结构没有发生变化时,若所述网络设备申请加入所述环型组网的组播线路,则向所述网络设备上游的网络设备发送组播加入报文。
一种网络设备,所述网络设备包括:
更新模块,设置为:在接收到环型组网的网络拓扑结构发生变化的信息 时,更新自身的端口属性;
报文发送模块,设置为:根据更新后的端口属性向上游的网络设备发送组播加入报文,以切换所述环型组网的组播线路。
可选地,所述报文发送模块,还设置为:在根据更新后的端口属性向所述网络设备上游的网络设备发送组播加入报文时,根据更新后的端口属性向所述网络设备下游的网络设备发送组播查询报文。
可选地,所述报文发送模块包括:
端口确定单元,设置为:根据更新后的端口属性确定与上游的网络设备连接的端口:
报文发送单元,设置为:基于确定的所述端口将所述组播加入报文发送至上游的网络设备,以切换所述环型组网的组播线路。
可选地,所述网络设备还包括报文接收模块,该报文接收模块设置为:
在接收组播查询报文时,向所述网络设备上游的网络设备发送组播加入报文以加入组播线路,以切换所述环型组网的组播线路。
可选地,所述网络设备还包括报文接收模块,该报文接收模块设置为:
在接收组播加入报文时,将该组播加入报文的发送设备加入到组播线路,以切换所述环型组网的组播线路。
可选地,所述报文发送模块还设置为:
在环型组网的网络拓扑结构没有发生变化时,若所述网络设备申请加入所述环型组网的组播线路,则向所述网络设备上游的网络设备发送组播加入报文。
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。
本发明实施例通过在环型组网的网络拓扑结构发生变化时,更新环型组网中网络设备的端口属性,端口属性有更新的网络设备向其上游的网络设备 发送组播加入报文,从而切换环型组网的组播线路,从而避免了上游的网络设备向下游网络设备发送组播加入报文,也避免了网络拓扑更新结构的时候,端口属性没有更新的网络设备向环型组网内发送组播加入报文,大大减少在环型组网中转发组播报文的数量,大大降低了在环形组网中网络设备较多时出现组播报文广播风暴的概率,避免环型组网在切换组播线路的过程中占用大量带宽,出现严重的网络拥塞,减少了环型组网中的无效用户;同时,也避免下游网络设备接收到上游网络设备发送的组播加入报文而生成组播转发无效条目,即增加了下游网络设备组播转发有效条目的数量,进而增大了下游网络设备下挂组播用户的数量。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明环型组网组播线路切换的方法第一实施例的流程示意图;
图2为本发明环型组网组播线路切换的方法第三实施例的流程示意图;
图3为三个网络设备的环型组网在网络拓扑结构未发生变化时的组播部署示意图;
图4为三个网络设备的环型组网在网络拓扑结构发生变化后的组播部署示意图;
图5为本发明网络设备第一实施例的功能模块示意图。
本发明的实施方式
本发明实施例提供一种环型组网组播线路切换的方法,在本发明环型组网组播线路切换的方法的第一实施例中,参照图1,该环型组网组播线路切换的方法包括:
步骤S10,在接收到环型组网的网络拓扑结构发生变化的信息时,网络设备更新自身的端口属性;
环型组网中的某点发生故障中断或者新增/减少网络设备时,该环型组网 的网络拓扑结构会发生变化,在检测到环型组网的网络拓扑结构发生变化时(例如网络设备接收到用于提示环型组网的网络拓扑结构发生变化的提示信息),需要根据生成树协议更新环型组网中网络设备的端口属性,即环型组网中的网络设备互相转发一种特殊的协议报文(网桥协议数据单元),通过选择根网桥、选择根端口和选择指定端口三个步骤,以完成网络设备端口属性的更新,以重新确定网络的拓扑结构。
可选地,网络设备根据端口协议更新自身的端口属性,其中该端口协议包括STP(Spanning Tree Protocol,生成树协议),MSTP(Multiple Spanning Tree Protocol,多生成树协议)、RSTP(rapid spanning Tree Protocol,快速生成树协议)等,基于这些端口协议更新环型组网中网络设备的端口属性,例如在网络拓扑结构未发生变化前,距离组播服务器路径最远的网络设备的一端口的端口属性为阻塞端口,在网络拓扑结构发生变化后,该网络设备的拥塞端口变为根端口,此处端口属性的更新在标准协议STP、MSTP和RSTP中均有详细记录。
步骤S20,网络设备根据更新后的端口属性向上游的网络设备发送组播加入报文,以切换环型组网的组播线路。
端口属性有更新的网络设备需要向其上游的网络设备发送组播加入报文,该组播加入报文用于告知上游的网络设备有新的网络设备需要加入到组播线路,端口属性没有更新的网络设备无需发送组播加入报文,从而切换环型组网的组播线路。
在本实施例中,通过在环型组网的网络拓扑结构发生变化时,更新环型组网中网络设备的端口属性,端口属性有更新的网络设备向其上游的网络设备发送组播加入报文,从而切换环型组网的组播线路,从而避免了上游的网络设备向下游网络设备发送组播加入报文,也避免了网络拓扑更新结构的时候,端口属性没有更新的网络设备向环型组网内发送组播加入报文,大大减少在环型组网中转发组播报文的数量,大大降低了在环形组网中网络设备较多时出现组播报文广播风暴的概率,避免环型组网在切换组播线路的过程中占用大量带宽,出现严重的网络拥塞,减少了环型组网中的无效用户;同时,也避免下游网络设备接收到上游网络设备发送的组播加入报文而生成组播转 发无效条目,即增加了下游网络设备组播转发有效条目的数量,进而增大了下游网络设备下挂组播用户的数量。
可选地,所述环型组网组播线路切换的方法还包括:
步骤S50,在环型组网的网络拓扑结构没有发生变化时,若所述网络设备申请加入所述环型组网的组播线路,则向所述网络设备上游的网络设备发送组播加入报文。
在本实施例中,在环型组网的网络拓扑结构没有发生变化时,若有新的网络设备申请加入该环型组网的组播线路,则该网络设备向其加入处的上游网络设备发送组播加入报文以快速加入到环型组网的组播线路中,从而避免申请加入环型组网的组播线路的网络设备向其连接的所有网络设备发送组播加入报文,即避免网络设备向其下游网络设备发送组播加入报文,减少了在环型组网中转发报文的数量,减少加入新的网络设备对环型组网带宽的占用。
在本发明环型组网组播线路切换的方法第一实施例的基础上,提出环型组网组播线路切换的方法第二实施例,在第二实施例中,在网络设备根据更新后的端口属性,向其上游的网络设备发送组播加入报文的同时,网络设备根据更新后的端口属性向其下游的网络设备发送组播查询报文。
在本实施例中,端口属性有更新的网络设备向其上游的网络设备发送组播加入报文,网络设备根据更新后的端口属性向其下游的网络设备发送组播查询报文,该组播查询报文用于向下游网络设备主动查询是否有组播加入报文向上游发送;当下游的网络设备接收到上游网络设备发送的组播查询报文时,判断自己是否需要发送组播加入报文(即判断自己的端口属性是否有变化),若是,则下游的网络设备立即向上游网络设备发送组播加入报文以申请加入组播线路,从而使网络设备更新其端口连接状态更加及时,进一步提高了环型组网的组播线路切换的效率。
在本发明环型组网组播线路切换的方法第二实施例的基础上,提出环型组网组播线路切换的方法的第三实施例,在第三实施例中,参照图2,步骤 S20包括:
步骤S21,网络设备根据更新后的端口属性确定与上游的网络设备连接的端口:
步骤S22,网络设备基于确定的端口将组播加入报文发送至上游的网络设备,以切换环型组网的组播线路。
每个网络设备与其上游设备或下游设备连接的端口可以根据该网络设备的端口属性来确定,可选地,本发明实施例根据STP、RSTP、MSTP协议对端口进行分类,即端口属性包括根端口、指定端口、非指定端口和禁用端口四类:
第一类端口(即非指定端口)为STP、RSTP、MSTP协议中所对应的替换端口、备份端口和阻塞端口,非指定端口不参加转发,组播协议报文不向非指定端口发送;
第二类端口(即根端口)为连接根桥设备的端口,在实际网络中连接组播服务器最近的端口,组播协议报文的组播加入报文发向根端口,然后经由根端口发向另一网络设备;
第三类端口(即指定端口)的实际作用是转发用户流,组播协议报文的组播查询报文发向指定端口,然后经由指定端口发向另一网络设备;
第四类端口(禁用端口)为不参加环网协议的端口,但是,若第四类端口作为组播接收端口存在,则向其转发或发送组播查询报文;若第四类端口作为组播源端口存在,则向其转发组播加入报文;若网络设备自身为根桥设备,则把该网络设备的所有非阻塞端口转为第四类端口。
根据上述分类,确定与网络设备的根端口连接的网络设备为上游网络设备,确定与网络设备的指定端口连接的网络设备为下游网络设备。
在本实施例中,提供一种确定网络设备的上游网络设备和下游网络设备的方式,即根据网络设备更新后的端口属性,确定每个网络设备与上游网络设备和下游网络设备连接的端口,从而确定该网络设备的上游网络设备和下游网络设备,其中,确定与网络设备的根端口连接的网络设备为上游网络设备,确定与网络设备的指定端口连接的网络设备为下游网络设备,从而可以 准确、快速地确定每个网络设备的上游网络设备和下游网络设备,相对于基于网络设备的MAC地址等方法确定上、下游设备的方式,具有更高的确定效率。
在本发明环型组网组播线路切换的方法第一实施例的基础上,提出环型组网组播线路切换的方法的第四实施例,在第四实施例中,环型组网组播线路切换的方法还包括:
步骤S30,网络设备在接收组播查询报文时,向上游的网络设备发送组播加入报文以加入组播线路,以切换环型组网的组播线路。
在本实施例中,网络设备在接收组播查询报文时,向其上游网络设备发送组播加入报文以加入组播线路,从而避免环型组网中的网络设备因接收网络拓扑结构发生变化的信息的延迟,而导致网络设备重新加入组播线路的过程耗费时间长,提高了环型组网的组播线路切换的效率;同时也通过组播加入报文告知上游网络设备自己处于在线状态,避免下线的网络设备继续占用组播线路资源。
在本发明环型组网组播线路切换的方法第一实施例的基础上,提出环型组网组播线路切换的方法的第五实施例,在第五实施例中,环型组网组播线路切换的方法还包括:
步骤S40,网络设备在接收组播加入报文时,将该组播加入报文的发送设备加入到组播线路,以切换环型组网的组播线路。
在本实施例中,网络设备接收其下游网络设备发送的组播加入报文时,将该组播加入报文的发送设备加入到组播线路,例如A网络设备的下游端口为阻塞端口,即下游没有连接其它网络设备,网络拓扑结构发生变化后,A网络设备的阻塞端口变为指定端口,B网络设备向A的指定端口发送组播加入报文,A网络设备接收到B网络设备发送的组播加入报文后,将B网络设备加入到组播线路,确定B网络设备为A网络设备的下游节点,以此类推,所有发送组播加入报文的网络设备加入到组播线路中,以切换环形组网的组 播线路(即从故障线路切换至正常线路),提高了环型组网的组播线路切换的效率。
基于上述内容,以下以三个网络设备的环型组网为例,解释本发明实施例的环型组网组播线路切换的方法,
在环型组网的拓扑结构发生变化前,参照图3,环型组网中包括网络设备A、网络设备B和网络设备C,每个网络设备都开通了组播业务,由于网络设备A的P10端口与组播服务器连接,故P10端口不参加环网协议的计算;又因为网络设备A距离组播服务器最近,其路径开销最小,会被环网协议(例如STP、MSTP、RSTP等)选择作为根桥设备,网络设备A的P11端口和P12端口为第四类端口,对所有的组播报文进行转发和处理;网络设备B的P21端口和网络设备C的P31端口为第二类端口,只转发组播加入报文;网络设备B的P22端口和网络设备C的P32端口为第一类端口(如阻塞端口),不接收与处理任何组播报文。
在环型组网的拓扑结构发生变化后(即网络设备A与网络设备B相连的线路断开),参照图4,由于网络设备A与网络设备B相连的线路断开,网络设备A的P12端口和网络设备B的P21端口为第一类端口(如阻塞端口),网络设备B的P22端口转变为第二类端口,即P22端口向其上游(网络设备C)发送组播加入报文,以便重新引入组播线路中;网络设备C的P32端口为第三类端口,P32端口向其下游(网络设备B)发送组播查询报文;网络设备B的P31端口为第二类端口,P31端口向其上游(网络设备A)发送组播加入报文。从而避免网络设备C向网络设备B发送组播加入报文,减少网络设备B在收到网络设备C的组播加入报文时生成组播转发无效条目,即增加了网络设备B的有效条目数,从而增大了网络设备B下挂组播用户的个数。
此外,三个以上网络设备的环型组网的组播线路切换方法与三个网络设备的环型组网在原理上基本相同,在此不作重复说明。
本发明实施例还提供一种网络设备,在本发明网络设备的第一实施例中, 参照图5,该网络设备包括:
更新模块10,设置为:在接收到环型组网的网络拓扑结构发生变化的信息时,更新自身的端口属性;
环型组网中的某点发生故障中断或者新增/减少网络设备时,该环型组网的网络拓扑结构会发生变化,在检测到环型组网的网络拓扑结构发生变化时,(例如网络设备接收到用于提示环型组网的网络拓扑结构发生变化的提示信息),需要根据生成树协议更新环型组网中网络设备的端口属性,即环型组网中的网络设备互相转发一种特殊的协议报文(网桥协议数据单元),通过选择根网桥、选择根端口和选择指定端口三个步骤,以完成网络设备端口属性的更新,以重新确定网络的拓扑结构。
可选地,更新模块10根据端口协议更新自身的端口属性,其中该端口协议包括STP(Spanning Tree Protocol,生成树协议),MSTP(Multiple Spanning Tree Protocol,多生成树协议)、RSTP(rapid spanning Tree Protocol,快速生成树协议)等,基于这些端口协议更新环型组网中网络设备的端口属性,例如在网络拓扑结构未发生变化前,距离组播服务器路径最远的网络设备的一端口的端口属性为阻塞端口,在网络拓扑结构发生变化后,该网络设备的拥塞端口变为根端口,此处端口属性的更新在标准协议STP、MSTP和RSTP中均有详细记录。
报文发送模块20,设置为:根据更新后的端口属性向上游的网络设备发送组播加入报文,以切换环型组网的组播线路;
网络设备的端口属性有更新时,报文发送模块20向其上游的网络设备发送组播加入报文,该组播加入报文用于告知上游的网络设备有新的网络设备需要加入到组播线路,端口属性没有更新的网络设备无需发送组播加入报文,从而切换环型组网的组播线路。
在本实施例中,通过在环型组网的网络拓扑结构发生变化时,更新模块10更新环型组网中网络设备的端口属性,报文发送模块20向其上游的网络设备发送组播加入报文,从而切换环型组网的组播线路,从而避免了上游的网络设备向下游网络设备发送组播加入报文,也避免了网络拓扑更新结构的的时候,端口属性没有更新的网络设备向环型组网内发送组播加入报文,大 大减少在环型组网中转发组播报文的数量,大大降低了在环形组网中网络设备较多时出现组播报文广播风暴的概率,避免环型组网在切换组播线路的过程中占用大量带宽,出现严重的网络拥塞,减少了环型组网的无效用户;同时,也避免下游网络设备接收到上游网络设备发送的组播加入报文而生成组播转发无效条目,即增加了下游网络设备组播转发有效条目的数量,进而增大了下游网络设备下挂组播用户的数量。
可选地,所述报文发送模块20还设置为:在环型组网的网络拓扑结构没有发生变化时,若所述网络设备申请加入所述环型组网的组播线路,则向所述网络设备上游的网络设备发送组播加入报文。
在本实施例中,在环型组网的网络拓扑结构没有发生变化时,若有新的网络设备申请加入该环型组网的组播线路,则报文发送模块20向其加入处的上游网络设备发送组播加入报文以快速加入到环型组网的组播线路中,从而避免申请加入环型组网的组播线路的网络设备向其连接的所有网络设备发送组播加入报文,即避免网络设备向其下游网络设备发送组播加入报文,减少了在环型组网中转发报文的数量,减少加入新的网络设备对环型组网带宽的占用。
在本发明网络设备第一实施例的基础上,提出网络设备第二实施例,在第二实施例中,
报文发送模块20,还设置为:在根据更新后的端口属性向网络设备上游的网络设备发送组播加入报文时,根据更新后的端口属性向网络设备下游的网络设备发送组播查询报文。
在本实施例中,端口属性有更新的网络设备的报文发送模块20向其上游的网络设备发送组播加入报文,网络设备根据更新后的端口属性向其下游的网络设备发送组播查询报文,该组播查询报文用于向下游网络设备主动查询是否有组播加入报文向上游发送;当下游的网络设备接收到上游网络设备发送的组播查询报文时,判断自己是否需要发送组播加入报文(即判断自己的端口属性是否有变化),若是,则下游的网络设备立即向上游网络设备发送组播加入报文以申请加入组播线路,从而使网络设备更新其端口连接状态更 加及时,进一步提高了环型组网的组播线路切换的效率。
进一步地,在本发明网络设备第二实施例的基础上,提出网络设备的第三实施例,在第三实施例中,报文发送模块20包括:
端口确定单元21,设置为:根据更新后的端口属性确定与上游的网络设备连接的端口:
报文发送单元22,设置为:基于确定的端口将组播加入报文发送至上游的网络设备,以切换环型组网的组播线路。
每个网络设备与其上游设备或下游设备连接的端口可以根据该网络设备的端口属性来确定,可选地,本发明实施例根据STP、RSTP、MSTP协议对端口进行分类,即端口属性包括根端口、指定端口、非指定端口和禁用端口四类:
第一类端口(即非指定端口)为STP、RSTP、MSTP协议中所对应的替换端口、备份端口和阻塞端口,非指定端口不参加转发,组播协议报文不向非指定端口发送;
第二类端口(即根端口)为连接根桥设备的端口,在实际网络中连接组播服务器最近的端口,组播协议报文的组播加入报文发向根端口,然后经由根端口发向另一网络设备;
第三类端口(即指定端口)的实际作用是转发用户流,组播协议报文的组播查询报文发向指定端口,然后经由指定端口发向另一网络设备;
第四类端口(禁用端口)为不参加环网协议的端口,但是,若第四类端口作为组播接收端口存在,则向其转发或发送组播查询报文;若第四类端口作为组播源端口存在,则向其转发组播加入报文;若网络设备自身为根桥设备,则把该网络设备的所有非阻塞端口转为第四类端口。
根据上述分类,确定与根端口连接的网络设备为上游网络设备,确定与指定端口连接的网络设备为下游网络设备。
在本实施例中,提供一种确定网络设备的上游网络设备和下游网络设备的方式,即根据网络设备更新后的端口属性,确定每个网络设备与上游网络 设备和下游网络设备连接的端口,从而确定该网络设备的上游网络设备和下游网络设备,其中,确定模块30确定与网络设备的根端口连接的网络设备为上游网络设备,确定与网络设备的指定端口连接的网络设备为下游网络设备,从而可以准确、快速地确定每个网络设备的上游网络设备和下游网络设备,相对于基于网络设备的MAC地址等方法确定上、下游设备的方式,具有更高的确定效率。
在本发明环型组网组播线路切换的装置第一实施例的基础上,提出环型组网组播线路切换的装置的第四实施例,在第四实施例中,环型组网组播线路切换的装置还包括:
报文接收模块30,设置为:在接收组播查询报文时,向网络设备上游的网络设备发送组播加入报文以加入组播线路,以切换环型组网的组播线路。
在本实施例中,报文接收模块30在接收组播查询报文时,向其上游网络设备发送组播加入报文以加入组播线路,从而避免环型组网中的网络设备因接收网络拓扑结构发生变化的信息的延迟,而导致网络设备重新加入组播线路的过程耗费时间长,提高了环型组网的组播线路切换的效率;同时也通过组播加入报文告知上游网络设备自己处于在线状态,避免下线的网络设备继续占用组播线路资源。
在本发明环型组网组播线路切换的装置第一实施例的基础上,提出环型组网组播线路切换的装置的第五实施例,在第五实施例中,环型组网组播线路切换的装置还包括:
报文接收模块30,设置为:在接收组播加入报文时,将该组播加入报文的发送设备加入到组播线路,以切换环型组网的组播线路。
在本实施例中,报文接收模块30在接收其下游网络设备发送的组播加入报文时,将该组播加入报文的发送设备加入到组播线路,例如A网络设备的下游端口为阻塞端口,即下游没有连接其它网络设备,网络拓扑结构发生变化后,A网络设备的阻塞端口变为指定端口,B网络设备向A的指定端口发 送组播加入报文,A网络设备接收到B网络设备发送的组播加入报文后,将B网络设备加入到组播线路,确定B网络设备为A网络设备的下游节点,以此类推,所有发送组播加入报文的网络设备加入到组播线路中,以切换环形组网的组播线路(即从故障线路切换至正常线路),提高了环型组网的组播线路切换的效率。
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。
工业实用性
本发明实施例通过在环型组网的网络拓扑结构发生变化时,更新环型组网中网络设备的端口属性,端口属性有更新的网络设备向其上游的网络设备发送组播加入报文,从而切换环型组网的组播线路,从而避免了上游的网络设备向下游网络设备发送组播加入报文,也避免了网络拓扑更新结构的时候,端口属性没有更新的网络设备向环型组网内发送组播加入报文,大大减少在环型组网中转发组播报文的数量,大大降低了在环形组网中网络设备较 多时出现组播报文广播风暴的概率,避免环型组网在切换组播线路的过程中占用大量带宽,出现严重的网络拥塞,减少了环型组网中的无效用户;同时,也避免下游网络设备接收到上游网络设备发送的组播加入报文而生成组播转发无效条目,即增加了下游网络设备组播转发有效条目的数量,进而增大了下游网络设备下挂组播用户的数量。

Claims (13)

  1. 一种环型组网组播线路切换的方法,包括:
    在接收到环型组网的网络拓扑结构发生变化的信息时,网络设备更新自身的端口属性;
    所述网络设备根据更新后的端口属性向上游的网络设备发送组播加入报文,以切换所述环型组网的组播线路。
  2. 如权利要求1所述的环型组网组播线路切换的方法,其中,在执行所述网络设备根据更新后的端口属性,向上游的网络设备发送组播加入报文的步骤时,所述环型组网组播线路切换的方法还包括:同时执行以下步骤:
    所述网络设备根据更新后的端口属性向下游的网络设备发送组播查询报文。
  3. 如权利要求2所述的环型组网组播线路切换的方法,其中,所述网络设备根据更新后的端口属性向上游的网络设备发送组播加入报文,以切换所述环型组网的组播线路的步骤包括:
    所述网络设备根据更新后的端口属性确定与上游的网络设备连接的端口;
    所述网络设备基于确定的所述端口将所述组播加入报文发送至上游的网络设备,以切换所述环型组网的组播线路。
  4. 如权利要求1所述的环型组网组播线路切换的方法,所述环型组网组播线路切换的方法还包括:
    所述网络设备在接收组播查询报文时,向上游的网络设备发送组播加入报文以加入组播线路,以切换所述环型组网的组播线路。
  5. 如权利要求1所述的环型组网组播线路切换的方法,所述环型组网组播线路切换的方法还包括:
    所述网络设备在接收组播加入报文时,将该组播加入报文的发送设备加入到组播线路,以切换所述环型组网的组播线路。
  6. 如权利要求1所述的环型组网组播线路切换的方法,所述环型组网组 播线路切换的方法还包括:
    在环型组网的网络拓扑结构没有发生变化时,若所述网络设备申请加入所述环型组网的组播线路,则向所述网络设备上游的网络设备发送组播加入报文。
  7. 一种网络设备,包括:
    更新模块,设置为:在接收到环型组网的网络拓扑结构发生变化的信息时,更新自身的端口属性;
    报文发送模块,设置为:根据更新后的端口属性向上游的网络设备发送组播加入报文,以切换所述环型组网的组播线路。
  8. 如权利要求7所述的网络设备,其中,
    所述报文发送模块,还设置为:在根据更新后的端口属性向所述网络设备上游的网络设备发送组播加入报文时,根据更新后的端口属性向所述网络设备下游的网络设备发送组播查询报文。
  9. 如权利要求8所述的网络设备,其中,所述报文发送模块包括:
    端口确定单元,设置为:根据更新后的端口属性确定与上游的网络设备连接的端口:
    报文发送单元,设置为:基于确定的所述端口将所述组播加入报文发送至上游的网络设备,以切换所述环型组网的组播线路。
  10. 如权利要求7所述的网络设备,其中,所述网络设备还包括报文接收模块,该报文接收模块设置为:
    在接收组播查询报文时,向所述网络设备上游的网络设备发送组播加入报文以加入组播线路,以切换所述环型组网的组播线路。
  11. 如权利要求7所述的网络设备,其中,所述网络设备还包括报文接收模块,该报文接收模块设置为:
    在接收组播加入报文时,将该组播加入报文的发送设备加入到组播线路,以切换所述环型组网的组播线路。
  12. 如权利要求7所述的网络设备,其中,所述报文发送模块还设置为:
    在环型组网的网络拓扑结构没有发生变化时,若所述网络设备申请加入所述环型组网的组播线路,则向所述网络设备上游的网络设备发送组播加入报文。
  13. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-6任一项的方法。
PCT/CN2016/071231 2015-07-20 2016-01-18 环型组网组播线路切换的方法及装置 WO2016131359A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510427525.8 2015-07-20
CN201510427525.8A CN106375222A (zh) 2015-07-20 2015-07-20 环型组网组播线路切换的方法及装置

Publications (1)

Publication Number Publication Date
WO2016131359A1 true WO2016131359A1 (zh) 2016-08-25

Family

ID=56691960

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/071231 WO2016131359A1 (zh) 2015-07-20 2016-01-18 环型组网组播线路切换的方法及装置

Country Status (2)

Country Link
CN (1) CN106375222A (zh)
WO (1) WO2016131359A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108966055B (zh) * 2018-06-29 2020-11-06 烽火通信科技股份有限公司 Pon中根据组播业务实现端口属性切换的方法及系统
CN110868353B (zh) * 2018-08-28 2022-02-08 杭州海康威视数字技术股份有限公司 一种报文处理方法及装置
CN113225241B (zh) * 2021-04-19 2022-09-06 中国科学院计算技术研究所 面向环形数据报文网络的数据传输拥塞控制方法及系统
CN114268488A (zh) * 2021-12-21 2022-04-01 珠海奔图电子有限公司 一种设备异常检测方法和设备组网系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040111606A1 (en) * 2002-12-10 2004-06-10 Wong Allen Tsz-Chiu Fault-tolerant multicasting network
CN101141383A (zh) * 2006-09-07 2008-03-12 华为技术有限公司 一种实现二层组播转发路径快速收敛的方法、系统及二层设备
CN101151543A (zh) * 2005-05-02 2008-03-26 思科技术公司 用于改善以太网环会聚时间的方法、装置和系统
CN102195863A (zh) * 2010-03-10 2011-09-21 华为技术有限公司 一种环网架构下的组播实现方法、接入层设备及系统
CN102291289A (zh) * 2011-09-06 2011-12-21 中兴通讯股份有限公司 环网组播业务实现方法、系统及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100456752C (zh) * 2005-04-04 2009-01-28 华为技术有限公司 一种在快速生成树环网下实现组播的方法
CN101521927B (zh) * 2009-04-03 2012-09-05 中兴通讯股份有限公司 一种组播转发路径收敛的方法和系统
CN101827113B (zh) * 2010-05-27 2013-08-07 迈普通信技术股份有限公司 生成树协议中端口角色选择方法以及交换设备
CN102104551B (zh) * 2011-03-31 2013-09-18 杭州华三通信技术有限公司 双向协议无关组播转发方法及二层网络设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040111606A1 (en) * 2002-12-10 2004-06-10 Wong Allen Tsz-Chiu Fault-tolerant multicasting network
CN101151543A (zh) * 2005-05-02 2008-03-26 思科技术公司 用于改善以太网环会聚时间的方法、装置和系统
CN101141383A (zh) * 2006-09-07 2008-03-12 华为技术有限公司 一种实现二层组播转发路径快速收敛的方法、系统及二层设备
CN102195863A (zh) * 2010-03-10 2011-09-21 华为技术有限公司 一种环网架构下的组播实现方法、接入层设备及系统
CN102291289A (zh) * 2011-09-06 2011-12-21 中兴通讯股份有限公司 环网组播业务实现方法、系统及装置

Also Published As

Publication number Publication date
CN106375222A (zh) 2017-02-01

Similar Documents

Publication Publication Date Title
US9553736B2 (en) Aggregating data traffic from access domains
US8009671B2 (en) Multicast method and multicast routing method
US8576702B2 (en) Receiving multicast traffic at non-designated routers
US10051022B2 (en) Hot root standby support for multicast
CN109150580B (zh) 协议无关多播加入熵
US8848709B2 (en) Source rooted multicast (SRM)
US20080019265A1 (en) Systems and methods for configuring a network to include redundant upstream connections using an upstream control protocol
US11381883B2 (en) Dynamic designated forwarder election per multicast stream for EVPN all-active homing
EP2989755B1 (en) Efficient multicast delivery to dually connected (vpc) hosts in overlay networks
US20140226525A1 (en) Safe Multicast Distribution with Predictable Topology Changes
WO2016131359A1 (zh) 环型组网组播线路切换的方法及装置
WO2012149849A1 (zh) 将mstp中的桥加入域的方法、系统及交换机
JP2008278337A (ja) 情報配信システム、同システムに用いる端末装置及びプログラム、並びに循環接続回避方法
CN102185776B (zh) 以太网二层组播快速收敛的方法及以太网系统
CN113472730B (zh) 网络设备和用于网络设备的方法
WO2012103748A1 (zh) 一种组播控制方法、路由设备及组播系统
US11909546B2 (en) Method and network node for sending and obtaining assert packet
EP2571201A1 (en) Method, device and system for forwarding data under protocol independent multicast (pim) dual join
WO2012136062A1 (zh) 组播路径切换方法及路由器
WO2016086721A1 (zh) 在trill网络中传输组播数据的方法、装置和系统
US20150280932A1 (en) Network system, packet transmission apparatus, packet transmission method, and recording medium recording information processing program
WO2015161735A1 (zh) 路径检测方法、宿节点设备及通信系统
WO2014151051A2 (en) Multicast traffic management within a wireless mesh network
JP2010016578A (ja) ブリッジマルチキャスト管理システム及びブリッジマルチキャスト管理方法

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

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

Country of ref document: EP

Kind code of ref document: A1