CN109150711A - The pretection switch method, apparatus and storage medium of point-to-multipoint Layer 2 Multicast business - Google Patents

The pretection switch method, apparatus and storage medium of point-to-multipoint Layer 2 Multicast business Download PDF

Info

Publication number
CN109150711A
CN109150711A CN201710463121.3A CN201710463121A CN109150711A CN 109150711 A CN109150711 A CN 109150711A CN 201710463121 A CN201710463121 A CN 201710463121A CN 109150711 A CN109150711 A CN 109150711A
Authority
CN
China
Prior art keywords
multicast
group
fec
vpls
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.)
Granted
Application number
CN201710463121.3A
Other languages
Chinese (zh)
Other versions
CN109150711B (en
Inventor
程寒杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710463121.3A priority Critical patent/CN109150711B/en
Publication of CN109150711A publication Critical patent/CN109150711A/en
Application granted granted Critical
Publication of CN109150711B publication Critical patent/CN109150711B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's

Abstract

The present invention provides the pretection switch method, apparatus and storage medium of a kind of point-to-multipoint Layer 2 Multicast business, this method comprises: being two virtual special local area network network VPLS by each point-to-multipoint Layer 2 Multicast service decomposition;Multicast group is created for VPLS;It is associated with forwarding equivalence class FEC for multicast group, and associated FEC is formed into multicast protection group;Pretection switch is carried out to the transmission of Layer 2 Multicast business using multicast protection group.Through the invention, it solves multicast member present in the relevant technologies to switch low efficiency when carrying out flux of multicast and switching, influence the problems such as devices exchange capacity, reaches guarantee switching time, and improve the effect for switching efficiency.

Description

The pretection switch method, apparatus and storage medium of point-to-multipoint Layer 2 Multicast business
Technical field
The present invention relates to the communications fields, in particular to a kind of pretection switch side of point-to-multipoint Layer 2 Multicast business Method, device and storage medium.
Background technique
Packet Transport Network (Packet Transport Network, referred to as PTN) is based on packet switch, supports more industry The tranmission techniques of business carrying.In order to guarantee service reliability, the quick protective switch of various businesses is needed support, telecommunication network Switching performance requires to be that switching time is not more than 50ms.
Point-to-multipoint (Point-to-MultiPoint, referred to as P2MP) be in PTN network it is a kind of by multicast service from net Single sending ending equipment (multicast source) in network is transmitted to the transmission technology at multiple receiving devices (multicast reception end).In order to improve The utilization rate of network bandwidth avoids core network congestion, needs to avoid as far as possible to carry out duplication point to business on core network Hair, accomplishes to carry out duplication distribution to service message in branch of a network or terminal as far as possible.Common P2MP business realizing scheme packet Multicast Tree business (Multicast Tree, referred to as MTREE), P2MP LSP are included, the former is used to transmit in access layer network Layer 2 Multicast, the latter is for transmitting three layers of multicast.
The typical networking of P2MP Layer 2 Multicast transmission network is as shown in Figure 1 a, 1 b.In multicast source devices and multicast client 4 PTN devices are deployed between end 1,2, solid line indicates Layer 2 Multicast vocational work transmission path, and dotted line indicates Layer 2 Multicast industry Business protection transmission path.A P2MP Layer 2 Multicast business includes several user side interfaces (User in each PTN device Network Interface, referred to as UNI), Network Side Interface (Network to Network Interface, NNI) at Member, the role of each member can be Root_W (work root), Root_P (protection root), Leaf_W (work leaf), Leaf_P Any one in (protection leaf), Leaf_Common (general leaf).Forward rule between various members is as follows: Leaf_ W can only receive the service message of Root_W forwarding;Leaf_P can only receive the service message of Root_P forwarding;Leaf_C can be from Root_W or Root_P receives service message;Message is forbidden to forward between Leaf member or Root member.According to above-mentioned rule Model rule can be learnt: Leaf_C member needs to be determined according to network state to need to receive message from Root_W or Root_P, I.e. Leaf_C member needs pretection switch to act, and guarantees that service disconnection is no more than 50ms when network failure.In fig 1 a, work Make that forward-path is normal, connects Leaf_C member in PTN2, PTN3 equipment of multicast client and receive two layers of group from Root_W Casting text.In Figure 1b, work forward-path breaks down, and pretection switch occurs for PTN2, PTN3, that is, is switched to Root_P reception Layer 2 Multicast message.
It is found by analysis, in existing P2MP Layer 2 Multicast pretection switch embodiment, mode that there are mainly two types of:
Isolation group mode: isolation group mode needs to create several isolation groups well with isolated relation, Zhi Hougen in advance According to the isolation group where protection group alarm status switching at runtime Leaf_C, to guarantee in the new place isolation group of Leaf_C Root member receives service message;
Be dynamically added multicast mode: Leaf_C member is dynamically added the multicast group where protection according to work/guard mode.
Above-mentioned two mode all has problems in that: isolation group or multicast group sheet where dynamic configuration Leaf_C member Body needs to expend certain time.When Leaf_C quantity increases, one by one in handoff procedure, subsequent Leaf_C switches the response time It will necessarily be linearly increasing, it is difficult to guarantee the switching time of 50ms;In addition, finding in practical applications, isolation group mode needs to account for With QOS token resource, devices exchange capacity is caused to be restricted, can not efficiently utilize bandwidth.
For among the above, not yet put forward effective solutions in the related technology.
Summary of the invention
The embodiment of the invention provides a kind of pretection switch method, apparatus of point-to-multipoint Layer 2 Multicast business and storage to be situated between Matter switches low efficiency at least to solve to be unable to multicast member in the related technology when carrying out flux of multicast and switching, influences equipment friendship The problems such as changing capacity.
According to one embodiment of present invention, a kind of pretection switch method of point-to-multipoint Layer 2 Multicast business is provided, Include: by each point-to-multipoint Layer 2 Multicast service decomposition be two virtual special local area network network VPLS;For the VPLS Create multicast group;It is associated with forwarding equivalence class FEC for the multicast group, and the associated FEC is formed into multicast protection group;It utilizes The multicast protection group carries out pretection switch to the transmission of the Layer 2 Multicast business.
Optionally, by each point-to-multipoint Layer 2 Multicast service decomposition be two VPLS include: be point-to-multipoint P2MP business configuration primary VPLS and spare VPLS.
It optionally, is that create the multicast group include: to configure the first primary multicast group for the primary VPLS to the VPLS With the first spare multicast group;The second primary multicast group and the second spare multicast group are configured for the spare VPLS;Wherein, described It include the P2MP industry in one primary multicast group, the first spare multicast group, the second primary multicast group and the second spare multicast group Multicast member in business.
Optionally, it is associated with forwarding equivalence class FEC for the multicast group, and the associated FEC is formed into multicast protection group It include: to identify FailOverId for the P2MP business application failover;For the described first primary multicast group and described first The first FEC and the 2nd FEC is respectively configured in spare multicast group;According to the FailOverId by the first FEC and described second FEC forms the first super forwarding equivalence class SuperFEC multicast protection group;For the described second primary multicast group and described second standby The 3rd FEC and the 4th FEC is respectively configured with multicast group;According to the FailOverId by the 3rd FEC and the described 4th FEC forms the second super forwarding equivalence class SuperFEC multicast protection group.
Optionally, after creating multicast group for the VPLS, the method also includes: include in the multicast group Transmission channel configuration alarm instruction where multicast member, wherein the alarm instruction is for needing to the Layer 2 Multicast The transmission of group business indicated when pretection switch.
Optionally, using the multicast protection group to the transmission of the Layer 2 Multicast business carry out pretection switch include: by The corresponding PW of multicast member in the P2MP is configured to the protection group of no APS, and the protection group of the no APS is configured to now In field programmable gate array FPGA;The corresponding next-hop address information of the FailOverId is write in the FPGA;Work as inspection When measuring alarm instruction, indicate the FPGA according to the FailOverId to the first SuperFEC multicast protection group and institute The next hop information for stating the 2nd SuperFEC multicast protection group synchronizes switching, or to the transmission of the Layer 2 Multicast business into Row pretection switch.
According to another embodiment of the invention, a kind of pretection switch dress of point-to-multipoint Layer 2 Multicast business is also provided It sets, comprising: the first configuration module, for being two virtual private locals by each point-to-multipoint Layer 2 Multicast service decomposition Network VPLS;Creation module, for creating multicast group for the VPLS;Relating module, for being forwarded for multicast group association Equivalence class FEC, and the associated FEC is formed into multicast protection group;Module is switched, for utilizing the multicast protection group to institute The transmission for stating Layer 2 Multicast business carries out pretection switch.
Optionally, first configuration module includes: the first configuration unit, for being point-to-multipoint P2MP business configuration master With VPLS and spare VPLS.
Optionally, the creation module includes: the second configuration unit, for configuring first primary group for the primary VPLS Broadcast group and the first spare multicast group;Third configuration unit, for configuring the second primary multicast group and second for the spare VPLS Spare multicast group;Wherein, the described first primary multicast group, the first spare multicast group, the second primary multicast group and second spare group It broadcasts in group including the multicast member in the P2MP business.
Optionally, the relating module includes: application unit, for identifying for the P2MP business application failover FailOverId;4th configuration unit, for being respectively configured for the described first primary multicast group and the first spare multicast group First FEC and the 2nd FEC;First component units, for according to the FailOverId by the first FEC and described second FEC forms the first super forwarding equivalence class SuperFEC multicast protection group;5th configuration unit, for being described second primary group It broadcasts group and the 3rd FEC and the 4th FEC is respectively configured in the described second spare multicast group;Second component units, for according to 3rd FEC and the 4th FEC is formed the second super forwarding equivalence class SuperFEC multicast protection group by FailOverId.
Optionally, described device further include: the second configuration module, for being after creating multicast group for the VPLS Transmission channel configuration alarm instruction where the multicast member for including in the multicast group, wherein the alarm indicate for The transmission to the Layer 2 Multicast group business is needed to indicate when carrying out pretection switch.
Optionally, the module of switching includes: the 6th configuration unit, for the multicast member in the P2MP is corresponding PW is configured to the protection group of no APS, and the protection group of the no APS is configured in on-site programmable gate array FPGA;Processing Unit, for writing the FailOverId corresponding next-hop address information in the FPGA;Indicating unit, for when inspection When measuring alarm instruction, indicate the FPGA according to the FailOverId to the first SuperFEC multicast protection group and institute The next-hop for stating the 2nd SuperFEC multicast protection group synchronizes switching, or protects to the transmission of the Layer 2 Multicast business Protective switching.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, the storage medium includes storage Program, wherein described program executes method described in any of the above embodiments when running.
According to still another embodiment of the invention, a kind of processor is additionally provided, the processor is used to run program, In, described program executes method described in any of the above embodiments when running.
Through the invention, due to by each point-to-multipoint Layer 2 Multicast service decomposition be two virtual special local area network networks VPLS;And multicast group is created for VPLS;It is associated with forwarding equivalence class FEC for multicast group, and associated FEC composition multicast is protected Group;Pretection switch is carried out to the transmission of the Layer 2 Multicast business using multicast protection group.Therefore, it can solve in the related technology Existing multicast member switches low efficiency when carrying out flux of multicast and switching, influences the problems such as devices exchange capacity, reaches guarantee Switching time, and improve the effect for switching efficiency.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 a is P2MP Layer 2 Multicast Business Transport Network typical case networking diagram (one) in the related technology;
Fig. 1 b is P2MP Layer 2 Multicast Business Transport Network typical case networking diagram (two) in the related technology;
Fig. 2 is a kind of mobile terminal of the pretection switch method of point-to-multipoint Layer 2 Multicast business of the embodiment of the present invention Hardware block diagram;
Fig. 3 is the flow chart of the pretection switch method of point-to-multipoint Layer 2 Multicast business according to an embodiment of the present invention;
Fig. 4 is P2MP Layer 2 Multicast protection scheme figure (one) according to an embodiment of the present invention;
Fig. 5 is P2MP Layer 2 Multicast protection scheme figure (two) according to embodiments of the present invention;
Fig. 6 is multicast service configuration figure according to embodiments of the present invention;
Fig. 7 is multicast protection group configuration diagram according to embodiments of the present invention;
Fig. 8 is the structural frames of the point-to-multipoint changing device of point-to-multipoint Layer 2 Multicast business according to an embodiment of the present invention Figure.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment of the method provided by the embodiment of the present application can be in mobile terminal, terminal or similar operation It is executed in device.For running on mobile terminals, Fig. 2 is a kind of point-to-multipoint Layer 2 Multicast business of the embodiment of the present invention Pretection switch method mobile terminal hardware block diagram.As shown in Fig. 2, mobile terminal 20 may include one or more (processor 202 can include but is not limited to Micro-processor MCV or programmable logic device to (one is only shown in Fig. 2) processor 202 The processing unit of part FPGA etc.), memory 204 for storing data and the transmitting device 206 for communication function.This Field those of ordinary skill is appreciated that structure shown in Fig. 2 is only to illustrate, and does not cause to the structure of above-mentioned electronic device It limits.For example, mobile terminal 20 may also include than shown in Fig. 2 more perhaps less component or have with shown in Fig. 2 not Same configuration.
Memory 204 can be used for storing the software program and module of application software, as the point in the embodiment of the present invention arrives Corresponding program instruction/the module of the pretection switch method of multiple spot Layer 2 Multicast business, processor 202 are stored in storage by operation Software program and module in device 204 realize above-mentioned method thereby executing various function application and data processing. Memory 204 may include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage fills It sets, flash memory or other non-volatile solid state memories.In some instances, memory 204 can further comprise relative to place The remotely located memory of device 202 is managed, these remote memories can pass through network connection to mobile terminal 20.Above-mentioned network Example includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 206 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of mobile terminal 20 provide.In an example, transmitting device 206 includes a Network adaptation Device (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments to It can be communicated with internet.In an example, transmitting device 206 can for radio frequency (Radio Frequency, referred to as RF) module is used to wirelessly be communicated with internet.
A kind of pretection switch method of point-to-multipoint Layer 2 Multicast business is provided in the present embodiment, and Fig. 3 is according to this The flow chart of the pretection switch method of the point-to-multipoint Layer 2 Multicast business of inventive embodiments, as shown in figure 3, the process includes such as Lower step:
Each point-to-multipoint above-mentioned Layer 2 Multicast service decomposition is two virtual special local area network networks by step S302 VPLS;
Step S304 creates multicast group for above-mentioned VPLS;
Step S306 is associated with forwarding equivalence class FEC for above-mentioned multicast group, and associated above-mentioned FEC composition multicast is protected Group;
Step S308 carries out pretection switch to the transmission of above-mentioned Layer 2 Multicast business using above-mentioned multicast protection group.
Through the above steps, due to by each point-to-multipoint Layer 2 Multicast service decomposition be two virtual special local area networks Network VPLS;And multicast group is created for VPLS;It is associated with forwarding equivalence class FEC for multicast group, and associated FEC composition multicast is protected Group;Pretection switch is carried out to the transmission of above-mentioned Layer 2 Multicast business using multicast protection group.Therefore, it can solve in the related technology Existing multicast member switches the problem of low efficiency, influence devices exchange capacity etc. when carrying out flux of multicast and switching, and reaches guarantor Switching time is demonstrate,proved, and improves the effect for switching efficiency.
Optionally, the executing subject of above-mentioned steps can be terminal etc., but not limited to this.
It in an alternative embodiment, is two VPLS by each point-to-multipoint above-mentioned Layer 2 Multicast service decomposition It may include: for point-to-multipoint P2MP business configuration primary VPLS and spare VPLS.In the present embodiment, it can be two layers of group The business MTREE of broadcasting resolves into primary VPLS and spare VPLS.
It in an alternative embodiment, is that create above-mentioned multicast group may include: for above-mentioned primary VPLS to above-mentioned VPLS Configure the first primary multicast group and the first spare multicast group;The second primary multicast group and second spare is configured for above-mentioned spare VPLS Multicast group;Wherein, the above-mentioned first primary multicast group, the first spare multicast group, the second primary multicast group and the second spare multicast group In include above-mentioned P2MP business in multicast member.In the present embodiment, the multicast member in P2MP includes Root_W (work Root), Root_P (protection root), Leaf_W (work leaf), Leaf_P (protection leaf), Leaf_Common (general leaf) etc..
In an alternative embodiment, it is associated with forwarding equivalence class FEC for above-mentioned multicast group, and by associated above-mentioned FEC Composition multicast protection group may include: to identify FailOverId for above-mentioned P2MP business application failover;It is main for above-mentioned first The first FEC and the 2nd FEC is respectively configured with multicast group and above-mentioned first spare multicast group;It will be upper according to above-mentioned FailOverId It states the first FEC and above-mentioned 2nd FEC and forms the first super forwarding equivalence class SuperFEC multicast protection group;It is primary for above-mentioned second The 3rd FEC and the 4th FEC is respectively configured in multicast group and above-mentioned second spare multicast group;According to above-mentioned FailOverId by above-mentioned Three FEC and above-mentioned 4th FEC form the second super forwarding equivalence class SuperFEC multicast protection group.
In an alternative embodiment, for above-mentioned VPLS create multicast group after, the above method can also include: for Transmission channel configuration alarm instruction where the multicast member for including in above-mentioned multicast group, wherein above-mentioned alarm instruction for The transmission to above-mentioned Layer 2 Multicast group business is needed to indicate when carrying out pretection switch.In the present embodiment, announcement among the above Alert instruction is the one of condition switched.
In an alternative embodiment, the transmission of above-mentioned Layer 2 Multicast business is protected using above-mentioned multicast protection group Protective switching may include: the protection group for configuring the corresponding PW of multicast member in above-mentioned P2MP to no APS, and by above-mentioned nothing The protection group of APS is configured in on-site programmable gate array FPGA;By the corresponding next-hop address information of above-mentioned FailOverId It writes in above-mentioned FPGA;When detecting above-mentioned alarm instruction, indicate above-mentioned FPGA according to above-mentioned FailOverId to first The next-hop of SuperFEC multicast protection group and above-mentioned 2nd SuperFEC multicast protection group synchronizes switching, or to above-mentioned two The transmission of layer multicast service is switched.In the present embodiment, to the first SuperFEC multicast protection group and above-mentioned second The next-hop of SuperFEC multicast protection group synchronizes switching, can be and switches to the transmission of above-mentioned Layer 2 Multicast business It can be identical switching.
The present invention is described in detail combined with specific embodiments below:
Specific embodiment 1
This specific embodiment will solve the problems, such as: in order to avoid isolation where switching at runtime Leaf_C in existing implementation Group or the various problems of multicast group bring propose a kind of new guard method for not needing switching at runtime Leaf_C.Pass through this Embodiment can realize the quick protective switch of P2MP Layer 2 Multicast based on P2P PW existing in PTN network, switch efficiency not It is influenced by the growth of Leaf_C quantity;In addition, the present embodiment will not additionally occupy quality (the Quality of of different user business Service, referred to as QOS) resource, it will not influence the exchange capacity of PTN device, what is guaranteed network bandwidth makes full use of.
The used following technical scheme of this specific embodiment:
The core technology scheme of this specific embodiment is in the business configuration stage by the side UNI of P2MP Layer 2 Multicast business The side CIP, NNI PW member decomposes in one group of multicast group according to forward rule, and protection relationship is formed between different multicast groups.Work as inspection Measure operating path break down need to be switched to Protection path receive service message when, pass through logic chip trigger multicast MAC+ Multicast protection group pointed by VPN72221ID is switched, and the multicast where switching at runtime multicast service members is not needed Group or isolation group, so that solve to point out in background technique in the prior art such as switch low efficiency, influences devices exchange The problems such as capacity.
The technical principle of this specific embodiment is as shown in Figure 4, Figure 5.
It needs MTREE service decomposition to be two VPLS business in configuration phase, primary VPLS is for receiving operating path The multicast message forwarded, spare VPLS is for receiving the multicast message that Protection path forwards.For each VPLS creation Two multicast groups are respectively associated to a forwarding equivalence class (Forward Equivalence Class, referred to as FEC), will be upper State two FEC form super forwarding equivalence class (Super Forward Equivalence Class, referred to as SuperFEC), form a protection group (corresponding to multicast protection group among the above).The allocation rule of multicast member are as follows: switch Leaf_C switches rear Leaf_C from the spare of spare VPLS from the primary multicast reception flow of primary VPLS before (corresponding to switching) Main broadcaster, which organizes, receives flow.Furthermore, it is necessary to the identical interface for being used to switch next-hop is distributed for above-mentioned two SuperFEC, thus Guarantee cuts module when detecting alarm and executing switching action fastly, synchronism switching work VPLS multicast MAC, protection VPLS multicast Multicast group pointed by MAC.
FEC is the forwarding equivalence class defined inside equipment, and a FEC is for being directed toward a multicast group objects.
SuperFec is the super forwarding equivalence class defined inside equipment, the FEC comprising there are two, constitutes a multicast protection Group.
By above-mentioned with postponing, when active link fault-free, flux of multicast of the multicast source by operating path forwarding enters After PTN device, multicast MAC is directed toward in SuperFEC1 (corresponding to the first super forwarding equivalence class SuperFEC among the above) It include Root_W, Leaf_C member in the multicast group McGrp1 that FEC1, FEC1 are directed toward, i.e. Leaf_C is received from operating path Flux of multicast.After the triggering of active link failure is switched, the multicast group that operating path VPLS is directed toward is switched to McGrp2, only Root_W, Leaf_W member, do not have Leaf_C member;The multicast group synchronism switching that Protection path VPLS is directed toward is McGrp4, packet Containing Root_P, Leaf_P, Leaf_C member, i.e., after too fast cut, P2MP Layer 2 Multicast business Leaf_C member be switched to from Backup path receives flux of multicast.
Specific embodiment 2:
In order to avoid isolation group where switching at runtime Leaf_C in existing implementation or multicast group bring is various asks Topic proposes a kind of new guard method for not needing switching at runtime Leaf_C, comprising the following steps:
Step 1:P2MP Layer 2 Multicast business configuration:
When user is in PTN device configuration distributing P2MP Layer 2 Multicast business MTREE, the processing of Multicast configuration adaptation module Process is as shown in Figure 6.
It is first that primary, spare two VPLS are issued to operation exchange chip by P2MP service adaptation, in VPN72221ID Part is matched, and needs to guarantee to conflict with the VPN72221ID that common VPLS is used.Here primary, standby be us from The relationship of row definition, is handled for subsequent pretection switch, and operation exchange chip need not identification main and standby relation.
Later, the side the UNI side CIP, NNI PW member for including in P2MP multicast service is assigned to primary, spare VPLS industry Business.Allocation rule are as follows: Root_W, Root_P, Leaf_C are added to primary VPLS, and Root_P, Leaf_P are added to spare VPLS.
Multicast configuration adaptation module is the business configuration module inside equipment, the Layer 2 Multicast business for issuing to user Configuration information carries out relevant treatment, and user need not perceive, we convert the MTREE multicast service in industry standard in the present invention To be realized by the VPLS of existing maturation.
MTREE business is the Layer 2 Multicast business of user interface configuration, include srvice instance, UNI flank inbound port at The information such as member, the side NNI PW member, member role, interface VLAN, PW label, LSP label, outgoing interface, ARP.
Bis- layer service Multicast configuration of step 2:P2MP:
Multicast source regularly sends multicast query message, and after multicast client replys report message, protocol process module is just P2MP multicast group and corresponding multicast member relationship can be generated.Multicast group and member relation are issued to Multicast configuration adaptation module Process flow afterwards is as shown in Figure 6.
Firstly, primary, spare VPLS respectively described above, which creates two corresponding multicast groups, is issued to exchange chip, The corresponding multicast MAC of each multicast group is identical.Here primary, the standby of main broadcaster's group are equally our self-definings, are handed over Changing chip need not distinguish.
Later, be each Multicast Group Assignment multicast member, allocation rule is as follows: the primary multicast group of primary VPLS adds industry Be engaged in the member that member role is Root_W, Leaf_W, Leaf_C;Business member role is added for the spare multicast group of primary VPLS For the member of Root_W, Root_P;It is Root_P, Leaf_P for the primary multicast group addition business member role of spare VPLS Member;The member that business member role is Root_P, Leaf_P, Leaf_C is added for the spare multicast group of spare VPLS
Step 3: the configuration of protection group:
After the completion of P2MP business configuration, Multicast configuration are collected, Multicast configuration adaptation module just starts to carry out protection group configuration, Process flow is as shown in Figure 7.
Firstly, being P2MP Layer 2 Multicast business application FailOverId;
Later, it creates that primary VPLS1 is primary, spare multicast group corresponding FEC1, FEC2, uses FailOverId creation master Use VPLS1;
Primary, the spare member of corresponding SuperFEC1, SuperFEC1 are respectively that primary VPLS multicast group is corresponding FE1,FEC2;Static multicast MAC1 is added by keyword of MAC+VPLS1VPN72221ID, is directed toward multicast MAC1 SuperFEC1;
Finally, creating, spare VPLS2 is primary, spare multicast group corresponding FEC3, FEC4, is created using FailOverId standby With the corresponding SuperFEC2 of VPLS2, primary, the spare member of SuperFEC2 be respectively the corresponding FE3 of primary VPLS multicast group, FEC4;Static multicast MAC2 is added by keyword of MAC+VPLS2VPN72221ID, multicast MAC2 is made to be directed toward SuperFEC2;
FailOverId is allocated to an address designator of SuperFEC, can be calculated by FailOverId For saving the address of protection group next hop information in exchange chip, by changing to the next hop information that address above mentioned is stored It writes, the operation of protection group pretection switch can be carried out.
After through the above configuration, we are directed toward corresponding two multicast groups of primary VPLS1 using SuperFEC1, make it Form the corresponding multicast protection group of primary VPLS;Corresponding two multicast groups of spare VPLS2 are directed toward using SuperFEC2, make it Form the spare corresponding multicast protection group of VPLS;In addition, the corresponding corresponding two multicasts protection group of VPLS1, VPLS2 Identical FailOverId has been used, it means that once triggering is switched, the corresponding multicast protection group meeting of VPLS1, VPLS2 Synchronous switching, without poor any time.
Step 4: alarm configuration:
For mTree business, when the corresponding PW of Root_W, Root-P in the event of failure (SF or CSF), need to Leaf_ W, the corresponding PW underthrust CSF alarm of Leaf_P, Leaf_C member, so that the PTN in the P2MP Layer 2 Multicast transmission network of downstream is set It is standby to carry out multicast service switching according to indicating fault.Specific alarm delivery rules are as follows:
Air conduct measurement where Root_W and Root_P PW needs logical toward their places Leaf_W, Leaf_P respectively to failure Road is inserted into indicating fault;It is upper all in P2MP Layer 2 Multicast business when channel where Root_W and Root_P PW while equal failure Leaf_C PW member will be inserted into indicating fault toward multicast channel downstream.
Step 5: pretection switch processing:
Multicast configuration adaptation module forms the corresponding PW of Root_W and Root_P member in P2MP Layer 2 Multicast business The protection group without APS agreement of 1:1 is configured to FPGA, while the next hop address for the FailOverId reply that step 3 is distributed Information writes FPGA.
The alarm status that FPGA passes through hardware detection work PW, protection PW.Once FPGA will as operating path breaks down It can trigger and quickly switch, cut the corresponding protection group next-hop address information of message modification FailOverId fastly by sending, therefore The next-hop that SuperFec1, SuperFEC2 are directed toward is switched to FEC2, FEC4 respectively, since FEC2, FEC4 are respectively directed to Spare multicast group McGrp2, McGrp4 of VPLS1, VPLS2, the result after quick protective switch are as follows: Leaf_C is switched to from Root_ P receives Layer 2 Multicast message.It was verified that the practice of switching that above-mentioned pretection switch movement can be good at meeting 50ms requires.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
A kind of point-to-multipoint changing device of point-to-multipoint Layer 2 Multicast business is additionally provided in the present embodiment, which uses In realizing above-described embodiment and preferred embodiment, the descriptions that have already been made will not be repeated.As used below, term The combination of the software and/or hardware of predetermined function may be implemented in " module ".Although device is preferably described in following embodiment It is realized with software, but the realization of the combination of hardware or software and hardware is also that may and be contemplated.
Fig. 8 is the structural block diagram of the pretection switch device of point-to-multipoint Layer 2 Multicast business according to an embodiment of the present invention, As shown in figure 8, the device includes: the first configuration module 802, creation module 804, relating module 806 and switches module 808, under It is described in detail in face of the device:
First configuration module 802, for being two virtual privates by each point-to-multipoint above-mentioned Layer 2 Multicast service decomposition Local area network VPLS;Creation module 804 is connected to the first configuration module 802 among the above, for creating multicast for above-mentioned VPLS Group;Relating module 806 is connected to creation module 804 among the above, for being associated with forwarding equivalence class FEC for above-mentioned multicast group, and Associated above-mentioned FEC is formed into multicast protection group;Module 808 is switched, relating module 806 among the above is connected to, for utilizing Above-mentioned multicast protection group carries out pretection switch to the transmission of above-mentioned Layer 2 Multicast business.
In an alternative embodiment, above-mentioned first configuration module 802 may include: the first configuration unit, for for The point-to-multipoint primary VPLS and spare VPLS of P2MP business configuration.
In an alternative embodiment, above-mentioned creation module 804 may include: the second configuration unit, for being above-mentioned Primary VPLS configures the first primary multicast group and the first spare multicast group;Third configuration unit, for matching for above-mentioned spare VPLS Set the second primary multicast group and the second spare multicast group;Wherein, the above-mentioned first primary multicast group, the first spare multicast group, second It include the multicast member in above-mentioned P2MP business in primary multicast group and the second spare multicast group.
In an alternative embodiment, above-mentioned relating module 806 may include: application unit, for being above-mentioned P2MP Business application failover identifies FailOverId;4th configuration unit, for for the above-mentioned first primary multicast group and above-mentioned the The first FEC and the 2nd FEC is respectively configured in one spare multicast group;First component units, for according to above-mentioned FailOverId by It states the first FEC and above-mentioned 2nd FEC and forms the first super forwarding equivalence class SuperFEC multicast protection group;5th configuration unit, For the 3rd FEC and the 4th FEC to be respectively configured for the above-mentioned second primary multicast group and above-mentioned second spare multicast group;Second group At unit, for above-mentioned 3rd FEC and above-mentioned 4th FEC to be formed the second super forwarding equivalence class according to above-mentioned FailOverId SuperFEC multicast protection group.
In an alternative embodiment, above-mentioned apparatus can also include: the second configuration module, for for above-mentioned VPLS It is the transmission channel configuration alarm instruction where the multicast member for including in above-mentioned multicast group after creating multicast group, wherein on Alarm instruction is stated for needing the transmission to above-mentioned Layer 2 Multicast group business to indicate when carrying out pretection switch.
In an alternative embodiment, above-mentioned module 808 of switching may include: the 6th configuration unit, and being used for will be above-mentioned The corresponding pseudo-wire PW of multicast member in P2MP is configured to the protection group of no APS, and the protection group of above-mentioned no APS is configured to now In field programmable gate array FPGA;Processing unit, for writing the corresponding next-hop address information of above-mentioned FailOverId It states in FPGA;Indicating unit, for indicating above-mentioned FPGA according to above-mentioned FailOverId pairs when detecting above-mentioned alarm instruction The next-hop of first SuperFEC multicast protection group and above-mentioned 2nd SuperFEC multicast protection group synchronizes switching, or to upper The transmission for stating Layer 2 Multicast business carries out pretection switch.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any Combined form is located in different processors.
The embodiments of the present invention also provide a kind of storage medium, which includes the program of storage, wherein above-mentioned Program executes method described in any of the above embodiments when running.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store for executing above each step Program code.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store program code such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of processor, the processor is for running program, wherein program operation Step in Shi Zhihang any of the above-described method.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc. With replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (13)

1. a kind of pretection switch method of point-to-multipoint Layer 2 Multicast business characterized by comprising
It is two virtual special local area network network VPLS by each point-to-multipoint Layer 2 Multicast service decomposition;
Multicast group is created for the VPLS;
It is associated with forwarding equivalence class FEC for the multicast group, and the associated FEC is formed into multicast protection group;
Pretection switch is carried out to the transmission of the Layer 2 Multicast business using the multicast protection group.
2. the method according to claim 1, wherein being by each point-to-multipoint Layer 2 Multicast service decomposition Two VPLS include:
For point-to-multipoint P2MP business configuration primary VPLS and spare VPLS.
3. according to the method described in claim 2, it is characterized in that, including: for the VPLS creation multicast group
The first primary multicast group and the first spare multicast group are configured for the primary VPLS;
The second primary multicast group and the second spare multicast group are configured for the spare VPLS;
Wherein, in the described first primary multicast group, the first spare multicast group, the second primary multicast group and the second spare multicast group Including the multicast member in the P2MP business.
4. according to the method described in claim 3, it is characterized in that, being that the multicast group is associated with forwarding equivalence class FEC, and will close The FEC of connection forms multicast protection group
FailOverId is identified for the P2MP business application failover;
The first FEC and the 2nd FEC is respectively configured for the described first primary multicast group and the first spare multicast group;
The first FEC and the 2nd FEC is formed into the first super forwarding equivalence class according to the FailOverId SuperFEC multicast protection group;
The 3rd FEC and the 4th FEC is respectively configured for the described second primary multicast group and the second spare multicast group;
The 3rd FEC and the 4th FEC is formed into the second super forwarding equivalence class according to the FailOverId SuperFEC multicast protection group.
5. according to the method described in claim 4, it is characterized in that, for the VPLS create multicast group after, the method Further include:
For include in the multicast group multicast member where transmission channel configuration alarm instruction, wherein the alarm indicates For being indicated when needing and being switched to the transmission of the Layer 2 Multicast group business.
6. according to the method described in claim 5, it is characterized in that, using the multicast protection group to the Layer 2 Multicast business Transmission carry out pretection switch include:
Configure the corresponding pseudo-wire PW of multicast member in the P2MP to the protection group of no automatic protection switching APS agreement, and Protection group without the APS agreement is configured in on-site programmable gate array FPGA;
The corresponding next-hop address information of the FailOverId is write in the FPGA;
When detecting alarm instruction, indicate that the FPGA protects the first SuperFEC multicast according to the FailOverId Shield group and the next-hop of the 2nd SuperFEC multicast protection group synchronize switch over, or to the biography of the Layer 2 Multicast business It is input into row pretection switch.
7. a kind of pretection switch device of point-to-multipoint Layer 2 Multicast business characterized by comprising
First configuration module, for being two virtual special local area network networks by each point-to-multipoint Layer 2 Multicast service decomposition The configuration of VPLS;
Creation module, for creating multicast group for the VPLS;
Relating module for being associated with forwarding equivalence class FEC for the multicast group, and the associated FEC composition multicast is protected Group;
Module is switched, for carrying out pretection switch to the transmission of the Layer 2 Multicast business using the multicast protection group.
8. device according to claim 7, which is characterized in that first configuration module includes:
First configuration unit, for being point-to-multipoint P2MP business configuration primary VPLS and spare VPLS.
9. device according to claim 8, which is characterized in that the creation module includes:
Second configuration unit, for configuring the first primary multicast group and the first spare multicast group for the primary VPLS;
Third configuration unit, for configuring the second primary multicast group and the second spare multicast group for the spare VPLS;
Wherein, in the described first primary multicast group, the first spare multicast group, the second primary multicast group and the second spare multicast group Including the multicast member in the P2MP business.
10. device according to claim 9, which is characterized in that the relating module includes:
Application unit, for identifying FailOverId for the P2MP business application failover;
4th configuration unit, for the first FEC to be respectively configured for the described first primary multicast group and the first spare multicast group, With the 2nd FEC;
First component units, for according to the FailOverId that the first FEC and the 2nd FEC composition first is super Forwarding equivalence class SuperFEC multicast protection group;
5th configuration unit, for the 3rd FEC to be respectively configured for the described second primary multicast group and the second spare multicast group, With the 4th FEC;
Second component units, for according to the FailOverId that the 3rd FEC and the 4th FEC composition second is super Forwarding equivalence class SuperFEC multicast protection group.
11. device according to claim 10, which is characterized in that described device further include:
Second configuration module, for after creating multicast group for the VPLS, being the multicast member for including in the multicast group The transmission channel configuration alarm instruction at place, wherein the alarm instruction is for needing to the Layer 2 Multicast group business Transmission indicated when pretection switch.
12. device according to claim 11, which is characterized in that the module of switching includes:
6th configuration unit, for configuring the corresponding PW of multicast member in the P2MP to the protection group of no APS, and by institute The protection group for stating no APS is configured in on-site programmable gate array FPGA;
Processing unit, for writing the FailOverId corresponding next-hop address information in the FPGA;
Indicating unit, for indicating the FPGA according to the FailOverId to first when detecting alarm instruction The next-hop of SuperFEC multicast protection group and the 2nd SuperFEC multicast protection group synchronizes switching, or to described two The transmission of layer multicast service carries out pretection switch.
13. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein when described program is run Method described in any one of perform claim requirement 1 to 6.
CN201710463121.3A 2017-06-19 2017-06-19 Protection switching method, device and storage medium for point-to-multipoint two-layer multicast service Active CN109150711B (en)

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 true CN109150711A (en) 2019-01-04
CN109150711B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112543143A (en) * 2020-11-30 2021-03-23 盛科网络(苏州)有限公司 Method, chip, equipment and storage medium for multicast service fast protection switching
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
CN115333614A (en) * 2022-07-26 2022-11-11 烽火通信科技股份有限公司 System and method for realizing ODUk protection by using equivalent protection class, and POTN device

Citations (5)

* Cited by examiner, † Cited by third party
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)
US20150036685A1 (en) * 2013-07-30 2015-02-05 Cisco Technology, Inc. Multicast label distribution protocol over a remote loop-free alternative

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)
US20150036685A1 (en) * 2013-07-30 2015-02-05 Cisco Technology, Inc. Multicast label distribution protocol over a remote loop-free alternative

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李锦勋: "《新型多播传送技术P2MP的研究》", 《中国新通信》 *

Cited By (5)

* Cited by examiner, † Cited by third party
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
CN112543143A (en) * 2020-11-30 2021-03-23 盛科网络(苏州)有限公司 Method, chip, equipment and storage medium for multicast service fast protection switching
CN112543143B (en) * 2020-11-30 2022-08-26 苏州盛科通信股份有限公司 Method, chip, equipment and storage medium for multicast service fast protection switching
CN115333614A (en) * 2022-07-26 2022-11-11 烽火通信科技股份有限公司 System and method for realizing ODUk protection by using equivalent protection class, and POTN device
CN115333614B (en) * 2022-07-26 2023-05-05 烽火通信科技股份有限公司 System, method and POTN device for realizing ODUk protection by using equivalent protection class

Also Published As

Publication number Publication date
CN109150711B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN106656794B (en) Message transmission method and device
CN100512148C (en) Convergence method and device based on VPLS dual home full connection network
US20110188499A1 (en) Point-to-multipoint path implementation in a multicast virtual private network
CN105704029B (en) Pseudo wire establishing method, system and equipment
CN103916275A (en) BFD detection device and method
US10855576B2 (en) Information transmission method and device
CN102624615B (en) Forwarding method and forwarding device for multicast data messages based on multiple protocol label switching (MPLS)
CN103117935A (en) Multicast data forwarding method and multicast data forwarding device applied to multi-homing networking
CN102420762B (en) Message forwarding method, message forwarding system, network equipment and firewall wire card
CN111490933B (en) Bidirectional forwarding detection switching method and edge device
CN102273177A (en) Neighbour discovery protocol mediation
JP4946803B2 (en) Packet relay method and apparatus
CN101826990A (en) Method, device and system for detecting connectedness of virtual pseudo wires
CN103125100A (en) Layer 2 network loop processing method, device and network device
US10225091B2 (en) Method for implementing point-to-multipoint multicast, network node, and system
CN109150711A (en) The pretection switch method, apparatus and storage medium of point-to-multipoint Layer 2 Multicast business
CN106357542A (en) Method for providing multicast service and software defined network controller
CN101621477A (en) Method and device for one-to-many port mirror image
US9246797B2 (en) PORT based redundant link protection
US10476774B2 (en) Selective transmission of bidirectional forwarding detection (BFD) messages for verifying multicast connectivity
CN110120906B (en) Method and device for realizing dual active access TRILL park edge
US20160308752A1 (en) Method and apparatus for implementing redundancy protection
CN102857399A (en) MAC address deleting method, device and system of VPLS dual homing network
CN102238040B (en) Method for monitoring CE (Customer Edge router) and routing device
CN103457794A (en) Method and system for confirming faults of IP bearer network

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