WO2011144088A2 - Method for service protection and access device - Google Patents

Method for service protection and access device Download PDF

Info

Publication number
WO2011144088A2
WO2011144088A2 PCT/CN2011/074683 CN2011074683W WO2011144088A2 WO 2011144088 A2 WO2011144088 A2 WO 2011144088A2 CN 2011074683 W CN2011074683 W CN 2011074683W WO 2011144088 A2 WO2011144088 A2 WO 2011144088A2
Authority
WO
WIPO (PCT)
Prior art keywords
service
pseudowire
physical link
standby
primary
Prior art date
Application number
PCT/CN2011/074683
Other languages
French (fr)
Chinese (zh)
Other versions
WO2011144088A3 (en
Inventor
江元龙
罗勇
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/074683 priority Critical patent/WO2011144088A2/en
Priority to CN201180000697.7A priority patent/CN102282805B/en
Publication of WO2011144088A2 publication Critical patent/WO2011144088A2/en
Publication of WO2011144088A3 publication Critical patent/WO2011144088A3/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • 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/28Routing or path finding of packets in data switching networks using route fault recovery
    • 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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a service protection method and an access device.
  • MPLS Multi-Protocol Label Switching
  • MPLS mainly has two modes of carrying Ethernet services: one is a point-to-point Ethernet private leased line service, and the other is a multi-point to multi-point Ethernet virtual LAN service, which respectively corresponds to VP WS (Virtual Private Wire Service, Virtual private leased line service) and VPLS (Virtual Private LAN Service) technology.
  • VP WS Virtual Private Wire Service, Virtual private leased line service
  • VPLS Virtual Private LAN Service
  • the service packet is added to the MPLS network in the label switching mode after the PW (Pseudowire) label and the LSP (Label Switching Path) tunnel label are added to the ingress node of the MPLS network.
  • Export node Each of the pseudowires corresponds to a unique PW tag value, and multiple pseudowires can be multiplexed into one LSP tunnel for transmission to improve network scalability.
  • the ingress PE the Provider Edge
  • the intermediate node only performs the LSP label exchange, and does not need to process the PW label.
  • the LSP is carried over a physical link layer (e.g., an Ethernet link layer).
  • VPWS is commonly used for the delivery of unicast traffic.
  • the MPLS network connects multiple geographically dispersed customer sites by emulating an Ethernet broadcast domain between PE nodes.
  • a VPLS instance consists of multiple PEs.
  • the PEs are connected to each other through pseudowires (pseudowires are also carried on the LSP), and the services are transmitted through the pseudowires.
  • the PE initiates and terminates the pseudowires.
  • the forwarder forwards according to the MAC address of the Ethernet service frame. Since there is no need to replicate each multicast packet at the source node, VPLS is more efficient for multicast traffic transmission than VPWS bandwidth, and is therefore more used for multicast services.
  • the embodiments of the present invention provide a service protection method and an access device, which can simplify the service protection process and unify the protection methods under various services such as unicast and multicast.
  • a method of business protection including:
  • the access node When the access node detects a continuity fault of the service level, activating the standby physical link of the active physical link, so that the alternate label switched path LSP path and the backup pseudowire on the standby physical link are available;
  • the faulty service is switched to the standby pseudowire by the primary pseudowire carrying the service, where the primary pseudowire is a pseudowire carried by the primary LSP path on the active physical link.
  • the standby pseudowire is a pseudowire carried by a backup LSP path on the standby physical link.
  • An access device includes:
  • a detecting unit configured to run a service level continuity fault detection on a service path between the access node and the aggregation node, where the maintenance node configured to perform the service level continuity fault detection is configured;
  • An activation unit configured to activate a standby physical link of the active physical link when a continuity fault of the service level is detected, so that the backup LSP path and the backup pseudowire on the standby physical link are available; And the faulty service is switched by the primary pseudowire carrying the service to the standby pseudowire, where the primary pseudowire is carried by the primary LSP path on the active physical link.
  • the pseudowire is the pseudowire carried by the alternate LSP path on the standby physical link.
  • the maintenance endpoint is configured in the access node and the aggregation node of the service path in the single/multicast service, and the service level continuity fault detection is performed between the maintenance endpoints, thereby ignoring different layers in the path.
  • Different MPLS OAM mechanisms between different LSP segments as long as service level continuity faults are detected, both the unicast and multicast services are performed by the access node to the standby physical link.
  • the backup pseudowire is used to implement service protection under the MPLS multi-service access system.
  • This method not only greatly simplifies the service protection process, but also unifies the protection methods of unicast and multicast services.
  • the method does not need to rely on the intermediate node for service protection, and can protect multiple fault scenarios of multiple services, ensuring the independence of the access device, and reducing the difficulty of the service access configuration, and does not need to separately unicast and group. Broadcasting provides different protection mechanisms, making deployment easier.
  • FIG. 1 is a schematic diagram of an application scenario of a unicast service in the prior art
  • FIG. 2 is a schematic diagram of an application scenario of a multicast service in the prior art
  • Figure 3 is a schematic diagram of a failure of a multicast service
  • FIG. 4 is a flowchart of a service protection method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of switching protection in the embodiment shown in Figure 4.
  • FIG. 6 is a flowchart of another service protection method according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an application scenario in the embodiment shown in FIG. 6;
  • FIG. 8 is a schematic diagram of handover protection in the case of homology and sibling in the embodiment shown in FIG. 6;
  • FIG. 9 is a flowchart of another service protection method according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of an application scenario in the embodiment shown in FIG. 9;
  • FIG. 11 is a schematic structural diagram of another access node and a sink node according to an embodiment of the present invention
  • FIG. 12 is a schematic structural diagram of an access device according to an embodiment of the present invention
  • FIG. 13 is a schematic structural diagram of another access device according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of an MPLS multi-service access system according to an embodiment of the present invention.
  • the access node (AN) AN1 provides a unicast service scenario through the VPWS technology, such as the LSP path of the residential broadband Internet service through the access node AN1 to the Aggregation Nodes (AGS) AGS2.
  • a PW on the top is transmitted.
  • the access node AN1 is respectively connected to the two nodes AGS1 and AGS3 through the primary and backup physical links, so that two can be established between the access node AN1 and the aggregation node AGS2.
  • the physically separated LSP path such as the primary LSP path through AN1-AGS1-AGS2, and the alternate LSP path through AN1-AGS3-AGS2, because the primary and backup LSP paths are homogenous and identical, so the same pseudowire can be shared. That is, the service pseudowires between the foregoing AN1 and AGS2 may be carried by the primary LSP path or by the backup LSP path.
  • the respective LSP paths carry different pseudowires.
  • the homologous and homogenous representations are imported into the same sink node by the same access node, and the homologous different sinks indicate that the same access node joins different sink nodes.
  • the primary LSP path is carried by the primary physical link of AN1-AGS1 and another one or more physical links between AGS1 and AGS2.
  • the alternate LSP path is the alternate physical link of AN1-AGS3 and another segment between AGS3 and AGS2. Or multiple segments of physical link bearers.
  • the access node AN2 provides a multicast service through the VPLS technology.
  • the access node AN2 is respectively connected to the two nodes AGS4 and AGS6 through two primary and backup physical links, so that there are also two between the access node AN2 and the aggregation node AGS5.
  • the physical separation of the service path such as the primary path through AN2-AGS4-AGS5, and the alternate path through AN2-AGS6-AGS5, but in the multicast service, the downlink Ethernet service packet provided by BRAS2 is first performed in AGS5.
  • the pseudowire is encapsulated and carried by LSP2, and then the multicast packet is transmitted to the AGS4 through the VPLS network.
  • the AGS4 receives and decapsulates the Ethernet frame and then forwards it according to the MAC address in the Virtual Switch Instance (VSI) repeater module.
  • the LSP1 arrives at the AN2, so the primary path and the alternate path both include two LSP paths.
  • the primary path includes the LSP1 and LSP2 paths
  • the alternate path includes the LSP3 and LSP4 paths.
  • Each segment of the LSP path carries its own corresponding pseudowire, between the access node AN2 and the aggregation node AGS5.
  • the service is carried by the pseudo-line carried by the LSPs in the main path.
  • Each LSP is carried by its corresponding physical layer link.
  • the LSP1 path is carried by the physical layer link of AN1-AGS4.
  • the AN2-AGS4 physical layer link carrying the LSP1 path and the AN2-AGS6 physical layer link carrying the LSP3 path cannot be activated at the same time. Otherwise, loopback occurs, that is, the downlink multicast packet is After the LSP1 path of the AGS4-AN2 link enters the AN2, the LSP3 path of the other AN2-AGS6 link may be returned to the VPLS network and continue to reach the same AGS device through the VPLS network. Causes a loopback of the path. Therefore, for a multicast service, only the primary physical link is activated.
  • the LSP1 it carries When it fails, it is obvious that the LSP1 it carries will be faulty. In this case, it can be based on the physical layer protocol (such as the Ethernet cross-frame LAG protocol). 802.1AX) activates the standby physical link segment of the active physical link, and initiates the switching of LSP1 to the LSP3 carried by the standby physical link segment and the pseudowire switching of the corresponding LSP segment to ensure normal operation of the service.
  • the physical layer protocol such as the Ethernet cross-frame LAG protocol.
  • the MPLS OAM needs to be run between the AN and the AGS and the AGS device in the above two scenarios.
  • the Administration and Maintenance mechanism is used to detect whether there is a fault in the corresponding LSP path and the LSP path segment. For example, the LSP path between AN1-AGS2 in Figure 1 and the LSP path between AN2-AGS4 in Figure 2 LSP path between AGS4-AGS5, etc.
  • the VPLS edge node is used as the VPLS edge node, the LSPs need to be terminated and forwarded through the Ethernet destination address.
  • the MPLS OAM running between different LSP segments is completely independent.
  • the embodiment of the present invention provides a service protection method and an access device, in a single/multicast service, in a service path.
  • Continuity fault detection which eliminates the need to deploy corresponding MPLS OAM mechanisms and physical layer OAMs between different layers and different LSP segments in the path. As long as service level continuity faults are detected, both unicast and multicast services are available.
  • the activation of the backup physical link is performed by the access node, so that the backup LSP path carried by the standby physical link and the backup pseudowire carried by the backup LSP path are available, and the service pseudowire carrying the service is used on the primary LSP path.
  • the primary pseudowire switches to the alternate pseudowire of the alternate LSP path, thereby implementing service protection under the MPLS multi-service access system. This method not only greatly simplifies the service protection process, but also unifies the protection methods of unicast and multicast services.
  • FIG. 4 is a flowchart of a service protection method according to an embodiment of the present invention.
  • the service transmitted between the access node and the sink node may be a unicast service or a multicast service.
  • the access node may be a digital subscriber line access multiplexer when the copper wire is accessed.
  • DSLAM Digital Subscriber Line Access Multiplexer
  • OLT Optical Line Terminal
  • MPLS-enabled access device that uses other access technologies or multiple access technologies.
  • the aggregation node can be an MPLS-enabled service router, such as the Quidway NE40 full-service router.
  • the service is carried by the primary physical link between the access node and the sink node. Specifically, the service is carried by the primary pseudowire carried by the primary LSP path on the primary physical link.
  • the physical link between the access node and the sink node also has a standby physical link of the active physical link, and the backup physical link also carries the corresponding backup LSP path and the backup pseudo. Line (as mentioned above, the alternate pseudowire and the main pseudowire can be the same when homologous and sibling).
  • a maintenance end point is configured on the access node and the aggregation node, for example, on the access node AN1 and the aggregation node AGS2 shown in FIG. 1, or in FIG.
  • a maintenance endpoint is configured on the access node AN2 and the aggregation node AGS5, and the maintenance endpoint can send, receive, and process OAM messages such as service level continuity fault detection messages and reverse fault notifications, where the service level continuity fault detection message is For example, it is transmitted in a pseudowire between the access node and the sink node, and the service running between the access node and the sink node may be an Ethernet service, and between the two maintenance endpoints, such as Y.1731 or 802.1ag OAM may be enabled.
  • the two maintenance endpoints may be functional modules respectively built in the access node and the aggregation node, or may be respectively disposed outside the access node and the aggregation node and connected thereto.
  • the physical mode is no longer - enumerated, as long as the service level continuity fault detection on the primary path can be performed through the two maintenance endpoints.
  • the service-level continuity fault detection is any protocol specification that adopts the Ethernet header encapsulation for the Ethernet service in accordance with Y.1731, 802. lag or other similar OAM functions, and the prior art is in different segments of the LSP path.
  • the path layer OAM performed internally is MPLS/PW OAM, such as Bidirectional Forwarding Detection (BFD), which uses the MPLS header encapsulation.
  • MPLS/PW OAM such as Bidirectional Forwarding Detection (BFD)
  • BFD Bidirectional Forwarding Detection
  • a point-to-point service OAM is usually used.
  • the source address of the downlink OAM message is the unicast MAC address of the sink node, and the destination address is the unicast MAC address of the access node.
  • the source address in the downlink OAM message is the unicast MAC address of the sink node, and the destination address is the multicast MAC address.
  • the service protection method in the MPLS multi-service access system may include the following steps:
  • Step 401 Run a service level continuity fault detection on a service path between the access node and the sink node.
  • a service level continuity fault detection message may be periodically sent from the maintenance endpoint MEP of the sink node to the maintenance node MEP of the access node, and then the access node MEP is based on the scheduled time. Whether the CCM message of the other party is received (for example, 3.5 times the above period) to verify whether the operation of a certain service is faulty. If a service failure occurs, it indicates that a certain physical chain carrying the service between the access node and the aggregation node A primary physical link such as an access node that is dual-homed, or another physical link on the path, or a node on the path may fail.
  • the service level continuity fault detection can also be:
  • the access node sends a service level continuity fault detection message to the sink node;
  • the service-level continuity fault detection response message returned by the aggregation node is received within the preset time, the service is running normally. Otherwise, if the service-level continuity fault detection response message sent by the aggregation node is not received within the preset time, The fault indicates that the service is faulty in the downlink direction from the sink node to the access node. If the reverse fault indication message sent by the sink node is received, it indicates that the service is faulty in the uplink direction from the access node to the sink node. .
  • Step 402 When the access node detects a service level continuity detection fault, activate the standby physical link of the active physical link, so that the standby LSP path and the backup pseudowire on the standby physical link are available.
  • Service-level continuity fault detection messages running on the two maintenance endpoints contain service information.
  • the access node When the ingress node detects a service running fault, the access node relinquishes the primary physical link carrying the service and activates the standby physical link, so as to switch the service to the backup LSP path and the alternate pseudo of the standby physical link.
  • the unicast or multicast service before the service level continuity fault detection is detected, the standby physical link is inactive, and the standby physical link is activated when the fault is detected.
  • the activation process may be the activation of a physical port, or only logically allow the transmission and processing of service data frames, and will not be described again in the future.
  • Step 403 Switch the faulty service from the primary pseudowire carrying the service to the standby pseudowire.
  • the standby physical link After the standby physical link is activated, the standby LSP path and the backup pseudowire on the normal physical link can transmit the service data frame.
  • the access node can switch the faulty service from the primary pseudowire carrying the service to the corresponding standby pseudo. After the line, the service is transmitted through the alternate pseudowire carried by the standby LSP on the standby physical link.
  • the access node may further close the active physical link after completing the service switching (it may be to close the physical port, or simply discard all the service data frames received on the link, and not later) Let me repeat).
  • the service OAM module processes the OAM packet such as the service level continuity fault detection message.
  • the service level continuity fault triggers the protection switching decision module, and activates the standby physical link on the other hand (the main service can be closed at the same time)
  • the physical link on the other hand, reverses the traffic frame itself to the alternate pseudowire of the alternate LSP path in the alternate physical link.
  • the maintenance endpoint is configured in the access node and the aggregation node of the service path in the single/multicast service, and the service level continuity fault detection is performed between the maintenance endpoints, thereby eliminating the need for different layers in the path.
  • the MPLS OAM mechanism and the physical layer OAM are deployed between different LSP segments.
  • the access node performs the activation of the standby physical link, whether it is unicast or multicast.
  • the alternate LSP path carried by the standby physical link and the alternate pseudowire carried by the backup LSP path are available, and the service pseudowire carrying the service is switched from the primary pseudowire on the primary LSP path to the alternate pseudowire on the standby LSP path.
  • FIG. 6 is a flowchart of another service protection method according to an embodiment of the present invention.
  • This example uses the VPWS to carry the unicast service as an example.
  • the access node As shown in Figure 7, the access node
  • the primary physical link AN3-AGS8 is in an active state, and its service is carried by the primary pseudowire PW8 on the primary LSP path between the AN3-AGS7, and the standby physical link is used.
  • AN3-AGS9 is inactive before the service fails, and the service flow cannot be used.
  • the service level continuity fault detection protocol such as Y.1731 or 802.1ag OAM can be enabled between MEP1 and MEP2.
  • the service protection method can include the following steps:
  • Step 601 The access node receives the service level continuity fault detection message sent by the sink node.
  • the MEP2 on the AGS7 sends a service level continuity fault detection message (CCM) to the MEP1 (ie, the downlink direction) on the AN3.
  • CCM service level continuity fault detection message
  • the detection message is transmitted through the pseudowire PW8.
  • the source address of the message is the unicast MAC address of the AGS7, and the destination address is Unicast MAC address of AN3.
  • AN3 can also send a service-level continuity fault detection message to AGS7 (that is, the uplink direction).
  • the source address of the message is the unicast MAC address of AN 1, and the destination address is the unicast MAC address of AGS7.
  • Step 602 The access node determines whether a service fault occurs according to the condition of receiving the service OAM message.
  • the access node AN3 also sends a CCM message to the aggregation node AGS7, when the uplink direction fails, the AGS7 cannot receive the CCM message sent by the AN3 within a certain period of time. At this time, the AGS7 sends the reverse CCM message to the AN3 through the downlink direction.
  • the failure indication for example, a specific bit in the CCM message, so if the AN3 receives the CCM with the reverse fault indication sent by the AGS7 within the preset time, it indicates that there is a fault in the uplink direction of the service.
  • AN3 receives the CCM message sent by AGS7 within the preset time, and there is no reverse fault indication, it indicates that the service is running normally, that is, it runs normally in the uplink and downlink directions of the service path. If AN3 does not receive any CCM message sent by AGS7 within the preset time (for example, 3.5 CCM cycles), it indicates that the service must have a fault in the downlink direction (it is possible that there is also a fault in the uplink direction).
  • This service level continuity fault detection is different from the fault detection at the path layer, and it does not need to be different in the path.
  • Different fault detection mechanisms are deployed between the layers to detect the service running between the access node and the aggregation node.
  • the service-level continuity fault detection message is transmitted on the pseudo-line of the service path. As long as a service fault occurs, AN3 It can be perceived that, in turn, it can be determined that the physical link or the LSP path or the intermediate node carrying the service is faulty.
  • Step 603 When the access node AN3 detects a service level continuity fault, activate the standby physical link of the active physical link that carries the service, and close the primary physical link.
  • the activation process is similar to the step 402 in the foregoing embodiment, and details are not described herein again.
  • the standby link AN3-AGS9 is activated, the alternate LSP path on the standby link is available. Since the physical layer link between the AGS9 and the aggregation node AGS7 is always active, the LSP path carried by the LSP is always available. .
  • the faulty service can be switched to the standby pseudo-line carried by the standby LSP in the standby physical link, and the following steps can be performed to carry the faulty service. All services on the primary physical link are switched to their alternate pseudowires.
  • Step 604 The access node establishes a service index table of all services on the active physical link.
  • the access node AN3 may first establish a service index table of all services on the active physical link, as shown in the following table, so as to facilitate subsequent handover. All services can be switched to its alternate pseudowires one by one according to the service index table.
  • the service index table can take the form: (i, Service(i), PW(i) ), where i is an index value of a positive integer, and Service(i) and PW(i) represent the i-th service and its Corresponding alternate pseudowire, or (i, Service(i), PW main (i), PW standby (i)), where PW main (i) and PW standby (i) respectively represent the main corresponding to the i-th service Use pseudowires and alternate pseudowires.
  • Other possible ways, such as using a linked list, hash, or other data structure to represent the business index table are possible, and are not enumerated here.
  • the step of establishing the service index table may be established by management pre-configuration, or dynamically established when a new service is accessed, or established when an alternate path is established, which is not limited herein.
  • Step 605 Switch each service on the active physical link to the corresponding standby pseudowire by using the primary pseudowire that carries each service according to the service index table.
  • the standby physical link After the standby physical link is activated, all the backup pseudowires carried on the standby physical link are available.
  • other services on the primary physical link may be carried by the service.
  • the main pseudowire switches to the corresponding alternate pseudowire.
  • the primary pseudowire on the primary physical link may be switched to its alternate pseudowire one by one according to the services listed in the service index table.
  • steps 604 and 605 are not performed, and only the failed service is switched from the primary pseudowire to the alternate pseudowire, since the primary physical link has failed, other services on the primary physical link are also running. A fault occurs. Therefore, after the steps of the above steps 601 to 603 are repeated for the corresponding service, the same will be switched to the alternate pseudo line corresponding to the service.
  • the unicast service is a homogenous and homogenous scenario, that is, after the access node AN3 is accessed through the primary physical link and the standby physical link, the service is finally exported in the MPLS network.
  • the same convergence node for example, AGS7
  • the primary pseudowire PW8 and the alternate pseudowire PW9 are actually the same pseudowire.
  • the faulty service switching process is specifically as follows: The primary pseudowire carrying the service is used by the primary physics. The primary LSP on the link is switched to the backup LSP on the standby physical link.
  • the service OAM module processes OAM packets such as service level continuity fault detection messages.
  • the unicast service is a homogenous different sink, that is, the primary physical link and the backup physical link are both originated from the access node AN3, but the service is in the MPLS network, the final exit is a different aggregation node, and the primary pseudowire PW8 Different from the alternate pseudowire PW9, the specific handover process of each service is also shown in FIG. 5, which is the same as the handover process in the foregoing step 403.
  • the maintenance node in the single/multicast service, is configured at the access node and the aggregation node, and the service level continuity fault detection is performed between the maintenance endpoints, thereby eliminating the need to deploy corresponding MPLS OAM between different path layers.
  • the physical layer OAM as long as the corresponding service fault is detected, the access node actively activates the standby physical link, and switches all services from its primary pseudowire to its corresponding alternate pseudowire, thereby implementing MPLS multi-service access.
  • Business protection under the system. This method not only greatly simplifies the service protection process, but also unifies the protection methods of unicast and multicast services.
  • FIG. 9 is a flowchart of another service protection method according to an embodiment of the present invention.
  • This example uses VPLS to carry multicast services as an example.
  • a physical layer link AN4-AGS11-AGS10 and a physical layer link AN4-AGS 12-AGS 10 exist between the access node AN4 and the sink node AGS10.
  • the active physical link AN4-AGS11 is in the active state, and the service is carried by the pseudowires PW41 and PW10 carried by the multiple LSPs between the AN4 and the AGS10.
  • the standby physical link AN4-AGS12 is in the service before the service fails. Inactive, not available.
  • the continuity fault detection protocol such as Y.1731 or 802.1ag OAM can be enabled between MEP3 and MEP4.
  • the service protection method can include the following steps:
  • Step 901 The aggregation node sends a service level continuity fault detection message to the access node.
  • the MEP4 on the AGS 10 transmits a service level continuity fault detection message to the MEP3 on the AN4, and the detection message is transmitted in the pseudowires PW41 and PW10.
  • the source address of the message is the unicast MAC address of AGS10, and the destination address is the multicast MAC address.
  • Step 902 The access node determines, according to the continuity fault detection, whether a service level continuity detection fault occurs.
  • the access node MEP3 determines that there is a service failure, and further determines that the primary physical link is faulty or other physical link on the primary LSP path or There is a fault in the intermediate node, etc.
  • Step 903 When the access node AN4 detects a service failure, activate the standby physical link of the active physical link that carries the service, and close the active physical link.
  • AN4 activates the alternate physical link AN4-AGS12. Since the data paths between AGS12 and AGS10 are always open (they are in the same VPLS network), the alternate LSP path and the alternate pseudowire are available.
  • An optional physical link closure mode is to discard all service data frames received on the link.
  • Step 904 The access node sends an IGMP group (Internet Group Management Protocol) request on the standby physical link by using an alternate pseudowire. After the access node activates the standby physical link, the AGS 10 can further send a MAC flush message to each VPLS endpoint according to the existing mechanism of the VPLS, so that each endpoint re-executes the MAC address learning and accelerates the convergence process of the VPLS service.
  • IGMP group Internet Group Management Protocol
  • AN4 can also choose to perform the IGMP proxy function.
  • the proxy client On the standby physical link, the proxy client actively sends IGMP group requests, and establishes and maintains multicast group memberships with the directly adjacent multicast routers.
  • the broadcast service is available on the alternate physical link.
  • the IGMP message may be sent by using an alternate pseudowire carried on the standby physical link corresponding to the multicast service. In another embodiment, if there are no alternate pseudowires, the IGMP message can be sent directly on the alternate physical link.
  • Step 905 Establish a service index table, and switch all services on the active physical link to the corresponding standby pseudowires by using the primary pseudowires respectively carrying the services according to the service index table.
  • the access node establishes a service index table of all services on the primary physical link, and switches all services on the primary physical link to the corresponding alternate pseudowire according to the service index table.
  • the AN4 since the multicast service is transmitted to the AN4 through the pseudowire PW42 on the alternate LSP path in the alternate physical link between the AN4-AGS12, the AN4 can receive the downlink multicast service sent by the AGS10 on the alternate pseudowire.
  • the switching process of each service is also shown in FIG. 5, which is the same as the switching process in the foregoing step 403.
  • the maintenance node in the multicast service, is configured at the access node and the aggregation node, and the service level continuity fault detection is performed between the maintenance endpoints, thereby eliminating the need to deploy between different path layers.
  • MPLS OAM and physical layer OAM as long as a service failure is detected, the access node performs activation of the standby physical link, and all services are switched from their primary pseudowires to corresponding alternate pseudowires, thereby implementing MPLS multi-service.
  • Service protection under the access system This method not only greatly simplifies the service protection process, but also unifies the protection methods of unicast and multicast services.
  • the BRAS Broadband Remote Access Server
  • AGS7/AGS10 convergence device AGS7/AGS10 that is connected to the upstream edge of the MPLS network at a single point.
  • the BRAS can also be dual-homed to two different aggregation devices, as shown in the figure.
  • the service level continuity fault detection may also be performed on the switched service path. If the service fails, the method may continue to perform another standby pseudowire according to the foregoing embodiment. Business switching.
  • the above is a description of an embodiment of the method of the present invention, and an apparatus and system for implementing the above method will be described below.
  • FIG. 12 is a schematic structural diagram of an access device according to an embodiment of the present invention.
  • the access device is applied to an MPLS multi-service access system, where the access device is configured with a maintenance endpoint that can perform service level continuity fault detection, and the access device can include:
  • the detecting unit 1201 is configured to run a service level continuity fault detection on a service path between the node and the sink node.
  • a maintenance endpoint that performs service level continuity fault detection is also configured on the aggregation node.
  • the activation unit 1202 is configured to activate the standby physical link of the active physical link when the continuity fault of the service level is detected, so that the backup LSP path and the backup pseudowire on the standby physical link are available.
  • the switching unit 1203 is configured to switch the faulty service from the primary pseudowire of the bearer service to the standby pseudowire, where the primary pseudowire is a pseudowire carried by the primary LSP path on the primary physical link, and the standby The pseudowire is a pseudowire carried by the alternate LSP path on the alternate physical link.
  • the detecting unit 1201 sends a service level continuity fault detection message between the maintenance endpoint of the access node and the maintenance endpoint of the sink node, and verifies whether there is a service fault according to whether the CCM message of the other party is received within a predetermined time, and the It can be determined whether the bearer between the access node and the sink node is faulty.
  • the activation unit 1202 abandons the use of the active physical link, activates the standby physical link, and after the standby physical link is activated, the switching unit 1203 carries the primary pseudowire on the primary physical link. The service is switched to the alternate pseudowire on the standby physical link, and then the service is carried by the alternate pseudowire.
  • the embodiment of the present invention implements the service protection in the MPLS multi-service access system by using the above-mentioned unit, greatly simplifies the service protection process, and unifies the protection methods of the unicast and multicast services, thereby ensuring the independence of the access device and reducing the independence.
  • the difficulty of service access does not require different protection mechanisms for unicast and multicast, which makes deployment easier.
  • FIG. 13 is a schematic structural diagram of another access device according to an embodiment of the present invention.
  • the access device may include a detecting unit 1301, an activating unit 1302, and a switching unit 1303.
  • the detecting unit 1301 and the activating unit 1302 are respectively similar to the detecting unit 1201 and the activating unit 1202 in the foregoing embodiment, and details are not described herein again.
  • the detecting unit 1301 is specifically configured to enable service level continuity fault detection of the Y.1731 or 802. lag OAM between the access device and the sink node.
  • the switching unit 1303 may further include:
  • a sub-unit 13031 is created, which is used to establish a service index table for all services on the active physical link.
  • the switching subunit 13032 is configured to switch, according to the service index table, each service on the active physical link by the primary pseudowire that separately carries each service to the corresponding standby pseudowire.
  • the switching unit may be specifically configured to use the primary pseudowire carrying the service by the primary physical chain.
  • the primary LSP on the road directly switches to the backup LSP on the standby physical link.
  • the access device may further include a request sending unit, configured to pass the failed pseudo-line before switching the failed service to the backup pseudowire by using the primary pseudowire carrying the service.
  • An Internet Group Management Protocol IGMP group request message is sent on the alternate physical link.
  • the access device may further include a shutdown unit, configured to close the service after the faulty service is switched by the primary pseudowire carrying the service to the backup pseudowire. Primary physical link.
  • the embodiment of the present invention implements the service protection in the MPLS multi-service access system by using the above-mentioned unit, greatly simplifies the service protection process, and unifies the protection methods of the unicast and multicast services, thereby ensuring the independence of the access device and reducing the independence.
  • the difficulty of service access does not require different protection mechanisms for unicast and multicast, which makes deployment easier.
  • FIG. 14 is a schematic structural diagram of an MPLS multi-service access system according to an embodiment of the present invention.
  • the system can include an access device 1401 and a convergence device 1402.
  • the access device 1401 is configured to run a service level continuity fault detection on the service path between the aggregation device 1402, where the access device is configured with a maintenance endpoint that can perform the service level continuity fault detection;
  • the standby physical link of the active physical link is activated, so that the backup LSP path and the backup pseudowire on the standby physical link are available;
  • the primary pseudowire of the service is switched to the standby pseudowire, where the primary pseudowire is a pseudowire carried by the primary LSP path on the active physical link, and the standby pseudowire is A pseudowire carried by a backup LSP path on the standby physical link.
  • the aggregation device 1402 is configured to perform service level continuity fault detection on the service path with the access device 1401, and the aggregation device 1402 is configured with a maintenance endpoint that can perform service level continuity fault detection.
  • the system greatly simplifies the service protection process, unifies the protection methods of unicast and multicast services, ensures the independence of access devices, and reduces the difficulty of service access. It does not need to provide different unicast and multicast respectively. Protection mechanisms make deployment easier.

Abstract

A method for service protection and an access device are provided. The method includes: the continuity fault detection of service level is performed at a service path between an access node and aggregation node, and a maintenance end point for performing the continuity fault detection of service level is configured at the access node and aggregation node; when the access node detects the continuity fault detection of service level, a standby physical link of a main physical link is activated, so that the standby Label Switching Path (LSP) and standby pseudo wire of the standby physical link are available; the service with fault is switched from the main pseudo wire carrying the service to the standby pseudo wire, wherein the main pseudo wire is the pseudo wire carried by the main LSP at the main physical link, and the standby pseudo wire is the pseudo wire carried by the standby LSP at the standby physical link. By using the method, the service protection process is simplified, and the protection methods of various services such as unicast, multicast and so on are integrated.

Description

一种业务保护方法及接入设备 技术领域  Service protection method and access device
本发明涉及通信技术领域, 尤其涉及一种业务保护方法及接入设备。  The present invention relates to the field of communications technologies, and in particular, to a service protection method and an access device.
背景技术 Background technique
MPLS ( Multi-Protocol Label Switching, 多协议标签交换)技术是一种基 于标签交换的分组传送技术,它能够支持多种业务,提供良好的信流工程能力, 以及网络部署的灵活性。 MPLS主要有两种承载以太业务的方式: 一种是点对 点的以太网私有专线业务, 另一种是多点对多点的以太网虚拟局域网业务, 它 们分别对应于 VP WS( Virtual Private Wire Service ,虚拟私有专线业务)和 VPLS ( Virtual Private LAN Service, 虚拟私有 LAN业务 )技术。  MPLS (Multi-Protocol Label Switching) technology is a packet-switching-based packet transmission technology that supports multiple services, provides good traffic engineering capabilities, and flexibility for network deployment. MPLS mainly has two modes of carrying Ethernet services: one is a point-to-point Ethernet private leased line service, and the other is a multi-point to multi-point Ethernet virtual LAN service, which respectively corresponds to VP WS (Virtual Private Wire Service, Virtual private leased line service) and VPLS (Virtual Private LAN Service) technology.
在 VPWS下,业务分组在 MPLS网络的入口节点添加上 PW( Pseudowire, 伪线)标签和 LSP ( Label Switching Path, 标签交换路径) 隧道标签后, 在 MPLS网络中以标签交换的方式传送到 MPLS网络的出口节点。其中每条伪线 对应于一个唯一的 PW标签值, 而多个伪线可以复用到一条 LSP隧道中进行 传送, 以便提高网络的扩展性。 在业务通过伪线传送过程中, 只有入口 PE ( Provider Edge,供应商边缘设备)和出口 PE节点需要处理 PW标签和进行 业务处理, 而中间节点只进行 LSP标签交换, 不需要对 PW标签进行处理。 在该路径的每对相邻节点之间, 通过物理链路层 (例如以太链路层) 来承载 LSP。 VPWS通常用于单播业务的传送。  In VPWS, the service packet is added to the MPLS network in the label switching mode after the PW (Pseudowire) label and the LSP (Label Switching Path) tunnel label are added to the ingress node of the MPLS network. Export node. Each of the pseudowires corresponds to a unique PW tag value, and multiple pseudowires can be multiplexed into one LSP tunnel for transmission to improve network scalability. During the transmission of the service through the pseudowire, only the ingress PE (the Provider Edge) and the egress PE node need to process the PW label and perform the service processing. The intermediate node only performs the LSP label exchange, and does not need to process the PW label. . Between each pair of neighbors of the path, the LSP is carried over a physical link layer (e.g., an Ethernet link layer). VPWS is commonly used for the delivery of unicast traffic.
在 VPLS下 , MPLS网络通过在 PE节点之间仿真以太网广播域以便将多 个地理上分散的客户站点连接在一起。一个 VPLS实例由多个 PE组成, PE之 间通过伪线(伪线同样也承载在 LSP上)互相连接, 并通过伪线进行业务的 传送,而 PE则发起和终结伪线,并在其内部转发器中根据以太业务帧的 MAC 地址进行转发。 由于不需要在源节点复制每个组播分组, 所以 VPLS用于组播 业务传送相对于 VPWS带宽效率更高, 也因此更多地用于组播业务。  Under VPLS, the MPLS network connects multiple geographically dispersed customer sites by emulating an Ethernet broadcast domain between PE nodes. A VPLS instance consists of multiple PEs. The PEs are connected to each other through pseudowires (pseudowires are also carried on the LSP), and the services are transmitted through the pseudowires. The PE initiates and terminates the pseudowires. The forwarder forwards according to the MAC address of the Ethernet service frame. Since there is no need to replicate each multicast packet at the source node, VPLS is more efficient for multicast traffic transmission than VPWS bandwidth, and is therefore more used for multicast services.
对于综合采用以上两种技术的单 /组播多业务融合的分组网络, 在进行业 务保护时, 需要对单播和组播业务分别采用不同的保护机制, 而且对于组播业 务还要进行分段保护, 所涉及的保护方法比较繁瑣, 且局限性较大, 对于单播 和组播业务的保护机制也不统一。 For a packet network that combines the above two technologies for single/multicast multi-service convergence, different protection mechanisms need to be adopted for unicast and multicast services, and multicast services are also segmented. Protection, the protection methods involved are cumbersome and have limited limitations, for unicast The protection mechanism of the multicast service is also not uniform.
发明内容 Summary of the invention
本发明实施例提供一种业务保护方法及接入设备, 能够简化业务保护过 程, 并统一单播和组播等多种业务下的保护方法。  The embodiments of the present invention provide a service protection method and an access device, which can simplify the service protection process and unify the protection methods under various services such as unicast and multicast.
为了解决上述技术问题, 本发明实施例的技术方案如下:  In order to solve the above technical problem, the technical solution of the embodiment of the present invention is as follows:
一种业务保护方法, 包括:  A method of business protection, including:
在接入节点与汇聚节点之间的业务路径上运行业务级连续性故障检测 ,所 述接入节点和所述汇聚节点上配置有可执行所述业务级连续性故障检测的维 护端点;  Performing service level continuity fault detection on the service path between the access node and the sink node, where the access node and the sink node are configured with a maintenance endpoint that can perform the service level continuity fault detection;
当所述接入节点检测到业务级的连续性故障时,激活主用物理链路的备用 物理链路, 以使所述备用物理链路上的备用标签交换路径 LSP路径及备用伪 线可用;  When the access node detects a continuity fault of the service level, activating the standby physical link of the active physical link, so that the alternate label switched path LSP path and the backup pseudowire on the standby physical link are available;
将出现故障的业务由承载所述业务的主用伪线切换至所述备用伪线, 其 中, 所述主用伪线为所述主用物理链路上的主用 LSP路径所承载的伪线, 所 述备用伪线为所述备用物理链路上的备用 LSP路径所承载的伪线。  The faulty service is switched to the standby pseudowire by the primary pseudowire carrying the service, where the primary pseudowire is a pseudowire carried by the primary LSP path on the active physical link. The standby pseudowire is a pseudowire carried by a backup LSP path on the standby physical link.
一种接入设备, 包括:  An access device includes:
检测单元,用于在与汇聚节点之间的业务路径上运行业务级连续性故障检 测,所述接入设备和所述汇聚节点上配置有可执行所述业务级连续性故障检测 的维护端点;  a detecting unit, configured to run a service level continuity fault detection on a service path between the access node and the aggregation node, where the maintenance node configured to perform the service level continuity fault detection is configured;
激活单元, 用于在当检测到业务级的连续性故障时, 激活主用物理链路的 备用物理链路, 以使所述备用物理链路上的备用 LSP路径及备用伪线可用; 切换单元,用于将出现故障的业务由承载所述业务的主用伪线切换至所述 备用伪线, 其中, 所述主用伪线为所述主用物理链路上的主用 LSP路径所承 载的伪线, 所述备用伪线为所述备用物理链路上的备用 LSP路径所承载的伪 线。  An activation unit, configured to activate a standby physical link of the active physical link when a continuity fault of the service level is detected, so that the backup LSP path and the backup pseudowire on the standby physical link are available; And the faulty service is switched by the primary pseudowire carrying the service to the standby pseudowire, where the primary pseudowire is carried by the primary LSP path on the active physical link. The pseudowire is the pseudowire carried by the alternate LSP path on the standby physical link.
本发明实施例通过在单 /组播业务中, 在业务路径的接入节点和汇聚节点 处配置维护端点,在维护端点间进行业务级的连续性故障检测,从而忽略了该 路径中不同层、 不同 LSP段间 MPLS OAM机制的不同, 只要检测到业务级连 续性故障, 则无论是单播还是组播业务, 均由接入节点执行对备用物理链路的 激活, 以使备用物理链路承载的备用 LSP路径及备用 LSP路径承载的备用伪 线可用, 并将承载该业务的业务伪线由主用 LSP路径上的主用伪线切换到备 用 LSP路径的备用伪线上, 从而实现 MPLS多业务接入系统下的业务保护。 该方法不仅大大简化了业务保护过程, 而且统一了单播和组播业务的保护方 法。 另外, 该方法不需要依赖于中间节点进行业务保护, 能够保护多业务的多 种故障场景, 保证了接入设备的独立性, 降低了业务接入配置的难度, 不需要 分别对单播和组播提供不同的保护机制 , 从而部署更为简单。 In the embodiment of the present invention, the maintenance endpoint is configured in the access node and the aggregation node of the service path in the single/multicast service, and the service level continuity fault detection is performed between the maintenance endpoints, thereby ignoring different layers in the path. Different MPLS OAM mechanisms between different LSP segments, as long as service level continuity faults are detected, both the unicast and multicast services are performed by the access node to the standby physical link. Activating, so that the backup LSP path carried by the standby physical link and the alternate pseudowire carried by the backup LSP path are available, and the service pseudowire carrying the service is switched from the primary pseudowire on the primary LSP path to the backup LSP path. The backup pseudowire is used to implement service protection under the MPLS multi-service access system. This method not only greatly simplifies the service protection process, but also unifies the protection methods of unicast and multicast services. In addition, the method does not need to rely on the intermediate node for service protection, and can protect multiple fault scenarios of multiple services, ensuring the independence of the access device, and reducing the difficulty of the service access configuration, and does not need to separately unicast and group. Broadcasting provides different protection mechanisms, making deployment easier.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲,在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图 1是现有技术中单播业务的应用场景示意图;  1 is a schematic diagram of an application scenario of a unicast service in the prior art;
图 2是现有技术中组播业务的应用场景示意图;  2 is a schematic diagram of an application scenario of a multicast service in the prior art;
图 3是组播业务出现故障的示意图;  Figure 3 is a schematic diagram of a failure of a multicast service;
图 4是本发明实施例一种业务保护方法流程图;  4 is a flowchart of a service protection method according to an embodiment of the present invention;
图 5是图 4所示实施例中的切换保护示意图;  Figure 5 is a schematic diagram of switching protection in the embodiment shown in Figure 4;
图 6是本发明实施例另一种业务保护方法流程图;  6 is a flowchart of another service protection method according to an embodiment of the present invention;
图 7是图 6所示实施例中的应用场景示意图;  7 is a schematic diagram of an application scenario in the embodiment shown in FIG. 6;
图 8是图 6所示实施例中同源同宿情况下的切换保护示意图;  8 is a schematic diagram of handover protection in the case of homology and sibling in the embodiment shown in FIG. 6;
图 9是本发明实施例另一种业务保护方法流程图;  9 is a flowchart of another service protection method according to an embodiment of the present invention;
图 10是图 9所示实施例中的应用场景示意图;  FIG. 10 is a schematic diagram of an application scenario in the embodiment shown in FIG. 9;
图 11是本发明实施例中另一种接入节点与汇聚节点间的结构示意图; 图 12是本发明实施例一种接入设备的结构示意图;  FIG. 11 is a schematic structural diagram of another access node and a sink node according to an embodiment of the present invention; FIG. 12 is a schematic structural diagram of an access device according to an embodiment of the present invention;
图 13是本发明实施例另一种接入设备的结构示意图;  FIG. 13 is a schematic structural diagram of another access device according to an embodiment of the present invention;
图 14是本发明实施例一种 MPLS多业务接入系统的结构示意图。  FIG. 14 is a schematic structural diagram of an MPLS multi-service access system according to an embodiment of the present invention.
具体实施方式 detailed description
为了使本领域技术人员能进一步了解本发明的特征及技术内容,请参阅以 下有关本发明的详细说明与附图, 附图仅提供参考与说明, 并非用来限制本发 明。 The detailed description of the present invention and the accompanying drawings are to be understood by the accompanying drawings Bright.
现有技术中,基于 VPWS和 VPLS两种技术, MPLS接入网可以存在两种 典型架构。 如图 1所示, 为接入节点 (Access Node, AN)AN1通过 VPWS技术 提供单播业务的场景, 如住户宽带上网业务通过接入节点 AN1 到汇聚节点 (Aggregation Nodes, AGS)AGS2的 LSP路径上的一条 PW进行传送。进一步地, 为了提高业务的可靠性, 接入节点 AN1通过主用和备用两条物理链路分别连 接到两个节点 AGS1和 AGS3 , 从而在接入节点 AN1和汇聚节点 AGS2之间 可以建立两条物理分离的 LSP路径, 如经过 AN1-AGS1-AGS2的主用 LSP路 径, 以及经过 AN1-AGS3-AGS2的备用 LSP路径, 由于该主、 备 LSP路径为 同源同宿, 所以可以共用同一条伪线, 也即上述 AN1到 AGS2之间的业务伪 线既可以由主 LSP路径承载, 也可以由备用 LSP路径承载, 当然对于同源不 同宿的情况, 各自的 LSP路径中承载不同的伪线。 其中, 在此处同源同宿表 示由同一接入节点汇入同一汇聚节点,而同源不同宿则表示由同一接入节点汇 入不同汇聚节点。 主 LSP路径由 AN1-AGS1 的主用物理链路以及 AGS1 到 AGS2之间的另一段或多段物理链路承载, 备用 LSP路径由 AN1-AGS3的备 用物理链路及 AGS3到 AGS2之间的另一段或多段物理链路承载。当主用物理 链路出现故障时, 显然其承载的 LSP路径即会出现故障, 此时需要启动 LSP 路径的切换或者还要进行各 LSP路径伪线的切换, 以保证业务的正常运行。  In the prior art, based on the VPWS and VPLS technologies, there are two typical architectures for the MPLS access network. As shown in Figure 1, the access node (AN) AN1 provides a unicast service scenario through the VPWS technology, such as the LSP path of the residential broadband Internet service through the access node AN1 to the Aggregation Nodes (AGS) AGS2. A PW on the top is transmitted. Further, in order to improve the reliability of the service, the access node AN1 is respectively connected to the two nodes AGS1 and AGS3 through the primary and backup physical links, so that two can be established between the access node AN1 and the aggregation node AGS2. The physically separated LSP path, such as the primary LSP path through AN1-AGS1-AGS2, and the alternate LSP path through AN1-AGS3-AGS2, because the primary and backup LSP paths are homogenous and identical, so the same pseudowire can be shared. That is, the service pseudowires between the foregoing AN1 and AGS2 may be carried by the primary LSP path or by the backup LSP path. Of course, for the case of the same-same different sinks, the respective LSP paths carry different pseudowires. Here, the homologous and homogenous representations are imported into the same sink node by the same access node, and the homologous different sinks indicate that the same access node joins different sink nodes. The primary LSP path is carried by the primary physical link of AN1-AGS1 and another one or more physical links between AGS1 and AGS2. The alternate LSP path is the alternate physical link of AN1-AGS3 and another segment between AGS3 and AGS2. Or multiple segments of physical link bearers. When the primary physical link is faulty, it is obvious that the LSP path is faulty. In this case, you need to initiate the switching of the LSP path or switch the LSP path to ensure the normal operation of the service.
如图 2所示, 为接入节点 AN2通过 VPLS技术提供组播业务的场景。 为 了提高业务的可靠性, 同样地, 接入节点 AN2通过两条主用和备用物理链路 分别连接到两个节点 AGS4和 AGS6,从而 ,在接入节点 AN2和汇聚节点 AGS5 之间也存在两条物理分离的业务路径,如经过 AN2-AGS4-AGS5的主路径,以 及经过 AN2-AGS6-AGS5的备用路径, 但是, 在组播业务中, BRAS2提供的 下行以太组播业务分组首先在 AGS5进行伪线封装并通过 LSP2承载, 然后通 过 VPLS网络将组播分组传送到 AGS4, AGS4接收并解封装得到以太帧后在 其虚拟交换实例(Virtual Switch Instance, VSI )转发器模块中根据 MAC地址 下行转发, 最后通过 LSP1到达 AN2, 所以主路径和备用路径均包含两段 LSP 路径,例如主路径包括 LSP1和 LSP2路径,备用路径包括 LSP3和 LSP4路径。 各段 LSP路径上承载各自对应的伪线, 接入节点 AN2到汇聚节点 AGS5之间 的业务由主路径中各段 LSP路径承载的伪线进行传送, 各段 LSP路径由其对 应的各段物理层链路承载, 例如 LSP1路径由 AN1-AGS4的物理层链路承载。 其中, 在组播业务中 , 承载 LSP1路径的 AN2-AGS4物理层链路和承载 LSP3 路径的 AN2-AGS6物理层链路不能同时激活处于工作状态,否则将出现环回, 即下行组播分组从 AGS4-AN2链路的 LSP1路径上进入 AN2后, 由于 AN2 的组播转发, 所以可能会从另一条 AN2-AGS6链路的 LSP3路径又返回 VPLS 网络, 并继续经过 VPLS网络到达同一个 AGS设备, 导致出现路径环回。 因 此, 对于组播业务, 通常只有主物理链路处于激活状态, 当其出现故障时, 显 然其承载的 LSP1即会出现故障, 此时, 可以基于物理层的协议(例如以太网 跨框 LAG协议 802.1AX )来激活该段主用物理链路的备用物理链路段, 启动 LSP1到该备用物理链路段承载的 LSP3的切换以及对应 LSP段的伪线切换, 以保证业务的正常运行。 As shown in FIG. 2, a scenario in which the access node AN2 provides a multicast service through the VPLS technology. In order to improve the reliability of the service, the access node AN2 is respectively connected to the two nodes AGS4 and AGS6 through two primary and backup physical links, so that there are also two between the access node AN2 and the aggregation node AGS5. The physical separation of the service path, such as the primary path through AN2-AGS4-AGS5, and the alternate path through AN2-AGS6-AGS5, but in the multicast service, the downlink Ethernet service packet provided by BRAS2 is first performed in AGS5. The pseudowire is encapsulated and carried by LSP2, and then the multicast packet is transmitted to the AGS4 through the VPLS network. The AGS4 receives and decapsulates the Ethernet frame and then forwards it according to the MAC address in the Virtual Switch Instance (VSI) repeater module. Finally, the LSP1 arrives at the AN2, so the primary path and the alternate path both include two LSP paths. For example, the primary path includes the LSP1 and LSP2 paths, and the alternate path includes the LSP3 and LSP4 paths. Each segment of the LSP path carries its own corresponding pseudowire, between the access node AN2 and the aggregation node AGS5. The service is carried by the pseudo-line carried by the LSPs in the main path. Each LSP is carried by its corresponding physical layer link. For example, the LSP1 path is carried by the physical layer link of AN1-AGS4. In the multicast service, the AN2-AGS4 physical layer link carrying the LSP1 path and the AN2-AGS6 physical layer link carrying the LSP3 path cannot be activated at the same time. Otherwise, loopback occurs, that is, the downlink multicast packet is After the LSP1 path of the AGS4-AN2 link enters the AN2, the LSP3 path of the other AN2-AGS6 link may be returned to the VPLS network and continue to reach the same AGS device through the VPLS network. Causes a loopback of the path. Therefore, for a multicast service, only the primary physical link is activated. When it fails, it is obvious that the LSP1 it carries will be faulty. In this case, it can be based on the physical layer protocol (such as the Ethernet cross-frame LAG protocol). 802.1AX) activates the standby physical link segment of the active physical link, and initiates the switching of LSP1 to the LSP3 carried by the standby physical link segment and the pseudowire switching of the corresponding LSP segment to ensure normal operation of the service.
当通过同一个 MPLS网络提供上述单播、组播等多种业务时,为了保证业 务的正常进行,以上两种场景中 AN与 AGS之间以及 AGS设备之间需要分别 运行不同的 MPLS OAM ( Operation Administration and Maintenance,运营管 理与维护 )机制来检测对应 LSP路径和 LSP路径段内是否存在故障, 例如图 1中的 AN1-AGS2之间的 LSP路径、 图 2中的 AN2-AGS4之间的 LSP路径、 AGS4-AGS5之间的 LSP路径等。 由于 AGS4作为 VPLS边缘节点, 需要终结 LSP并通过以太目的地址来转发帧,使得不同 LSP段间运行的 MPLS OAM完 全独立, 若某一段 LSP出现故障, 其它 LSP段的端点通常无法感知, 例如图 3中, AGS4-AGS5之间的 LSP2路径出现故障时,若依靠 LSP路径层 OAM的 话, AN2 就无法感知故障, 所以, 在进行业务保护时, 针对单播和组播业务 只能分别进行保护, 并且组播业务还需要进行分段 LSP保护, 而且分段保护 还涉及到中间双归的设备节点间的同步问题, 所以保护动作非常复杂。 所以, 现有技术中的分段保护方法操作过程繁瑣,局限性大, 而且对于单播和组播业 务的保护机制不统一。  When the unicast and multicast services are provided on the same MPLS network, the MPLS OAM needs to be run between the AN and the AGS and the AGS device in the above two scenarios. The Administration and Maintenance mechanism is used to detect whether there is a fault in the corresponding LSP path and the LSP path segment. For example, the LSP path between AN1-AGS2 in Figure 1 and the LSP path between AN2-AGS4 in Figure 2 LSP path between AGS4-AGS5, etc. As the VPLS edge node is used as the VPLS edge node, the LSPs need to be terminated and forwarded through the Ethernet destination address. The MPLS OAM running between different LSP segments is completely independent. If a certain LSP fails, the endpoints of other LSP segments are usually incapable of sensing. For example, Figure 3 In the case that the LSP2 path between the AGS4-AGS5 fails, the AN2 cannot detect the fault if it relies on the LSP path layer OAM. Therefore, when performing service protection, the unicast and multicast services can only be separately protected, and The multicast service also needs to perform segmented LSP protection, and the segmentation protection also involves the synchronization problem between the intermediate dual-homed device nodes, so the protection action is very complicated. Therefore, the segmentation protection method in the prior art is cumbersome and has limited limitations, and the protection mechanism for the unicast and multicast services is not uniform.
基于此, 对于综合采用以上两种技术的单 /组播多业务融合的分组网络, 本发明实施例提供了一种业务保护方法及接入设备, 通过在单 /组播业务中, 在业务路径的接入节点和汇聚节点处配置维护端点,在维护端点间进行业务级 的连续性故障检测, 从而无需在该路径中不同层、 不同 LSP段间部署相应的 MPLS OAM机制和物理层 OAM , 只要检测到业务级连续性故障, 则无论是单 播还是组播业务, 均由接入节点执行对备用物理链路的激活, 以使备用物理链 路承载的备用 LSP路径及备用 LSP路径承载的备用伪线可用, 并将承载该业 务的业务伪线由主用 LSP路径上的主用伪线切换到备用 LSP路径的备用伪线 上,从而实现 MPLS多业务接入系统下的业务保护。该方法不仅大大简化了业 务保护过程, 而且统一了单播和组播业务的保护方法。 Based on this, for a packet network that combines the single/multicast multi-service convergence of the above two technologies, the embodiment of the present invention provides a service protection method and an access device, in a single/multicast service, in a service path. Configure maintenance endpoints at the access nodes and aggregation nodes, and perform service level between maintenance endpoints. Continuity fault detection, which eliminates the need to deploy corresponding MPLS OAM mechanisms and physical layer OAMs between different layers and different LSP segments in the path. As long as service level continuity faults are detected, both unicast and multicast services are available. The activation of the backup physical link is performed by the access node, so that the backup LSP path carried by the standby physical link and the backup pseudowire carried by the backup LSP path are available, and the service pseudowire carrying the service is used on the primary LSP path. The primary pseudowire switches to the alternate pseudowire of the alternate LSP path, thereby implementing service protection under the MPLS multi-service access system. This method not only greatly simplifies the service protection process, but also unifies the protection methods of unicast and multicast services.
下面结合附图和实施例, 对本发明的技术方案进行描述。  The technical solution of the present invention will be described below with reference to the accompanying drawings and embodiments.
参见图 4, 为本发明实施例一种业务保护方法流程图。  FIG. 4 is a flowchart of a service protection method according to an embodiment of the present invention.
在本实施例中,在接入节点和汇聚节点之间传送的业务可以是单播业务也 可以是组播业务。其中,接入节点在铜线接入时可以是数字用户线接入复用器 In this embodiment, the service transmitted between the access node and the sink node may be a unicast service or a multicast service. The access node may be a digital subscriber line access multiplexer when the copper wire is accessed.
(Digital Subscriber Line Access Multiplexer, DSLAM), 在光接入时可以是光缆 终端设备 (Optical Line Terminal, OLT), 或者是采用其他接入技术或多种接入 技术组合的支持 MPLS的接入设备; 汇聚节点可以是一种支持 MPLS的业务 路由器, 例如 Quidway NE40全业务路由器。 (Digital Subscriber Line Access Multiplexer, DSLAM), which may be an Optical Line Terminal (OLT) when optical access is used, or an MPLS-enabled access device that uses other access technologies or multiple access technologies. The aggregation node can be an MPLS-enabled service router, such as the Quidway NE40 full-service router.
在出现故障之前,该业务通过接入节点和汇聚节点之间的主用物理链路承 载, 具体的是通过主用物理链路上主用 LSP路径承载的主用伪线来承载该业 务。 为了便于后续的业务保护切换,接入节点和汇聚节点之间的物理链路中还 存在主用物理链路的备用物理链路,备用物理链路上也承载有对应的备用 LSP 路径及备用伪线(如前所述, 在同源同宿时, 备用伪线和主用伪线可以相同)。  Before the fault occurs, the service is carried by the primary physical link between the access node and the sink node. Specifically, the service is carried by the primary pseudowire carried by the primary LSP path on the primary physical link. In order to facilitate the subsequent service protection switching, the physical link between the access node and the sink node also has a standby physical link of the active physical link, and the backup physical link also carries the corresponding backup LSP path and the backup pseudo. Line (as mentioned above, the alternate pseudowire and the main pseudowire can be the same when homologous and sibling).
在本实施例中, 在接入节点和汇聚节点上分别配置有维护端点 ( Maintenance End Point, MEP ), 例如在图 1所示的接入节点 AN1和汇聚节 点 AGS2上, 或者在图 2所示的接入节点 AN2和汇聚节点 AGS5上配置维护 端点, 该维护端点能够发送、接收和处理业务级连续性故障检测消息以及反向 故障通告等 OAM消息, 其中, 以业务级连续性故障检测消息为例, 它在接入 节点和汇聚节点之间的伪线中传送,接入节点和汇聚节点间运行的业务可以是 以太网业务, 两维护端点之间可以启用如 Y.1731或 802.1ag OAM的业务级连 续性故障检测协议。两维护端点具体可以是分别内置在接入节点和汇聚节点中 的功能模块,也可以是分别设置在接入节点和汇聚节点的外部并与其相连, 具 体方式不再——列举,只要可以实现通过两维护端点执行主路径上的业务级连 续性故障检测即可。其中, 业务级连续性故障检测对于以太网业务来说是符合 Y.1731、 802. lag或者其他类似 OAM功能的任何采用以太网首部封装的协议 规范,而现有技术中在 LSP路径的不同段内执行的路径层 OAM则是 MPLS/PW OAM, 例如双向转发检测 ( Bidirectional Forwarding Detection, BFD ), 它们采 用的是 MPLS首部封装。 另外, 对于单播业务, 通常采用点对点的业务 OAM (下行 OAM消息中源地址为汇聚节点的单播 MAC地址, 目的地址为接入节 点的单播 MAC地址),对于组播业务,通常采用点对多点的 OAM (下行 OAM 消息中源地址为汇聚节点的单播 MAC地址, 目的地址为组播 MAC地址)。在 配置完成上述维护端点后,该 MPLS多业务接入系统下的业务保护方法可以包 括以下步骤: In this embodiment, a maintenance end point (MEP) is configured on the access node and the aggregation node, for example, on the access node AN1 and the aggregation node AGS2 shown in FIG. 1, or in FIG. A maintenance endpoint is configured on the access node AN2 and the aggregation node AGS5, and the maintenance endpoint can send, receive, and process OAM messages such as service level continuity fault detection messages and reverse fault notifications, where the service level continuity fault detection message is For example, it is transmitted in a pseudowire between the access node and the sink node, and the service running between the access node and the sink node may be an Ethernet service, and between the two maintenance endpoints, such as Y.1731 or 802.1ag OAM may be enabled. Service level continuity fault detection protocol. The two maintenance endpoints may be functional modules respectively built in the access node and the aggregation node, or may be respectively disposed outside the access node and the aggregation node and connected thereto. The physical mode is no longer - enumerated, as long as the service level continuity fault detection on the primary path can be performed through the two maintenance endpoints. Among them, the service-level continuity fault detection is any protocol specification that adopts the Ethernet header encapsulation for the Ethernet service in accordance with Y.1731, 802. lag or other similar OAM functions, and the prior art is in different segments of the LSP path. The path layer OAM performed internally is MPLS/PW OAM, such as Bidirectional Forwarding Detection (BFD), which uses the MPLS header encapsulation. In addition, for a unicast service, a point-to-point service OAM is usually used. The source address of the downlink OAM message is the unicast MAC address of the sink node, and the destination address is the unicast MAC address of the access node. For a multipoint OAM (the source address in the downlink OAM message is the unicast MAC address of the sink node, and the destination address is the multicast MAC address). After the service endpoint is configured, the service protection method in the MPLS multi-service access system may include the following steps:
步骤 401 , 在接入节点与汇聚节点之间的业务路径上运行业务级连续性故 障检测。  Step 401: Run a service level continuity fault detection on a service path between the access node and the sink node.
在该步骤中, 可以通过从汇聚节点的维护端点 MEP向接入节点的维护端 点 MEP周期性地发送业务级连续性故障检测消息 ( Continuity Check Message , CCM ), 然后接入节点 MEP根据在预定时间内(例如 3.5倍于上述周期)是否 接收到对方的 CCM消息等来验证某一业务的运行是否出现故障, 若出现业务 故障,则表明接入节点和汇聚节点间承载该业务的某段物理链路如接入节点双 归的主用物理链路, 或者是路径上的其他物理链路, 或路径上的某个节点可能 发生故障。 该业务级连续性故障检测也还可以是:  In this step, a service level continuity fault detection message (CCM) may be periodically sent from the maintenance endpoint MEP of the sink node to the maintenance node MEP of the access node, and then the access node MEP is based on the scheduled time. Whether the CCM message of the other party is received (for example, 3.5 times the above period) to verify whether the operation of a certain service is faulty. If a service failure occurs, it indicates that a certain physical chain carrying the service between the access node and the aggregation node A primary physical link such as an access node that is dual-homed, or another physical link on the path, or a node on the path may fail. The service level continuity fault detection can also be:
接入节点向汇聚节点发送业务级连续性故障检测消息;  The access node sends a service level continuity fault detection message to the sink node;
若在预设时间内接收到汇聚节点返回的业务级连续性故障检测响应消息 , 则表明业务运行正常,否则若在预设时间内未接收到汇聚节点发出的业务级连 续性故障检测响应消息,则表明该业务在由汇聚节点到接入节点间的下行方向 存在故障; 若接收到汇聚节点发送的反向故障指示消息, 则表明该业务在由接 入节点到汇聚节点间的上行方向存在故障。  If the service-level continuity fault detection response message returned by the aggregation node is received within the preset time, the service is running normally. Otherwise, if the service-level continuity fault detection response message sent by the aggregation node is not received within the preset time, The fault indicates that the service is faulty in the downlink direction from the sink node to the access node. If the reverse fault indication message sent by the sink node is received, it indicates that the service is faulty in the uplink direction from the access node to the sink node. .
步骤 402, 当接入节点检测到业务级连续性检测故障时, 激活主用物理链 路的备用物理链路, 以使备用物理链路上的备用 LSP路径及备用伪线可用。  Step 402: When the access node detects a service level continuity detection fault, activate the standby physical link of the active physical link, so that the standby LSP path and the backup pseudowire on the standby physical link are available.
在两维护端点运行的业务级连续性故障检测消息中包含有业务信息,当接 入节点检测到某一业务运行故障时,接入节点放弃使用承载该业务的主物理链 路, 激活备用物理链路, 以便于后续将该业务切换到备用物理链路的备用 LSP 路径及备用伪线上, 在本发明实施例中, 无论单播或组播业务, 在检测到业务 级连续性故障检测之前, 其备用物理链路为非激活状态,在检测到故障对备用 物理链路进行激活时,该激活过程可以是对物理端口的激活, 或者仅仅是逻辑 上允许业务数据帧的传送和处理, 以后不再贅述。 Service-level continuity fault detection messages running on the two maintenance endpoints contain service information. When the ingress node detects a service running fault, the access node relinquishes the primary physical link carrying the service and activates the standby physical link, so as to switch the service to the backup LSP path and the alternate pseudo of the standby physical link. In the embodiment of the present invention, the unicast or multicast service, before the service level continuity fault detection is detected, the standby physical link is inactive, and the standby physical link is activated when the fault is detected. The activation process may be the activation of a physical port, or only logically allow the transmission and processing of service data frames, and will not be described again in the future.
步骤 403 , 将出现故障的业务由承载该业务的主用伪线切换至备用伪线。 在备用物理链路激活后, 其上的备用 LSP路径及备用伪线即可正常传送 业务数据帧,接入节点即可将该故障业务由承载该业务的主用伪线切换至对应 的备用伪线上, 之后, 该业务通过备用物理链路上备用 LSP承载的备用伪线 进行传送。 接入节点还可以进一步在完成业务切换后, 关闭主用物理链路(它 可以是对物理端口的关闭,或者仅仅是逻辑上将该链路上接收到的所有业务数 据帧丟弃, 以后不再贅述)。  Step 403: Switch the faulty service from the primary pseudowire carrying the service to the standby pseudowire. After the standby physical link is activated, the standby LSP path and the backup pseudowire on the normal physical link can transmit the service data frame. The access node can switch the faulty service from the primary pseudowire carrying the service to the corresponding standby pseudo. After the line, the service is transmitted through the alternate pseudowire carried by the standby LSP on the standby physical link. The access node may further close the active physical link after completing the service switching (it may be to close the physical port, or simply discard all the service data frames received on the link, and not later) Let me repeat).
该保护切换的一种具体实现框图如图 5所示。 图中, 业务 OAM模块处理 业务级连续性故障检测消息等 OAM报文,在检测到业务级连续性故障的时候, 它触发保护倒换决策模块,一方面激活备用物理链路 (可以同时关闭主用物理 链路), 另一方面将业务帧本身倒换到备用物理链路中备用 LSP路径的备用伪 线上。  A specific implementation block diagram of the protection switching is shown in FIG. 5. In the figure, the service OAM module processes the OAM packet such as the service level continuity fault detection message. When the service level continuity fault is detected, it triggers the protection switching decision module, and activates the standby physical link on the other hand (the main service can be closed at the same time) The physical link), on the other hand, reverses the traffic frame itself to the alternate pseudowire of the alternate LSP path in the alternate physical link.
本发明实施例通过在单 /组播业务中, 在业务路径的接入节点和汇聚节点 处配置维护端点,在维护端点间进行业务级的连续性故障检测,从而无需在该 路径中不同层、 不同 LSP段间部署相应的 MPLS OAM机制和物理层 OAM, 只要检测到业务级连续性故障, 则无论是单播还是组播业务, 均由接入节点执 行对备用物理链路的激活,以使备用物理链路承载的备用 LSP路径及备用 LSP 路径承载的备用伪线可用, 并将承载该业务的业务伪线由主用 LSP路径上的 主用伪线切换到备用 LSP路径的备用伪线上, 从而实现 MPLS多业务接入系 统下的业务保护。该方法不仅大大简化了业务保护过程, 而且统一了单播和组 播业务的保护方法。 另外, 该方法不需要依赖于中间节点进行业务保护, 能够 保护多业务的多种故障场景,保证了接入设备的独立性, 降低了业务接入配置 的难度, 不需要分别对单播和组播提供不同的保护机制, 从而部署更为简单。 参见图 6, 为本发明实施例另一种业务保护方法流程图。 In the embodiment of the present invention, the maintenance endpoint is configured in the access node and the aggregation node of the service path in the single/multicast service, and the service level continuity fault detection is performed between the maintenance endpoints, thereby eliminating the need for different layers in the path. The MPLS OAM mechanism and the physical layer OAM are deployed between different LSP segments. As long as the service level continuity fault is detected, the access node performs the activation of the standby physical link, whether it is unicast or multicast. The alternate LSP path carried by the standby physical link and the alternate pseudowire carried by the backup LSP path are available, and the service pseudowire carrying the service is switched from the primary pseudowire on the primary LSP path to the alternate pseudowire on the standby LSP path. Therefore, the service protection under the MPLS multi-service access system is realized. This method not only greatly simplifies the service protection process, but also unifies the protection methods of unicast and multicast services. In addition, the method does not need to rely on the intermediate node for service protection, and can protect multiple fault scenarios of multiple services, ensuring the independence of the access device, and reducing the difficulty of service access configuration, and does not need to separately unicast and group. Broadcasting provides different protection mechanisms, making deployment easier. FIG. 6 is a flowchart of another service protection method according to an embodiment of the present invention.
本实施例以 VPWS承载单播业务为例进行说明。 如图 7所示, 接入节点 This example uses the VPWS to carry the unicast service as an example. As shown in Figure 7, the access node
AN3和汇聚节点 AGS7之间存在主用物理链路 AN3-AGS8以及备用物理链路There is an active physical link between AN3 and the aggregation node AGS7 AN3-AGS8 and the backup physical link
AN3-AGS9。 其中, 主物理链路 AN3-AGS8 处于激活工作状态, 其业务通过 AN3-AGS7 间主用 LSP 路径上的主用伪线 PW8 进行承载, 备用物理链路AN3-AGS9. The primary physical link AN3-AGS8 is in an active state, and its service is carried by the primary pseudowire PW8 on the primary LSP path between the AN3-AGS7, and the standby physical link is used.
AN3-AGS9在业务发生故障之前, 处于非激活状态, 业务信流无法使用。 AN3-AGS9 is inactive before the service fails, and the service flow cannot be used.
在接入节点 AN3上配置维护端点 MEP1 , 在汇聚节点 AGS7上配置维护 端点 MEP2, MEP1 、 MEP2之间可以启用如 Y.1731或 802.1ag OAM的业务 级连续性故障检测协议。  Configure the maintenance endpoint MEP1 on the access node AN3, and configure the maintenance endpoint MEP2 on the aggregation node AGS7. The service level continuity fault detection protocol such as Y.1731 or 802.1ag OAM can be enabled between MEP1 and MEP2.
该业务保护方法可以包括以下步骤:  The service protection method can include the following steps:
步骤 601 , 接入节点接收汇聚节点发送的业务级连续性故障检测消息。 AGS7上的 MEP2向 AN3上的 MEP1 (即下行方向 )发送业务级连续性故 障检测消息(CCM ), 该检测消息通过伪线 PW8传送, 消息的源地址为 AGS7 的单播 MAC地址, 目的地址为 AN3的单播 MAC地址。  Step 601: The access node receives the service level continuity fault detection message sent by the sink node. The MEP2 on the AGS7 sends a service level continuity fault detection message (CCM) to the MEP1 (ie, the downlink direction) on the AN3. The detection message is transmitted through the pseudowire PW8. The source address of the message is the unicast MAC address of the AGS7, and the destination address is Unicast MAC address of AN3.
同时, AN3也可以向 AGS7 (即上行方向 )发送业务级连续性故障检测消 息 , 消息的源地址为 AN 1的单播 MAC地址 , 目的地址为 AGS7的单播 MAC 地址。  At the same time, AN3 can also send a service-level continuity fault detection message to AGS7 (that is, the uplink direction). The source address of the message is the unicast MAC address of AN 1, and the destination address is the unicast MAC address of AGS7.
步骤 602, 接入节点根据接收业务 OAM消息的情况确定是否发生业务故 障。  Step 602: The access node determines whether a service fault occurs according to the condition of receiving the service OAM message.
若接入节点 AN3也向汇聚节点 AGS7发送 CCM消息, 当上行方向出现 故障时, AGS7在一定时间内无法接收到 AN3发送的 CCM消息,此时, AGS7 会通过下行方向的 CCM消息向 AN3发送反向故障指示(例如 CCM消息中的 特定比特位),所以若在预设时间内 AN3接收到 AGS7发送的带反向故障指示 的 CCM,则表明该业务上行方向存在故障。若 AN3在预设时间内接收到 AGS7 发送的 CCM消息, 并且没有反向故障指示, 则表明该业务运行正常, 也即在 业务路径的上下行方向均运行正常。 若 AN3在预设时间(例如 3.5个 CCM周 期)内未接收到 AGS7发送的任何 CCM消息,则说明该业务在下行方向必然存 在故障 (有可能上行方向上也同时存在故障)。  If the access node AN3 also sends a CCM message to the aggregation node AGS7, when the uplink direction fails, the AGS7 cannot receive the CCM message sent by the AN3 within a certain period of time. At this time, the AGS7 sends the reverse CCM message to the AN3 through the downlink direction. The failure indication (for example, a specific bit in the CCM message), so if the AN3 receives the CCM with the reverse fault indication sent by the AGS7 within the preset time, it indicates that there is a fault in the uplink direction of the service. If AN3 receives the CCM message sent by AGS7 within the preset time, and there is no reverse fault indication, it indicates that the service is running normally, that is, it runs normally in the uplink and downlink directions of the service path. If AN3 does not receive any CCM message sent by AGS7 within the preset time (for example, 3.5 CCM cycles), it indicates that the service must have a fault in the downlink direction (it is possible that there is also a fault in the uplink direction).
该业务级连续性故障检测与路径层的故障检测不同,它无需在路径上不同 层之间部署不同的故障检测机制 ,只针对接入节点和汇聚节点间的业务运行情 况进行检测, 其业务级连续性故障检测消息在业务路径的伪线上传送, 只要出 现业务故障, AN3均可以感知, 进而可以判定承载该业务的物理链路或 LSP 路径或者中间节点出现故障。 This service level continuity fault detection is different from the fault detection at the path layer, and it does not need to be different in the path. Different fault detection mechanisms are deployed between the layers to detect the service running between the access node and the aggregation node. The service-level continuity fault detection message is transmitted on the pseudo-line of the service path. As long as a service fault occurs, AN3 It can be perceived that, in turn, it can be determined that the physical link or the LSP path or the intermediate node carrying the service is faulty.
步骤 603 , 当接入节点 AN3检测到业务级连续性故障时, 激活承载该业 务的主用物理链路的备用物理链路, 并关闭主物理链路。  Step 603: When the access node AN3 detects a service level continuity fault, activate the standby physical link of the active physical link that carries the service, and close the primary physical link.
该激活过程与前述实施例中的步骤 402类似, 此处不再贅述。在激活备用 链路 AN3-AGS9后,该备用链路上的备用 LSP路径处于可用状态,由于 AGS9 与汇聚节点 AGS7之间的物理层链路是始终激活的, 其承载的 LSP路径始终 处于可用状态。  The activation process is similar to the step 402 in the foregoing embodiment, and details are not described herein again. After the standby link AN3-AGS9 is activated, the alternate LSP path on the standby link is available. Since the physical layer link between the AGS9 and the aggregation node AGS7 is always active, the LSP path carried by the LSP is always available. .
在接入节点激活备用物理链路 AN3-AGS9后, 可以只将上述出现故障的 业务切换至备用物理链路中备用 LSP承载的备用伪线上, 也可以继续执行以 下步骤,将承载该故障业务的主用物理链路上的所有业务均切换至其备用伪线 上。  After the access node activates the standby physical link AN3-AGS9, the faulty service can be switched to the standby pseudo-line carried by the standby LSP in the standby physical link, and the following steps can be performed to carry the faulty service. All services on the primary physical link are switched to their alternate pseudowires.
步骤 604, 接入节点建立主用物理链路上所有业务的业务索引表。  Step 604: The access node establishes a service index table of all services on the active physical link.
在本实施例中, 为了便于后续主用物理链路上所有业务的切换,接入节点 AN3 可以首先建立主用物理链路上所有业务的业务索引表, 如下表所示, 以 便于在后续切换时,可以根据该业务索引表将所有业务逐一切换到它的备用伪 线上。  In this embodiment, in order to facilitate the handover of all services on the active physical link, the access node AN3 may first establish a service index table of all services on the active physical link, as shown in the following table, so as to facilitate subsequent handover. All services can be switched to its alternate pseudowires one by one according to the service index table.
业务索引表可以采用如下形式: (i, Service(i), PW(i) ), 其中 i为一个正整 数的索引值, Service(i)和 PW(i) 分别代表第 i个业务和它所对应的备用伪线, 或者( i, Service(i), PW 主 (i), PW 备 (i) ),其中 PW 主 (i)和 PW 备 (i)分别表示第 i 个业务所对应的主用伪线和备用伪线。 其它可能方式例如采用链表、散列或者 其他数据结构来表示业务索引表都是可能的, 在此不再一一列举。  The service index table can take the form: (i, Service(i), PW(i) ), where i is an index value of a positive integer, and Service(i) and PW(i) represent the i-th service and its Corresponding alternate pseudowire, or (i, Service(i), PW main (i), PW standby (i)), where PW main (i) and PW standby (i) respectively represent the main corresponding to the i-th service Use pseudowires and alternate pseudowires. Other possible ways, such as using a linked list, hash, or other data structure to represent the business index table are possible, and are not enumerated here.
该建立业务索引表的步骤可以通过管理预先配置,或者在一个新业务接入 时动态建立, 或者在建立备用路径才建立, 此处不作限定。  The step of establishing the service index table may be established by management pre-configuration, or dynamically established when a new service is accessed, or established when an alternate path is established, which is not limited herein.
步骤 605, 根据业务索引表将主用物理链路上的各业务由分别承载各业务 的主用伪线切换到对应的备用伪线。  Step 605: Switch each service on the active physical link to the corresponding standby pseudowire by using the primary pseudowire that carries each service according to the service index table.
在备用物理链路激活后,该备用物理链路上承载的所有备用伪线即处于可 用状态,在本步骤中, 除了将故障业务由承载该业务的主用伪线切换到其对应 的备用伪线之夕卜,还可以将主用物理链路上的其它业务由承载各业务的主用伪 线切换至各自对应的备用伪线。 具体的, 可以按照业务索引表中列出的业务, 逐一将其由主物理链路上的主用伪线切换至其备用伪线上。 After the standby physical link is activated, all the backup pseudowires carried on the standby physical link are available. In this step, in addition to switching the faulty service from the primary pseudowire carrying the service to its corresponding alternate pseudowire, other services on the primary physical link may be carried by the service. The main pseudowire switches to the corresponding alternate pseudowire. Specifically, the primary pseudowire on the primary physical link may be switched to its alternate pseudowire one by one according to the services listed in the service index table.
若不执行步骤 604、 605, 而只将出现故障的业务由其主用伪线切换到备 用伪线, 则由于主物理链路已经出现故障, 该主物理链路上的其它业务在运行 时也会出现故障, 因此, 在相应的业务重复上述步骤 601〜603的步骤后, 也同 样会切换到该业务对应的备用伪线上。  If steps 604 and 605 are not performed, and only the failed service is switched from the primary pseudowire to the alternate pseudowire, since the primary physical link has failed, other services on the primary physical link are also running. A fault occurs. Therefore, after the steps of the above steps 601 to 603 are repeated for the corresponding service, the same will be switched to the alternate pseudo line corresponding to the service.
在本实施例中, 如图 7所示, 由于该单播业务为同源同宿场景, 也即接入 节点 AN3通过主用物理链路和备用物理链路接入后, 业务在 MPLS网络最终 出口是同一个汇聚节点 (例如 AGS7 ), 则其主用伪线 PW8与备用伪线 PW9 实际为同一条伪线, 该故障业务切换过程具体为: 将承载该业务的主用伪线由 主用物理链路上的主用 LSP切换至备用物理链路上的备用 LSP, 如图 8所示, 业务 OAM模块处理业务级连续性故障检测消息等 OAM报文, 在检测到业务 连续性故障的时候, 它触发保护倒换决策模块, 一方面激活备用物理链路 /关 闭主用物理链路, 另一方面直接将业务伪线倒换到备用物理链路中备用 LSP 路径上。一种可选用的物理链路关闭方式是将该链路上接收到的所有业务数据 帧丟弃。  In this embodiment, as shown in FIG. 7, since the unicast service is a homogenous and homogenous scenario, that is, after the access node AN3 is accessed through the primary physical link and the standby physical link, the service is finally exported in the MPLS network. If the same convergence node (for example, AGS7) is used, the primary pseudowire PW8 and the alternate pseudowire PW9 are actually the same pseudowire. The faulty service switching process is specifically as follows: The primary pseudowire carrying the service is used by the primary physics. The primary LSP on the link is switched to the backup LSP on the standby physical link. As shown in Figure 8, the service OAM module processes OAM packets such as service level continuity fault detection messages. When a service continuity fault is detected, It triggers the protection switching decision module, which activates the standby physical link/disables the active physical link on the one hand, and directly switches the service pseudowire to the standby LSP path in the standby physical link. An optional physical link down mode is to discard all service data frames received on the link.
当单播业务为同源不同宿时,也即主用物理链路和备用物理链路均源于接 入节点 AN3 , 但业务在 MPLS网络最终出口是不同的汇聚节点, 则主用伪线 PW8与备用伪线 PW9不同, 其具体的每个业务的切换过程也如图 5所示, 与 前述步骤 403中切换过程相同。  When the unicast service is a homogenous different sink, that is, the primary physical link and the backup physical link are both originated from the access node AN3, but the service is in the MPLS network, the final exit is a different aggregation node, and the primary pseudowire PW8 Different from the alternate pseudowire PW9, the specific handover process of each service is also shown in FIG. 5, which is the same as the handover process in the foregoing step 403.
本发明实施例通过在单 /组播业务中, 接入节点和汇聚节点处配置维护端 点,在维护端点间进行业务级的连续性故障检测,从而无需在不同路径层间部 署相应的 MPLS OAM和物理层 OAM, 只要检测到相应的业务故障, 就由接 入节点主动激活备用物理链路,并将所有业务由其主用伪线切换到其对应的备 用伪线,从而实现 MPLS多业务接入系统下的业务保护。该方法不仅大大简化 了业务保护过程, 而且统一了单播和组播业务的保护方法。  In the embodiment of the present invention, in the single/multicast service, the maintenance node is configured at the access node and the aggregation node, and the service level continuity fault detection is performed between the maintenance endpoints, thereby eliminating the need to deploy corresponding MPLS OAM between different path layers. The physical layer OAM, as long as the corresponding service fault is detected, the access node actively activates the standby physical link, and switches all services from its primary pseudowire to its corresponding alternate pseudowire, thereby implementing MPLS multi-service access. Business protection under the system. This method not only greatly simplifies the service protection process, but also unifies the protection methods of unicast and multicast services.
参见图 9, 为本发明实施例另一种业务保护方法流程图。 本实施例以 VPLS承载组播业务为例进行说明。 如图 10所示, 接入节点 AN4和汇聚节点 AGS10之间存在物理层链路 AN4-AGS11-AGS10, 以及物理 层链路 AN4- AGS 12- AGS 10。 其中, 主用物理链路 AN4-AGS11处于激活工作 状态 , 其业务通过 AN4至 AGS10间多段 LSP路径承载的伪线 PW41、 PW10 依次进行承载, 备用物理链路 AN4-AGS12在业务发生故障之前, 处于非激活 状态, 无法使用。 FIG. 9 is a flowchart of another service protection method according to an embodiment of the present invention. This example uses VPLS to carry multicast services as an example. As shown in FIG. 10, a physical layer link AN4-AGS11-AGS10 and a physical layer link AN4-AGS 12-AGS 10 exist between the access node AN4 and the sink node AGS10. The active physical link AN4-AGS11 is in the active state, and the service is carried by the pseudowires PW41 and PW10 carried by the multiple LSPs between the AN4 and the AGS10. The standby physical link AN4-AGS12 is in the service before the service fails. Inactive, not available.
在接入节点 AN4上配置维护端点 MEP3 , 在汇聚节点 AGS10上配置维护 端点 MEP4, MEP3 、 MEP4之间可以启用如 Y.1731或 802.1ag OAM的连续 性故障检测协议。  Configure the maintenance endpoint MEP3 on the access node AN4 and configure the maintenance endpoint MEP4 on the aggregation node AGS10. The continuity fault detection protocol such as Y.1731 or 802.1ag OAM can be enabled between MEP3 and MEP4.
该业务保护方法可以包括以下步骤:  The service protection method can include the following steps:
步骤 901 , 汇聚节点向接入节点发送业务级连续性故障检测消息。  Step 901: The aggregation node sends a service level continuity fault detection message to the access node.
AGS 10上的 MEP4向 AN4上的 MEP3 发送业务级连续性故障检测消息, 该检测消息在伪线 PW41、PW10中传送。消息的源地址为 AGS10的单播 MAC 地址, 目的地址为组播 MAC地址。  The MEP4 on the AGS 10 transmits a service level continuity fault detection message to the MEP3 on the AN4, and the detection message is transmitted in the pseudowires PW41 and PW10. The source address of the message is the unicast MAC address of AGS10, and the destination address is the multicast MAC address.
步骤 902, 接入节点根据连续性故障检测确定是否发生业务级连续性检测 故障。  Step 902: The access node determines, according to the continuity fault detection, whether a service level continuity detection fault occurs.
例如,接入节点 MEP3若在 3.5周期内未接收到 MEP4发送的 CCM消息, 则确定存在业务故障, 即可进一步确定主用物理链路存在故障或其主用 LSP 路径上的其它物理链路或中间节点等存在故障。  For example, if the access node MEP3 does not receive the CCM message sent by the MEP4 within 3.5 cycles, it determines that there is a service failure, and further determines that the primary physical link is faulty or other physical link on the primary LSP path or There is a fault in the intermediate node, etc.
步骤 903 , 当接入节点 AN4检测到业务故障时, 激活承载该业务的主用 物理链路的备用物理链路, 关闭主用物理链路。  Step 903: When the access node AN4 detects a service failure, activate the standby physical link of the active physical link that carries the service, and close the active physical link.
AN4激活备用物理链路 AN4-AGS12, 由于 AGS12到 AGS10之间数据路 径始终是打开的 (它们在同一个 VPLS网络中), 因此, 其上的备用 LSP路径 及备用伪线处于可用状态。  AN4 activates the alternate physical link AN4-AGS12. Since the data paths between AGS12 and AGS10 are always open (they are in the same VPLS network), the alternate LSP path and the alternate pseudowire are available.
一种可选用的物理链路关闭方式是将该链路上接收到的所有业务数据帧 丟弃。  An optional physical link closure mode is to discard all service data frames received on the link.
步骤 902、 903与前述实施例中的步骤 602、 603类似, 此处不再贅述。 步骤 904 , 接入节点通过备用伪线在备用物理链路上发送 IGMP 组 ( Internet Group Management Protocol , 因特网组管理十办议 ) 请求。 当接入节点激活备用物理链路后, 根据 VPLS的已有机制, AGS 10还可 以进一步发送 MAC flush消息到 VPLS各个端点中,从而使得各个端点重新进 行 MAC地址学习 , 加快 VPLS业务的收敛过程。 The steps 902 and 903 are similar to the steps 602 and 603 in the foregoing embodiment, and are not described herein again. Step 904: The access node sends an IGMP group (Internet Group Management Protocol) request on the standby physical link by using an alternate pseudowire. After the access node activates the standby physical link, the AGS 10 can further send a MAC flush message to each VPLS endpoint according to the existing mechanism of the VPLS, so that each endpoint re-executes the MAC address learning and accelerates the convergence process of the VPLS service.
对于组播业务, AN4还可选择执行 IGMP代理功能, 在备用物理链路上 代理客户主动发送 IGMP组请求, 与其直接相邻的组播路由器之间建立、 维 护组播组成员关系, 从而使得组播业务在备用物理链路上可用。 该 IGMP消 息具体可以通过该组播业务所对应的备用物理链路上承载的备用伪线发送。在 另一实施例中, 若没有备用伪线, 该 IGMP消息可以直接在备用物理链路上发 送。  For multicast services, AN4 can also choose to perform the IGMP proxy function. On the standby physical link, the proxy client actively sends IGMP group requests, and establishes and maintains multicast group memberships with the directly adjacent multicast routers. The broadcast service is available on the alternate physical link. The IGMP message may be sent by using an alternate pseudowire carried on the standby physical link corresponding to the multicast service. In another embodiment, if there are no alternate pseudowires, the IGMP message can be sent directly on the alternate physical link.
步骤 905, 建立业务索引表, 并根据业务索引表将主用物理链路上的所有 业务由分别承载各业务的主用伪线切换到对应的备用伪线上。  Step 905: Establish a service index table, and switch all services on the active physical link to the corresponding standby pseudowires by using the primary pseudowires respectively carrying the services according to the service index table.
接入节点建立主物理链路上所有业务的业务索引表, 并根据业务索引表, 将主物理链路上的所有业务切换到相应的备用伪线上。此时, 由于该组播业务 通过 AN4-AGS12间的备用物理链路中备用 LSP路径上的伪线 PW42传送到 AN4,所以 AN4可以在备用伪线上接收到 AGS10发送的下行组播业务。其中, 每个业务的切换过程也如图 5所示, 与前述步骤 403中的切换过程相同。  The access node establishes a service index table of all services on the primary physical link, and switches all services on the primary physical link to the corresponding alternate pseudowire according to the service index table. At this time, since the multicast service is transmitted to the AN4 through the pseudowire PW42 on the alternate LSP path in the alternate physical link between the AN4-AGS12, the AN4 can receive the downlink multicast service sent by the AGS10 on the alternate pseudowire. The switching process of each service is also shown in FIG. 5, which is the same as the switching process in the foregoing step 403.
本发明实施例通过在组播业务中, 接入节点和汇聚节点处配置维护端点, 在维护端点间进行业务级连续性故障检测, 从而无需在不同路径层间部署 In the embodiment of the present invention, in the multicast service, the maintenance node is configured at the access node and the aggregation node, and the service level continuity fault detection is performed between the maintenance endpoints, thereby eliminating the need to deploy between different path layers.
MPLS OAM和物理层 OAM, 只要检测到业务故障, 就由接入节点执行对备用 物理链路的激活, 并将所有业务由其主用伪线切换到对应的备用伪线,从而实 现 MPLS 多业务接入系统下的业务保护。 该方法不仅大大简化了业务保护过 程, 而且统一了单播和组播业务的保护方法。 MPLS OAM and physical layer OAM, as long as a service failure is detected, the access node performs activation of the standby physical link, and all services are switched from their primary pseudowires to corresponding alternate pseudowires, thereby implementing MPLS multi-service. Service protection under the access system. This method not only greatly simplifies the service protection process, but also unifies the protection methods of unicast and multicast services.
在上述实施例中, BRAS ( Broadband Remote Access Server, 宽带远程接 入服务器)是单点连接到 MPLS 网络上行边缘的汇聚设备 AGS7/AGS10。 本 发明的另一实施例中, BRAS 还可以双归接入到两个不同的汇聚设备, 如图 In the above embodiment, the BRAS (Broadband Remote Access Server) is a convergence device AGS7/AGS10 that is connected to the upstream edge of the MPLS network at a single point. In another embodiment of the present invention, the BRAS can also be dual-homed to two different aggregation devices, as shown in the figure.
11所示。 11 is shown.
在接入节点将业务切换至备用伪线后,也可以针对切换后的业务路径执行 上述业务级连续性故障检测, 若业务出现故障,还可以继续按照上述实施例方 法执行到另一条备用伪线的业务切换。 以上是针对本发明方法实施例的描述,下面对实现上述方法的装置和系统 进行介绍。 After the access node switches the service to the backup pseudowire, the service level continuity fault detection may also be performed on the switched service path. If the service fails, the method may continue to perform another standby pseudowire according to the foregoing embodiment. Business switching. The above is a description of an embodiment of the method of the present invention, and an apparatus and system for implementing the above method will be described below.
参见图 12, 为本发明实施例一种接入设备的结构示意图。  FIG. 12 is a schematic structural diagram of an access device according to an embodiment of the present invention.
该接入设备应用于 MPLS多业务接入系统中,该接入设备上配置有可执行 业务级连续性故障检测的维护端点, 该接入设备可以包括:  The access device is applied to an MPLS multi-service access system, where the access device is configured with a maintenance endpoint that can perform service level continuity fault detection, and the access device can include:
检测单元 1201 , 用于在与汇聚节点之间的业务路径上运行业务级连续性 故障检测。 汇聚节点上也配置有可执行业务级连续性故障检测的维护端点。  The detecting unit 1201 is configured to run a service level continuity fault detection on a service path between the node and the sink node. A maintenance endpoint that performs service level continuity fault detection is also configured on the aggregation node.
激活单元 1202, 用于当检测到业务级的连续性故障时, 激活主用物理链 路的备用物理链路, 以使备用物理链路上的备用 LSP路径及备用伪线可用。  The activation unit 1202 is configured to activate the standby physical link of the active physical link when the continuity fault of the service level is detected, so that the backup LSP path and the backup pseudowire on the standby physical link are available.
切换单元 1203 , 用于将出现故障的业务由承载业务的主用伪线切换至备 用伪线, 其中, 主用伪线为主用物理链路上的主用 LSP路径所承载的伪线, 备用伪线为备用物理链路上的备用 LSP路径所承载的伪线。  The switching unit 1203 is configured to switch the faulty service from the primary pseudowire of the bearer service to the standby pseudowire, where the primary pseudowire is a pseudowire carried by the primary LSP path on the primary physical link, and the standby The pseudowire is a pseudowire carried by the alternate LSP path on the alternate physical link.
检测单元 1201通过在接入节点的维护端点与汇聚节点的维护端点之间发 送业务级连续性故障检测消息, 根据是否在预定时间内接收到对方的 CCM消 息等来验证是否存在业务故障,进而即可判定接入节点和汇聚节点间的承载该 业务是否发生故障。 当检测到业务发生故障时, 激活单元 1202放弃使用主用 物理链路, 激活备用物理链路, 在备用物理链路激活后, 由切换单元 1203将 主用物理链路上主用伪线承载的该业务切换至备用物理链路上的备用伪线,之 后, 该业务通过备用伪线进行承载。  The detecting unit 1201 sends a service level continuity fault detection message between the maintenance endpoint of the access node and the maintenance endpoint of the sink node, and verifies whether there is a service fault according to whether the CCM message of the other party is received within a predetermined time, and the It can be determined whether the bearer between the access node and the sink node is faulty. When it is detected that the service fails, the activation unit 1202 abandons the use of the active physical link, activates the standby physical link, and after the standby physical link is activated, the switching unit 1203 carries the primary pseudowire on the primary physical link. The service is switched to the alternate pseudowire on the standby physical link, and then the service is carried by the alternate pseudowire.
本发明实施例通过上述单元实现了 MPLS多业务接入系统下的业务保护, 大大简化了业务保护过程, 统一了单播和组播业务的保护方法,保证了接入设 备的独立性, 降低了业务接入的难度, 不需要分别对单播和组播提供不同的保 护机制, 从而部署更为简单。  The embodiment of the present invention implements the service protection in the MPLS multi-service access system by using the above-mentioned unit, greatly simplifies the service protection process, and unifies the protection methods of the unicast and multicast services, thereby ensuring the independence of the access device and reducing the independence. The difficulty of service access does not require different protection mechanisms for unicast and multicast, which makes deployment easier.
参见图 13 , 为本发明实施例另一种接入设备的结构示意图。  FIG. 13 is a schematic structural diagram of another access device according to an embodiment of the present invention.
该接入设备可以包括检测单元 1301 , 激活单元 1302和切换单元 1303 , 其 中, 检测单元 1301、 激活单元 1302分别与前述实施例中的检测单元 1201、 激 活单元 1202类似, 此处不再贅述。  The access device may include a detecting unit 1301, an activating unit 1302, and a switching unit 1303. The detecting unit 1301 and the activating unit 1302 are respectively similar to the detecting unit 1201 and the activating unit 1202 in the foregoing embodiment, and details are not described herein again.
本实施例中, 检测单元 1301 具体用于在接入设备与汇聚节点之间启用 Y.1731或 802. lag OAM的业务级连续性故障检测。 切换单元 1303又可以包括: In this embodiment, the detecting unit 1301 is specifically configured to enable service level continuity fault detection of the Y.1731 or 802. lag OAM between the access device and the sink node. The switching unit 1303 may further include:
创建子单元 13031 , 用于建立主用物理链路上所有业务的业务索引表。 切换子单元 13032, 用于根据业务索引表将主用物理链路上的各业务由分 别承载各业务的主用伪线切换到对应的备用伪线。  A sub-unit 13031 is created, which is used to establish a service index table for all services on the active physical link. The switching subunit 13032 is configured to switch, according to the service index table, each service on the active physical link by the primary pseudowire that separately carries each service to the corresponding standby pseudowire.
当该业务为单播业务且同源同宿时, 主用伪线和备用伪线为同一伪线, 所 以切换单元具体可以用于将承载所述业务的主用伪线由所述主用物理链路上 的主用 LSP直接切换至所述备用物理链路上的备用 LSP。  When the service is a unicast service and the same as the same, the primary pseudowire and the alternate pseudowire are the same pseudowire. Therefore, the switching unit may be specifically configured to use the primary pseudowire carrying the service by the primary physical chain. The primary LSP on the road directly switches to the backup LSP on the standby physical link.
在另一实施例中, 对于组播业务, 该接入设备还可以包括请求发送单元, 用于将出现故障的业务由承载该业务的主用伪线切换至备用伪线之前,通过备 用伪线在备用物理链路上发送因特网组管理协议 IGMP组请求报文。  In another embodiment, for the multicast service, the access device may further include a request sending unit, configured to pass the failed pseudo-line before switching the failed service to the backup pseudowire by using the primary pseudowire carrying the service. An Internet Group Management Protocol IGMP group request message is sent on the alternate physical link.
在另一实施例中, 该接入设备还可以进一步包括关闭单元, 用于在所述将 出现故障的业务由承载所述业务的主用伪线切换至所述备用伪线之后,关闭所 述主用物理链路。  In another embodiment, the access device may further include a shutdown unit, configured to close the service after the faulty service is switched by the primary pseudowire carrying the service to the backup pseudowire. Primary physical link.
本发明实施例通过上述单元实现了 MPLS多业务接入系统下的业务保护, 大大简化了业务保护过程, 统一了单播和组播业务的保护方法,保证了接入设 备的独立性, 降低了业务接入的难度, 不需要分别对单播和组播提供不同的保 护机制, 从而部署更为简单。  The embodiment of the present invention implements the service protection in the MPLS multi-service access system by using the above-mentioned unit, greatly simplifies the service protection process, and unifies the protection methods of the unicast and multicast services, thereby ensuring the independence of the access device and reducing the independence. The difficulty of service access does not require different protection mechanisms for unicast and multicast, which makes deployment easier.
参见图 14, 为本发明实施例一种 MPLS多业务接入系统的结构示意图。 该系统可以包括接入设备 1401和汇聚设备 1402。  FIG. 14 is a schematic structural diagram of an MPLS multi-service access system according to an embodiment of the present invention. The system can include an access device 1401 and a convergence device 1402.
其中, 接入设备 1401 , 用于在与汇聚设备 1402之间的业务路径上运行业 务级连续性故障检测 ,所述接入设备上配置有可执行所述业务级连续性故障检 测的维护端点; 当检测到业务级的连续性故障时, 激活主用物理链路的备用物 理链路, 以使所述备用物理链路上的备用 LSP路径及备用伪线可用; 将出现 故障的业务由承载所述业务的主用伪线切换至所述备用伪线, 其中, 所述主用 伪线为所述主用物理链路上的主用 LSP路径所承载的伪线, 所述备用伪线为 所述备用物理链路上的备用 LSP路径所承载的伪线。  The access device 1401 is configured to run a service level continuity fault detection on the service path between the aggregation device 1402, where the access device is configured with a maintenance endpoint that can perform the service level continuity fault detection; When a continuity fault of the service level is detected, the standby physical link of the active physical link is activated, so that the backup LSP path and the backup pseudowire on the standby physical link are available; The primary pseudowire of the service is switched to the standby pseudowire, where the primary pseudowire is a pseudowire carried by the primary LSP path on the active physical link, and the standby pseudowire is A pseudowire carried by a backup LSP path on the standby physical link.
汇聚设备 1402, 用于在与接入设备 1401之间的业务路径上运行业务级连 续性故障检测, 汇聚设备 1402上配置有可执行业务级连续性故障检测的维护 端点。 该系统大大简化了业务保护过程, 统一了单播和组播业务的保护方法,保 证了接入设备的独立性, 降低了业务接入的难度, 不需要分别对单播和组播提 供不同的保护机制, 从而部署更为简单。 The aggregation device 1402 is configured to perform service level continuity fault detection on the service path with the access device 1401, and the aggregation device 1402 is configured with a maintenance endpoint that can perform service level continuity fault detection. The system greatly simplifies the service protection process, unifies the protection methods of unicast and multicast services, ensures the independence of access devices, and reduces the difficulty of service access. It does not need to provide different unicast and multicast respectively. Protection mechanisms make deployment easier.
以上所述的本发明实施方式, 并不构成对本发明保护范围的限定。任何在 本发明的精神和原则之内所作的修改、等同替换和改进等, 均应包含在本发明 的权利要求保护范围之内。  The embodiments of the present invention described above are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the appended claims.

Claims

权 利 要 求 Rights request
1、 一种业务保护方法, 其特征在于, 包括:  A service protection method, characterized in that:
在接入节点与汇聚节点之间的业务路径上运行业务级连续性故障检测 ,所 述接入节点和所述汇聚节点上配置有可执行所述业务级连续性故障检测的维 护端点;  Performing service level continuity fault detection on the service path between the access node and the sink node, where the access node and the sink node are configured with a maintenance endpoint that can perform the service level continuity fault detection;
当所述接入节点检测到业务级的连续性故障时,激活主用物理链路的备用 物理链路, 以使所述备用物理链路上的备用标签交换路径 LSP路径及备用伪 线可用;  When the access node detects a continuity fault of the service level, activating the standby physical link of the active physical link, so that the alternate label switched path LSP path and the backup pseudowire on the standby physical link are available;
将出现故障的业务由承载所述业务的主用伪线切换至所述备用伪线, 其 中, 所述主用伪线为所述主用物理链路上的主用 LSP路径所承载的伪线, 所 述备用伪线为所述备用物理链路上的备用 LSP路径所承载的伪线。  The faulty service is switched to the standby pseudowire by the primary pseudowire carrying the service, where the primary pseudowire is a pseudowire carried by the primary LSP path on the active physical link. The standby pseudowire is a pseudowire carried by a backup LSP path on the standby physical link.
2、 根据权利要求 1所述的方法, 其特征在于, 所述将出现故障的业务由 承载所述业务的主用伪线切换至所述备用伪线, 包括:  The method according to claim 1, wherein the switching the faulty service from the primary pseudowire carrying the service to the standby pseudowire includes:
所述接入节点建立所述主用物理链路上所有业务的业务索引表; 根据所述业务索引表将所述主用物理链路上的各业务由分别承载各业务 的主用伪线切换到对应的备用伪线。  Establishing, by the access node, a service index table of all services on the active physical link; and switching, according to the service index table, each service on the active physical link by using a primary pseudowire that carries each service separately Go to the corresponding alternate pseudowire.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 当所述业务为组播业 务时,在所述将出现故障的业务由承载所述业务的主用伪线切换至所述备用伪 线之前, 还包括:  The method according to claim 1 or 2, wherein when the service is a multicast service, the service that is to be failed is switched to the standby by the primary pseudowire carrying the service. Before the pseudowire, it also includes:
所述接入节点通过所述备用伪线在所述备用物理链路上发送因特网组管 理协议 IGMP请求艮文。  The access node sends an Internet Group Management Protocol IGMP request message on the standby physical link through the alternate pseudowire.
4、 根据权利要求 1所述的方法, 其特征在于, 当所述业务为单播业务且 同源同宿时, 所述主用伪线与所述备用伪线为同一伪线, 所述将出现故障的业 务由承载所述业务的主用伪线切换至所述备用伪线, 具体为:  The method according to claim 1, wherein when the service is a unicast service and the same as the same, the primary pseudowire and the alternate pseudowire are the same pseudowire, and the method will appear. The faulty service is switched to the standby pseudowire by the primary pseudowire carrying the service, specifically:
将承载所述业务的主用伪线由所述主用物理链路上的主用 LSP路径切换 至所述备用物理链路上的备用 LSP路径。  The primary pseudowire carrying the service is switched from the primary LSP path on the primary physical link to the alternate LSP path on the alternate physical link.
5、 根据权利要求 1至 4中任意一项所述的方法, 其特征在于, 还包括: 在所述将出现故障的业务由承载所述业务的主用伪线切换至所述备用伪 线之后, 关闭所述主用物理链路。 The method according to any one of claims 1 to 4, further comprising: after the failing service is switched by the primary pseudowire carrying the service to the standby pseudowire , the primary physical link is closed.
6、 一种接入设备, 其特征在于, 包括: 6. An access device, comprising:
检测单元,用于在与汇聚节点之间的业务路径上运行业务级连续性故障检 测,所述接入设备和所述汇聚节点上配置有可执行所述业务级连续性故障检测 的维护端点;  a detecting unit, configured to run a service level continuity fault detection on a service path between the access node and the aggregation node, where the maintenance node configured to perform the service level continuity fault detection is configured;
激活单元, 用于在当检测到业务级的连续性故障时, 激活主用物理链路的 备用物理链路, 以使所述备用物理链路上的备用 LSP路径及备用伪线可用; 切换单元,用于将出现故障的业务由承载所述业务的主用伪线切换至所述 备用伪线, 其中, 所述主用伪线为所述主用物理链路上的主用 LSP路径所承 载的伪线, 所述备用伪线为所述备用物理链路上的备用 LSP路径所承载的伪 线。  An activation unit, configured to activate a standby physical link of the active physical link when a continuity fault of the service level is detected, so that the backup LSP path and the backup pseudowire on the standby physical link are available; And the faulty service is switched by the primary pseudowire carrying the service to the standby pseudowire, where the primary pseudowire is carried by the primary LSP path on the active physical link. The pseudowire is the pseudowire carried by the alternate LSP path on the standby physical link.
7、 根据权利要求 6所述的接入设备, 其特征在于, 所述切换单元包括: 创建子单元, 用于建立所述主用物理链路上所有业务的业务索引表; 切换子单元,用于根据所述业务索引表将所述主用物理链路上的各业务由 分别承载各业务的主用伪线切换到对应的备用伪线。  The access device according to claim 6, wherein the switching unit comprises: a creating subunit, configured to establish a service index table of all services on the active physical link; And switching, according to the service index table, each service on the primary physical link to a corresponding standby pseudowire by using a primary pseudowire that carries each service.
8、 根据权利要求 6或 7所述的接入设备, 其特征在于, 还包括: 请求发送单元, 用于当所述业务为组播业务时, 在将出现故障的业务由承 载所述业务的主用伪线切换至所述备用伪线之前,通过所述备用伪线在所述备 用物理链路上发送 IGMP组请求 4艮文。  The access device according to claim 6 or 7, further comprising: a request sending unit, configured to: when the service is a multicast service, the service that is to be faulty is carried by the service Before the primary pseudowire switches to the standby pseudowire, the IGMP group request message is sent on the standby physical link by using the alternate pseudowire.
9、 根据权利要求 6所述的接入设备, 其特征在于,  9. The access device of claim 6, wherein
所述切换单元, 具体用于当所述业务为单播业务且同源同宿时, 所述主用 伪线与所述备用伪线为同一伪线 ,则将承载所述业务的主用伪线由所述主用物 理链路上的主用 LSP路径切换至所述备用物理链路上的备用 LSP路径。  The switching unit is specifically configured to: when the service is a unicast service and the same as the same, the primary pseudowire and the standby pseudowire are the same pseudowire, and the primary pseudowire that carries the service is Switching from the primary LSP path on the primary physical link to the alternate LSP path on the alternate physical link.
10、 根据权利要求 6至 9中任意一项所述的接入设备, 其特征在于, 还包 括:  The access device according to any one of claims 6 to 9, further comprising:
关闭单元,用于在所述将出现故障的业务由承载所述业务的主用伪线切换 至所述备用伪线之后, 关闭所述主用物理链路。  And a shutting down unit, configured to close the active physical link after the faulty service is switched by the primary pseudowire carrying the service to the standby pseudowire.
PCT/CN2011/074683 2011-05-26 2011-05-26 Method for service protection and access device WO2011144088A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/074683 WO2011144088A2 (en) 2011-05-26 2011-05-26 Method for service protection and access device
CN201180000697.7A CN102282805B (en) 2011-05-26 2011-05-26 Method for service protection and access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/074683 WO2011144088A2 (en) 2011-05-26 2011-05-26 Method for service protection and access device

Publications (2)

Publication Number Publication Date
WO2011144088A2 true WO2011144088A2 (en) 2011-11-24
WO2011144088A3 WO2011144088A3 (en) 2012-04-26

Family

ID=44992112

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/074683 WO2011144088A2 (en) 2011-05-26 2011-05-26 Method for service protection and access device

Country Status (2)

Country Link
CN (1) CN102282805B (en)
WO (1) WO2011144088A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447569A (en) * 2011-12-29 2012-05-09 中兴通讯股份有限公司 Protection method for point-to-multipoint multicast service and network equipment

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426691B (en) * 2013-08-26 2018-02-13 华为技术有限公司 Fault handling method, aggregation gateway and wireless side gateway
CN103916270B (en) * 2014-03-21 2017-06-13 烽火通信科技股份有限公司 The system for realizing Link State Pass Through function based on PTN, method and device
CN106452813B (en) * 2015-08-10 2020-05-29 中兴通讯股份有限公司 Method, device and system for packet transport network hybrid configuration dual-homing protection switching
CN109495320B (en) * 2018-12-24 2021-12-24 新华三技术有限公司 Data message transmission method and device
WO2022057779A1 (en) * 2020-09-21 2022-03-24 华为技术有限公司 Method, device and system for implementing service path detection
CN113472642B (en) * 2021-06-10 2023-06-13 新华三信息安全技术有限公司 Protection switching method and device
CN115208714A (en) * 2022-05-23 2022-10-18 浪潮通信技术有限公司 Network link determining method, device, system, electronic equipment and storage medium
CN116232985A (en) * 2022-12-23 2023-06-06 中国联合网络通信集团有限公司 Route planning method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964249A (en) * 2006-10-20 2007-05-16 华为技术有限公司 A method and device to realize punch-through of point-to-multipoint network link status
CN101119161A (en) * 2006-08-04 2008-02-06 中兴通讯股份有限公司 Fail processing system and method of transmission equipment
US20100020680A1 (en) * 2008-07-28 2010-01-28 Salam Samer M Multi-chassis ethernet link aggregation
CN102035681A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Link protection method and system for virtual private network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908983B (en) * 2009-06-08 2014-09-10 中兴通讯股份有限公司 Joint detection method and system for Ethernet local segment protection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119161A (en) * 2006-08-04 2008-02-06 中兴通讯股份有限公司 Fail processing system and method of transmission equipment
CN1964249A (en) * 2006-10-20 2007-05-16 华为技术有限公司 A method and device to realize punch-through of point-to-multipoint network link status
US20100020680A1 (en) * 2008-07-28 2010-01-28 Salam Samer M Multi-chassis ethernet link aggregation
CN102035681A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Link protection method and system for virtual private network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447569A (en) * 2011-12-29 2012-05-09 中兴通讯股份有限公司 Protection method for point-to-multipoint multicast service and network equipment
CN102447569B (en) * 2011-12-29 2015-06-03 中兴通讯股份有限公司 Protection method for point-to-multipoint multicast service and network equipment

Also Published As

Publication number Publication date
CN102282805A (en) 2011-12-14
CN102282805B (en) 2014-04-02
WO2011144088A3 (en) 2012-04-26

Similar Documents

Publication Publication Date Title
JP5484590B2 (en) Method, device and system for processing service traffic based on pseudowire
WO2011144088A2 (en) Method for service protection and access device
US9036466B2 (en) Methods and apparatus for improving network communication using ethernet switching protection
JP4899959B2 (en) VPN equipment
US8521896B2 (en) Method and system for negotiating the bidirectional forwarding detection session discriminator of pseudo wire
US9800432B2 (en) Using ethernet ring protection switching with computer networks
US9059902B2 (en) Procedures, apparatuses, systems, and computer-readable media for operating primary and backup network elements
WO2009056034A1 (en) Method, system and equipment to establish bfd detection for lsp tunnel
WO2012028029A1 (en) Switching method and system
WO2010118964A1 (en) Method for client data transmission through a packet switched provider network
WO2006007769A1 (en) Pseudo wire label reflector, edge apparatus, two-layer virtual private network, and the method to provide pseudo wire service
WO2012075831A1 (en) Method and system for multicast protection
CN109327318B (en) SDN management network architecture and method for establishing SDN management network
WO2012024952A1 (en) Method and system for switching path based on point to multipoint service
US8879383B1 (en) Methods and apparatus for improving reliability of point-of-point network connection
WO2012171378A1 (en) Method and router for preventing flow interruption caused by failover from vpls to l3
WO2012103758A1 (en) Method, system and device for processing layer-2 service in network
WO2012016458A1 (en) Method and apparatus for data transmission in layer 2 virtual private network
WO2012092779A1 (en) Service protection method in pbb h-vpls network
WO2012146097A1 (en) Vpls network and ethernet ring switching method and device
WO2011079688A1 (en) Protection method, equipment and system for semi-ring network
WO2011011934A1 (en) Method and apparatus for ethernet tunnel segmentation protection
Sajassi et al. Layer 2 Virtual Private Network (L2VPN) Operations, Administration, and Maintenance (OAM) Requirements and Framework
WO2010003344A1 (en) Method for processing failure of a ring network, and ring network and provider key apparatus thereof
WO2011029249A1 (en) Protection method and device for an ethernet tunnel

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180000697.7

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11783005

Country of ref document: EP

Kind code of ref document: A2