CN109150711B - Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service - Google Patents
Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service Download PDFInfo
- Publication number
- CN109150711B CN109150711B CN201710463121.3A CN201710463121A CN109150711B CN 109150711 B CN109150711 B CN 109150711B CN 201710463121 A CN201710463121 A CN 201710463121A CN 109150711 B CN109150711 B CN 109150711B
- Authority
- CN
- China
- Prior art keywords
- multicast
- group
- vpls
- fec
- multicast group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/66—Layer 2 routing, e.g. in Ethernet based MAN's
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method, a device and a storage medium for protecting and switching point-to-multipoint double-layer multicast service, wherein the method comprises the following steps: decomposing each point-to-multipoint two-layer multicast service into two virtual private local area networks (VPLS); creating a multicast group for the VPLS; forwarding the equivalent FEC for the multicast group in a correlation manner, and forming a multicast protection group by the correlated FEC; and carrying out protection switching on the transmission of the two-layer multicast service by using the multicast protection group. The invention solves the problems of low switching efficiency, influencing equipment switching capacity and the like when multicast members switch multicast traffic in the related technology, and achieves the effects of ensuring the switching time and improving the switching efficiency.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a protection switching method, an apparatus, and a storage medium for a point-to-multipoint two-layer multicast service.
Background
Packet Transport Network (PTN) is a Transport technology based on Packet switching and supporting multiple service bearers. In order to ensure the service reliability, it is necessary to support fast protection switching of various services, and the switching performance of the telecommunication network requires that the switching time is not more than 50 ms.
Point-to-MultiPoint (P2 MP for short) is a transmission technique in PTN networks for transmitting multicast traffic from a single sending device (multicast source) to multiple receiving devices (multicast receivers) in the network. In order to improve the utilization rate of network bandwidth and avoid congestion of a backbone network, it is necessary to avoid copying and distributing services on the backbone network as much as possible, and to copy and distribute service messages on network branches or end points as much as possible. Common P2MP service implementations include Multicast Tree (MTREE), P2MP LSP, the former for delivering two-layer Multicast on the access layer network and the latter for delivering three-layer Multicast.
A typical networking of a P2MP two-layer multicast transport network is shown in fig. 1a and 1 b. 4 PTN devices are arranged between the multicast source device and the multicast clients 1 and 2, a solid line represents a working transmission path of the two-layer multicast service, and a dotted line represents a protection transmission path of the two-layer multicast service. A P2MP two-layer multicast service in each PTN device includes a plurality of User Network interfaces (UNI for short) and Network to Network interfaces (NNI) members, and the role of each member may be any one of Root _ W (work Root), Root _ P (protection Root), Leaf _ W (work Leaf), Leaf _ P (protection Leaf), and Leaf _ Common (general Leaf). The forwarding rules between the various members are as follows: the Leaf _ W can only receive the service message forwarded by the Root _ W; the Leaf _ P can only receive the service message forwarded by the Root _ P; the Leaf _ C can receive a service message from Root _ W or Root _ P; and the message forwarding is forbidden between Leaf members or Root members. From the above specification rules, it can be known that: the Leaf _ C member needs to determine whether to receive the message from Root _ W or Root _ P according to the network state, that is, the Leaf _ C member needs to perform protection switching action, so as to ensure that the service interruption does not exceed 50ms when the network fails. In fig. 1a, the working forwarding path is normal, and both the PTN2 connected to the multicast client and the Leaf _ C member in the PTN3 device receive the two-layer multicast packet from Root _ W. In fig. 1b, when the working forwarding path fails, the PTN2 and the PTN3 are subjected to protection switching, that is, switched to Root _ P to receive the two-layer multicast packet.
Through analysis, it is found that in the existing P2MP two-layer multicast protection switching implementation scheme, there are two main ways:
isolation group mode: the isolation group mode needs to create a plurality of isolation groups with isolation relationship in advance, and then dynamically switches the isolation group where the Leaf _ C is located according to the alarm state of the protection group, so as to ensure that the Root member in the isolation group where the Leaf _ C is newly located receives the service message;
and dynamic multicast adding mode: and the Leaf _ C member dynamically joins the multicast group where the protection is positioned according to the working/protection state.
The problems with both of the above approaches are: it takes a certain time to dynamically configure the quarantine group or the multicast group itself where the Leaf _ C member is located. When the number of Leaf _ C is increased, the subsequent Leaf _ C switching response time is inevitably increased linearly in the process of switching one by one, and the switching time of 50ms is difficult to ensure; in addition, in practical application, it is found that the isolation group mode needs to occupy QOS token resources, so that the device exchange capacity is limited, and the bandwidth cannot be efficiently utilized.
In view of the above-mentioned technical problems, no effective solution has been proposed in the related art.
Disclosure of Invention
The embodiment of the invention provides a protection switching method, a device and a storage medium for point-to-multipoint double-layer multicast service, which are used for at least solving the problems that the switching efficiency is low and the equipment switching capacity is influenced when multicast flow switching cannot be carried out by multicast members in the related technology.
According to an embodiment of the present invention, a protection switching method for point-to-multipoint two-layer multicast service is provided, including: decomposing each point-to-multipoint two-layer multicast service into two virtual private local area networks (VPLS); creating a multicast group for the VPLS; forwarding an equivalence class FEC for the multicast group in an associated manner, and forming a multicast protection group by the associated FEC; and carrying out protection switching on the transmission of the two-layer multicast service by utilizing the multicast protection group.
Optionally, decomposing each point-to-multipoint two-layer multicast service into two VPLSs includes: and configuring the main VPLS and the standby VPLS for the point-to-multipoint P2MP service.
Optionally, creating the multicast group for the VPLS includes: configuring a first main multicast group and a first standby multicast group for the main VPLS; configuring a second main multicast group and a second standby multicast group for the standby VPLS; the first active multicast group, the first standby multicast group, the second active multicast group and the second standby multicast group all include multicast members in the P2MP service.
Optionally, associating and forwarding an equivalence class FEC for the multicast group, and forming the associated FECs into a multicast protection group includes: identifying FailOverId for the P2MP service application failover; configuring a first FEC and a second FEC for the first active multicast group and the first standby multicast group respectively; forming a first super forwarding equivalence class SuperFEC multicast protection group by the first FEC and the second FEC according to the FailOverId; respectively configuring a third FEC and a fourth FEC for the second main multicast group and the second standby multicast group; and forming a second super forwarding equivalence class SuperFEC multicast protection group by the third FEC and the fourth FEC according to the FailOverId.
Optionally, after creating the multicast group for the VPLS, the method further includes: and configuring an alarm indication for a transmission channel in which a multicast member included in the multicast group is located, wherein the alarm indication is used for indicating when protection switching needs to be performed on transmission of the service of the two-layer multicast group.
Optionally, the performing protection switching on the transmission of the two-layer multicast service by using the multicast protection group includes: configuring PW corresponding to multicast members in the P2MP into APS-free protection groups, and configuring the APS-free protection groups into a Field Programmable Gate Array (FPGA); writing the next hop address information corresponding to the FailOverId into the FPGA; and when the alarm indication is detected, indicating the FPGA to synchronously switch the next hop information of the first SuperFEC multicast protection group and the second SuperFEC multicast protection group according to the FailOverId, or performing protection switching on the transmission of the two-layer multicast service.
According to another embodiment of the present invention, there is also provided a protection switching device for point-to-multipoint two-layer multicast service, including: a first configuration module, configured to decompose each point-to-multipoint two-layer multicast service into two virtual private local area networks, VPLS; a creating module, configured to create a multicast group for the VPLS; the association module is used for associating and forwarding the equivalent FEC for the multicast group and forming the associated FEC into a multicast protection group; and the switching module is used for carrying out protection switching on the transmission of the two-layer multicast service by utilizing the multicast protection group.
Optionally, the first configuration module includes: the first configuration unit is used for configuring the main VPLS and the spare VPLS for the point-to-multipoint P2MP service.
Optionally, the creating module includes: a second configuration unit, configured to configure a first active multicast group and a first standby multicast group for the active VPLS; a third configuration unit, configured to configure a second active multicast group and a second standby multicast group for the standby VPLS; the first active multicast group, the first standby multicast group, the second active multicast group and the second standby multicast group all include multicast members in the P2MP service.
Optionally, the associating module includes: an applying unit, configured to apply for a failover identifier FailOverId for the P2MP service; a fourth configuration unit, configured to configure a first FEC and a second FEC for the first active multicast group and the first standby multicast group, respectively; a first forming unit, configured to form a first super forwarding equivalence class, SuperFEC multicast protection group, with the first FEC and the second FEC according to the failoverlad; a fifth configuration unit, configured to configure a third FEC and a fourth FEC for the second active multicast group and the second standby multicast group, respectively; and a second forming unit, configured to form a second super forwarding equivalence class, SuperFEC multicast protection group, with the third FEC and the fourth FEC according to the failoverlad.
Optionally, the apparatus further comprises: a second configuration module, configured to configure an alarm indication for a transmission channel where a multicast member included in the multicast group is located after the multicast group is created for the VPLS, where the alarm indication is used to indicate when protection switching needs to be performed on transmission of the two-layer multicast group service.
Optionally, the switching module includes: a sixth configuration unit, configured to configure a PW corresponding to a multicast member in P2MP as an APS-free protection group, and configure the APS-free protection group in a field programmable gate array FPGA; the processing unit is used for writing the next hop address information corresponding to the FailOverId into the FPGA; and an indicating unit, configured to, when the alarm indication is detected, indicate the FPGA to perform synchronous switching on a next hop of the first and second SuperFEC multicast protection groups according to the failoverlald, or perform protection switching on transmission of the two-layer multicast service.
According to yet another embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the program performs any one of the above methods when executed.
According to yet another embodiment of the present invention, there is also provided a processor for executing a program, wherein the program executes to perform the method of any one of the above.
By the invention, each point-to-multipoint two-layer multicast service is decomposed into two virtual private local area networks (VPLS); and a multicast group is established for the VPLS; forwarding the equivalent FEC for the multicast group in a correlation manner, and forming a multicast protection group by the correlated FEC; and carrying out protection switching on the transmission of the two-layer multicast service by utilizing the multicast protection group. Therefore, the problems of low switching efficiency, influence on the device switching capacity and the like of the multicast members during multicast traffic switching in the related technology can be solved, and the effects of ensuring the switching time and improving the switching efficiency are achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1a is a typical networking diagram (one) of a P2MP two-layer multicast service transport network in the related art;
fig. 1b is a typical networking diagram (two) of a P2MP two-layer multicast service transport network in the related art;
fig. 2 is a block diagram of a hardware structure of a mobile terminal of a protection switching method for a point-to-multipoint two-layer multicast service according to an embodiment of the present invention;
fig. 3 is a flowchart of a protection switching method for point-to-multipoint two-layer multicast service according to an embodiment of the present invention;
FIG. 4 is a diagram (one) of a P2MP two-layer multicast protection scheme according to an embodiment of the present invention;
FIG. 5 is a diagram of a P2MP two-layer multicast protection scheme according to an embodiment of the present invention;
fig. 6 is a diagram of multicast service configuration according to an embodiment of the present invention;
fig. 7 is a diagram of multicast protected group configuration according to an embodiment of the present invention;
fig. 8 is a block diagram illustrating a point-to-multipoint conversion apparatus of a point-to-multipoint two-layer multicast service according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking the operation on the mobile terminal as an example, fig. 2 is a block diagram of a hardware structure of the mobile terminal of the protection switching method for the point-to-multipoint two-layer multicast service according to the embodiment of the present invention. As shown in fig. 2, the mobile terminal 20 may include one or more (only one shown in fig. 2) processors 202 (the processors 202 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 204 for storing data, and a transmission device 206 for communication functions. It will be understood by those skilled in the art that the structure shown in fig. 2 is only an illustration and is not intended to limit the structure of the electronic device. For example, the mobile terminal 20 may also include more or fewer components than shown in FIG. 2, or have a different configuration than shown in FIG. 2.
The memory 204 may be configured to store software programs and modules of application software, such as program instructions/modules corresponding to the protection switching method for point-to-multipoint two-layer multicast service in the embodiment of the present invention, and the processor 202 executes various functional applications and data processing by running the software programs and modules stored in the memory 204, so as to implement the method described above. Memory 204 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include memory located remotely from the processor 202, which may be connected to the mobile terminal 20 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 206 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 20. In one example, the transmission device 206 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 206 can be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a protection switching method for a point-to-multipoint two-layer multicast service is provided, and fig. 3 is a flowchart of the protection switching method for the point-to-multipoint two-layer multicast service according to the embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
step S302, decomposing each point-to-multipoint two-layer multicast service into two virtual private local area networks (VPLS);
step S304, a multicast group is established for the VPLS;
step S306, forwarding the equivalent FEC for the multicast group in a correlation manner, and forming a multicast protection group by the correlated FEC;
step S308, the multicast protection group is used to perform protection switching on the transmission of the two-layer multicast service.
Through the steps, each point-to-multipoint two-layer multicast service is decomposed into two virtual private local area networks (VPLS); and a multicast group is established for the VPLS; forwarding the equivalent FEC for the multicast group in a correlation manner, and forming a multicast protection group by the correlated FEC; and carrying out protection switching on the transmission of the two-layer multicast service by utilizing the multicast protection group. Therefore, the problems of low switching efficiency, influence on the device switching capacity and the like of the multicast members when multicast traffic switching is performed in the related technology can be solved, and the effects of ensuring the switching time and improving the switching efficiency are achieved.
Alternatively, the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
In an optional embodiment, decomposing each point-to-multipoint two-layer multicast service into two VPLS may include: and configuring the main VPLS and the standby VPLS for the point-to-multipoint P2MP service. In this embodiment, the two-layer multicast service MTREE may be decomposed into the primary VPLS and the standby VPLS.
In an optional embodiment, creating the multicast group for the VPLS may include: configuring a first main multicast group and a first standby multicast group for the main VPLS; configuring a second main multicast group and a second standby multicast group for the standby VPLS; the first active multicast group, the first standby multicast group, the second active multicast group and the second standby multicast group all include multicast members in the P2MP service. In the present embodiment, the multicast members in P2MP include Root _ W (working Root), Root _ P (protection Root), Leaf _ W (working Leaf), Leaf _ P (protection Leaf), Leaf _ Common (general Leaf), and the like.
In an optional embodiment, associating and forwarding an equivalence class FEC for the multicast group, and forming the associated FECs into a multicast protection group may include: a failover identifier FailOverId is applied for the P2MP service; configuring a first FEC and a second FEC for the first active multicast group and the first standby multicast group, respectively; forming a first super forwarding equivalence class SuperFEC multicast protection group by the first FEC and the second FEC according to the FailOverId; configuring a third FEC and a fourth FEC for the second active multicast group and the second standby multicast group, respectively; and forming a second super forwarding equivalence class SuperFEC multicast protection group by the third FEC and the fourth FEC according to the FailOverId.
In an optional embodiment, after creating a multicast group for the VPLS, the method may further include: and configuring an alarm indication for a transmission channel in which a multicast member included in the multicast group is located, wherein the alarm indication is used for indicating when protection switching needs to be performed on transmission of the service of the two-layer multicast group. In this embodiment, the alarm indication is one of the conditions for performing switching.
In an optional embodiment, the performing protection switching on the transmission of the two-layer multicast service by using the multicast protection group may include: configuring PW corresponding to the multicast member in the P2MP into an APS-free protection group, and configuring the APS-free protection group into a Field Programmable Gate Array (FPGA); writing the next hop address information corresponding to the FailOverId into the FPGA; and when the alarm indication is detected, indicating the FPGA to synchronously switch the next hop of the first SuperFEC multicast protection group and the second SuperFEC multicast protection group according to the FailOverId, or switching the transmission of the two-layer multicast service. In this embodiment, the synchronous switching of the next hop of the first super fec multicast protection group and the second super fec multicast protection group may be switching of the transmission of the two-layer multicast service or the same switching.
The present invention will be described in detail with reference to the following specific examples:
detailed description of the preferred embodiment 1
The problem to be solved by the present embodiment is: in order to avoid various problems caused by dynamically switching an isolation group or a multicast group where a Leaf _ C is located in the existing implementation scheme, a new protection method without dynamically switching the Leaf _ C is provided. By the embodiment, the fast protection switching of the P2MP two-layer multicast can be realized based on the existing P2P PW in the PTN network, and the switching efficiency is not affected by the increase of the Leaf _ C number; in addition, the embodiment does not additionally occupy Quality of Service (QOS) resources of different users, does not affect the switching capacity of the PTN device, and ensures the full utilization of network bandwidth.
The following technical scheme is adopted in the specific embodiment:
the core technical solution of this embodiment is to decompose the UNI side CIP and NNI side PW members of the P2MP two-layer multicast service into a group of multicast groups according to the forwarding rule in the service configuration phase, and form a protection relationship between different multicast groups. When detecting that a working path has a fault and needs to be switched to a protection path to receive a service message, triggering a multicast protection group pointed by multicast MAC + VPN72221ID through a logic chip to switch, and not needing to dynamically switch a multicast group or an isolation group where multicast service members are located, thereby solving the problems in the prior art such as low switching efficiency, influence on equipment switching capacity and the like pointed out in the background art.
The technical principle of the present embodiment is shown in fig. 4 and 5.
In the configuration stage, the MTREE service needs to be decomposed into two VPLS services, the active VPLS is used to receive the multicast packet forwarded by the working path, and the standby VPLS is used to receive the multicast packet forwarded by the protection path. Creating two multicast groups for each VPLS, respectively associating the two multicast groups with a forwarding Equivalence Class (FEC for short), and forming a protection group (corresponding to the multicast protection group in the above description) by combining the two FECs into a Super forwarding Equivalence Class (SuperFEC for short). The multicast member distribution rule is as follows: the Leaf _ C receives traffic from the primary multicast of the primary VPLS before switching (corresponding to switching), and receives traffic from the standby multicast of the standby VPLS after switching. In addition, the same interface for switching the next hop needs to be allocated to the two pieces of super fec, so that it is ensured that the fast switching module synchronously switches the working VPLS multicast MAC and protects the multicast group to which the VPLS multicast MAC points when detecting the alarm and performing the switching action.
An FEC is a forwarding equivalence class defined internally by the device, one FEC for pointing to one multicast group object.
The SuperFec is a super forwarding equivalence class defined in the device, and comprises two FECs to form a multicast protection group.
After the above configuration, when the working link is not failed, after the multicast traffic forwarded by the multicast source through the working path enters the PTN device, the multicast MAC points to FEC1 in the super FEC1 (corresponding to the first super forwarding equivalence class super FEC) and the multicast group McGrp1 pointed by FEC1 includes a Root _ W, Leaf _ C member, that is, Leaf _ C receives the multicast traffic from the working path. After the working link is triggered to be switched due to the fault, the multicast group pointed by the VPLS in the working path is switched to McGrp2, only a Root _ W, Leaf _ W member exists, and no Leaf _ C member exists; the multicast group pointed by the protection path VPLS is synchronously switched to McGrp4, which contains Root _ P, Leaf _ P, Leaf _ C member, that is, after fast switching, the P2MP two-layer multicast service Leaf _ C member is switched to receive multicast flow from the standby path.
Specific example 2:
in order to avoid various problems caused by dynamically switching an isolation group or a multicast group where a Leaf _ C is located in the existing implementation scheme, a new protection method without dynamically switching the Leaf _ C is provided, which includes the following steps:
step 1: p2MP two-layer multicast service configuration:
when the user configures and issues the P2MP layer two multicast service MTREE in the PTN device, the processing flow of the multicast configuration adaptation module is as shown in fig. 6.
Firstly, the P2MP service is adapted to be two VPLS of active and standby, and issued to a service switching chip, and the VPN72221ID is internally distributed, which needs to ensure that no conflict with the VPN72221ID used by the ordinary VPLS occurs. The main and standby relations are self-defined relations for the subsequent protection switching processing, and the service switching chip does not need to identify the main and standby relations.
And then, distributing the UNI side CIP and NNI side PW members contained in the P2MP multicast service to the main VPLS and the standby VPLS service. The distribution rule is as follows: root _ W, Root _ P, Leaf _ C is added to the primary VPLS and Root _ P, Leaf _ P is added to the backup VPLS.
The multicast configuration adaptation module is a service configuration module in the device and is used for carrying out relevant processing on the configuration information of the two-layer multicast service issued by a user, the user does not need to perceive, and the invention converts the MTREE multicast service in the industry standard into the MTREE multicast service realized by the existing mature VPLS.
The MTREE service is a two-layer multicast service configured on a user interface, and includes information such as a service instance, a member of an UNI side access port, a member of an NNI side PW, a member role, an interface VLAN, a PW label, an LSP label, an egress interface, and an ARP.
Step 2: p2MP layer two service multicast configuration:
the multicast source sends a multicast query message at regular time, and after the multicast client replies a report message, the protocol processing module generates a P2MP multicast group and a corresponding multicast membership. The processing flow after the multicast group and the membership are sent to the multicast configuration adaptation module is shown in fig. 6.
Firstly, two corresponding multicast groups are created for the active VPLS and the standby VPLS respectively and are issued to the switch chip, and the multicast MAC corresponding to each multicast group is the same. Here, the main and standby relations of the main multicast group are also self-defined, and the switching chips do not need to be distinguished.
Then, distributing multicast members for each multicast group according to the following distribution rules: adding a service member into a main multicast group of the main VPLS as a member of Root _ W, Leaf _ W, Leaf _ C; adding a member with a service member role of Root _ W, Root _ P to a standby multicast group of the primary VPLS; adding a member with a service member role of Root _ P, Leaf _ P to a main multicast group of a standby VPLS; and adding a member with the service member role of Root _ P, Leaf _ P, Leaf _ C to the standby multicast group of the standby VPLS.
And step 3: protection group configuration:
after the P2MP service configuration and multicast configuration collection are completed, the multicast configuration adaptation module starts to perform protection group configuration, and the processing flow is shown in fig. 7.
Firstly, applying for FailOverId for P2MP two-layer multicast service;
then, creating FEC1 and FEC2 corresponding to the primary VPLS1 primary multicast group and the standby multicast group, and using FailOverId to create a primary VPLS 1;
corresponding SuperFEC1, wherein the primary member and the standby member of the SuperFEC1 are FE1 and FEC2 corresponding to the primary VPLS multicast group respectively; adding static multicast MAC1 by taking MAC + VPLS1VPN72221ID as a keyword, so that the multicast MAC1 points to SuperFEC 1;
finally, creating FEC3 and FEC4 corresponding to the primary and standby multicast groups of the standby VPLS2, creating SuperFEC2 corresponding to the standby VPLS2 by using FailOverId, wherein the primary and standby members of the SuperFEC2 are FE3 and FEC4 corresponding to the primary VPLS multicast group respectively; adding static multicast MAC2 by taking MAC + VPLS2VPN72221ID as a keyword, so that the multicast MAC2 points to SuperFEC 2;
the failoverlad is an address identifier assigned to the super fec, an address for storing next hop information of the protection group in the switch chip can be calculated through the failoverlad, and the protection switching operation of the protection group can be performed by rewriting the next hop information stored in the address.
After the configuration, the SuperFEC1 is used to point to two multicast groups corresponding to the primary VPLS1, so that the two multicast groups form a multicast protection group corresponding to the primary VPLS; using SuperFEC2 to point to two multicast groups corresponding to a spare VPLS2, so that the multicast groups form a multicast protection group corresponding to the spare VPLS; in addition, the two multicast protection groups corresponding to the VPLS1 and the VPLS2 use the same FailOverId, which means that once the switching is triggered, the multicast protection groups corresponding to the VPLS1 and the VPLS2 are switched synchronously without any time difference.
And 4, step 4: alarm configuration:
for mTree service, when a PW corresponding to Root _ W, Root-P has a fault (SF or CSF), a CSF alarm needs to be inserted into a PW corresponding to a Leaf _ W, Leaf _ P, Leaf _ C member, so that a PTN device in a downstream P2MP two-layer multicast transmission network can perform multicast service switching according to a fault indication. The specific alarm delivery rules are as follows:
when detecting faults in channels where Root _ W and Root _ P PW are located, inserting fault indications into the channels where Leaf _ W, Leaf _ P are located respectively; when the channels of Root _ W and Root _ P PW both fail at the same time, all Leaf _ C PW members in P2MP layer multicast service insert failure indication into their downstream multicast channels.
And 5: protection switching treatment:
and the multicast configuration adaptation module forms a 1:1 APS-free protocol protection group by the Root _ W in the P2MP two-layer multicast service and the PW corresponding to the Root _ P member, configures the protection group to the FPGA, and writes the next-hop address information corresponding to the FailOverId distributed in the step 3 to the FPGA.
And the FPGA detects the alarm states of the working PW and the protection PW through hardware. If a working path fails, the FPGA will trigger fast switching, and modify the address information of the next hop of the protection group corresponding to the failover id by sending a fast switching message, so that the next hops pointed by the SuperFec1 and the SuperFec2 are respectively switched to the FEC2 and the FEC4, and since the FEC2 and the FEC4 point to the VPLS1 and the VPLS2 standby multicast groups McGrp2 and McGrp4, the result after fast protection switching is: and the Leaf _ C switches to receive the two-layer multicast message from the Root _ P. Practice proves that the protection switching action can well meet the switching practice requirement of 50 ms.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a point-to-multipoint device for a point-to-multipoint two-layer multicast service is also provided, and the device is used to implement the foregoing embodiments and preferred embodiments, which have already been described and are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 8 is a block diagram of a protection switching device for point-to-multipoint two-layer multicast service according to an embodiment of the present invention, and as shown in fig. 8, the device includes: a first configuration module 802, a creation module 804, an association module 806, and a switching module 808, which are described in detail below:
a first configuration module 802, configured to decompose each point-to-multipoint two-layer multicast service into two virtual private local area networks VPLS; a creating module 804, connected to the first configuration module 802, configured to create a multicast group for the VPLS; an associating module 806, connected to the creating module 804, configured to associate and forward an equivalent FEC for the multicast group, and form a multicast protection group with the associated FEC; a switching module 808, connected to the associating module 806, configured to perform protection switching on the transmission of the two-layer multicast service by using the multicast protection group.
In an alternative embodiment, the first configuration module 802 may include: the first configuration unit is used for configuring the main VPLS and the spare VPLS for the point-to-multipoint P2MP service.
In an alternative embodiment, the creating module 804 may include: a second configuration unit, configured to configure a first active multicast group and a first standby multicast group for the active VPLS; a third configuration unit, configured to configure a second active multicast group and a second standby multicast group for the standby VPLS; the first active multicast group, the first standby multicast group, the second active multicast group and the second standby multicast group all include multicast members in the P2MP service.
In an alternative embodiment, the associating module 806 may include: an applying unit, configured to apply for a failover identifier FailOverId for the P2MP service; a fourth configuration unit, configured to configure a first FEC and a second FEC for the first active multicast group and the first standby multicast group, respectively; a first forming unit, configured to form a first super forwarding equivalence class, SuperFEC multicast protection group, with the first FEC and the second FEC according to the failoverlad; a fifth configuration unit, configured to configure a third FEC and a fourth FEC for the second active multicast group and the second standby multicast group, respectively; and a second forming unit, configured to form a second super forwarding equivalence class super FEC multicast protection group with the third FEC and the fourth FEC according to the failoverlald.
In an optional embodiment, the apparatus may further include: a second configuration module, configured to configure an alarm indication for a transmission channel where a multicast member included in the multicast group is located after the multicast group is created for the VPLS, where the alarm indication is used to indicate when protection switching needs to be performed on transmission of the service of the two-layer multicast group.
In an optional embodiment, the switching module 808 may include: a sixth configuration unit, configured to configure a pseudo wire PW corresponding to a multicast member in P2MP as an APS-free protection group, and configure the APS-free protection group in a field programmable gate array FPGA; the processing unit is used for writing the next hop address information corresponding to the FailOverId into the FPGA; and an indicating unit, configured to, when the alarm indication is detected, indicate the FPGA to perform synchronous switching on a next hop of the first and second SuperFEC multicast protection groups according to the FailOverId, or perform protection switching on transmission of the two-layer multicast service.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
An embodiment of the present invention further provides a storage medium including a stored program, where the program executes any one of the methods described above.
Alternatively, in the present embodiment, the storage medium may be configured to store program codes for executing the above steps.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide a processor configured to execute a program, where the program executes to perform any of the steps in the method.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (11)
1. A protection switching method for point-to-multipoint two-layer multicast service is characterized by comprising the following steps:
decomposing each point-to-multipoint two-layer multicast service into two virtual private local area networks (VPLS);
creating a multicast group for the VPLS;
forwarding an equivalence class FEC for the multicast group in an associated manner, and forming a multicast protection group by the associated FEC;
utilizing the multicast protection group to carry out protection switching on the transmission of the two-layer multicast service;
wherein associating and forwarding an equivalence class FEC for the multicast group, and forming the associated FEC into a multicast protection group comprises:
identifying FailOverId for point-to-multipoint P2MP service application failover;
respectively configuring a first FEC and a second FEC for a first active multicast group and a first standby multicast group, wherein the first active multicast group and the first standby multicast group are both configured to an active VPLS, and the active VPLS is configured to the P2MP service;
forming a first super forwarding equivalence class SuperFEC multicast protection group by the first FEC and the second FEC according to the FailOverId;
respectively configuring a third FEC and a fourth FEC for a second active multicast group and a second standby multicast group, where the second active multicast group and the second standby multicast group are both configured to a standby VPLS, and the standby VPLS is configured to the P2MP service;
and forming a second super forwarding equivalence class SuperFEC multicast protection group by the third FEC and the fourth FEC according to the FailOverId.
2. The method of claim 1, wherein decomposing each point-to-multipoint point dual-layer multicast service into two VPLS comprises:
and configuring the main VPLS and the standby VPLS for the point-to-multipoint P2MP service.
3. The method of claim 2, wherein creating the multicast group for the VPLS comprises:
configuring a first main multicast group and a first standby multicast group for the main VPLS;
configuring a second main multicast group and a second standby multicast group for the standby VPLS;
the first active multicast group, the first standby multicast group, the second active multicast group and the second standby multicast group all include multicast members in the P2MP service.
4. The method as recited in claim 1, wherein after creating a multicast group for the VPLS, the method further comprises:
and configuring an alarm indication for a transmission channel in which a multicast member included in the multicast group is located, wherein the alarm indication is used for indicating when the transmission of the two-layer multicast group service needs to be switched.
5. The method of claim 1, wherein performing protection switching on the transmission of the layer two multicast service by using the multicast protection group comprises:
configuring a pseudo wire PW corresponding to a multicast member in P2MP as a protection group without an Automatic Protection Switching (APS) protocol, and configuring the protection group without the APS protocol into a Field Programmable Gate Array (FPGA);
writing the next hop address information corresponding to the FailOverId into the FPGA;
and when an alarm indication is detected, indicating the FPGA to synchronously switch the next hop of the first SuperFEC multicast protection group and the second SuperFEC multicast protection group according to the FailOverId, or performing protection switching on the transmission of the two-layer multicast service.
6. A protection switching device for point-to-multipoint two-layer multicast service is characterized by comprising:
a first configuration module, configured to decompose each point-to-multipoint two-layer multicast service into two configurations of a virtual private local area network VPLS;
a creating module, configured to create a multicast group for the VPLS;
the association module is used for associating and forwarding the equivalent FEC for the multicast group and forming the associated FEC into a multicast protection group;
a switching module, configured to perform protection switching on transmission of the two-layer multicast service by using the multicast protection group;
wherein the association module comprises:
an applying unit, configured to apply for a failover identifier FailOverId for a point-to-multipoint P2MP service;
a fourth configuration unit, configured to configure a first FEC and a second FEC for a first active multicast group and a first standby multicast group, where the first active multicast group and the first standby multicast group are both configured to an active VPLS, and the active VPLS is configured to the P2MP service;
a first forming unit, configured to form a first super forwarding equivalence class, SuperFEC multicast protection group, with the first FEC and the second FEC according to the failoverlad;
a fifth configuration unit, configured to configure a third FEC and a fourth FEC for a second active multicast group and a second standby multicast group, where the second active multicast group and the second standby multicast group are both configured to a standby VPLS, and the standby VPLS is configured to the P2MP service;
and a second forming unit, configured to form a second super forwarding equivalence class, SuperFEC multicast protection group, with the third FEC and the fourth FEC according to the failoverlad.
7. The apparatus of claim 6, wherein the first configuration module comprises:
the first configuration unit is used for configuring the main VPLS and the spare VPLS for the point-to-multipoint P2MP service.
8. The apparatus of claim 7, wherein the creation module comprises:
a second configuration unit, configured to configure a first active multicast group and a first standby multicast group for the active VPLS;
a third configuration unit, configured to configure a second active multicast group and a second standby multicast group for the standby VPLS;
the first active multicast group, the first standby multicast group, the second active multicast group and the second standby multicast group all include multicast members in the P2MP service.
9. The apparatus of claim 6, further comprising:
a second configuration module, configured to configure an alarm indication for a transmission channel where a multicast member included in the multicast group is located after the multicast group is created for the VPLS, where the alarm indication is used to indicate when protection switching needs to be performed on transmission of a service of a second layer multicast group.
10. The apparatus of claim 6, wherein the switching module comprises:
a sixth configuration unit, configured to configure a PW corresponding to a multicast member in P2MP as an APS-free protection group, and configure the APS-free protection group in a field programmable gate array FPGA;
the processing unit is used for writing the next hop address information corresponding to the FailOverId into the FPGA;
and an indicating unit, configured to, when an alarm indication is detected, indicate the FPGA to perform synchronous switching on a next hop of the first super fec multicast protection group and the second super forwarding equivalence class super fec multicast protection group according to the FailOverId, or perform protection switching on transmission of the two-layer multicast service.
11. A storage medium, comprising a stored program, wherein the program when executed performs the method of any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710463121.3A CN109150711B (en) | 2017-06-19 | 2017-06-19 | Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710463121.3A CN109150711B (en) | 2017-06-19 | 2017-06-19 | Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109150711A CN109150711A (en) | 2019-01-04 |
CN109150711B true CN109150711B (en) | 2022-04-29 |
Family
ID=64804138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710463121.3A Active CN109150711B (en) | 2017-06-19 | 2017-06-19 | Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109150711B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022082793A1 (en) * | 2020-10-23 | 2022-04-28 | Nokia Shanghai Bell Co., Ltd. | Efficient point-to-multipoint operation in the presence of outlier user equipment |
CN112543143B (en) * | 2020-11-30 | 2022-08-26 | 苏州盛科通信股份有限公司 | Method, chip, equipment and storage medium for multicast service fast protection switching |
CN115333614B (en) * | 2022-07-26 | 2023-05-05 | 烽火通信科技股份有限公司 | System, method and POTN device for realizing ODUk protection by using equivalent protection class |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242342A (en) * | 2007-02-05 | 2008-08-13 | 华为技术有限公司 | Multicast method and multicast route method |
CN102064995A (en) * | 2009-11-18 | 2011-05-18 | 中兴通讯股份有限公司 | Method and device for link protection in virtual private local area network |
CN102315967A (en) * | 2011-09-19 | 2012-01-11 | 中兴通讯股份有限公司 | Intermediate node protection method for multicast label switched path and device |
CN102624615A (en) * | 2012-03-02 | 2012-08-01 | 杭州华三通信技术有限公司 | Forwarding method and forwarding device for multicast data messages based on multiple protocol label switching (MPLS) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9154412B2 (en) * | 2013-07-30 | 2015-10-06 | Cisco Technology, Inc. | Multicast label distribution protocol over a remote loop-free alternative |
-
2017
- 2017-06-19 CN CN201710463121.3A patent/CN109150711B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101242342A (en) * | 2007-02-05 | 2008-08-13 | 华为技术有限公司 | Multicast method and multicast route method |
CN102064995A (en) * | 2009-11-18 | 2011-05-18 | 中兴通讯股份有限公司 | Method and device for link protection in virtual private local area network |
CN102315967A (en) * | 2011-09-19 | 2012-01-11 | 中兴通讯股份有限公司 | Intermediate node protection method for multicast label switched path and device |
CN102624615A (en) * | 2012-03-02 | 2012-08-01 | 杭州华三通信技术有限公司 | Forwarding method and forwarding device for multicast data messages based on multiple protocol label switching (MPLS) |
Non-Patent Citations (1)
Title |
---|
《新型多播传送技术P2MP的研究》;李锦勋;《中国新通信》;20080405(第8期);第57-61页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109150711A (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10693765B2 (en) | Failure protection for traffic-engineered bit indexed explicit replication | |
US9160616B2 (en) | Multicast packet transmission method, related device and system | |
WO2018058677A1 (en) | Message processing method, computing device, and message processing apparatus | |
CN108964940B (en) | Message sending method and device and storage medium | |
CN100583904C (en) | Automatic configuration method for host address in IPV6 network | |
US9912586B2 (en) | Method, system, and device for establishing pseudo wire | |
CN100512292C (en) | Apparatus and method of real-time recovering service | |
EP2680507B1 (en) | Packet forwarding method and system, and relay agent device | |
JP6027688B2 (en) | Method and apparatus for automatic label assignment in ring network protection | |
CN101459536A (en) | Port configuration method and switching device | |
CN106357542B (en) | The method and software defined network controller of multicast service are provided | |
CN102546430A (en) | Method for redundant backup of network equipment, and routing equipment and system | |
CN109150711B (en) | Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service | |
CN106936943A (en) | The distribution method and system of virtual machine address | |
CN111585899A (en) | EVPN multicast method, device and system | |
CN107948042A (en) | A kind of message forwarding method and device | |
CN103516599A (en) | Host finding method, network device, and host | |
CN113438161B (en) | Method and network device for generating segment identification SID | |
CN102224709A (en) | Method and apparatus of monitoring on ip bearing net performance | |
US11909546B2 (en) | Method and network node for sending and obtaining assert packet | |
CN104883337B (en) | The implementation method and device of looped network user security | |
CN106209634B (en) | Learning method and device of address mapping relation | |
CN113132220B (en) | Method and device for processing routing information | |
CN112737946B (en) | Route advertising method, device, storage medium and system for IPv6 network | |
CN103338277A (en) | Media access control MAC address recovery method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |