WO2010006524A1 - Method of reliable multicast, superstratum provider apparatus and system - Google Patents

Method of reliable multicast, superstratum provider apparatus and system Download PDF

Info

Publication number
WO2010006524A1
WO2010006524A1 PCT/CN2009/071467 CN2009071467W WO2010006524A1 WO 2010006524 A1 WO2010006524 A1 WO 2010006524A1 CN 2009071467 W CN2009071467 W CN 2009071467W WO 2010006524 A1 WO2010006524 A1 WO 2010006524A1
Authority
WO
WIPO (PCT)
Prior art keywords
carrier
multicast
edge
layer device
carrier edge
Prior art date
Application number
PCT/CN2009/071467
Other languages
French (fr)
Chinese (zh)
Inventor
任翔
凌义
赵凤华
吴迪
赵诤
段学罡
覃剑宏
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2010006524A1 publication Critical patent/WO2010006524A1/en

Links

Classifications

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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for reliable multicast, an operator edge upper layer device and system.
  • VPLS Virtual Private LAN Service
  • PEs Carrier Edge Devices
  • HVPLS Hierarchical Virtual Private LAN Service
  • FIG. 1 is a schematic structural diagram of a hierarchical virtual private network
  • PE In the basic model of HVPLS, PE can be divided into two types:
  • UPE Underlayer Provider Edge
  • CE Consumer Edge
  • UPE11 Used to establish a connection with one of the PEs of the basic VPLS fully connected network 10.
  • UPE11 supports routing and MPLS encapsulation, which is directly connected to the user edge device 12 (CE, Consumer Edge). If a UPE is connected to multiple CEs and has basic bridging functions, data frame forwarding only needs to be performed on the UPE, which reduces the burden on the carrier's edge upper device 13.
  • SPE Superstratum Provider Edge: Used to connect UPEll and be located inside the basic VPLS fully connected network 10.
  • the SPE13 is connected to other devices in the basic VPLS fully connected network 10.
  • VPLS has been used more and more widely.
  • a traditional VPLS network faces a one-to-many situation, it usually uses a broadcast method, which not only wastes a lot of network bandwidth, but also causes a wide range. Broadcasting storms, but also affecting normal business. Multicast technology was created to solve such problems.
  • the IGMP Snooping (IGMP Snooping) technology is used to establish the multicast number operation by listening to the Internet Group Management Protocol (IGMP) message sent between the router and the host. By listening to the IGMP messages sent between the multicast router and the host, the IGMP Snooping router can know which ports have multicast data receivers. The multicast data packets will not be broadcast on the Layer 2 network. Multicast, that is, only multicast group members can receive multicast data packets.
  • IGMP Snooping Internet Group Management Protocol
  • the existing IGMP Snooping supports only the PEs connected to the VPLS network and does not support the protection of the multicast path. Therefore, if the SPE fails or the propagation path is interrupted during the SPE transmission to the UPE, Corresponding protection measures will cause delays in the multicast data and even loss of multicast data.
  • the embodiment of the present invention provides a reliable multicast method, an operator edge upper layer device, and a system, which can solve the problem of lack of protection of the multicast path between the SPE and the UPE in the current HVPLS network, and is beneficial to improving the multicast service in the HVPLS network. Reliability.
  • the embodiment of the present invention provides a method for reliable multicast, which is applied to a network including at least one carrier edge lower layer device and at least two carrier edge upper layer devices, and the method includes:
  • an independent multicast path is established between each of the carrier edge upper layer devices and the at least one operator edge lower layer device;
  • the upper-layer device performs the active/standby configuration.
  • the multicast data is forwarded to the carrier edge lower layer device by using the multicast path established by the active carrier edge upper layer device and the carrier edge lower layer device;
  • the multicast data that is established by the backup carrier edge upper layer device and the carrier edge lower layer device forwards the multicast data to the carrier edge lower layer device.
  • the embodiment of the present invention further provides an operator edge upper layer device of a multicast network, including:
  • a path maintenance module configured to establish and maintain a multicast path with a device at a lower edge of the carrier according to the multicast listening protocol
  • an active/standby configuration module configured to perform an active/standby configuration on the upper edge device of the carrier edge; and a data processing module, configured to receive, when the active/standby configuration module configures the upper edge device of the carrier edge as a primary device The multicast data is sent to the carrier edge lower layer device. When the active/standby configuration module configures the carrier edge upper layer device as a backup device, the multicast data is discarded.
  • the embodiment of the present invention provides a reliable multicast network system, including: at least one carrier edge lower layer device and at least two carrier edge upper layer devices, where the at least two carrier edge upper layer devices include one
  • the host uses the carrier edge upper layer device and at least one standby carrier edge upper layer device;
  • Each of the carrier edge upper layer devices is configured to establish an independent multicast path according to the multicast interception protocol with the at least one carrier edge lower layer device;
  • the active carrier edge upper layer device is configured to forward the received multicast data to the carrier edge lower layer device by using a multicast path established by the carrier and the carrier edge lower layer device.
  • the standby carrier edge upper-layer device is configured to forward the multicast data to the operation by using a multicast path established by the carrier and the lower-layer device of the carrier edge when the upper-layer device of the active carrier edge is abnormal.
  • Lower edge device is configured to forward the received multicast data to the carrier edge lower layer device by using a multicast path established by the carrier and the carrier edge lower layer device.
  • Multiple SPEs can establish a multicast path with the same UPE, and multiple SPEs connected to the same UPE can perform the primary and backup configurations.
  • the multiple SPEs can be used as backup devices and the standby multicast path connected to the UPE is established.
  • the multicast data can be transmitted by the alternate multicast path established between the standby SPE and the UPE. This protects the multicast path used to transmit multicast data and improves the reliability of the multicast service.
  • FIG. 1 is a schematic structural diagram of a hierarchical virtual private network
  • FIG. 2 is a schematic flowchart of a first embodiment of a reliable multicast method provided by the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a reliable multicast method provided by the present invention
  • FIG. 5 is a schematic structural diagram of a first embodiment of a reliable multicast system provided by the present invention
  • FIG. 6 is a schematic structural diagram of a second embodiment of a reliable multicast system provided by the present invention.
  • FIG. 2 it is a schematic flowchart of a first embodiment of a reliable multicast method provided by the present invention.
  • Ben The method for the reliable multicast provided by the embodiment of the present invention is applied to a network including at least one carrier edge lower layer device and at least two carrier edge upper layer devices, each of the carrier edge upper layer devices and the At least one carrier edge device is connected to the edge, and the method includes:
  • each of the carrier edge upper layer device and the at least one carrier edge lower layer device establish an independent multicast path; specifically, the carrier edge upper layer device runs
  • the multicast listening protocol is used to learn which carrier edge lower layer devices can receive multicast services, thereby establishing an independent multicast path with the carrier edge lower layer device.
  • the multicast data is forwarded to the carrier edge lower layer device by using the multicast path established by the active carrier edge upper layer device and the carrier edge lower layer device;
  • the multicast data is forwarded to the carrier edge lower layer device by using the multicast path established by the standby carrier edge upper layer device and the carrier edge lower layer device.
  • the method for the reliable multicast provided by the embodiment of the present invention establishes a backup multicast path between the carrier edge upper layer device and the carrier edge lower layer device through the multicast listening protocol, thereby implementing protection for the carrier edge upper layer device and improving The reliability of the multicast service.
  • FIG. 3 it is a schematic flowchart of a second embodiment of a reliable multicast method provided by the present invention.
  • the method is applied to a network including at least one UPE and at least two SPEs, and each SPE is connected to the UPE, and the method includes:
  • Each SPE broadcasts a query message, and queries which UPEs connected to it can receive the multicast service.
  • the UPE receives the query message broadcasted by each SPE, and responds to the response message according to the query message. Specifically, the UPE records the SPE sending port that sends the query message according to the received query message, and sends a response>3 ⁇ 4 file to the corresponding SPE through the SPE sending port. It should be noted that, if the UPE receives multiple query messages, it records each SPE sending port that sends the query message; and the multiple SPE sending ports have the same priority for the UPE; UPE The response is replied to the corresponding SPE through the corresponding SPE sending port.
  • a multicast path is established between the SPE that receives the response packet and the UPE that sends the response packet.
  • the multiple SPEs that receive the UPE response message record the multicast path with the UPE, and the multicast paths between the SPEs and the UPEs are independent of each other.
  • the SPE of the multicast path established with the same UPE may be configured in active/standby mode according to the Virtual Router Redundancy Protocol (VRRP), where one SPE is configured as the primary With SPE, the remaining SPEs are configured as standby SPEs.
  • VRRP Virtual Router Redundancy Protocol
  • the SPE performs the active/standby switchover according to the VRRP, and switches to the standby SPE, and the standby SPE takes over the active SPE.
  • the multicast data is forwarded to the UPE by using a multicast path established between the active SPE and the UPE. Specifically, after receiving the multicast data to be forwarded, the SPE determines whether the UPE that receives the multicast data is the primary SPE or the standby SPE;
  • the multicast data is sent to the UPE through the multicast path established between itself and the UPE; if it is determined to be the standby SPE of the UPE, it is discarded.
  • the multicast data is sent to the UPE through the multicast path established between itself and the UPE; if it is determined to be the standby SPE of the UPE, it is discarded. The multicast data.
  • the UPE receives the multicast data sent by the SPE. It should be noted that the UPE does not distinguish the primary and secondary SPEs. As long as the data sent by the SPE sending port is recorded in step 201, the UPE receives the data normally.
  • the method for the reliable multicast implemented by the embodiment of the present invention implements the backup of the multicast path between the carrier edge upper layer device and the carrier edge lower layer device through the multicast listening protocol; The protection of the upper-layer device at the edge of the commerce; the data redundancy received by the lower-layer device at the carrier edge is not increased, and the reliability of the multicast network is effectively improved.
  • SPE60 SPE602 and SPE603 form a fully-connected VPLS.
  • SPE60 SPE602 and SPE603 broadcast queries.
  • the UPE 609 After receiving the query message broadcasted by the SPE 602 and the SPE 603, the UPE 609 records the sending port of the SPE 602 and the SPE 603 that sent the Query message, and sends a response packet to the SPE 602 and the SPE 603 through the sending port.
  • the SPE 602 and the SPE 603 After receiving the response packet from the UPE 608 and the UPE 609, the SPE 602 and the SPE 603 record the multicast path according to the packet. It should be noted that, because both the SPE 602 and the SPE 603 can receive the reply of the UPE 608 and the UPE 609, the SPE 602, SPE603 will establish multicast paths with both UPE608 and UPE609.
  • the SPE 602 and the SPE 603 are configured as the active and standby SPE 602.
  • the SPE 602 is the primary SPE of the UPE 608 and the SPE 603 is the standby SPE of the UPE 608.
  • the multicast path between the SPE 603 and the UPE 608 is the standby path 606.
  • the SPE 602 and the SPE 603 are configured as the primary SPE for the UPE 609.
  • the SPE 603 is the primary SPE of the UPE 609 and the SPE 602 is the standby SPE of the UPE 608.
  • the multicast path is the primary path 605; the multicast path between the SPE 602 and the UPE 609 is the alternate path 607.
  • this example is intended to illustrate that the active/standby configuration relationship between SPEs is only for a certain UPE.
  • One SPE can belong to multiple UPE configuration instances at the same time, and is used as the primary SPE of a UPE.
  • the standby SPE does not affect the SPE or the standby SPE of the other UPEs.
  • This example is only a specific connection relationship of the present invention, and the present invention is not limited thereto.
  • UPE608 and UPE609 both have two multicast paths connected to the SPE, and SPE602 and SPE603 also implement mutual backup.
  • the SPE 601, the SPE 602, and the SPE 603 receive the multicast data sent by the multicast source 600.
  • the SPE 602 works normally, the SPE 603 is the backup of the UPE 608.
  • the SPE selects to discard the multicast data, so there is no multicast data transmission on the alternate path 606. Only the SPE 602 forwards the multicast data to the UPE 608 through the primary path 604. After receiving the multicast data, the UPE 608 sends the multicast data to the SPE 602. CE610 forwarded.
  • the SPE 603 fails: SPE 601, SPE 602, and SPE 603 receive the multicast data sent by the multicast source 600, and the SPE 603 cannot pass the primary path 605 because of the fault. If the SPE 602 is the standby SPE of the UPE 609, the SPE 602 will replace the SPE 603 as the primary SPE of the UPE 609, and the SPE 602 will forward the multicast data to the UPE 609 through the alternate path 607. The UPE 609 receives the multicast. After the data, it is forwarded to CE611.
  • the method for the reliable multicast ensures that the UPE still receives the multicast data in the case of the failure of the primary SPE, and improves the reliability of the multicast network, by the mutual backup between the SPEs and the establishment of the standby path. And security.
  • FIG. 4 is a schematic structural diagram of an operator edge upper layer device according to an embodiment of the present invention.
  • the carrier's edge upper device specifically includes:
  • the path maintenance module 30 establishes and maintains a multicast path with the UPE according to the multicast listening protocol.
  • the active/standby configuration module 31 is configured to perform active/standby configuration on the device where the device resides.
  • the data processing module 32 is configured to: when the active/standby configuration module 31 configures the device in which the device is configured as the master device, the received multicast data is sent to the UPE; When it is a standby device, the multicast data is discarded.
  • the path maintenance module 30 specifically includes:
  • the packet sending and receiving unit 300 is configured to broadcast the query message and receive the UPE to reply to the query message. Answer message
  • the path maintenance unit 301 is configured to establish and maintain a multicast path between the SPE and the UPE that sends the response packet according to the response packet received by the packet sending and receiving unit 300. For a reply message of a UPE reply, if the packet sending and receiving unit 300 is received for the first time, the path maintenance unit 301 establishes a group between the SPE and the UPE according to the transmission path of the response message. If the response message of the UPE reply has been received before, the path maintenance unit 301 checks whether the previously established multicast path is changed, and maintains the multicast path; if the UPE of the multicast path has been previously established If the reply message expires, the path maintenance unit 301 deletes the multicast path between the previous SPE and the UPE.
  • the active/standby configuration module 31 specifically includes:
  • the active/standby configuration unit 31 0 is configured to perform active/standby configuration on the device according to VRRP.
  • each SPE can establish a multicast path with multiple UPEs.
  • the active/standby relationship between multiple SPEs configured for active/standby configuration based on VRRP is only for the UPEs they are connected to.
  • the active/standby configuration does not take effect.
  • SPE1 is the primary SPE of UPE 1
  • SPE2 is the standby SPE of the UPE1. It is valid only for UPE1.
  • SPE2 is the primary SPE of the UPE2
  • SPE1 is the primary SPE.
  • the standby SPE of the UPE2 is only a specific case of the present invention, and is intended to indicate that the SPE does not affect the SPE as the primary SPE or the standby SPE of the UPE regardless of the APE.
  • the SPE is used as the primary SPE or the standby SPE of the other UPEs;
  • the active/standby switching unit 31 1 is configured to detect the working status of the SPE, and if the active/standby switching unit 31 1 detects the SPE working fault, and the SPE is
  • the active/standby configuration unit 31 0 is configured as the primary SPE, and the active/standby switching unit 31 1 performs the active/standby switchover on the SPE, and switches the primary SPE to the standby SPE.
  • the data processing module 32 includes:
  • the status determining unit 320 is configured to determine whether the active/standby configuration module 31 configures the SPE as a primary device or a standby device. For a plurality of UPEs having a multicast path with the SPE, the SPEs are used as the primary SPE or the standby SPE of each UPE, respectively, for the data processing unit 321 to perform corresponding processing on the multicast data; The data processing unit 321 is configured to select to discard or forward the multicast data according to the determination result of the state determining unit 320. Specifically, after the data processing unit 321 receives the multicast data that needs to be forwarded, the state determining unit 320 determines the SPE. The master device sends multicast data to the UPE according to the multicast path maintained by the path maintenance module 30. If the state determining unit 320 determines that the SPE is a standby device, the multicast data is discarded.
  • multiple SPEs are connected to the same UPE to establish an alternate path between the SPE and the UPE, thereby improving multicast security and reliability.
  • the reliable multicast system provided by the embodiment of the present invention includes at least one carrier edge lower layer device (UPE) 52 and at least two carrier edge upper layer devices (SPEs) 50, 51, at least two
  • the SPE includes a primary SPE 50 and at least one standby SPE 51.
  • Each SPE 50 and 51 is configured to establish an independent multicast path with at least one UPE 52 according to the multicast listening protocol, and the primary SPE 50 is used to work normally.
  • the multicast data is forwarded to the UPE 52 by the multicast path established by the user and the UPE 52.
  • the standby SPE 51 is configured to use the multicast path established by the self and the UPE 52 when the active SPE 50 is abnormal. Forward to UPE52.
  • Each SPE 50, 51 further includes:
  • a path maintenance module configured to establish and maintain a multicast path with the carrier edge lower layer device 52 according to the multicast listening protocol
  • An active/standby configuration module is used to perform active/standby configuration on the SPE.
  • the data processing module is configured to send the received multicast data to the UPE52 when the active/standby configuration module configures the SPE as the primary device, and discards the SPE configured as the standby device when the active/standby configuration module is configured as the standby device.
  • the multicast data is configured to send the received multicast data to the UPE52 when the active/standby configuration module configures the SPE as the primary device, and discards the SPE configured as the standby device when the active/standby configuration module is configured as the standby device.
  • the SPE 50 and 51 perform the active/standby configuration according to VRRP and independently maintain the multicast path between the SPE 50 and the UPE 52.
  • the standby SPE 51 continues to send multicast data according to the multicast path between itself and the UPE 52 according to the VRRP.
  • the UPE52 records the sending ports of all the primary SPEs 50 and the standby SPEs 51. After the active/standby switchover of the upper-layer devices at the edge of the carrier, the multicast forwarding port continues to receive multicast data from the standby SPE51.
  • the standby SPE can take over the active SPE and continue to send multicast data to the UPE to ensure normal forwarding of the multicast data.
  • FIG. 6 a schematic structural diagram of a second embodiment of a reliable multicast system provided by the present invention is shown.
  • the carrier edge upper layer device 601 (SPE601), the carrier edge upper layer device 602 (SPE602), and the carrier edge upper layer device 603 (SPE603) form a fully connected VPLS in the initial establishment phase of the network, and respectively broadcast query messages to establish A multicast path between the carrier edge lower layer device 608 (UPE 608) and the carrier edge lower layer device 609 (UPE 609).
  • the UPE 609 After receiving the query message broadcasted by the SPE 602, the UPE 609 sends a response message to the SPE 602 through the sending port of the SPE 602 according to the opposite path of the query message. Similarly, the UPE 608 and the UPE 609 receive the query message broadcast by the SPE 603. The response packet is sent to the SPE 603 through the sending port of the SPE 603 according to the opposite path of the queried message.
  • SPE 602 and SPE 603 establish and record the multicast path according to the received UPE 608 and UPE 609 responses. It should be noted that both SPE 602 and SPE 603 can receive the response of UPE 608 and UPE 609, so SPE 602 and SPE 603 will both respond. At the same time, a multicast path is established with UPE608 and UPE609.
  • the primary and backup configurations are performed according to VRRP. Assume that SPE602 is the primary SPE of UPE608 and SPE603 is the standby SPE of UPE608. The multicast path between SPE602 and UPE608 is the primary. With the path 604; the multicast path between the SPE 603 and the UPE 608 is the alternate path 606.
  • SPE 602 and SPE 603 perform the primary and backup configurations for the UPE VR.
  • the SPE 603 is the primary SPE of the UPE 609 and the SPE 602 is the standby SPE of the UPE 608.
  • the path is the primary path 605; the multicast path between the SPE 602 and the UPE 609 is the alternate path 607.
  • this example is intended to illustrate that the active/standby configuration relationship between SPEs is only for a certain UPE.
  • an SPE can belong to a configuration instance of multiple UPEs at the same time, and it does not affect the SPE or the standby SPE of the other UPEs when it is used as the primary SPE or the standby SPE of a certain UPE. It is only one specific connection relationship of the present invention, and the present invention is not limited thereto.
  • UPE608 and UPE609 both have two multicast paths connected to the SPE, and the SPE602 and SPE603 also implement mutual backup.
  • SPE60 SPE602 receives the multicast data sent by the multicast source 600 to the CE61 0.
  • the SPE 603 is the standby SPE of the UPE 608 and chooses to discard the multicast data. No multicast data is transmitted; only the SPE 602 forwards the multicast data to the UPE 608 through the primary path 604. After receiving the multicast data, the UPE 608 forwards the data to the CE 61 0.
  • the SPE 603 fails.
  • the SPE 603 fails to forward the multicast data through the primary path 605 because the fault occurs.
  • the SPE 602 will replace the SPE 603 as the primary SPE of the UPE 609.
  • the SPE 602 will forward the multicast data to the UPE 609 through the alternate path 607.
  • the UPE 609 forwards the data to the CE 61 1 .
  • the method for the reliable multicast ensures that the UPE still receives the multicast data in the case of the failure of the primary SPE, and improves the reliability of the multicast network, by the mutual backup between the SPEs and the establishment of the standby path. And security.
  • the virtual private network traffic control technology (VPLS over TE) may be combined, and the multicast path between the SPE and the UPE is established on the tunnel (Tunnel), and the tunnel protection technology is utilized. Tunne l Pro tec t) further protects the multicast path.
  • a backup multicast path between the SPE and the UPE is established by using the multicast packet between the SPE and the UPE.
  • the primary and backup configurations between the SPEs are used to implement mutual backup between the SPEs and improve the multicast network. reliability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A method of reliable multicast, a superstratum provider edge and a system are provided. The method comprises: establishing independent multicast path between the each SPE and the at least one UPE according to a multicast snooping protocol; setting in main-state or standby-state for all the SPE established multicast path with the same UPE and determining whether the main SPE works normally or not; transferring the multicast data to the UPE if normally; or transferring the multicast data to the UPE through the multicast path established between the standby SPE and the UPE if abnormally. Thereby the problem that the multicast path between the SPE and the UPE in the HVPLS lacks protecting could be solved.

Description

可靠组播的方法、 运营商边缘上层设备及系统  Reliable multicast method, carrier edge upper device and system
本申请要求了 2008年 7月 18 日提交的, 申请号为 200810029573.1, 发 明名称为 "可靠组播的方法、 运营商边缘上层设备及系统" 的中国申请的优 先权, 其全部内容通过引用结合在本申请中。  This application claims the priority of the Chinese application filed on July 18, 2008, the application number is 200810029573.1, and the invention is entitled "Reliable Multicast Method, Operator Edge Upper Device and System", the entire contents of which are incorporated by reference. In this application.
技术领域 Technical field
本发明涉及通信技术领域, 特别涉及一种可靠组播的方法、 运营商边缘 上层设备及系统。  The present invention relates to the field of communications technologies, and in particular, to a method for reliable multicast, an operator edge upper layer device and system.
背景技术 Background technique
随着对基于虚拟专用局域网业务 (VPLS, Virtual Private LAN Service) 需求的增长, 对运营商边缘设备(PE, Provider Edge )之间的全连接通道也 需要大幅增加。 为满足需要, VPLS标准允许利用一种集中星型的布局建立分 级结构——分级虚拟专用局域网业务(HVPLS, Hierarchical Virtual Private LAN Service )。  As the demand for Virtual Private LAN Service (VPLS) grows, the number of fully connected channels between Carrier Edge Devices (PEs) needs to increase significantly. To meet the needs, the VPLS standard allows the use of a centralized star layout to create a hierarchical structure, Hierarchical Virtual Private LAN Service (HVPLS).
参见图 1, 是分级虚拟专用网的结构示意图;  Referring to Figure 1, is a schematic structural diagram of a hierarchical virtual private network;
HVPLS的基本模型中, 可以把 PE分为两种:  In the basic model of HVPLS, PE can be divided into two types:
运营商边缘下层设备 11 (UPE, Underlayer Provider Edge): 用于与基 本 VPLS全连接网络 10的其中一台 PE建立连接。 UPE11支持路由和 MPLS封装, 即直接连接用户边缘设备 12 (CE, Consumer Edge )。 如果一台 UPE连接多台 CE12, 且具备基本桥接功能, 那么数据帧转发只需要在 UPE进行, 这样减轻 了运营商边缘上层设备 13的负担。  Underlayer Provider Edge (UPE): Used to establish a connection with one of the PEs of the basic VPLS fully connected network 10. UPE11 supports routing and MPLS encapsulation, which is directly connected to the user edge device 12 (CE, Consumer Edge). If a UPE is connected to multiple CEs and has basic bridging functions, data frame forwarding only needs to be performed on the UPE, which reduces the burden on the carrier's edge upper device 13.
运营商边缘上层设备 13 (SPE, Superstratum Provider Edge): 用于连 结 UPEll并位于基本 VPLS全连接网络 10的内部, SPE13与基本 VPLS全连接 网络 10内部的其他设备都建立连接。  SPE (Superstratum Provider Edge): Used to connect UPEll and be located inside the basic VPLS fully connected network 10. The SPE13 is connected to other devices in the basic VPLS fully connected network 10.
目前 VPLS 已得到越来越广泛的应用。 但是传统的 VPLS 网络在面对一对 多的情况时, 通常采用广播方式, 这样不但浪费了大量的网络带宽, 引起广 播风暴, 而且也影响了正常的业务。 组播技术正是为解决此类问题应运而生 的。 Currently VPLS has been used more and more widely. However, when a traditional VPLS network faces a one-to-many situation, it usually uses a broadcast method, which not only wastes a lot of network bandwidth, but also causes a wide range. Broadcasting storms, but also affecting normal business. Multicast technology was created to solve such problems.
组播管理协议侦听 ( IGMP Snooping , Internet Group Management Protoco l Snoop ing )技术是指通过侦听路由器和主机之间发送的因特网组管 理协议 ( IGMP , Internet Group Management Protocol ) 消息来建立组播数 运行 IGMP Snooping的路由器通过侦听组播路由器和主机之间发送的 IGMP消 息, 就可以获知哪些端口下有组播数据的接收者, 则组播数据报文将不在二 层广播, 而是进行二层组播, 即只有组播组成员能够收到组播数据报文。  The IGMP Snooping (IGMP Snooping) technology is used to establish the multicast number operation by listening to the Internet Group Management Protocol (IGMP) message sent between the router and the host. By listening to the IGMP messages sent between the multicast router and the host, the IGMP Snooping router can know which ports have multicast data receivers. The multicast data packets will not be broadcast on the Layer 2 network. Multicast, that is, only multicast group members can receive multicast data packets.
随着网络业务的日益拓展和人们生活水平的逐步提高, 网络的稳定性和 健壮性日趋重要, 各种业务如多协议标签交换(MPLS , Mul t i-Protocol Label Swi tching ), 虚拟专用网络 ( VPN, Vi r tua l Pr iva te Network ) 专线等都有 了自己的保护措施来保证业务不中断, 保护用户的最终权益。  With the expansion of network services and the gradual improvement of people's living standards, the stability and robustness of the network are becoming more and more important. Various services such as Multi-Protocol Label Switching (MPLS, Mul t i-Protocol Label Swi tching), Virtual Private Networks ( VPN, Vi r tua l Pr iva te Network ) The private line has its own protection measures to ensure uninterrupted business and protect the ultimate interests of users.
发明人在实施本发明的过程中, 发现现有技术存在如下缺点:  In the process of implementing the present invention, the inventors found that the prior art has the following disadvantages:
由于现有的 IGMP Snooping只支持 PE全连接的 VPLS组网, 不支持对组 播路径进行的保护, 所以组播数据在 SPE向 UPE发送的过程中, 若 SPE出现 故障或传播路径中断, 因为没有相应的保护措施, 将导致该组播数据的延迟, 甚至组播数据的丟失。  The existing IGMP Snooping supports only the PEs connected to the VPLS network and does not support the protection of the multicast path. Therefore, if the SPE fails or the propagation path is interrupted during the SPE transmission to the UPE, Corresponding protection measures will cause delays in the multicast data and even loss of multicast data.
发明内容 Summary of the invention
本发明实施例提供一种可靠组播的方法、 运营商边缘上层设备及系统, 可以解决目前 HVPLS网络中 SPE与 UPE之间的组播路径缺乏保护的问题, 有 利于提高 HVPLS网络中组播业务的可靠性。  The embodiment of the present invention provides a reliable multicast method, an operator edge upper layer device, and a system, which can solve the problem of lack of protection of the multicast path between the SPE and the UPE in the current HVPLS network, and is beneficial to improving the multicast service in the HVPLS network. Reliability.
本发明实施例提供了一种可靠组播的方法, 应用于包括至少一台运营商 边缘下层设备和至少两台运营商边缘上层设备的网络中, 该方法包括:  The embodiment of the present invention provides a method for reliable multicast, which is applied to a network including at least one carrier edge lower layer device and at least two carrier edge upper layer devices, and the method includes:
根据组播侦听协议, 每一台所述运营商边缘上层设备与所述至少一台运 营商边缘下层设备之间建立独立的组播路径;  According to the multicast listening protocol, an independent multicast path is established between each of the carrier edge upper layer devices and the at least one operator edge lower layer device;
对与同一台所述运营商边缘下层设备建立组播路径的所有所述运营商边 缘上层设备进行主备配置; All the operators side of establishing a multicast path with the same carrier edge lower layer device The upper-layer device performs the active/standby configuration.
判断主用运营商边缘上层设备工作是否正常;  Determine whether the upper-layer device at the edge of the active carrier is working properly;
当主用运营商边缘上层设备工作正常时, 通过所述主用运营商边缘上层 设备与运营商边缘下层设备建立的组播路径将组播数据转发给所述运营商边 缘下层设备;  When the active carrier edge upper layer device is working normally, the multicast data is forwarded to the carrier edge lower layer device by using the multicast path established by the active carrier edge upper layer device and the carrier edge lower layer device;
当所述主用运营商边缘上层设备工作异常时, 通过所述备用运营商边缘 上层设备与所述运营商边缘下层设备建立的组播路径将组播数据转发给所述 运营商边缘下层设备。  When the active carrier edge upper layer device works abnormally, the multicast data that is established by the backup carrier edge upper layer device and the carrier edge lower layer device forwards the multicast data to the carrier edge lower layer device.
相应地, 本发明实施例还提供了一种组播网络的运营商边缘上层设备, 包括:  Correspondingly, the embodiment of the present invention further provides an operator edge upper layer device of a multicast network, including:
路径维护模块, 用于根据组播侦听协议, 建立并维护与运营商边缘下层 设备之间的组播路径;  a path maintenance module, configured to establish and maintain a multicast path with a device at a lower edge of the carrier according to the multicast listening protocol;
主备配置模块, 用于对所述运营商边缘上层设备进行主备配置; 数据处理模块, 用于在所述主备配置模块将所述运营商边缘上层设备配 置为主用设备时, 将接收到的组播数据发送至所述运营商边缘下层设备; 在 所述主备配置模块将所述运营商边缘上层设备配置为备用设备时, 丟弃所述 组播数据。  And an active/standby configuration module, configured to perform an active/standby configuration on the upper edge device of the carrier edge; and a data processing module, configured to receive, when the active/standby configuration module configures the upper edge device of the carrier edge as a primary device The multicast data is sent to the carrier edge lower layer device. When the active/standby configuration module configures the carrier edge upper layer device as a backup device, the multicast data is discarded.
相应地, 本发明实施例提供了一种可靠组播的网络系统, 包括: 至少一台运营商边缘下层设备和至少两台运营商边缘上层设备, 所述至 少两台运营商边缘上层设备包括一台主用运营商边缘上层设备和至少一台备 用运营商边缘上层设备;  Correspondingly, the embodiment of the present invention provides a reliable multicast network system, including: at least one carrier edge lower layer device and at least two carrier edge upper layer devices, where the at least two carrier edge upper layer devices include one The host uses the carrier edge upper layer device and at least one standby carrier edge upper layer device;
每一台所述运营商边缘上层设备用于与所述至少一台运营商边缘下层设 备之间根据组播侦听协议建立独立的组播路径;  Each of the carrier edge upper layer devices is configured to establish an independent multicast path according to the multicast interception protocol with the at least one carrier edge lower layer device;
所述主用运营商边缘上层设备用于在工作正常时, 通过自身与所述运营 商边缘下层设备建立的组播路径将接收到的组播数据转发给所述运营商边缘 下层设备; 所述备用运营商边缘上层设备用于在所述主用运营商边缘上层设备工作 异常时, 通过自身与所述运营商边缘下层设备建立的组播路径将所述组播数 据转发给所述运营商边缘下层设备。 The active carrier edge upper layer device is configured to forward the received multicast data to the carrier edge lower layer device by using a multicast path established by the carrier and the carrier edge lower layer device. The standby carrier edge upper-layer device is configured to forward the multicast data to the operation by using a multicast path established by the carrier and the lower-layer device of the carrier edge when the upper-layer device of the active carrier edge is abnormal. Lower edge device.
实施本发明实施例, 具有如下有益效果:  Embodiments of the present invention have the following beneficial effects:
多台 SPE可以与同一 UPE建立组播路径, 且连接同一 UPE的多台 SPE进 行主备配置, 使多台 SPE之间互为备用设备, 同时建立了连接 UPE的备用组 播路径, 在主用 SPE设备发生故障时, 可以由备用 SPE与 UPE之间建立的备 用组播路径传输组播数据, 从而保护了用于传输组播数据的组播路径, 提高 了组播业务的可靠性。  Multiple SPEs can establish a multicast path with the same UPE, and multiple SPEs connected to the same UPE can perform the primary and backup configurations. The multiple SPEs can be used as backup devices and the standby multicast path connected to the UPE is established. When the SPE device is faulty, the multicast data can be transmitted by the alternate multicast path established between the standby SPE and the UPE. This protects the multicast path used to transmit multicast data and improves the reliability of the multicast service.
附图说明 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set forth in the description of the claims Other drawings may also be obtained from these drawings without the use of creative labor.
图 1是分级虚拟专用网的结构示意图;  1 is a schematic structural diagram of a hierarchical virtual private network;
图 2是本发明提供的可靠组播方法的第一实施例的流程示意图; 图 3是本发明提供的可靠组播方法的第二实施例的流程示意图; 图 4是本发明实施例提供的运营商边缘上层设备的结构示意图; 图 5是本发明提供的可靠组播系统的第一实施例的结构示意图; 图 6是本发明提供的可靠组播系统的第二实施例的结构示意图。  2 is a schematic flowchart of a first embodiment of a reliable multicast method provided by the present invention; FIG. 3 is a schematic flowchart of a second embodiment of a reliable multicast method provided by the present invention; FIG. 5 is a schematic structural diagram of a first embodiment of a reliable multicast system provided by the present invention; FIG. 6 is a schematic structural diagram of a second embodiment of a reliable multicast system provided by the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参见图 2 , 为本发明提供的可靠组播方法的第一实施例的流程示意图。 本 发明实施例提供的可靠组播的方法, 该方法应用于包括至少一台运营商边缘 下层设备和至少两台运营商边缘上层设备的网络中, 每一台所述运营商边缘 上层设备与所述至少一台运营商边缘下层设备相连, 该方法包括: Referring to FIG. 2, it is a schematic flowchart of a first embodiment of a reliable multicast method provided by the present invention. Ben The method for the reliable multicast provided by the embodiment of the present invention is applied to a network including at least one carrier edge lower layer device and at least two carrier edge upper layer devices, each of the carrier edge upper layer devices and the At least one carrier edge device is connected to the edge, and the method includes:
1 00 , 根据组播侦听协议, 每一台所述运营商边缘上层设备与所述至少一 台运营商边缘下层设备之间建立独立的组播路径; 具体地, 由运营商边缘上 层设备运行组播侦听协议, 获知有哪些运营商边缘下层设备可以接收组播业 务, 从而建立与运营商边缘下层设备之间的独立的组播路径;  1 00, according to the multicast listening protocol, each of the carrier edge upper layer device and the at least one carrier edge lower layer device establish an independent multicast path; specifically, the carrier edge upper layer device runs The multicast listening protocol is used to learn which carrier edge lower layer devices can receive multicast services, thereby establishing an independent multicast path with the carrier edge lower layer device.
1 01 , 对与同一台所述运营商边缘下层设备建立组播路径的所有所述运营 商边缘上层设备进行主备配置;  1 01. Performing active/standby configuration on all the edge devices of the carrier edge that establish a multicast path with the same edge device of the carrier;
1 02 , 判断主用运营商边缘上层设备工作是否正常; 如判断结果为是时, 则执行 1 03 , 如否时, 则执行 1 04 ;  1 02, judging whether the upper-layer device of the main operator is working normally; if the judgment result is yes, executing 1 03, if not, executing 1 04;
1 03 , 通过所述主用运营商边缘上层设备与运营商边缘下层设备建立的组 播路径将组播数据转发给所述运营商边缘下层设备;  The multicast data is forwarded to the carrier edge lower layer device by using the multicast path established by the active carrier edge upper layer device and the carrier edge lower layer device;
1 04 , 通过所述备用运营商边缘上层设备与所述运营商边缘下层设备建立 的组播路径将组播数据转发给所述运营商边缘下层设备。  The multicast data is forwarded to the carrier edge lower layer device by using the multicast path established by the standby carrier edge upper layer device and the carrier edge lower layer device.
本发明实施例提供的可靠组播的方法, 通过组播侦听协议, 建立运营商 边缘上层设备与运营商边缘下层设备之间的备用组播路径, 实现对运营商边 缘上层设备的保护, 提高组播业务的可靠性。  The method for the reliable multicast provided by the embodiment of the present invention establishes a backup multicast path between the carrier edge upper layer device and the carrier edge lower layer device through the multicast listening protocol, thereby implementing protection for the carrier edge upper layer device and improving The reliability of the multicast service.
参见图 3 , 为本发明实提供的可靠组播方法的第二实施例的流程示意图。 该方法应用于包括至少一台 UPE和至少两台 SPE的网络中, 每一台 SPE与该 UPE相连, 该方法包括:  Referring to FIG. 3, it is a schematic flowchart of a second embodiment of a reliable multicast method provided by the present invention. The method is applied to a network including at least one UPE and at least two SPEs, and each SPE is connected to the UPE, and the method includes:
200 , 每一台 SPE广播查询报文, 查询其下连的哪些 UPE可以接收组播业 务。  200. Each SPE broadcasts a query message, and queries which UPEs connected to it can receive the multicast service.
201 , UPE接收每一台 SPE广播的查询报文, 并根据所述查询报文回复应 答报文。 具体地, UPE 根据收到的所述查询报文, 记录发送所述查询报文的 SPE发送端口; 并通过所述 SPE发送端口发送应答 >¾文至对应 SPE。 需要说明的是, 若 UPE收到多条查询报文, 则记录发送所述查询报文的 每一台 SPE发送端口; 且所述多台 SPE发送端口对所述 UPE具有相同的优先 级; UPE通过对应的 SPE发送端口回复应答 >¾文至对应 SPE。 201. The UPE receives the query message broadcasted by each SPE, and responds to the response message according to the query message. Specifically, the UPE records the SPE sending port that sends the query message according to the received query message, and sends a response>3⁄4 file to the corresponding SPE through the SPE sending port. It should be noted that, if the UPE receives multiple query messages, it records each SPE sending port that sends the query message; and the multiple SPE sending ports have the same priority for the UPE; UPE The response is replied to the corresponding SPE through the corresponding SPE sending port.
202,收到应答报文的 SPE与对应发送应答报文的 UPE之间建立组播路径。 收到所述应答报文的 SPE记录与发送该应答报文的 UPE之间的组播路径。  202. A multicast path is established between the SPE that receives the response packet and the UPE that sends the response packet. The multicast path between the SPE record that received the response message and the UPE that sent the response message.
需要说明的是, 收到所述 UPE应答报文的多台 SPE, 均记录与该 UPE之间 的组播路径, 且所述各台 SPE和 UPE之间的组播路径是相互独立的。  It should be noted that the multiple SPEs that receive the UPE response message record the multicast path with the UPE, and the multicast paths between the SPEs and the UPEs are independent of each other.
203, 对与同一台 UPE建立组播路径的所有 SPE进行主备配置。 具体地, 在本发明实施例中可以按照虚拟路由冗余协议(Virtual Router Redundancy Protocol, VRRP ),对与同一台 UPE建立组播路径的 SPE进行主备配置, 其中, 一台 SPE被配置为主用 SPE, 其余 SPE均被配置为备用 SPE。  203. Perform active/standby configuration on all SPEs that establish a multicast path with the same UPE. Specifically, in the embodiment of the present invention, the SPE of the multicast path established with the same UPE may be configured in active/standby mode according to the Virtual Router Redundancy Protocol (VRRP), where one SPE is configured as the primary With SPE, the remaining SPEs are configured as standby SPEs.
204, 判断主用 SPE工作是否正常; 若判断为是, 则进入 206; 若判断为 否, 则转至 205;  204, determining whether the active SPE is working normally; if the determination is yes, then enter 206; if the determination is no, then go to 205;
205, 当 204判断主用 SPE工作故障时, SPE按照 VRRP进行主备切换, 切 换至备用 SPE, 备用 SPE接替主用 SPE工作。  205. When the 204 determines that the active SPE is working, the SPE performs the active/standby switchover according to the VRRP, and switches to the standby SPE, and the standby SPE takes over the active SPE.
206, 通过所述主用 SPE与 UPE间建立的组播路径将组播数据转发给所述 UPE。 具体地, SPE在收到需转发的组播数据后, 判断自身对于接收该组播数 据的 UPE是主用 SPE, 还是备用 SPE;  206. The multicast data is forwarded to the UPE by using a multicast path established between the active SPE and the UPE. Specifically, after receiving the multicast data to be forwarded, the SPE determines whether the UPE that receives the multicast data is the primary SPE or the standby SPE;
若判定自身为所述 UPE的主用 SPE,则通过自身与所述 UPE间建立的组播 路径, 将组播数据发送至所述 UPE; 若判定自身为所述 UPE的备用 SPE, 则丟 弃所述组播数据。  If it is determined that it is the primary SPE of the UPE, the multicast data is sent to the UPE through the multicast path established between itself and the UPE; if it is determined to be the standby SPE of the UPE, it is discarded. The multicast data.
207, UPE接收由 SPE发送的组播数据。 需要说明的是, UPE并不区分主 备用 SPE, 只要在步骤 201中有记录的 SPE发送端口所发送的数据, UPE均正 常接收。  207. The UPE receives the multicast data sent by the SPE. It should be noted that the UPE does not distinguish the primary and secondary SPEs. As long as the data sent by the SPE sending port is recorded in step 201, the UPE receives the data normally.
本发明实施例提供的可靠组播的方法, 通过组播侦听协议实现运营商边 缘上层设备与运营商边缘下层设备之间的组播路径的备份; 同时实现对运营 商边缘上层设备的保护; 且不会增加运营商边缘下层设备接收的数据冗余, 有效提高了组播网络的可靠性。 The method for the reliable multicast provided by the embodiment of the present invention implements the backup of the multicast path between the carrier edge upper layer device and the carrier edge lower layer device through the multicast listening protocol; The protection of the upper-layer device at the edge of the commerce; the data redundancy received by the lower-layer device at the carrier edge is not increased, and the reliability of the multicast network is effectively improved.
本发明提供的可靠组播方法第三实施例的流程, 下面结合图 6说明本发 明第三实施例提供的可靠组播方法在可靠组播的系统中的应用情况:  The following describes the flow of the reliable multicast method provided by the third embodiment of the present invention in a reliable multicast system:
在网络初始建立阶段, SPE60 SPE602、 SPE603构成全连接的 VPLS , 为建立与 UPE608、 UPE609之间的组播路径, SPE60 SPE602、 SPE603分别广 播查询报文。  During the initial establishment of the network, SPE60 SPE602 and SPE603 form a fully-connected VPLS. In order to establish a multicast path with UPE608 and UPE609, SPE60 SPE602 and SPE603 broadcast queries.
在 UPE608 , UPE609收到 SPE602 , SPE603所广播的查询报文后, 记录发 送所述查询 4艮文的 SPE602、 SPE603的发送端口,并通过该发送端口向 SPE602、 SPE603回复应答报文。  After receiving the query message broadcasted by the SPE 602 and the SPE 603, the UPE 609 records the sending port of the SPE 602 and the SPE 603 that sent the Query message, and sends a response packet to the SPE 602 and the SPE 603 through the sending port.
SPE602、 SPE603在收到 UPE608、 UPE609的应答报文后, 根据该报文记录 组播路径; 需要说明的是, 因为 SPE602、 SPE603 均能收到 UPE608 , UPE609 回复的应答 4艮文, 所以 SPE602、 SPE603都会同时与 UPE608和 UPE609建立组 播路径。  After receiving the response packet from the UPE 608 and the UPE 609, the SPE 602 and the SPE 603 record the multicast path according to the packet. It should be noted that, because both the SPE 602 and the SPE 603 can receive the reply of the UPE 608 and the UPE 609, the SPE 602, SPE603 will establish multicast paths with both UPE608 and UPE609.
在 SPE602、 SPE603与 UPE608建立了组播路径后, 对 SPE602、 SPE603按 照 VRRP进行主备配置; 假定 SPE602为 UPE608的主用 SPE, SPE603为 UPE608 的备用 SPE , 则 SPE602与 UPE608之间的组播路径则为主用路径 604; SPE603 与 UPE 608之间的组播路径则为备用路径 606。  After the SPE 602, SPE 603, and UPE 608 have established the multicast path, the SPE 602 and the SPE 603 are configured as the active and standby SPE 602. The SPE 602 is the primary SPE of the UPE 608 and the SPE 603 is the standby SPE of the UPE 608. The multicast path between the SPE 602 and the UPE 608 . Then, the multicast path between the SPE 603 and the UPE 608 is the standby path 606.
在 SPE602、 SPE603与 UPE609建立了组播路径后, SPE602、 SPE603对于 UPE609再次按照 VRRP进行主备配置, 4叚定 SPE603为 UPE609的主用 SPE , SPE602为 UPE608的备用 SPE , 则 SPE603与 UPE609之间的组播路径则为主用 路径 605; SPE602与 UPE609之间的组播路径则为备用路径 607。  After the SPE 602, the SPE 603, and the UPE 609 are connected to the UPE 609, the SPE 602 and the SPE 603 are configured as the primary SPE for the UPE 609. The SPE 603 is the primary SPE of the UPE 609 and the SPE 602 is the standby SPE of the UPE 608. The multicast path is the primary path 605; the multicast path between the SPE 602 and the UPE 609 is the alternate path 607.
需要说明的是,此例旨在说明 SPE之间的主备配置关系只是针对某一 UPE 而言, 一台 SPE可以同时属于多台 UPE的配置实例, 且在作为某一 UPE的主 用 SPE或者备用 SPE时, 并不影响所述 SPE成为其它 UPE的主用 SPE或者备 用 SPE; 此例仅为本发明的一种具体连接关系, 并不能以此限定本发明。 经过 上述过程, UPE608和 UPE609都具有了两条与 SPE连接的组播路径, SPE602 与 SPE603之间也实现了相互备份。 It should be noted that this example is intended to illustrate that the active/standby configuration relationship between SPEs is only for a certain UPE. One SPE can belong to multiple UPE configuration instances at the same time, and is used as the primary SPE of a UPE. The standby SPE does not affect the SPE or the standby SPE of the other UPEs. This example is only a specific connection relationship of the present invention, and the present invention is not limited thereto. After In the above process, UPE608 and UPE609 both have two multicast paths connected to the SPE, and SPE602 and SPE603 also implement mutual backup.
在组播源 600需要将一组组播数据通过 UPE608发送给 CE610时, SPE601、 SPE602、 SPE603收到组播源 600发送的组播数据, 在 SPE602正常工作的情况 下, 因为 SPE603为 UPE608的备用 SPE, 选择丟弃所述组播数据, 所以备用路 径 606上没有组播数据传播; 只有 SPE602通过主用路径 604向 UPE608转发 所述组播数据, UPE608收到所述组播数据后, 再向 CE610转发。  When the multicast source 600 needs to send a set of multicast data to the CE 610 through the UPE 608, the SPE 601, the SPE 602, and the SPE 603 receive the multicast data sent by the multicast source 600. When the SPE 602 works normally, the SPE 603 is the backup of the UPE 608. The SPE selects to discard the multicast data, so there is no multicast data transmission on the alternate path 606. Only the SPE 602 forwards the multicast data to the UPE 608 through the primary path 604. After receiving the multicast data, the UPE 608 sends the multicast data to the SPE 602. CE610 forwarded.
在组播源 600需要将一组组播数据通过 UPE609发送给 CE611 , 且 SPE603 故障时: SPE601、 SPE602、 SPE603收到组播源 600发送的组播数据,在 SPE603 因为故障不能通过主用路径 605正常转发组播数据的情况下, 因为 SPE602为 UPE609的备用 SPE,此时 SPE602将接替 SPE603成为 UPE609的主用 SPE, SPE602 将通过备用路径 607向 UPE609转发组播数据, UPE609收到所述组播数据后, 再向 CE611转发。  When the multicast source 600 needs to send a set of multicast data to the CE 611 through the UPE 609, and the SPE 603 fails: SPE 601, SPE 602, and SPE 603 receive the multicast data sent by the multicast source 600, and the SPE 603 cannot pass the primary path 605 because of the fault. If the SPE 602 is the standby SPE of the UPE 609, the SPE 602 will replace the SPE 603 as the primary SPE of the UPE 609, and the SPE 602 will forward the multicast data to the UPE 609 through the alternate path 607. The UPE 609 receives the multicast. After the data, it is forwarded to CE611.
本发明实施例提供的可靠组播的方法, 通过 SPE之间的相互备份, 及备 用路径的建立, 保证 UPE在主用 SPE故障的情况下仍然收到组播数据, 提高 组播网络的可靠性和安全性。  The method for the reliable multicast provided by the embodiment of the present invention ensures that the UPE still receives the multicast data in the case of the failure of the primary SPE, and improves the reliability of the multicast network, by the mutual backup between the SPEs and the establishment of the standby path. And security.
参见图 4 , 为本发明实施例提供的运营商边缘上层设备的结构示意图。 该运营商边缘上层设备具体包括:  FIG. 4 is a schematic structural diagram of an operator edge upper layer device according to an embodiment of the present invention. The carrier's edge upper device specifically includes:
路径维护模块 30, 根据组播侦听协议, 建立并维护与 UPE之间的组播路 径;  The path maintenance module 30 establishes and maintains a multicast path with the UPE according to the multicast listening protocol.
主备配置模块 31 , 用于对自身所在设备进行主备配置;  The active/standby configuration module 31 is configured to perform active/standby configuration on the device where the device resides.
数据处理模块 32 ,用于在所述主备配置模块 31将自身所在设备配置为主 用设备时, 将接收到的组播数据发送至所述 UPE; 在主备配置模块 31将自身 所在设备配置为备用设备时, 丟弃该组播数据。  The data processing module 32 is configured to: when the active/standby configuration module 31 configures the device in which the device is configured as the master device, the received multicast data is sent to the UPE; When it is a standby device, the multicast data is discarded.
其中, 路径维护模块 30具体包括:  The path maintenance module 30 specifically includes:
报文收发单元 300,用于广播查询报文和接收 UPE回复所述查询报文的应 答报文; The packet sending and receiving unit 300 is configured to broadcast the query message and receive the UPE to reply to the query message. Answer message
路径维护单元 301 ,用于根据所述报文收发单元 300收到的应答报文建立 并维护所述 SPE与发送该应答报文的 UPE之间的组播路径。 对于某台 UPE回 复的应答报文, 若报文收发单元 300是第一次收到, 则路径维护单元 301根 据所述应答报文的传递路径, 建立所述 SPE与所述 UPE之间的组播路径; 若 此前已经收到过所述 UPE回复的应答报文, 则路径维护单元 301只核对之前 建立的组播路径是否有变更, 维护该组播路径; 若之前已建立组播路径的 UPE 回复查询报文超时, 则路径维护单元 301将删除之前 SPE与所述 UPE之间的 组播路径。  The path maintenance unit 301 is configured to establish and maintain a multicast path between the SPE and the UPE that sends the response packet according to the response packet received by the packet sending and receiving unit 300. For a reply message of a UPE reply, if the packet sending and receiving unit 300 is received for the first time, the path maintenance unit 301 establishes a group between the SPE and the UPE according to the transmission path of the response message. If the response message of the UPE reply has been received before, the path maintenance unit 301 checks whether the previously established multicast path is changed, and maintains the multicast path; if the UPE of the multicast path has been previously established If the reply message expires, the path maintenance unit 301 deletes the multicast path between the previous SPE and the UPE.
主备配置模块 31具体包括:  The active/standby configuration module 31 specifically includes:
主备配置单元 31 0 , 用于按照 VRRP对所述设备进行主备配置。  The active/standby configuration unit 31 0 is configured to perform active/standby configuration on the device according to VRRP.
需要说明的是,每台 SPE都可以与多台 UPE建立组播路径,所述按照 VRRP 进行主备配置的多台 SPE之间的主备关系只是针对它们共同连接的 UPE ,对于 其它的 UPE , 所述主备配置并不生效; 例如: SPE1作为 UPE 1的主用 SPE , SPE2 作为所述 UPE1的备用 SPE , 只对 UPE1有效; 对于 UPE2 , SPE2是所述 UPE2的 主用 SPE ,而 SPE1为所述 UPE2的备用 SPE;以上仅为本发明的一种具体情况, 旨在说明 SPE相对于某台 UPE时, 不管所述 SPE作为所述 UPE的主用 SPE还 是备用 SPE , 都不会影响所述 SPE作为其它 UPE的主用 SPE或者备用 SPE; 主备切换单元 31 1 , 用于检测所述 SPE工作状态, 若主备切换单元 31 1检 测到所述 SPE工作故障,并且该 SPE被所述主备配置单元 31 0配置为主用 SPE , 则主备切换单元 31 1对所述 SPE进行主备切换,将该主用 SPE切换为备用 SPE。  It should be noted that each SPE can establish a multicast path with multiple UPEs. The active/standby relationship between multiple SPEs configured for active/standby configuration based on VRRP is only for the UPEs they are connected to. For other UPEs, The active/standby configuration does not take effect. For example, SPE1 is the primary SPE of UPE 1, and SPE2 is the standby SPE of the UPE1. It is valid only for UPE1. For UPE2, SPE2 is the primary SPE of the UPE2, and SPE1 is the primary SPE. The standby SPE of the UPE2; the above is only a specific case of the present invention, and is intended to indicate that the SPE does not affect the SPE as the primary SPE or the standby SPE of the UPE regardless of the APE. The SPE is used as the primary SPE or the standby SPE of the other UPEs; the active/standby switching unit 31 1 is configured to detect the working status of the SPE, and if the active/standby switching unit 31 1 detects the SPE working fault, and the SPE is The active/standby configuration unit 31 0 is configured as the primary SPE, and the active/standby switching unit 31 1 performs the active/standby switchover on the SPE, and switches the primary SPE to the standby SPE.
数据处理模块 32包括:  The data processing module 32 includes:
状态判定单元 320 , 用于判断主备配置模块 31将所述 SPE配置为主用设 备还是备用设备。对于多台与所述 SPE有组播路径的 UPE , 所述 SPE分别作为 各台 UPE的主用 SPE还是备用 SPE ,以供数据处理单元 321对组播数据做出相 应的处理; 数据处理单元 321 ,用于根据状态判定单元 320的判断结果选择丟弃或者 转发组播数据; 具体为, 数据处理单元 321 在收到需要转发的组播数据后, 若状态判定单元 320判定该 SPE为主用设备, 则根据路径维护模块 30维护的 组播路径, 将组播数据发送至所述 UPE; 若状态判定单元 320判定该 SPE为备 用设备, 则丟弃所述组播数据。 The status determining unit 320 is configured to determine whether the active/standby configuration module 31 configures the SPE as a primary device or a standby device. For a plurality of UPEs having a multicast path with the SPE, the SPEs are used as the primary SPE or the standby SPE of each UPE, respectively, for the data processing unit 321 to perform corresponding processing on the multicast data; The data processing unit 321 is configured to select to discard or forward the multicast data according to the determination result of the state determining unit 320. Specifically, after the data processing unit 321 receives the multicast data that needs to be forwarded, the state determining unit 320 determines the SPE. The master device sends multicast data to the UPE according to the multicast path maintained by the path maintenance module 30. If the state determining unit 320 determines that the SPE is a standby device, the multicast data is discarded.
本发明实施例提供的运营商边缘上层设备,由多台上述 SPE与同一台 UPE 连接, 建立 SPE与 UPE的备用路径, 提高组播的安全性和可靠性。  In the carrier edge upper layer device provided by the embodiment of the present invention, multiple SPEs are connected to the same UPE to establish an alternate path between the SPE and the UPE, thereby improving multicast security and reliability.
参见图 5 , 为本发明提供的可靠组播系统的第一实施例的结构示意图。 如图 5 所示, 本发明实施例提供的可靠组播系统包括至少一台运营商边 缘下层设备 ( UPE ) 52和至少两台运营商边缘上层设备 ( SPE ) 50、 51 , 所述 至少两台 SPE包括一台主用 SPE50和至少一台备用 SPE51 , 每一台 SPE50、 51 用于与至少一台 UPE52 之间根据组播侦听协议建立独立的组播路径, 主用 SPE50用于在工作正常时,通过自身与 UPE 52建立的组播路径将接收到的组播 数据转发给所 UPE52 ,备用 SPE51用于在主用 SPE50工作异常时, 通过自身与 UPE52建立的组播路径将该组播数据转发给 UPE52。 其中, 每一台 SPE50、 51 进一步包括:  Referring to FIG. 5, it is a schematic structural diagram of a first embodiment of a reliable multicast system provided by the present invention. As shown in FIG. 5, the reliable multicast system provided by the embodiment of the present invention includes at least one carrier edge lower layer device (UPE) 52 and at least two carrier edge upper layer devices (SPEs) 50, 51, at least two The SPE includes a primary SPE 50 and at least one standby SPE 51. Each SPE 50 and 51 is configured to establish an independent multicast path with at least one UPE 52 according to the multicast listening protocol, and the primary SPE 50 is used to work normally. The multicast data is forwarded to the UPE 52 by the multicast path established by the user and the UPE 52. The standby SPE 51 is configured to use the multicast path established by the self and the UPE 52 when the active SPE 50 is abnormal. Forward to UPE52. Each SPE 50, 51 further includes:
路径维护模块, 用于根据组播侦听协议, 建立并维护与运营商边缘下层 设备 52之间的组播路径;  a path maintenance module, configured to establish and maintain a multicast path with the carrier edge lower layer device 52 according to the multicast listening protocol;
主备配置模块, 用于对自身所在 SPE进行主备配置;  An active/standby configuration module is used to perform active/standby configuration on the SPE.
数据处理模块, 用于在主备配置模块将自身所在 SPE配置为主用设备时, 将接收到的组播数据发送至 UPE52 ;在主备配置模块将自身所在 SPE配置为备 用设备时, 丟弃该组播数据。  The data processing module is configured to send the received multicast data to the UPE52 when the active/standby configuration module configures the SPE as the primary device, and discards the SPE configured as the standby device when the active/standby configuration module is configured as the standby device. The multicast data.
SPE50、 51按照 VRRP进行主备配置, 并独立维护自身与 UPE52之间的组 播路径;  The SPE 50 and 51 perform the active/standby configuration according to VRRP and independently maintain the multicast path between the SPE 50 and the UPE 52.
在主用 SPE50故障时, 备用 SPE51按照 VRRP通过自身与 UPE52之间的组 播路径, 继续发送组播数据; UPE52记录所有主用 SPE50和备用 SPE51的发送端口;在运营商边缘上层 设备主备切换后, 继续从备用 SPE51发送端口接收组播数据。 When the primary SPE 50 fails, the standby SPE 51 continues to send multicast data according to the multicast path between itself and the UPE 52 according to the VRRP. The UPE52 records the sending ports of all the primary SPEs 50 and the standby SPEs 51. After the active/standby switchover of the upper-layer devices at the edge of the carrier, the multicast forwarding port continues to receive multicast data from the standby SPE51.
本发明实施例提供的可靠组播系统, 在主用 SPE故障时, 备用 SPE可以 接替主用 SPE工作, 继续向 UPE发送组播数据, 保证组播数据的正常转发。  In the reliable multicast system provided by the embodiment of the present invention, when the primary SPE is faulty, the standby SPE can take over the active SPE and continue to send multicast data to the UPE to ensure normal forwarding of the multicast data.
参见图 6 , 为本发明提供的可靠组播系统的第二实施例的结构示意图。 运营商边缘上层设备 601 ( SPE601 )、运营商边缘上层设备 602 ( SPE602 )、 运营商边缘上层设备 603 ( SPE603 )在网络初始建立阶段,构成全连接的 VPLS , 且分别广播查询报文, 以建立与运营商边缘下层设备 608 ( UPE608 )、 运营商 边缘下层设备 609 ( UPE609 )之间的组播路径。  Referring to FIG. 6, a schematic structural diagram of a second embodiment of a reliable multicast system provided by the present invention is shown. The carrier edge upper layer device 601 (SPE601), the carrier edge upper layer device 602 (SPE602), and the carrier edge upper layer device 603 (SPE603) form a fully connected VPLS in the initial establishment phase of the network, and respectively broadcast query messages to establish A multicast path between the carrier edge lower layer device 608 (UPE 608) and the carrier edge lower layer device 609 (UPE 609).
UPE608 , UPE609收到 SPE602所广播的查询 文后,按照所述查询 文的 相反路径通过 SPE602的发送端口分别向 SPE602回复应答报文;同理,UPE608、 UPE609收到 SPE603所广播的查询报文后,按照所述查询报文的相反路径通过 SPE603的发送端口分别向 SPE603回复应答报文。  After receiving the query message broadcasted by the SPE 602, the UPE 609 sends a response message to the SPE 602 through the sending port of the SPE 602 according to the opposite path of the query message. Similarly, the UPE 608 and the UPE 609 receive the query message broadcast by the SPE 603. The response packet is sent to the SPE 603 through the sending port of the SPE 603 according to the opposite path of the queried message.
SPE602、 SPE603根据收到的 UPE608、 UPE 609应答艮文, 建立并记录组播 路径; 需要说明的是, 因为 SPE602、 SPE603均能收到 UPE608 , UPE609回复 的应答 4艮文, 所以 SPE602、 SPE603都会同时与 UPE608和 UPE609建立组播路 径。  SPE 602 and SPE 603 establish and record the multicast path according to the received UPE 608 and UPE 609 responses. It should be noted that both SPE 602 and SPE 603 can receive the response of UPE 608 and UPE 609, so SPE 602 and SPE 603 will both respond. At the same time, a multicast path is established with UPE608 and UPE609.
SPE602、 SPE603与 UPE608完成了组播路径的建立后, 按照 VRRP进行主 备配置; 假定 SPE602为 UPE608的主用 SPE, SPE603为 UPE608的备用 SPE, 则 SPE602与 UPE608之间的组播路径则为主用路径 604; SPE603与 UPE608之 间的组播路径则为备用路径 606。  After SPE602, SPE603, and UPE608 complete the establishment of the multicast path, the primary and backup configurations are performed according to VRRP. Assume that SPE602 is the primary SPE of UPE608 and SPE603 is the standby SPE of UPE608. The multicast path between SPE602 and UPE608 is the primary. With the path 604; the multicast path between the SPE 603 and the UPE 608 is the alternate path 606.
SPE602、SPE603与 UPE609建立了组播路径后, SPE602、SPE603对于 UPE609 再次按照 VRRP进行主备配置, 假定 SPE603为 UPE609的主用 SPE, SPE602为 UPE608的备用 SPE, 则 SPE603与 UPE609之间的组播路径则为主用路径 605; SPE602与 UPE609之间的组播路径则为备用路径 607。  After SPE602, SPE603, and UPE609 establish a multicast path, SPE 602 and SPE 603 perform the primary and backup configurations for the UPE VR. The SPE 603 is the primary SPE of the UPE 609 and the SPE 602 is the standby SPE of the UPE 608. The multicast between the SPE 603 and the UPE 609 . The path is the primary path 605; the multicast path between the SPE 602 and the UPE 609 is the alternate path 607.
需要说明的是,此例旨在说明 SPE之间的主备配置关系只是针对某一 UPE 而言, 一台 SPE可以同时属于多台 UPE的配置实例, 且在作为某一 UPE的主 用 SPE或者备用 SPE时, 并不影响所述 SPE成为其它 UPE的主用 SPE或者备 用 SPE; 此例仅为本发明的一种具体连接关系, 并不能以此限定本发明。 经过 上述过程, UPE608和 UPE609都具有了两条与 SPE连接的组播路径, SPE602 与 SPE603之间也实现了相互备份。 It should be noted that this example is intended to illustrate that the active/standby configuration relationship between SPEs is only for a certain UPE. In this case, an SPE can belong to a configuration instance of multiple UPEs at the same time, and it does not affect the SPE or the standby SPE of the other UPEs when it is used as the primary SPE or the standby SPE of a certain UPE. It is only one specific connection relationship of the present invention, and the present invention is not limited thereto. After the above process, UPE608 and UPE609 both have two multicast paths connected to the SPE, and the SPE602 and SPE603 also implement mutual backup.
SPE60 SPE602 , SPE603收到组播源 600发送给 CE61 0的组播数据后, 在 SPE602正常工作的情况下, 因为 SPE603为 UPE608的备用 SPE , 选择丟弃 所述组播数据, 所以备用路径 606上没有组播数据传播; 只有 SPE602通过主 用路径 604向 UPE608转发所述组播数据, UPE608收到所述组播数据后, 再向 CE61 0转发。  SPE60 SPE602, SPE603 receives the multicast data sent by the multicast source 600 to the CE61 0. After the SPE 602 works normally, the SPE 603 is the standby SPE of the UPE 608 and chooses to discard the multicast data. No multicast data is transmitted; only the SPE 602 forwards the multicast data to the UPE 608 through the primary path 604. After receiving the multicast data, the UPE 608 forwards the data to the CE 61 0.
当组播源 600将要发送给 CE61 1 的组播数据下发给 SPE601、 SPE602、 SPE603时, 而 SPE603出现故障, 在 SPE603因为故障不能通过主用路径 605 正常转发组播数据的情况下, 因为 SPE602为 UPE609的备用 SPE ,此时 SPE602 将接替 SPE603成为 UPE609的主用 SPE , SPE602将通过备用路径 607向 UPE609 转发组播数据, UPE609收到所述组播数据后, 再向 CE61 1转发。  When the multicast source 600 sends the multicast data to the SPE 601, the SPE 602, and the SPE 603, the SPE 603 fails. The SPE 603 fails to forward the multicast data through the primary path 605 because the fault occurs. As the standby SPE of the UPE 609, the SPE 602 will replace the SPE 603 as the primary SPE of the UPE 609. The SPE 602 will forward the multicast data to the UPE 609 through the alternate path 607. After receiving the multicast data, the UPE 609 forwards the data to the CE 61 1 .
本发明实施例提供的可靠组播的方法, 通过 SPE之间的相互备份, 及备 用路径的建立, 保证 UPE在主用 SPE故障的情况下仍然收到组播数据, 提高 组播网络的可靠性和安全性。  The method for the reliable multicast provided by the embodiment of the present invention ensures that the UPE still receives the multicast data in the case of the failure of the primary SPE, and improves the reliability of the multicast network, by the mutual backup between the SPEs and the establishment of the standby path. And security.
需要特别说明的是, 本发明实施例中, 可结合虚拟专用网流量控制技术 ( VPLS over TE ), 将 SPE与 UPE之间的组播路径建立在隧道 ( Tunne l )上, 利用隧道保护技术(Tunne l Pro tec t )进一步对组播路径进行保护。  It should be noted that, in the embodiment of the present invention, the virtual private network traffic control technology (VPLS over TE) may be combined, and the multicast path between the SPE and the UPE is established on the tunnel (Tunnel), and the tunnel protection technology is utilized. Tunne l Pro tec t) further protects the multicast path.
本发明实施例通过 SPE与 UPE之间的组播报文, 建立 SPE与 UPE之间的 备份组播路径; 通过 SPE之间的主备配置, 实现 SPE之间的相互备份, 提高 组播网络的可靠性。  In the embodiment of the present invention, a backup multicast path between the SPE and the UPE is established by using the multicast packet between the SPE and the UPE. The primary and backup configurations between the SPEs are used to implement mutual backup between the SPEs and improve the multicast network. reliability.
通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本发 明可借助软件加必需的硬件平台的方式来实现, 当然也可以全部通过硬件来 实施。 基于这样的理解, 本发明的技术方案对背景技术做出贡献的全部或者 部分可以以软件产品的形式体现出来, 该计算机软件产品可以存储在存储介 质中,如 R0M/RAM、磁碟、光盘等, 包括若干指令用以使得一台计算机设备(可 以是个人计算机, 服务器, 或者网络设备等)执行本发明各个实施例或者实 施例的某些部分所述的方法。 Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary hardware platform, and of course, all can be implemented by hardware. Implementation. Based on such understanding, all or part of the technical solution of the present invention contributing to the background art may be embodied in the form of a software product, which may be stored in a storage medium such as a ROM/RAM, a magnetic disk, an optical disk, or the like. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention or portions of the embodiments.
以上所揭露的仅为本发明几种较佳实施例而已, 当然不能以此来限定本 发明之权利范围, 因此依本发明权利要求所作的等同变化, 仍属本发明所涵 盖的范围。  The above is only the preferred embodiments of the present invention, and the scope of the present invention is not limited thereto, and the equivalent changes made by the claims of the present invention are still within the scope of the present invention.

Claims

权利 要求 书 Claim
1、 一种可靠组播的方法, 应用于包括至少一台运营商边缘下层设备和至 少两台运营商边缘上层设备的网络中, 其特征在于, 该方法包括: A method for reliable multicast, which is applied to a network including at least one carrier edge lower layer device and at least two carrier edge upper layer devices, wherein the method includes:
根据组播侦听协议, 每一台所述运营商边缘上层设备与所述至少一台运 营商边缘下层设备之间建立独立的组播路径;  According to the multicast listening protocol, an independent multicast path is established between each of the carrier edge upper layer devices and the at least one operator edge lower layer device;
对与同一台所述运营商边缘下层设备建立组播路径的所有所述运营商边 缘上层设备进行主备配置;  Performing active/standby configuration on all the carrier edge upper-layer devices that establish a multicast path with the same carrier edge lower-layer device;
判断主用运营商边缘上层设备工作是否正常;  Determine whether the upper-layer device at the edge of the active carrier is working properly;
当主用运营商边缘上层设备工作正常时, 通过所述主用运营商边缘上层 设备与运营商边缘下层设备建立的组播路径将组播数据转发给所述运营商边 缘下层设备;  When the active carrier edge upper layer device is working normally, the multicast data is forwarded to the carrier edge lower layer device by using the multicast path established by the active carrier edge upper layer device and the carrier edge lower layer device;
当所述主用运营商边缘上层设备工作异常时, 通过所述备用运营商边缘 上层设备与所述运营商边缘下层设备建立的组播路径将组播数据转发给所述 运营商边缘下层设备。  When the active carrier edge upper layer device works abnormally, the multicast data that is established by the backup carrier edge upper layer device and the carrier edge lower layer device forwards the multicast data to the carrier edge lower layer device.
2、 如权利要求 1所述可靠组播的方法, 其特征在于, 所述根据组播侦听 协议, 每一台所述运营商边缘上层设备与所述至少一台运营商边缘下层设备 之间建立独立的组播路径, 包括: The method of claim 1, wherein the method according to the multicast listening protocol is between each of the carrier edge upper layer devices and the at least one carrier edge lower layer device. Establish independent multicast paths, including:
所述运营商边缘下层设备接收来自每一台所述运营商边缘上层设备广播 的查询报文, 根据所述查询报文, 记录发送所述查询报文的所述运营商边缘 上层设备发送端口;  The carrier edge lower layer device receives an inquiry message broadcasted by each of the carrier edge upper layer devices, and records, according to the query message, the carrier edge upper layer device sending port that sends the query message;
所述运营商边缘下层设备通过所述运营商边缘上层设备发送端口发送应 答报文至对应的运营商边缘上层设备;  The carrier edge lower layer device sends a response message to the corresponding carrier edge upper layer device through the carrier edge upper layer device sending port;
收到所述应答报文的运营商边缘上层设备与发送该应答报文的运营商边 缘下层设备之间建立组播路径, 并记录与所述运营商边缘下层设备之间的组 播路径。  A multicast path is established between the carrier edge upper layer device that receives the response message and the carrier edge lower layer device that sends the response message, and records a multicast path with the carrier edge lower layer device.
3、 如权利要求 2所述可靠组播的方法, 其特征在于, 所述根据组播侦听 协议, 每一台所述运营商边缘上层设备与所述至少一台运营商边缘下层设备 之间建立独立的组播路径, 还包括: The method for reliable multicast according to claim 2, wherein: according to the multicast listening protocol, each of the operator edge upper layer devices and the at least one carrier edge lower layer device Establish independent multicast paths between each other, including:
若运营商边缘下层设备收到多条查询报文, 则记录发送所述查询报文的 每一台运营商边缘上层设备发送端口; 且所述多台运营商边缘上层设备发送 端口对所述运营商边缘下层设备具有相同的优先级;  If the carrier edge device receives the plurality of query messages, the carrier sends the port to the upper edge device of each carrier edge that sends the query message; and the multiple carrier edge upper device sends the port to the operation. Lower edge devices have the same priority;
运营商边缘下层设备按照收到的多条查询报文的相反路径, 通过对应的 运营商边缘上层设备发送端口回复应答报文至对应运营商边缘上层设备; 收到所述运营商边缘下层设备回复的应答 ·艮文的多台运营商边缘上层设 备分别与所述运营商边缘下层设备之间建立组播路径, 并记录与该运营商边 缘下层设备之间的组播路径。  The carrier edge device sends a port reply response packet to the corresponding carrier edge upper device through the corresponding carrier edge upper device according to the opposite path of the received multiple query packets. The carrier edge lower layer device response is received. The multi-carrier edge upper-layer device of the response 艮 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立 建立
4、 如权利要求 3所述可靠组播的方法, 其特征在于, 所述当主用运营商 边缘上层设备工作正常时, 通过所述主用运营商边缘上层设备与运营商边缘 下层设备建立的组播路径将组播数据转发给所述运营商边缘下层设备, 包括: 在运营商边缘上层设备收到需转发的组播数据后, 判断自己对于接收该 组播数据的运营商边缘下层设备是主用运营商边缘上层设备, 还是备用运营 商边缘上层设备; The method for the reliable multicast according to claim 3, wherein the group established by the upper-layer device of the active carrier and the lower-layer device of the carrier edge when the upper-layer device of the active carrier edge is working normally The broadcast path forwards the multicast data to the lower-layer device of the carrier edge, including: After receiving the multicast data to be forwarded, the upper-layer device at the edge of the carrier determines that it is the master of the carrier edge device that receives the multicast data. Use the carrier edge upper device or the standby carrier edge upper device;
若判定自身为所述运营商边缘下层设备的主用运营商边缘上层设备, 则 通过所述主用运营商边缘上层设备与运营商边缘下层设备建立的组播路径, 将组播数据发送至所述运营商边缘下层设备;  If it is determined that it is the active carrier edge upper layer device of the carrier edge lower layer device, the multicast data is sent to the multicast path through the multicast path established by the active carrier edge upper layer device and the carrier edge lower layer device. The carrier's edge lower device;
若判定自身为所述运营商边缘下层设备的备用运营商边缘上层设备, 则 丟弃所述组播数据。  If it is determined that it is the standby carrier edge upper layer device of the carrier edge lower layer device, the multicast data is discarded.
5、 如权利要求 4所述可靠组播的方法, 其特征在于, 所述当所述主用运 营商边缘上层设备工作异常时, 通过所述备用运营商边缘上层设备与所述运 营商边缘下层设备建立的组播路径将组播数据转发给所述运营商边缘下层设 备的, 包括: The method for reliable multicast according to claim 4, wherein when the upper-layer device of the active carrier edge is abnormal, the upper-layer device at the edge of the standby carrier and the lower edge of the carrier are The multicast path established by the device forwards the multicast data to the lower edge device of the carrier edge, including:
当所述主用运营商边缘上层设备工作异常时, 在所述备用运营商边缘上 层设备中重新选举一台作为新的主用运营商边缘上层设备, 通过所述新的主 用运营商边缘上层设备与所述运营商边缘下层设备建立的组播路径, 将组播 数据发送至所述运营商边缘下层设备。 When the upper-layer device at the edge of the active carrier is abnormal, one of the upper-layer devices at the edge of the standby carrier is re-elected as the upper-level device of the new active carrier, and the upper-layer device is passed through the edge of the new active carrier. Multicast path established between the device and the lower edge device of the carrier edge, multicast The data is sent to the carrier edge lower layer device.
6、 根据权利要求 1所述的所述可靠组播的方法, 其特征在于, 所述对与 同一台所述运营商边缘下层设备建立组播路径的所有所述运营商边缘上层设 备进行主备配置, 还包括: The method for the reliable multicast according to claim 1, wherein the master and the upper edge devices of all the operators that establish a multicast path with the same carrier edge lower layer device perform the primary and secondary devices. Configuration, also includes:
对与同一台所述运营商下层设备建立组播路径的所有所述运营商边缘 中, 除一台运营商边缘上层设备被配置为主用运营商边缘上层设备, 其余运 营商边缘上层设备均被配置为备用运营商边缘上层设备。  Among all the operators' edges that establish a multicast path with the same carrier's lower-layer devices, except for one carrier edge upper-layer device is configured as the primary carrier edge upper-layer device, and the remaining carrier edge upper-layer devices are all Configured as an alternate carrier edge upper device.
7、 一种组播网络的运营商边缘上层设备, 其特征在于, 包括: 路径维护模块, 用于根据组播侦听协议, 建立并维护与运营商边缘下层 设备之间的组播路径; A carrier edge upper layer device of a multicast network, comprising: a path maintenance module, configured to establish and maintain a multicast path with a carrier edge lower layer device according to a multicast listening protocol;
主备配置模块, 用于对所述运营商边缘上层设备进行主备配置; 数据处理模块, 用于在所述主备配置模块将所述运营商边缘上层设备配 置为主用设备时, 将接收到的组播数据发送至所述运营商边缘下层设备; 在 所述主备配置模块将所述运营商边缘上层设备配置为备用设备时, 丟弃所述 组播数据。  And an active/standby configuration module, configured to perform an active/standby configuration on the upper edge device of the carrier edge; and a data processing module, configured to receive, when the active/standby configuration module configures the upper edge device of the carrier edge as a primary device The multicast data is sent to the carrier edge lower layer device. When the active/standby configuration module configures the carrier edge upper layer device as a backup device, the multicast data is discarded.
8、 如权利要求 7所述组播网络的运营商边缘上层设备, 其特征在于, 所 述路径维护模块包括: 8. The carrier edge upper layer device of the multicast network according to claim 7, wherein the path maintenance module comprises:
报文收发单元, 用于广播查询报文和接收所述运营商边缘下层设备回复 所述查询报文的应答报文;  a packet sending and receiving unit, configured to broadcast a query message, and receive a response message from the lower edge device of the carrier to reply the query message;
路径维护单元, 用于根据所述报文收发单元收到的应答报文建立并维护 所述运营商边缘上层设备与发送该应答报文的运营商边缘下层设备之间的组 播路径。  The path maintenance unit is configured to establish and maintain a multicast path between the carrier edge upper layer device and the carrier edge lower layer device that sends the response message according to the response message received by the packet sending and receiving unit.
9、 如权利要求 7所述组播网络的运营商边缘上层设备, 其特征在于, 所 述主备配置模块包括: 9. The carrier edge upper layer device of the multicast network according to claim 7, wherein the active/standby configuration module comprises:
主备配置单元, 用于按照虚拟路由冗余协议对所述运营商边缘上层设备 进行主备配置; An active/standby configuration unit, configured to perform, on a carrier edge upper layer device according to a virtual routing redundancy protocol Perform the active and standby configurations.
主备切换单元, 用于检测所述运营商边缘上层设备工作状态; 若检测到 所述运营商边缘上层设备工作故障, 并且所述运营商边缘上层设备被所述主 备配置单元配置为主用运营商边缘上层设备, 则所述主备切换单元还用于对 所述运营商边缘上层设备进行主备切换, 将所述主用运营商边缘上层设备切 换为备用运营商边缘上层设备。  And an active/standby switching unit, configured to detect an operating state of the upper-layer device of the carrier edge; if the operation of the upper-layer device of the carrier edge is detected, and the device at the edge of the carrier is configured by the active/standby configuration unit The active/standby switchover unit is configured to perform active/standby switchover on the edge device of the carrier edge, and switch the upper edge device of the active carrier edge to the upper edge device of the standby carrier edge.
10、 如权利要求 7 所述组播网络的运营商边缘上层设备, 其特征在于, 所述数据处理模块包括: 10. The carrier edge upper layer device of the multicast network according to claim 7, wherein the data processing module comprises:
状态判定单元, 用于判断所述主备配置模块将所述运营商边缘上层设备 配置为主用设备还是备用设备;  a state determining unit, configured to determine, by the active/standby configuration module, whether the carrier edge upper layer device is configured as a primary device or a standby device;
数据处理单元, 用于根据所述状态判定单元的判断结果丟弃或者转发组 播数据;  a data processing unit, configured to discard or forward the multicast data according to the judgment result of the state determining unit;
若所述状态判定单元判定运营商边缘上层设备为主用设备, 则根据路径 维护模块维护的组播路径, 将组播数据发送至所述运营商边缘下层设备; 若 判定运营商边缘上层设备为备用设备, 则丟弃所述组播数据。  If the state determining unit determines that the carrier edge upper layer device is the master device, the multicast data is sent to the carrier edge lower layer device according to the multicast path maintained by the path maintenance module; The standby device discards the multicast data.
11、 一种可靠组播的网络系统, 其特征在于, 所述可靠组播的网络系统 包括: 11. A reliable multicast network system, wherein the reliable multicast network system comprises:
至少一台运营商边缘下层设备和至少两台运营商边缘上层设备, 所述至 少两台运营商边缘上层设备包括一台主用运营商边缘上层设备和至少一台备 用运营商边缘上层设备;  At least one carrier edge lower layer device and at least two carrier edge upper layer devices, the at least two carrier edge upper layer devices include one active carrier edge upper layer device and at least one standby carrier edge upper layer device;
每一台所述运营商边缘上层设备用于与所述至少一台运营商边缘下层设 备之间根据组播侦听协议建立独立的组播路径;  Each of the carrier edge upper layer devices is configured to establish an independent multicast path according to the multicast interception protocol with the at least one carrier edge lower layer device;
所述主用运营商边缘上层设备用于在工作正常时, 通过自身与所述运营 商边缘下层设备建立的组播路径将接收到的组播数据转发给所述运营商边缘 下层设备;  The active carrier edge upper layer device is configured to forward the received multicast data to the carrier edge lower layer device by using a multicast path established by the carrier and the carrier edge lower layer device.
所述备用运营商边缘上层设备用于在所述主用运营商边缘上层设备工作 异常时, 通过自身与所述运营商边缘下层设备建立的组播路径将所述组播数 据转发给所述运营商边缘下层设备。 The standby carrier edge upper-layer device is configured to: when the upper-layer device of the active carrier edge is abnormal, use the multicast path established by the carrier and the lower-layer device of the carrier edge to set the multicast number. It is forwarded to the lower edge device of the carrier.
12、 如权利要求 11所述的可靠组播的网络系统, 其特征在于, 每一台所 述运营商边缘上层设备为如权利要求 7至 10中任一项所述的运营商边缘上层 设备。 The reliable multicast network system according to claim 11, wherein each of the operator edge upper layer devices is the carrier edge upper layer device according to any one of claims 7 to 10.
PCT/CN2009/071467 2008-07-18 2009-04-24 Method of reliable multicast, superstratum provider apparatus and system WO2010006524A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008100295731A CN101321077B (en) 2008-07-18 2008-07-18 Reliable multicast method, provider edge upper layer device and system
CN200810029573.1 2008-07-18

Publications (1)

Publication Number Publication Date
WO2010006524A1 true WO2010006524A1 (en) 2010-01-21

Family

ID=40180930

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/071467 WO2010006524A1 (en) 2008-07-18 2009-04-24 Method of reliable multicast, superstratum provider apparatus and system

Country Status (2)

Country Link
CN (1) CN101321077B (en)
WO (1) WO2010006524A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321077B (en) * 2008-07-18 2011-02-02 华为技术有限公司 Reliable multicast method, provider edge upper layer device and system
CN101692654B (en) * 2009-10-22 2012-09-05 杭州华三通信技术有限公司 Method, system and equipment for HUB-Spoken networking
CN102437919B (en) * 2010-09-29 2015-05-27 中国电信股份有限公司 Access router and link reliability protection method
CN104104531B (en) * 2013-04-07 2018-04-17 中兴通讯股份有限公司 The method and device of L3VPN network sides route is set
CN103259721B (en) * 2013-04-16 2016-08-17 杭州华三通信技术有限公司 Message forwarding method in SPBM network and device
CN104410570B (en) * 2014-12-16 2017-09-08 北京东土科技股份有限公司 A kind of data transmission method and device based on VRRP
CN105049363B (en) * 2015-08-07 2018-11-30 海信集团有限公司 A kind of router multicast functionality detection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005394A (en) * 2007-01-19 2007-07-25 华为技术有限公司 Method and system for protecting multicast repeat path and service router
CN101192964A (en) * 2006-11-24 2008-06-04 中兴通讯股份有限公司 Master/slave switching system and method for multicast source
CN101321077A (en) * 2008-07-18 2008-12-10 华为技术有限公司 Reliable multicast method, provider edge upper layer device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100477635C (en) * 2005-09-08 2009-04-08 杭州华三通信技术有限公司 Transmission method and edge apparatus for multicast between fields
CN100417141C (en) * 2005-11-29 2008-09-03 华为技术有限公司 Group broadcasting business realizing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192964A (en) * 2006-11-24 2008-06-04 中兴通讯股份有限公司 Master/slave switching system and method for multicast source
CN101005394A (en) * 2007-01-19 2007-07-25 华为技术有限公司 Method and system for protecting multicast repeat path and service router
CN101321077A (en) * 2008-07-18 2008-12-10 华为技术有限公司 Reliable multicast method, provider edge upper layer device and system

Also Published As

Publication number Publication date
CN101321077B (en) 2011-02-02
CN101321077A (en) 2008-12-10

Similar Documents

Publication Publication Date Title
EP3367619B1 (en) Synchronizing multicast state between multi-homed routers in an ethernet virtual private network
EP3188409B1 (en) Oam mechanisms for evpn active-active services
US9059902B2 (en) Procedures, apparatuses, systems, and computer-readable media for operating primary and backup network elements
US20130272114A1 (en) Pseudo wire switching method and device
US7719959B2 (en) Achieving super-fast convergence of downstream multicast traffic when forwarding connectivity changes between access and distribution switches
WO2007140683A1 (en) Service protecting method, system and device based on connectionless
WO2007115493A1 (en) A method, device and system for achieving the switch in the dual-homed network based on the vpls
WO2021031648A1 (en) Evpn and vpls coexistence method, apparatus, and system
WO2012003743A1 (en) Method and apparatus for forwarding multicast traffic
WO2012075831A1 (en) Method and system for multicast protection
WO2012109941A1 (en) Redundancy backup method and system in trill network
WO2007012239A1 (en) A method for switching the serving services of virtual private lan and a system thereof
WO2010006524A1 (en) Method of reliable multicast, superstratum provider apparatus and system
WO2017028586A9 (en) Service message multicast method and device
WO2008119290A1 (en) Method of redundancy protection of multicast flow and device thereof
WO2011026437A1 (en) User side multicast service primary and standby protection system, method and route device
WO2012130034A1 (en) Vpls fast rerouting method and device
WO2008083590A1 (en) Method and apparatus of rapid convergence of point-to-point service
WO2007009347A1 (en) A method and apparatus for transmitting service stream on a virtual interchange system
WO2012106915A1 (en) Failure notification method, detection apparatus, forwarding apparatus, system and data structure
WO2009082905A1 (en) Method, system and switch device for dynamically establishing multicast virtual local area network
WO2012103758A1 (en) Method, system and device for processing layer-2 service in network
WO2012171378A1 (en) Method and router for preventing flow interruption caused by failover from vpls to l3
WO2012146097A1 (en) Vpls network and ethernet ring switching method and device
WO2022017432A1 (en) Multicast packet sending method, apparatus, and system

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

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

Country of ref document: EP

Kind code of ref document: A1