WO2009046655A1 - System, method and device for automatic protection switching - Google Patents
System, method and device for automatic protection switching Download PDFInfo
- Publication number
- WO2009046655A1 WO2009046655A1 PCT/CN2008/072436 CN2008072436W WO2009046655A1 WO 2009046655 A1 WO2009046655 A1 WO 2009046655A1 CN 2008072436 W CN2008072436 W CN 2008072436W WO 2009046655 A1 WO2009046655 A1 WO 2009046655A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- line card
- receiving
- sending
- switching
- entity
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
- H04L12/40169—Flexible bus arrangements
- H04L12/40176—Flexible bus arrangements involving redundancy
- H04L12/40189—Flexible bus arrangements involving redundancy by using a plurality of bus systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0811—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/35—Switches specially adapted for specific applications
- H04L49/356—Switches specially adapted for specific applications for storage area networks
- H04L49/357—Fibre channel switches
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
Definitions
- packet-switched transport networks have become the focus of attention, compared with traditional SDH (Synchronous Digital Hierarchy) networks.
- the switching network has the characteristics of bandwidth utilization and high flexibility, but it is also because of these characteristics that the packet switching network is in QoS (Quality of Service), OAM (Operation and Maintenance), protection, etc.
- QoS Quality of Service
- OAM Operaation and Maintenance
- protection etc.
- the field is at a disadvantage, and whether it can effectively improve the performance of these areas is the key to determining whether the packet switching network can truly become the next generation transmission network.
- the International Telecommunication Union Telecommunication Standardization Organization proposes a 1 1 1 and 1 : 1 protection mechanism based on the APS (Automatic Protection Switch) protocol. .
- APS protection of 1 + 1 and 1:1, according to whether the services in both directions are active at the same time, they can be divided into one-way switching and two-way switching.
- the so-called one-way switching that is, the independent switching of services in two directions, when the switching is triggered Only the affected direction moves, while the other direction remains unchanged; the two-way switching is just the opposite, that is, the services in both directions are switched together, regardless of whether the effect is one-way or two-way.
- the so-called group protection refers to a group of protection groups whose physical paths are exactly the same, and the physical paths of the protection entities are also identical. As a whole, a state machine is shared. When switching together, group protection can increase the switching speed, and also save 0AM resources.
- the following is an example of the two-way switching using the one-stage APS protocol.
- the principles of the protection switching of the 1 1 1 and 1 : 1 are introduced respectively.
- Figure 1 shows the schematic diagram of the 1 + 1 protection switching architecture.
- the service It is permanently sent to the working entity and the protection entity.
- the sink end of the transmitting entity it is decided to select the service from the working entity or the protection entity according to the state of the working entity and the protection entity.
- FIG. 2 shows a schematic diagram of the 1:1 protection switching architecture.
- the service selective single is sent to the working entity or the protection entity, and the transmitting entity sinks. End, according to the state of the working entity and the protection entity, the switching state is determined, and the APS protocol packet cooperates with the source to switch the service to the selected entity.
- the network element Z detects After the failure, after the delay time (if configured) initiates a switchover, the local end switches first, and then sends The APS packet is forwarded to the peer end.
- the services in both directions are switched to the protection entity.
- the service is restored to normal. After the working entity is restored to normal, the recovery mode is restored. Release, the service in both directions is switched back to the working entity. If it is in the non-recovery mode, the service remains on the protection entity until the network element z detects a new switching trigger condition.
- the main content of the APS protocol is transplanted from SDH.
- SDH the implementation technology of the APS protocol is very mature.
- traditional SDH network distributed detection, centralized control, and centralized switching are usually adopted.
- the fiber status and K-byte detection are implemented on the line card.
- the APS protocol control module reports the information to the APS protocol control module on the main control card.
- the APS protocol control module sends the switching result to the cross card to complete the switching process. If the peer cooperation is required, the APS protocol control module first.
- the APS request packet is sent to the peer through the line card to complete the interaction with the peer end, and then the cross card is notified to complete the switching process.
- the implementation technology of the traditional APS protocol is no longer applicable.
- the APS protection implementation technology of the traditional SDH network is aimed at the optical interface level, and the number of protection groups on one network element is not more than one hundred.
- the protected object can be a tunnel (such as an LSP), a pseudowire, or a connection
- the number of protection groups is large, and the number of protection groups on one network element can usually reach several thousand.
- an embodiment of the present invention provides a A system for automatic protection switching, the system comprising:
- the sending device (11) includes:
- the first sending line card (111) is connected to the working entity and configured to send the connectivity detection message
- the receiving device (12) includes:
- the first receiving line card (121) is connected to the working entity, and is configured to receive the connectivity detection packet sent by the sending device (12), when the connectivity detection packet is not received within a preset time. , sending a detection failure notification;
- the second receiving line card (122) is connected to the protection entity, and is configured to receive the connectivity detection packet sent by the sending device (12), and receive the connectivity detection packet and the preset time within a preset time.
- the service switching is performed.
- the embodiment of the invention further provides a method for automatic protection switching, the method comprising:
- the first receiving line card and the second receiving line card at the receiving end detect whether the connectivity detecting message sent by the sending end is received;
- the first receiving line card does not receive the connectivity detection packet, and the second receiving line card performs service switching when receiving the connectivity detection packet.
- An embodiment of the present invention further provides a receiving device, where the receiving device includes:
- the first receiving line card (601) is connected to the working entity, and is configured to receive the connectivity detection packet sent by the sending device, and send the detection failure notification when the connectivity detection packet is not received within the preset time;
- the second receiving line card (602) is connected to the protection entity, and is configured to receive the connectivity detection packet sent by the sending device, and receive the connectivity detection packet and the first receiving line within a preset time. When the detection of the card (601) fails, the service is switched.
- the embodiment of the invention further provides a sending device, where the sending device includes:
- the first sending line card (701) is connected to the working entity and configured to send the connectivity detecting message;
- the second sending line card (702) is connected to the protection entity and configured to send the connectivity detection message.
- the embodiment of the invention detects the connectivity detection packet by using the first receiving line card and the second receiving line card, and automatically implements centralized switching control on the online card according to the detection result, thereby improving the automatic protection of the packet switching based transmission network.
- FIG. 1 is a schematic diagram of a bidirectional 1+1 automatic protection switching architecture in the prior art
- 2 is a schematic diagram of a bidirectional 1 + 1 automatic protection switching architecture when a working entity fails in the prior art
- FIG. 3 is a schematic diagram of a bidirectional 1: 1 automatic protection switching architecture in the prior art
- FIG. 4 is a schematic diagram of a bidirectional 1 : 1 automatic protection switching architecture when a working entity fails in the prior art
- FIG. 5 is a schematic diagram of a conventional SDH network APS protection architecture in the prior art
- FIG. 6 is a schematic structural diagram of a system for automatic protection switching provided by Embodiment 1 of the present invention.
- Embodiment 7 is a schematic structural diagram of a system for automatic protection switching provided by Embodiment 1 of the present invention.
- Embodiment 8 is a schematic structural diagram of a system for automatic protection switching provided by Embodiment 1 of the present invention.
- Embodiment 9 is a schematic structural diagram of a system for automatic protection switching provided by Embodiment 1 of the present invention.
- FIG. 10 is a schematic diagram of a distributed 1+1 automatic protection switching architecture provided by Embodiment 2 of the present invention.
- FIG. 11 is a flowchart of a method for distributed 1+1 automatic protection switching according to Embodiment 2 of the present invention.
- FIG. 12 is a schematic diagram of a distributed 1: 1 automatic protection switching architecture provided by Embodiment 3 of the present invention.
- FIG. 14 is a schematic diagram of a centralized 1+1 automatic protection switching architecture provided by Embodiment 4 of the present invention.
- FIG. 16 is a schematic diagram of a centralized 1: 1 automatic protection switching architecture according to Embodiment 5 of the present invention.
- FIG. 17 is a flowchart of a method for centralized protection 1: 1 automatic protection switching according to Embodiment 5 of the present invention
- FIG. 18 is a schematic structural diagram of a receiving device according to Embodiment 6 of the present invention.
- FIG. 19 is another schematic structural diagram of a receiving device according to Embodiment 6 of the present invention.
- FIG. 20 is a schematic structural diagram of a transmitting device according to Embodiment 7 of the present invention. detailed description
- the embodiment of the invention detects the connectivity detection packet by using the first receiving line card and the second receiving line card, and automatically implements the centralized switching control on the online card according to the detection result, thereby improving the automatic protection switching of the packet switching based transmission network. Effectiveness and reliability.
- an embodiment of the present invention provides an automatic protection switching system, where the system includes a transmitting device 11 and a receiving device 12;
- the transmitting device 11 includes:
- the first sending line card 111 is connected to the working entity and configured to send the connectivity detection packet.
- the second sending line card 112 is connected to the protection entity and configured to send the connectivity detection packet.
- Receiving device 12 includes:
- the first receiving line card 121 is connected to the working entity, and is configured to receive the connectivity detecting packet sent by the sending device 11, and send a detection failure notification when the connectivity detecting packet is not received within the preset time;
- the second receiving line card 122 is connected to the protection entity, and is configured to receive the connectivity detection packet sent by the sending device 11 and receive the connectivity detection packet and the detection failure notification of the first receiving line card within a preset time. Perform business switching.
- the first receiving line card 121 may include:
- the first detecting device 1210 is configured to receive the connectivity detection packet sent by the sending device 11;
- the protocol control device 1211 is configured to send a detection failure notification when the first detection device 1210 does not receive the connectivity detection message within a preset time;
- the first discarding device 1212 is configured to: when receiving the switching notification sent by the second receiving line card 122, set the state of the working entity in the forwarding entry of the receiving device 12 to a discarding state;
- the second receiving line card 122 includes:
- the second detecting device 1220 is configured to receive the connectivity detecting packet sent by the sending device 11;
- the main protocol control device 1221 is configured to receive a detection failure notification of the first receiving line card 121, and send a switching notification when receiving the connectivity detection message and the detection failure notification within a preset time;
- the second discarding device 1222 is configured to: when receiving the switching notification sent by the primary protocol control device 1221, set the state in which the receiving entity 12 forwards the protected entity in the entry to the receiving state.
- the embodiment of the present invention proposes a dual protocol control point concept, and each protection group has a master and a slave two protocol control modules, respectively located in the protection entity.
- the main protocol control module works.
- the slave protocol on the online card is controlled. Point to take over the APS protection switching control. See Figure 8, as follows:
- the slave protocol control device 1211 may further include:
- the slave protocol control module 1211a is configured to periodically send a status message to the second receiving line card 122, and set the receiving device 12 to forward the entry when the status message from the second receiving line card 122 is not received in at least one period.
- the state of the working entity is the receiving state and the state of the protecting entity is the discarding state;
- the master protocol control device 1221 may further include:
- the main protocol control module 1221a is configured to periodically send a status message to the first receiving line card 121.
- the first receiving line card 121 may include:
- the first detecting device 1213 is configured to receive the connectivity detection packet sent by the sending device 11;
- the protocol control device 1214 is configured to send a detection failure notification when the first detecting device 1213 does not receive the connectivity detection message within a preset time;
- the second receiving line card 122 can include:
- the second detecting device 1223 is configured to receive the connectivity detection packet sent by the sending device 11;
- the receiving end main protocol control device 1224 is configured to receive a detection failure notification of the first receiving line card 121; when receiving the connectivity detecting message and the detecting failure notification within a preset time, the second sending line card to the sending device 11 112 sending a switching notification;
- the second transmission line card 112 can include:
- the sending module 1120 is configured to send a connectivity detection packet.
- the transmitting end master protocol control device 1121 is configured to: after receiving the switching notification sent by the receiving device 12, parse the switching notification, and broadcast the resolved switching notification;
- the sending device 1122 is configured to: after receiving the switching notification broadcasted by the sending end master protocol control device 1121, set the sending device 11 to forward the state of the protected entity in the entry to the sending state.
- the slave protocol control device 1214 can also include:
- the slave protocol control module 1214a is configured to periodically send a status message to the second receive line card 122, and to the second transmit line card 112 when the status message from the second receive line card 122 is not received in at least one period. Send a switch update notification;
- the receiving end master protocol control device 1224 may further include:
- the main protocol control module 1224a is configured to periodically send a status message to the first receiving line card 121;
- the sending end master protocol control device 1121 is further configured to: after receiving the switching update notification sent by the receiving device 12, parse the switching notification, and broadcast the parsed switching update notification;
- the sending device 1122 is further configured to: after receiving the switching update notification broadcast by the transmitting end master protocol control device 1121, set the state of the protection entity in the forwarding entry of the sending device 11 to a non-transmission state.
- the first transmission line card 111 may further include:
- the sending device 11 forwards the status of the working entity in the entry to the sending status;
- the transmitting end master protocol control means 1121 of the second transmitting line card 112 is further configured to periodically transmit a status message to the first transmitting line card 111.
- the system provided in this embodiment detects the connectivity detection packet sent by the sending device 12 through the first receiving line card 121 and the second receiving line card 122, and automatically implements centralized switching control on the online card according to the detection result, thereby improving the The effectiveness and reliability of automatic protection switching for packet-based transport networks.
- the embodiment of the present invention provides a method for automatic protection switching.
- the method adopts distributed APS implementation technology, and the APS protection group is distributed on multiple line cards, including fault detection, protocol control, and switching execution.
- the method includes:
- the first receiving line card and the second receiving line card at the receiving end detect whether the connectivity detecting message sent by the sending end is received; the first receiving line card does not receive the connectivity detecting message in the preset time, and the second receiving line When the card receives the connectivity check packet, it performs service switching.
- the method for automatically protecting the switching includes the following steps:
- Step 201 The network element A and the network element Z respectively allocate the protection group information to the online card of the working entity and the protection entity; the network element A distributes the protection group information to the service through the protection group allocation device F on the own control card.
- the master protocol control device C can implement the complete APS protocol processing function, including APS protocol packet processing, state machine maintenance, switching decision, etc.; when the second receiving line card is normal, the primary protocol control device C controls the APS switching of the protection group. Processing, when the second receiving line card is offline or fails, the APS switching process of the protection group is controlled by the protocol control device D. Since the second receiving line card of the protection entity is offline or fails, the state of the protection group changes little, so The function of the slave protocol control device D is typically a subset of the functionality of the master protocol control device C.
- Step 202 The network element A copies the sent data, and sends the two pieces of data to the working entity and the protection entity through the first sending line card and the second sending line card, respectively, the first sending line card and the second sending line card. Sending connectivity detection packets to the working entity and the protection entity periodically;
- the network element A sends the two pieces of data to the working entity and the protection entity through the first sending line card and the second sending line card respectively through the dual sending device E on the service uplink card; the network element A may include multiple service uplink lines. Card, each service uplink card has a dual-issue device E.
- Step 203 The network element Z detects, in the preset time, whether the connectivity detection packet from the working entity and the protection entity is received. If the connectivity detection packet from the working entity is received, step 205 is performed. From Bao If the connectivity check packet of the entity is detected, step 204 is performed;
- the network element Z detects, by the detecting device A on the first receiving line card and the second receiving line card, whether the working entity and the protection entity are received within a preset time (usually a transmission period of a connectivity detection message). If the network element Z receives the connectivity check packet from the working entity, the working entity is normal, and the network element Z does not need to perform protection switching. If the network element Z only receives the connection from the protection entity, Sex detection packets indicate that the working entity is invalid, and the network element Z needs to perform protection switching.
- Step 204 The network element Z performs an APS protection switching operation, receives and forwards data from the protection entity, and discards data from the working entity.
- the working entity and the protection entity each provide a discarding flag for identifying the current selection status, and the discarding flag is stored in the forwarding entry of the network element Z, and the discarding device determines whether to discard the receipt according to the discarding flag in the forwarding entry.
- the data to achieve the choice of working entity or protection entity.
- the detecting device A on the first receiving line card sends a detection failure notification to the slave protocol control device D on the first receiving line card; After receiving the detection failure notification from the protocol control device D on a receiving line card, forwarding the detection failure notification to the primary protocol control device C on the second receiving line card through the switching network card; the primary protocol control on the second receiving line card After receiving the detection failure notification, the device C determines the result of the determination that the automatic protection switching needs to be performed, and sends a switching notification to the discarding device B on the first receiving line card and the second receiving line card respectively; the first receiving line card and After the discarding device B on the second receiving line card receives the switching notification, the discarding flag of the working entity in the forwarding entry of the receiving end is set to the discarding state, and the discarding flag of the protection entity is the receiving state; The status of the new drop flag in the published item receives and forwards data from the protected entity, discarding data from the working entity.
- the primary protocol control device on the second receiving line card constructs the APS protocol packet with the switching notification according to the APS protocol, and sends the APS protocol packet to the network.
- the primary protocol control device on the second transmission line card where the protection entity is located, the requesting network element A also performs the APS protection switching operation; the primary protocol control device on the second transmission line card where the network element A protection entity is located receives the APS protocol.
- the switching notification is parsed from the message, and the result of the decision that the automatic protection switching needs to be performed is determined according to the switching notification, and the first sending line card and the second sending are respectively sent to the working entity and the protection entity of the network element A.
- the discarding device on the line card sends the switching notification; after the network device A working entity and the protection entity are located on the first sending line card and the second sending line card, the discarding device receives the switching notification, and sets the forwarding entry of the network element A.
- the status of the discard flag of the working entity is the discarding state
- the state of the discarding flag of the protection entity is the receiving state
- the NE A is based on the forwarding entry.
- the new state of the drop flag to receive and forward data from the protection entity drops data from the working entity.
- Step 205 The network element Z receives and forwards data from the working entity, and discards data from the protection entity.
- the detecting device A on the first receiving line card sends a detection success notification to the slave protocol control device D on the first receiving line card; Sending the received detection success notification from the protocol control device D to the primary protocol control device C on the second receiving line card; after receiving the detection success notification, the primary protocol control device C on the second receiving line card determines that The result of the ruling of the automatic protection switching is required; the network element Z continues to receive and forward data from the working entity, discarding data from the protected entity.
- a plurality of working entities are attached to a discarding device on a first receiving line card where one of the working entities is located, and a plurality of protecting entities are attached to a discarding device on a second receiving line card where one of the protecting entities is located Up, so that unified switching can be achieved.
- the primary protocol control device on the second receiving line card in the above process periodically notifies the status control message of the protection group from the protocol control device on the first receiving line card, and the slave protocol control device on the first receiving line card Periodically notifying the status message of the working entity to the master protocol control device on the second receiving line card, if the master protocol control device or the slave protocol control device does not receive the status message of the other party in at least one cycle, the master protocol control device Or from the protocol control device that the online card of the other party is offline or invalid, the specific processing procedure for the line card being offline or invalid is as follows:
- the protection group allocating device on the network element master card notifies the APS protection switching control from the protocol control device, and sets the discarding of the working entity in the forwarding entry of the network element Z from the protocol control device.
- the status of the flag is the receiving status, and the status of the discarding flag of the protection entity is the discarding status;
- the protection group allocating means on the earth control card notifies the slave control device to stop the APS protection switching control.
- the switching notification, the switching between the main protocol control device on the second receiving line card and the discarding device on the first receiving line card are all implemented by the forwarding plane, that is, the notification message is constructed by the originating point of the communication, and is sent For the forwarding engine (for example, ⁇ ), the forwarding engine forwards the destination message to the destination forwarding engine of the relevant line card according to the destination information of the packet, and the destination forwarding engine parses the received notification message for the second receiving line card.
- the status message between the master protocol control device and the slave receiver control device on the first receiving line card is directly submitted to the destination protocol control device, and is forwarded to the discarding device for the switching notification.
- the dual-issue device, the detecting device, the master protocol control device, the slave protocol control device, and the discarding device in this embodiment are all implemented by hardware, and communication between them does not require software participation, and the entire APS protection switching process can be fully hardwareized. Therefore, the efficiency of the APS protection switching is ensured;
- the automatic protection switching method provided in this embodiment is processed by distributing the APS protection group on multiple line cards, and a line card can simultaneously support a large number of protection groups.
- the number of protection groups supported by such a network element increases linearly with the number of line cards.
- the automatic protection switching method provided in this embodiment adopts distributed processing, which ensures high reliability of APS protection switching, and a line card fails. Only affects the card The closed business has no impact on other businesses.
- the APS 1:1 protection is taken as an example to describe the method of the automatic protection switching.
- the method for automatically protecting the switching includes the following steps:
- Step 301 The network element A and the network element Z respectively allocate the protection group information to the online card of the working entity and the protection entity; the network element A distributes the protection group information to the service through the protection group allocation device F on the own control card.
- the protection group allocation device F, the protection group information is allocated to the detection device A and the main protocol control device C on the second receiving line card where the protection entity is located, and the detection device A and the slave protocol on the first receiving line card where the working entity is located Control device D.
- the master protocol control device C can implement the complete APS protocol processing function, including APS protocol packet processing, state machine maintenance, switching decision, etc.; when the second transmission line card or the second receiving line card is normal, the master protocol of each of the above
- the control device C controls the APS switching process of the protection group.
- the APS switching process of the protection group is controlled by the respective upper protocol control device D, because the second transmission line
- the function of the slave protocol control device D is usually a subset of the functions of the master protocol control device C.
- Step 302 The network element A sends the data to the working entity through the first sending line card, and the first sending line card and the second sending line card periodically send the connectivity detecting message to the working entity and the protection entity respectively.
- the network element A sends the data to the working entity through the first sending line card through the sending device E on the service uplink card.
- the specific implementation principle is as follows: The forwarding table of the network element A in the normal situation and the APS protection switching situation
- the item information is pre-configured in the forwarding entry, and a switching flag is used to identify the current switching state, and the correspondence between the switching flag and the forwarding entry information is established in the forwarding entry.
- the network element A is based on the forwarding entry.
- the information of the forwarding entry corresponding to the switching flag is sent to the correct transmitting entity, so that the data is selected to the working entity or the protection entity.
- the network element A may include multiple service uplink cards, and each service uplink card has a selection device E.
- Step 303 The network element Z detects whether the connectivity detection packet from the working entity and the protection entity is received. If the connectivity detection packet from the working entity is received, step 305 is performed. The connectivity detection packet from the protection entity, step 304 is performed;
- the network element Z detects, by using the first receiving line card and the detecting device A on the second receiving line card, whether the connectivity detection packet from the working entity and the protection entity is received, if the network element Z receives The connectivity detection packet from the working entity indicates that the working entity is normal. The network element Z does not need to notify the network element A to perform protection switching. If the network element Z only receives the connectivity detection packet from the protection entity, the working entity is indicated. Invalid, the network element Z needs to notify the network element A to protect Protected and replaced.
- Step 304 The network element Z notifies the network element A to perform the APS protection switching operation. After the network element A protection switching is completed, the network element Z receives and forwards the data from the protection entity.
- the detecting device A on the first receiving line card sends a detection to the slave protocol control device D on the first receiving line card. Failure notification; after receiving the detection failure notification from the protocol control device D on the first receiving line card, forwarding the detection failure notification to the primary protocol control device C on the second receiving line card through the switching network card; the second receiving line card After receiving the detection failure notification, the master protocol control device C determines the result of the determination of the automatic protection switching, constructs the APS protocol packet containing the switching notification according to the APS protocol, and sends the APS protocol packet to the network element A.
- the primary protocol control device C on the second transmission line card after receiving the APS protocol message, the primary protocol control device C on the second transmission line card parses the switching notification from the APS protocol packet, and broadcasts the switching notification to the The sending device E on all the service uplink cards; after the switching device E on all the service uplink cards receives the switching notification, the switching flag in the forwarding entry of the network element A is indicated as indicating Transmitting line card to send status flag, i.e., the switching flag corresponding forwarding entries sent by the second data transmitting line card; NE A after protection switching is completed, and the network element forwards the data received from the Z protected entity.
- the primary protocol control device on the second receiving line card broadcasts a switching notification to the selective device on all service uplink cards in the network element Z;
- the switching flag in the forwarding entry of the network element z is a flag indicating that the second sending line card is in the sending state, that is, the forwarding entry information corresponding to the switching flag.
- Step 305 The network element Z receives and forwards data from the working entity.
- the detecting device A on the first receiving line card sends a detection success notification to the slave protocol control device D on the first receiving line card; After receiving the detection success notification from the protocol control device D, the detection success notification is sent to the primary protocol control device C on the second receiving line card; after the primary protocol control device C on the second receiving line card receives the detection success notification, The result of the ruling that does not require automatic protection switching is determined; the network element Z continues to receive and forward data from the working entity.
- multiple working entities are connected to the corresponding sending device corresponding to the first sending line card of one of the working entities, and multiple protected entities are connected to the second sending line card corresponding to one of the protecting entities.
- uniform switching can be realized.
- the primary protocol control device on the second receiving line card in the above process periodically notifies the status control message of the protection group from the protocol control device on the first receiving line card, and the slave protocol control device on the first receiving line card Periodically notifying the status message of the working entity to the primary protocol control device on the second receiving line card, if the primary protocol is in at least one cycle
- the control device or the protocol control device does not receive the status message of the other party, and the main protocol control device or the protocol control device considers that the online card of the other party is offline or invalid, and the specific processing procedure for the line card being offline or invalid is as follows:
- the protection group allocating device on the network element master card notifies the slave receiving control device to take over the APS protection switching control on the first receiving line card, and the slave protocol on the first receiving line card
- the control device sends a switching update notification to the primary protocol control device on the second transmission line card, and after the primary protocol control device on the second transmission line card receives the switching update notification, setting the switching flag in the forwarding entry of the network element A to indicate A sending line card is a flag for transmitting status; when the second receiving line card returns to normal, the protection group allocating device on the network element Z main control card notifies the slave receiving device to stop the APS protection switching on the first receiving line card. control.
- the primary protocol control device on the second transmission line card in the above process periodically notifies the status control message of the protection group from the protocol control device on the first transmission line card, and the slave protocol control device on the first transmission line card Periodically notifying the status message of the working entity to the master protocol control device on the second transmission line card, if the master protocol control device or the slave protocol control device does not receive the status message of the other party in at least one cycle, the master protocol control device Or from the protocol control device that the online card of the other party is offline or invalid, the specific processing procedure for the line card being offline or invalid is as follows:
- the protection group allocating device on the network element A main control card notifies the slave protocol control device to take over the APS protection switching control on the first transmission line card, and the slave protocol on the first transmission line card
- the control device sets the switching flag in the forwarding entry of the network element A to be a flag indicating that the first sending line card is in a sending state
- the protection group allocation device on the network element A earth control card notifies the APS protection switching control from the protocol control device.
- the selection device, the detection device, the main protocol control device and the slave protocol control device in this embodiment are all implemented by hardware, and the communication between them does not require software participation, and the entire APS protection switching process can be fully hardwareized, thereby ensuring The efficiency of the APS protection switching is performed;
- the automatic protection switching method provided in this embodiment is processed by distributing the APS protection group on multiple line cards, and one line card can simultaneously support the processing of a large number of protection groups, such a network.
- the number of protection groups supported by the element increases linearly with the number of line cards.
- the automatic protection switching method provided in this embodiment adopts distributed processing, which ensures high reliability of APS protection switching, and a line card fails, affecting only The business related to this line card has no impact on other services.
- the detection devices in the foregoing Embodiment 2 and Embodiment 3 are respectively located on the first receiving line card and the second receiving line card where the working entity and the protection entity are located.
- the first receiving line where the working entity is located may also be The detecting device on the card and the second receiving line card is transferred to the second receiving line card where the protection entity is located, that is, the detecting device of the working entity, the detecting device of the protection entity and the main protocol control device are located on the same line card, so that the working entity
- the connectivity detection packet is forwarded to the protection card of the protection entity through the switching network card for detection, so that the primary protocol control device can obtain the status information of the working entity and the protection entity, and implement centralized detection, and the discarding device is still located in the protection entity and Working entity
- the slave protocol control device is located on the master control card.
- the method for automatically protecting the switching includes the following steps:
- Step 401 The network element A and the network element Z respectively allocate the protection group information to the online card of the working entity and the protection entity; the network element A distributes the protection group information to the service through the protection group allocation device F on the own control card.
- Step 402 The network element A copies the transmitted data, and the first sending line card and the second sending line card respectively send the copied data to the working entity and the protection entity, and the first sending line card and the second sending line card cycle Sending connectivity detection messages to the working entity and the protection entity;
- the network element A sends the duplicated data to the first sending line card and the second sending line card respectively through the dual transmitting device E on the service uplink card, and sends the first sending line card and the second sending line card to work.
- the network element A may include multiple service uplink cards, and each service uplink card has a dual-issue device E;
- Step 403 The network element Z detects whether the connectivity detection packet from the working entity and the protection entity is received. If the connectivity detection packet from the working entity is received, step 405 is performed. The connectivity detection message from the protection entity, step 404 is performed;
- the first receiving line card of the working element of the network element Z forwards the connectivity detection packet from the working entity to the detecting device A on the second receiving line card where the network element Z protection entity is located, and the network element Z respectively protects
- the two detecting devices A on the second receiving line card of the entity detect whether the connectivity check packet from the working entity and the protection entity is received. If the network element Z receives the connectivity check packet from the working entity, If the entity is normal, the network element Z does not need to perform protection switching. If the network element Z only receives the connectivity check packet from the protection entity, the working entity is invalid, and the network element Z needs to perform protection switching.
- the working entity and the protection entity each provide a discarding flag for identifying the current selection status, and the discarding flag is stored in the forwarding entry of the network element Z, and the discarding device determines whether to discard the receipt according to the discarding flag in the forwarding entry.
- the detecting device A on the second receiving line card sends a detection failure notification that the connection detection packet from the working entity is not received to the primary protocol control device C on the second receiving line card; the second receiving of the network element Z protection entity Master agreement on the line card After receiving the notification, the control device C determines the decision result of the automatic protection switching, and sends a switching notification to the discarding device B on the first receiving line card and the second receiving line card respectively; the first receiving line card and the first After the discarding device B on the receiving line card receives the switching notification, the discarding flag of the working entity in the forwarding entry of the network element Z is set to the discarding state, and the discarding flag of the protecting entity is the receiving state; The status of the new discard flag in the published item receives and forwards data from the protected entity, discarding data from the working entity;
- Step 405 The network element Z receives and forwards the data from the working entity, and discards the data from the protection entity.
- the detecting device A on the second receiving line card sends the primary protocol control device C on the second receiving line card to indicate that the data is received.
- the success detection notification of the connectivity detection packet of the working entity is notified; after receiving the notification, the primary protocol control device C on the second receiving line card of the network element Z protection entity determines the decision result that the automatic protection switching is not required; Element Z continues to receive and forward data from the working entity, discarding data from the protected entity.
- the primary protocol control device can Directly obtaining the status message of the working entity and the protection entity, which improves the timeliness of the APS protection switching; in addition, since the slave control device is located on the master control card, when the second receiving line card of the protection entity is offline or invalid, the main The control card promptly informs the protocol control device to take over the APS protection switching control, and further improves the timeliness of the APS protection switching; the dual-issue device, the detecting device, the main protocol control device, the slave protocol control device and the The discarding devices are implemented by hardware. The communication between them is not required by software. The entire APS protection switching process can be implemented in hardware, thus ensuring the efficiency of APS protection switching.
- the detecting device of the working entity, the detecting device of the protection entity and the main protocol control device are located on the same line card, and the APS 1: 1 protection is taken as an example to illustrate the implementation of the APS automatic protection switching in this mode. Methods.
- Step 501 The network element A and the network element Z respectively allocate the protection group information to the online card of the working entity and the protection entity.
- the network element A allocates the protection group information to the service through the protection group allocation device F on the main control card.
- the network element Z passes its own control card
- the protection group allocation device F, the protection group information is assigned to the detection device on the second receiving line card where the protection entity is located, the main protocol control device C and the slave protocol control device D on the own master control card;
- Step 502 The network element A sends the data to the working entity by using the first sending line card, and the first sending line card and the second sending line card periodically send the connectivity detecting message to the working entity and the protection entity respectively.
- the network element A sends the data to the working entity through the first sending line card through the sending device E on the service uplink card.
- the specific implementation principle is as follows: The forwarding table of the network element A in the normal situation and the APS protection switching situation The item information is pre-configured in the forwarding entry, and a switching flag is used to identify the current switching state, and the correspondence between the switching flag and the forwarding entry information is established in the forwarding entry.
- the network element A is based on the forwarding entry. The information of the forwarding entry corresponding to the switching flag is sent to the correct transmitting entity, so that the data is selected to the working entity or the protection entity.
- the network element A may include multiple service uplink cards, and each service uplink card has a selection device E.
- Step 503 The network element Z detects, in the preset time, whether the connectivity detection packet from the working entity and the protection entity is received. If the connectivity detection packet from the working entity is received, step 505 is performed. The connectivity detection packet from the protection entity, step 504 is performed;
- the first receiving line card forwards the connectivity detection message from the working entity to the detecting device A on the second receiving line card through the switching network card, and the network element Z detects whether the detecting device A on the second receiving line card respectively
- the network element Z After receiving the connectivity check packet from the working entity and the protection entity, if the network element Z receives the connectivity check packet from the working entity, the working entity is normal, and the network element Z does not notify the network element A to perform the APS protection switching operation. If the network element Z receives only the connectivity check packet from the protection entity, the working entity is invalid. The network element Z needs to notify the network element A to perform the APS protection switching operation.
- Step 504 The network element Z notifies the network element A to perform an APS protection switching operation, and receives and forwards data from the protection entity.
- the detection device A on the second receiving line card sends no response to the primary protocol control device C on the second receiving line card.
- Receiving a failure detection notification of the connectivity detection message from the working entity after receiving the notification, the primary protocol control device C on the second receiving line card determines the decision result of the automatic protection switching, and the configuration according to the APS protocol Transmitting the notified APS protocol packet, and sending the APS protocol packet to the primary protocol control device C on the second transmission line card; after receiving the APS protocol packet, the primary protocol control device C on the second transmission line card receives
- the switching notification is parsed in the APS protocol packet, and the switching notification is broadcast to the selecting device E on all the service uplink cards.
- the switching flag in the forwarding entry is a flag indicating that the second sending line card is in a sending state, that is, the forwarding entry information corresponding to the switching flag is sent through the second sending line card.
- Send data perform APS protection switching operation; NE Z receives and forwards data from the protection entity.
- Step 505 The network element Z receives and forwards data from the working entity.
- the detecting device A on the second receiving line card sends a detection success notification indicating that the connectivity detecting message from the working entity is received to the primary protocol control device C on the second receiving line card; the primary protocol on the second receiving line card After receiving the notification, the control device C decides that the result of the decision of the automatic protection switching is not required; the network element Z continues to receive and forward the data from the working entity.
- the protection entity is located in the second
- the working entity detecting device receiving the line card may find that the working entity is invalid due to failure to receive the connectivity detecting message from the working entity, and perform APS protection switching; if the second receiving line card of the protection entity is offline or invalid, then the main control card The abnormal condition is detected, and the master control card notifies the slave protocol control device of the APS protection switching control of the protection group by the protection group allocating device thereon, and if the service is on the protection entity, the service is switched.
- the main control card passes The protection group allocating device thereon notifies the slave protocol control device to stop the APS protection switching control of the protection group, returns the control right to the primary protocol control device on the second receiving line card where the protection entity is located, and re-enters the working entity
- the detecting device is transferred from the first receiving line card where the working entity is located to the second receiving line card where the protection entity is located.
- the state protocol control device and the slave protocol control device do not need to perform status message notification, and the primary protocol control device
- the status message of the working entity and the protection entity can be directly obtained, which improves the timeliness of the APS protection switching; in this case, since the slave control device is located on the master control card, when the second receiving line card of the protection entity is offline or invalid
- the main control card promptly informs the protocol control device to take over the APS protection switching control, the timeliness of the APS protection switching is further improved; the dual-issue device, the detecting device, the main protocol control device, and the slave protocol in this embodiment
- Both the control device and the discarding device are implemented by hardware, and communication between them does not require software participation.
- the entire APS protection switching process can be implemented in hardware, thereby ensuring the efficiency of APS protection switching.
- the master protocol control device, the slave protocol control device, the hair-selection device, and the discard device mentioned in the foregoing Embodiments 2 to 5 can also be implemented by software, and the working principle of implementing APS automatic protection switching by using software is specific. as follows:
- this embodiment provides a receiving device, where the receiving device includes:
- the first receiving line card 601 is connected to the working entity and configured to receive the connectivity detection packet sent by the sending device. Sending a detection failure notification when the connectivity check packet is not received within the set time;
- the second receiving line card 602 is connected to the protection entity and configured to receive the connectivity detection packet sent by the sending device, and when receiving the connectivity detection packet and the detection failure notification of the first receiving line card 601 within a preset time, Perform business switching.
- the foregoing first receiving line 601 card may include:
- the first detecting device 6010 is configured to receive a connectivity detection packet sent by the sending device.
- the slave protocol control device 6011 is configured to send a detection failure notification when the first detecting device 6010 does not receive the connectivity detecting message within a preset time;
- the first discarding device 6012 is configured to: when receiving the switching notification sent by the second receiving line card 602, set the state of the working entity in the forwarding item of the receiving device to a discarding state;
- the second receiving line card 602 includes:
- the second detecting device 6020 is configured to receive a connectivity detection packet sent by the sending device.
- the main protocol control device 6021 is configured to receive a detection failure notification of the first receiving line card 601, and send a switching notification when receiving the connectivity detection message and the detection failure notification within a preset time;
- the second discarding device 6022 is configured to: when receiving the switching notification sent by the main protocol control device 6021, set the state of the protection entity in the forwarding entry of the receiving device to the receiving state.
- the first detecting device 6013 is configured to receive a connectivity detection packet sent by the sending device.
- the slave protocol control device 6014 is configured to send a detection failure notification when the first detecting device 6013 does not receive the connectivity detecting message within a preset time;
- the foregoing second receiving line card 602 can include:
- the second detecting device 6023 is configured to receive a connectivity detection packet sent by the sending device.
- the receiving end master protocol control device 6024 is configured to receive the detection failure notification of the first receiving line card 601. When receiving the connectivity detecting message and the detecting failure notification within the preset time, the receiving end sends a switching notification to the sending device.
- the receiving device detects the connectivity detection packet sent by the sending device by using the first receiving line card 601 and the second receiving line card 602, and automatically implements centralized switching control on the online card according to the detection result, thereby improving the The effectiveness and reliability of automatic protection switching for packet-based transport networks.
- this embodiment provides a sending device, where the sending device includes:
- the first sending line card 701 is connected to the working entity and configured to send the connectivity detection packet.
- the second sending line card 702 is connected to the protection entity and configured to send the connectivity detection message.
- the sending module 7020 is configured to send a connectivity detection packet.
- the sending end master protocol control device 7021 is configured to: after receiving the switching notification sent by the receiving device, parse the switching notification, and broadcast the parsed switching notification;
- the sending device 7022 is configured to: after receiving the switching notification broadcasted by the transmitting end master protocol control device 7021, set the state of the protection entity in the forwarding entry of the sending device to the sending state.
- the sending device provided in this embodiment automatically sends the connectivity check packet to the receiving device, and automatically performs automatic switching on the online card according to the detection result of the receiving device, thereby improving the timeliness of the APS protection switching.
- Some or all of the steps in the embodiments of the present invention may be implemented by software, and the corresponding software may be stored in a readable storage medium, such as a hard disk, a floppy disk or an optical disk of a computer.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Description
说 明 书 自动保护倒换的系统、 方法及设备 技术领域
本发明涉及网络管理领域, 特别涉及一种自动保护倒换的系统、 方法及设备。 背景技术
随着高带宽新业务的快速发展, 以及在网络融合需求的推动下, 基于包交换的传送网 络逐渐成为人们关注的焦点, 与传统的 SDH ( Synchronous Digital Hierarchy-同步数字系列) 网络相比, 包交换网络具有髙带宽利用率、 高灵活性的特点, 但也正是因为这些特点, 使 得包交换网络在 QoS ( Quality of Service-服务质量) 、 OAM ( Operations and Maintenance-运 行和维护) 、 保护等领域处于劣势, 能否有效地提升这些领域的性能, 是决定包交换网络 能否真正成为下一代传送网的关键之所在。
为了在基于包交换的传送网络中, 提供与传统 SDH网络类似的保护能力, 国际电信联 盟电信标准化组织提出了基于 APS ( Automatic Protection Switch-自动保护倒换)协议的 1十1 和 1 : 1保护机制。 对于 1 + 1和 1 : 1的 APS保护, 根据两个方向的业务是否同时动作, 可以分 为单向倒换和双向倒换, 所谓单向倒换, 即两个方向的业务独立倒换, 倒换被触发时, 只 有受影响的方向动作, 而另一方向保持不动; 双向倒换正好相反, 即两个方向的业务一起 倒换, 而不管影响是单向的, 还是双向的。 根据工作实体恢复后, 业务是否切换回工作实 体, 又可以分为恢复和非恢复两种模式, 所谓恢复模式, 即工作实体失效后, 业务倒换到 保护实体, 待工作实体恢复正常后, 经过一段时间延时, 保护实体释放倒换, 业务切换回 工作实体; 非恢复模式则相反, 不会在工作实体恢复正常后, 业务主动切换回工作实体。 根据倒换过程中需要交互 APS协议报文的次数, 又可以分为 1阶段、 2阶段、 3阶段。 对于 1 : 1保护, 还支持在保护实体空闲时走额外业务。 1 + 1/1 : 1的 APS保护还支持组保护, 所谓组 保护就是指工作实体物理路径完全相同, 保护实体物理路径也完全相同的一组保护组作为 一个整体, 共用一个状态机, 在保护倒换时一起动作, 组保护可以提高倒换速度, 此外还 可以节省 0AM资源。 下面以使用 1阶段 APS协议的双向倒换为例, 分别介绍一下 1十1和 1 : 1保护倒换的原理: 图 1给出了 1 + 1保护倒换架构的示意图, 在传送实体的源端, 业务被永 久性双发到工作实体和保护实体上, 在传送实体的宿端, 根据工作实体和保护实体的状态 决定从工作实体还是保护实体选收业务; 当工作实体发生故障时, 如图 2所示, 网元 Z检测
到故障, 经过拖延时间 (如果配置)之后发起倒换, 本端先行倒换, 然后通过 APS协议报文 请求对端倒换, 最终两个方向的业务均切换到保护实体, 业务恢复正常; 当工作实体再次 恢复正常后, 如果是恢复模式, 则经过等待恢复时间后, 网元 Z会发起倒换释放, 将两个方 向的业务切换回工作实体, 如果是非恢复模式, 则业务一直保持在保护实体上, 直到网元 Z 检测到新的倒换触发条件; 图 3给出了 1 : 1保护倒换架构的示意图, 在传送实体的源端, 业 务选择性单发到工作实体或保护实体上, 在传送实体的宿端, 根据工作实体和保护实体的 状态决定倒换状态, 通过 APS协议报文与源端配合, 将业务切换到选择的实体上; 当工作实 体发生故障时, 如图 4所示, 网元 Z检测到故障, 经过拖延时间 (如果配置)之后发起倒换, 本端先行倒换, 然后发送 APS报文请求对端倒换, 最终两个方向的业务均切换到保护实体, 业务恢复正常; 当工作实体再次恢复正常后, 如果是恢复模式, 则经过等待恢复时间后, 网元 Z会发起倒换释放, 将两个方向的业务切换回工作实体, 如果是非恢复模式, 则业务一 直保持在保护实体上, 直到网元 z检测到新的倒换触发条件。
APS协议的主要内容从 SDH移植而来, 在 SDH网络中, APS协议的实现技术已经非常成 熟。 在传统的 SDH网络中, 通常采用分布检测、 集中控制、 集中倒换方案, 如图 5所示, 光 纤状态以及 K字节的检测均在线卡上实现, 当检测到光纤状态改变或有新 K字节时, 将相关 信息上报给主控卡上的 APS协议控制模块, APS协议控制模块经过倒换裁决, 将倒换结果下 发给交叉卡完成倒换处理, 如果需要对端配合, 则 APS协议控制模块先构建 APS请求报文, 通过线卡发送给对端, 完成与对端的交互, 然后再通知交叉卡完成倒换处理。
在实现本发明过程中, 发明人发现现有技术中至少存在如下问题:
在基于包交换的传送网络中,传统 APS协议的实现技术已不再适用,例如传统 SDH网 络 APS保护实现技术针对的是光口级别, 一个网元上的保护组数量最多不会超过一百, 而 在基于包交换的传送网络中, 由于保护的对象可以是一条隧道 (例如 LSP)、 一条伪线或一 条连接, 保护组的数量很多, 一个网元上的保护组数量通常可以达到几千, 甚至几万个, 所以现有传统 SDH网络的 APS保护实现技术无法应用到基于包交换的传送网络上; 传统 SDH 网络中所有的保护组都在主控卡上集中控制, 一但主控卡异常, 将影响所有保护组的 正常处理, 即使主控卡有主备保护, 也因为主备卡上的协议控制模块需要进行同步, 而使 得实现起来比较复杂; 在基于包交换的传送网络中, 交换目的点的选择通常在线卡上完成, 交换网卡仅根据数据信元的目的信息完成转发, 而无法实现集中倒换的控制。 发明内容
为了提供适用于基于包交换的传送网络的 APS保护实现技术, 本发明实施例提供了一
种自动保护倒换的系统, 所述系统包括:
发送设备 (11 ) 和接收设备 (12 );
所述发送设备 (11 ) 包括:
第一发送线卡 (111 ), 与工作实体相连, 用于发送连通性检测报文;
第二发送线卡 (112), 与保护实体相连, 用于发送连通性检测报文;
所述接收设备 (12 ) 包括:
第一接收线卡 (121 ), 与所述工作实体相连, 用于接收所述发送设备 (12 ) 发送的连 通性检测报文, 在预设时间内没有收到所述连通性检测报文时, 发送检测失败通知;
第二接收线卡 (122 ), 与所述保护实体相连, 用于接收所述发送设备 (12 ) 发送的连 通性检测报文, 在预设时间内收到所述连通性检测报文和所述第一接收线卡的检测失败通 知时, 进行业务倒换。
本发明实施例还提供了一种自动保护倒换的方法, 所述方法包括:
接收端的第一接收线卡和第二接收线卡检测是否接收到发送端发送的连通性检测报 文;
在预设时间内所述第一接收线卡没有接收到所述连通性检测报文, 所述第二接收线卡 接收到所述连通性检测报文时, 进行业务倒换。
本发明实施例还提供了一种接收设备, 所述接收设备包括:
第一接收线卡 (601 ), 与工作实体相连, 用于接收发送设备发送的连通性检测报文, 在预设时间内没有收到所述连通性检测报文时, 发送检测失败通知;
第二接收线卡 (602), 与保护实体相连, 用于接收所述发送设备发送的连通性检测报 文,在预设时间内收到所述连通性检测报文和所述第一接收线卡(601 )的检测失败通知时, 进行业务倒换。
本发明实施例还提供了一种发送设备, 所述发送设备包括:
第一发送线卡 (701 ), 与工作实体相连, 用于发送连通性检测报文;
第二发送线卡 (702), 与保护实体相连, 用于发送连通性检测报文。
本发明实施例通过第一接收线卡和第二接收线卡来检测连通性检测报文, 并根据检测 结果自动实现在线卡上的集中倒换控制, 这样提高了基于包交换的传送网络的自动保护倒 换的有效性和可靠性。 附图说明
图 1是现有技术中双向 1+1 自动保护倒换架构示意图;
图 2是现有技术中当工作实体失效时, 双向 1 + 1 自动保护倒换架构示意图; 图 3是现有技术中双向 1 : 1 自动保护倒换架构示意图;
图 4是现有技术中当工作实体失效时, 双向 1 : 1 自动保护倒换架构示意图; 图 5是现有技术中传统 SDH网络 APS保护架构示意图;
图 6是本发明实施例 1提供的自动保护倒换的系统的结构示意图;
图 7是本发明实施例 1提供的自动保护倒换的系统的具体结构示意图;
图 8是本发明实施例 1提供的自动保护倒换的系统的具体结构示意图;
图 9是本发明实施例 1提供的自动保护倒换的系统的具体结构示意图;
图 10是本发明实施例 2提供的分布式 1+1 自动保护倒换架构示意图;
图 11是本发明实施例 2提供的分布式 1+1 自动保护倒换的方法流程图;
图 12是本发明实施例 3提供的分布式 1 : 1 自动保护倒换架构示意图;
图 13是本发明实施例 3提供的分布式 1 : 1 自动保护倒换的方法流程图;
图 14是本发明实施例 4提供的集中式 1+1 自动保护倒换架构示意图;
图 15是本发明实施例 4提供的集中式 1+1 自动保护倒换的方法流程图;
图 16是本发明实施例 5提供的集中式 1 : 1 自动保护倒换架构示意图;
图 17是本发明实施例 5提供的集中式 1 : 1 自动保护倒换的方法流程图;
图 18是本发明实施例 6提供的接收设备的结构示意图;
图 19是本发明实施例 6提供的接收设备的另一种结构示意图;
图 20是本发明实施例 7提供的发送设备的结构示意图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明实施方式作 进一步地详细描述。
本发明实施例通过第一接收线卡和第二接收线卡来检测连通性检测报文, 并根据检测 结果自动实现在线卡上的集中倒换控制, 提高了基于包交换的传送网络的自动保护倒换的 有效性和可靠性。
实施例 1
参见图 6, 本发明实施例提供了一种自动保护倒换的系统, 该系统包括发送设备 11和 接收设备 12;
发送设备 11包括:
第一发送线卡 111, 与工作实体相连, 用于发送连通性检测报文;
第二发送线卡 112, 与保护实体相连, 用于发送连通性检测报文;
接收设备 12包括:
第一接收线卡 121, 与工作实体相连, 用于接收发送设备 11发送的连通性检测报文, 在预设时间内没有收到连通性检测报文时, 发送检测失败通知;
第二接收线卡 122, 与保护实体相连, 用于接收发送设备 11发送的连通性检测报文, 在预设时间内收到连通性检测报文和第一接收线卡的检测失败通知时, 进行业务倒换。
参见图 7, 当该系统执行 1+1保护倒换时:
第一接收线卡 121可以包括:
第一检测装置 1210, 用于接收发送设备 11发送的连通性检测报文;
从协议控制装置 1211,用于在预设时间内第一检测装置 1210没有收到连通性检测报文 时, 发送检测失败通知;
第一丢弃装置 1212, 用于收到第二接收线卡 122发送的倒换通知时, 设置接收设备 12 转发表项中工作实体的状态为丢弃状态;
相应地, 第二接收线卡 122包括:
第二检测装置 1220, 用于接收发送设备 11发送的连通性检测报文;
主协议控制装置 1221, 用于接收第一接收线卡 121的检测失败通知, 以及在预设时间 内收到连通性检测报文和检测失败通知时, 发送倒换通知;
第二丢弃装置 1222, 用于收到主协议控制装置 1221发送的倒换通知时, 设置接收设备 12转发表项中保护实体的状态为接收状态。
进一步地, 为了保证异常情况下 (例如线卡离线或失效) 的正常处理, 本发明实施例 提出了双协议控制点概念, 每个保护组有主、 从两个协议控制模块, 分别位于保护实体、 工作实体所在线卡上, 正常情况下, 主协议控制模块起作用, 当主协议控制模块所在线卡 离线或失效时, 如果工作实体不在此线卡上, 则其所在线卡上的从协议控制点接手 APS保 护倒换控制。 参见图 8, 具体如下:
从协议控制装置 1211还可以包括:
从协议控制模块 1211a, 用于周期性地向第二接收线卡 122发送状态消息, 以及当至少 一个周期内没有接收到来自第二接收线卡 122的状态消息时, 设置接收设备 12转发表项中 工作实体的状态为接收状态和保护实体的状态为丢弃状态;
主协议控制装置 1221还可以包括:
主协议控制模块 1221a, 用于周期性地向第一接收线卡 121发送状态消息。
参见图 9, 当该系统执行 1 : 1保护倒换时:
第一接收线卡 121可以包括:
第一检测装置 1213, 用于接收发送设备 11发送的连通性检测报文;
从协议控制装置 1214,用于在预设时间内第一检测装置 1213没有收到连通性检测报文 时, 发送检测失败通知;
相应地, 第二接收线卡 122可以包括:
第二检测装置 1223, 用于接收发送设备 11发送的连通性检测报文;
接收端主协议控制装置 1224, 用于接收第一接收线卡 121的检测失败通知; 在预设时 间内收到连通性检测报文和检测失败通知时, 向发送设备 11的第二发送线卡 112发送倒换 通知;
相应地, 第二发送线卡 112可以包括:
发送模块 1120, 用于发送连通性检测报文;
发送端主协议控制装置 1121, 用于接收到接收设备 12发送的倒换通知后, 解析倒换通 知, 广播解析后的倒换通知;
选发装置 1122, 用于接收到发送端主协议控制装置 1121广播的倒换通知后, 设置发送 设备 11转发表项中保护实体的状态为发送状态。
从协议控制装置 1214还可以包括:
从协议控制模块 1214a, 用于周期性地向第二接收线卡 122发送状态消息, 以及当至少 一个周期内没有接收到来自第二接收线卡 122的状态消息时, 向第二发送线卡 112发送倒 换更新通知;
接收端主协议控制装置 1224还可以包括:
主协议控制模块 1224a, 用于周期性地向第一接收线卡 121发送状态消息;
相应地, 发送端主协议控制装置 1121还用于接收到接收设备 12发送的倒换更新通知 后, 解析倒换通知, 广播解析后的倒换更新通知;
选发装置 1122还用于接收到发送端主协议控制装置 1121广播的倒换更新通知后,设置 发送设备 11转发表项中保护实体的状态为非发送状态。
进一步地, 第一发送线卡 111还可以包括:
从协议控制装置 1110, 用于周期性地向第二发送线卡 112发送状态消息, 以及在至少 一个周期内没有接收到来自第二发送线卡 112发送的状态消息时, 通知选发装置 1122设置 发送设备 11转发表项中工作实体的状态为发送状态;
第二发送线卡 112的发送端主协议控制装置 1121还用于周期性地向第一发送线卡 111 发送状态消息。
本实施例提供的系统通过第一接收线卡 121和第二接收线卡 122来检测发送设备 12发 送的连通性检测报文, 并根据检测结果自动实现在线卡上的集中倒换控制, 这样提高了基 于包交换的传送网络的自动保护倒换的有效性和可靠性。
实施例 2
本发明实施例提出了一种自动保护倒换的方法,该方法采用分布式 APS实现技术, APS 保护组分布在多个线卡上处理, 包括故障检测、 协议控制、 倒换执行都是分布式处理。 该 方法包括:
接收端的第一接收线卡和第二接收线卡检测是否接收到发送端发送的连通性检测报 文; 在预设时间内第一接收线卡没有接收到连通性检测报文, 第二接收线卡接收到连通性 检测报文时, 进行业务倒换。
下面分别就 APS 1十1保护详细阐述本发明实施例提供的自动保护倒换的方法。
对于 APS1+1保护, 参见图 10和图 11, 本发明实施例提供的自动保护倒换的方法, 具体 包括以下步骤:
步骤 201 : 网元 A和网元 Z分别将保护组信息分配到工作实体和保护实体所在线卡上; 网元 A通过自身主控卡上的保护组分配装置 F, 将保护组信息分配到业务上行线卡上的 双发装置 E; 网元 Z通过自身主控卡上的保护组分配装置 F, 将保护组信息分配到保护实体所 在第二接收线卡上的检测装置八、 丢弃装置 B和土协议控制装置 C、 工作实体所在第一接收 线卡上的检测装置 A、 丢弃装置 B和从协议控制装置 D;
主协议控制装置 C可以实现完整的 APS协议处理功能, 包括 APS协议报文处理、 状态机 维护、 倒换裁决等; 当第二接收线卡正常时, 由主协议控制装置 C控制保护组的 APS倒换处 理, 当第二接收线卡离线或失效时, 由从协议控制装置 D控制保护组的 APS倒换处理, 由于 保护实体所在第二接收线卡离线或失效时, 保护组的状态变化很少, 所以从协议控制装置 D 的功能通常为主协议控制装置 C的功能的子集。
步骤 202: 网元 A对发送的数据进行复制, 将两份数据分别通过第一发送线卡和第二发 送线卡发送到工作实体和保护实体上, 第一发送线卡和第二发送线卡分别周期性地向工作 实体和保护实体发送连通性检测报文;
网元 A通过业务上行线卡上的双发装置 E将两份数据分别通过第一发送线卡和第二发送 线卡发送到工作实体和保护实体上; 网元 A可以包括多个业务上行线卡, 每个业务上行线卡 上均有一个双发装置 E。
步骤 203 : 网元 Z在预设时间内检测是否收到了来自工作实体和保护实体的连通性检测 报文, 如果收到了来自工作实体的连通性检测报文, 则执行步骤 205, 如果仅收到了来自保
护实体的连通性检测报文, 则执行步骤 204;
网元 Z在预设时间内 (通常为一个连通性检测报文的发送周期)分别通过第一接收线卡 和第二接收线卡上的检测装置 A来检测是否收到了来自工作实体和保护实体的连通性检测 报文, 如果网元 Z收到了来自工作实体的连通性检测报文, 则说明工作实体正常, 网元 Z不 需要进行保护倒换, 如果网元 Z仅收到了来自保护实体的连通性检测报文, 则说明工作实体 失效, 网元 Z需要进行保护倒换。
步骤 204: 网元 Z执行 APS保护倒换操作, 接收并转发来自保护实体的数据, 丢弃来 自工作实体的数据;
工作实体和保护实体各提供一个用来标识当前选收状态的丢弃标志, 该丢弃标志被保 存在网元 Z的转发表项中, 丢弃装置根据转发表项中的丢弃标志来决定是否丢弃收到的数 据, 从而实现工作实体或保护实体的选择。
当第一接收线卡在预设时间内没有收到连通性检测报文时, 第一接收线卡上的检测装 置 A向第一接收线卡上的从协议控制装置 D发送检测失败通知; 第一接收线卡上的从协议控 制装置 D收到该检测失败通知后, 通过交换网卡向第二接收线卡上的主协议控制装置 C转发 检测失败通知; 第二接收线卡上的主协议控制装置 C收到该检测失败通知后, 裁决出需要进 行自动保护倒换的裁决结果, 并分别向第一接收线卡和第二接收线卡上的丢弃装置 B发送倒 换通知; 第一接收线卡和第二接收线卡上的丢弃装置 B收到倒换通知后, 设置接收端转发表 项中工作实体的丢弃标志的状态为丢弃状态、 保护实体的丢弃标志的状态为接收状态; 网 元 Z根据转发表项中新的丢弃标志的状态接收并转发来自保护实体的数据, 丢弃来自工作实 体的数据。
对于需要对端配合而完成的 APS保护倒换(例如双向倒换), 第二接收线卡上的主协议 控制装置根据 APS协议构建含有倒换通知的 APS协议报文, 并将 APS协议报文发送给网元 A 保护实体所在第二发送线卡上的主协议控制装置, 请求网元 A也执行 APS保护倒换操作; 网 元 A保护实体所在第二发送线卡上的主协议控制装置收到该 APS协议报文后, 从该报文中解 析出倒换通知, 并根据该倒换通知裁决出需要进行自动保护倒换的裁决结果, 分别向网元 A 工作实体和保护实体所在第一发送线卡和第二发送线卡上的丢弃装置发送该倒换通知; 网 元 A工作实体和保护实体所在第一发送线卡和第二发送线卡上的丢弃装置收到该倒换通知 后, 设置网元 A转发表项中工作实体的丢弃标志的状态为丢弃状态、保护实体的丢弃标志的 状态为接收状态; 网元 A根据转发表项中新的丢弃标志的状态接收并转发来自保护实体的数 据, 丢弃来自工作实体的数据。
步骤 205 : 网元 Z接收并转发来自工作实体的数据, 丢弃来自保护实体的数据;
当第一接收线卡收到连通性检测报文时,第一接收线卡上的检测装置 A向第一接收线卡 上的从协议控制装置 D发送检测成功通知; 第一接收线卡上的从协议控制装置 D将收到的检 测成功通知发送给第二接收线卡上的主协议控制装置 C;第二接收线卡上的主协议控制装置 C收到该检测成功通知后, 裁决出不需要进行自动保护倒换的裁决结果; 网元 Z继续接收并 转发来自工作实体的数据, 丢弃来自保护实体的数据。
对于组保护, 将多个工作实体挂接到其中一个工作实体所在第一接收线卡上的丢弃装 置上、 将多个保护实体挂接到其中一个保护实体所在第二接收线卡上的丢弃装置上, 从而 可以实现统一倒换。
另外, 上述过程中的第二接收线卡上的主协议控制装置周期性地向第一接收线卡上的 从协议控制装置通告保护组的状态消息, 第一接收线卡上的从协议控制装置周期性地向第 二接收线卡上的主协议控制装置通告工作实体的状态消息, 如果在至少一个周期内主协议 控制装置或从协议控制装置没有收到对方的状态消息, 则主协议控制装置或从协议控制装 置认为对方所在线卡离线或失效, 针对线卡离线或失效的具体处理过程如下:
当第二接收线卡离线或失效时, 网元 z主控卡上的保护组分配装置通知从协议控制装 置接手 APS保护倒换控制, 从协议控制装置设置网元 Z转发表项中工作实体的丢弃标志的 状态为接收状态、 保护实体的丢弃标志的状态为丢弃状态;
当第二接收线卡恢复正常时, 再 ώ土控卡上的保护组分配装置通知从协议控制装置停 止 APS保护倒换控制。
第二接收线卡上的主协议控制装置和第一接收线卡上的从协议控制装置间的状态消 息、 第二接收线卡上的主协议控制装置与第二接收线卡上的丢弃装置间的倒换通知、 第二 接收线卡上的主协议控制装置与第一接收线卡上的丢弃装置间的倒换通知, 均通过转发平 面来实现, 即由通信的发起点构造通知报文, 下发给转发引擎 (例如 Ρ), 转发引擎根据 报文的目的信息通过交换网卡转发给相关线卡的目的转发引擎, 目的转发引擎对收到的通 知报文进行解析, 对于第二接收线卡上的主协议控制装置和第一接收线卡上的从协议控制 装置间的状态消息, 则直接提交给目的协议控制装置, 对于倒换通知, 则转发给丢弃装置。
本实施例中的双发装置、 检测装置、 主协议控制装置、 从协议控制装置和丢弃装置均 通过硬件来实现,它们之间的通信无需软件参与,整个 APS保护倒换过程可以全硬件化实现, 从而保证了 APS保护倒换的高效性;本实施例所提供的自动保护倒换的方法通过将 APS保护 组分布在多个线卡上进行处理, 而一块线卡上可以同时支持大量保护组的处理, 这样一个 网元支持的保护组数量随着线卡的数量成线性递增; 本实施例提供的自动保护倒换的方法 采用分布式处理, 这样保证了 APS保护倒换的高可靠性, 一块线卡失效, 仅影响与本线卡相
关的业务, 对其它业务没有影响。
实施例 3
本实施例以 APS 1 : 1保护为例, 详细阐述自动保护倒换的方法, 对于 APS 1 : 1保护, 参 见图 12和图 13, 本实施例提供的自动保护倒换的方法, 具体包括以下步骤:
步骤 301 : 网元 A和网元 Z分别将保护组信息分配到工作实体和保护实体所在线卡上; 网元 A通过自身主控卡上的保护组分配装置 F, 将保护组信息分配到业务上行线卡上的 选发装置£、 工作实体所在第一发送线卡上的从协议控制装置 D和保护实体所在第二发送线 卡上的主协议控制装置 C; 网元 Z通过自身主控卡上的保护组分配装置 F,将保护组信息分配 到保护实体所在第二接收线卡上的检测装置 A和主协议控制装置 C、 工作实体所在第一接收 线卡上的检测装置 A和从协议控制装置 D。
主协议控制装置 C可以实现完整的 APS协议处理功能, 包括 APS协议报文处理、 状态机 维护、 倒换裁决等; 当第二发送线卡或第二接收线卡正常时, 由各自上面的主协议控制装 置 C控制保护组的 APS倒换处理, 当第二发送线卡或第二接收线卡离线或失效时, 由各自上 面的从协议控制装置 D控制保护组的 APS倒换处理, 由于第二发送线卡或第二接收线卡离线 或失效时, 保护组的状态变化很少, 所以从协议控制装置 D的功能通常为主协议控制装置 C 的功能的子集。
步骤 302: 网元 A将数据通过第一发送线卡选发到工作实体上, 第一发送线卡和第二发 送线卡分别周期性地向工作实体和保护实体发送连通性检测报文;
网元 A通过业务上行线卡上的选发装置 E将数据通过第一发送线卡选发到工作实体上, 其具体实现原理为: 网元 A将正常情况和 APS保护倒换情况下的转发表项信息预先配置到转 发表项中, 提供一个用来标识当前倒换状态的倒换标志, 并在转发表项中建立倒换标志和 转发表项信息的对应关系; 网元 A根据转发表项中, 当前倒换标志所对应的转发表项信息, 将数据选发到正确的传送实体上, 从而实现将数据选发到工作实体或保护实体上。
网元 A可以包括多个业务上行线卡, 每个业务上行线卡上均有一个选发装置 E。
步骤 303 : 网元 Z在预设时间内检测是否收到了来自工作实体和保护实体的连通性检测 报文, 如果收到了来自工作实体的连通性检测报文, 则执行步骤 305, 如果仅收到了来自保 护实体的连通性检测报文, 则执行步骤 304;
网元 Z在预设时间内分别通过第一接收线卡和第二接收线卡上的检测装置 A来检测是否 收到了来自工作实体和保护实体的连通性检测报文, 如果网元 Z收到了来自工作实体的连通 性检测报文, 则说明工作实体正常, 网元 Z不需要通知网元 A进行保护倒换, 如果网元 Z仅收 到了来自保护实体的连通性检测报文, 则说明工作实体失效, 网元 Z需要通知网元 A进行保
护倒换。
步骤 304: 网元 Z通知网元 A执行 APS保护倒换操作, 网元 A保护倒换完成后, 网元 Z接 收并转发来自保护实体的数据;
当网元 Z的第一接收线卡在预设时间内没有收到连通性检测报文时, 第一接收线卡上的 检测装置 A向第一接收线卡上的从协议控制装置 D发送检测失败通知; 第一接收线卡上的从 协议控制装置 D收到该检测失败通知后,通过交换网卡向第二接收线卡上的主协议控制装置 C转发检测失败通知; 第二接收线卡上的主协议控制装置 C收到该检测失败通知后, 裁决出 需要进行自动保护倒换的裁决结果, 根据 APS协议构造含有倒换通知的 APS协议报文, 并将 APS协议报文发送给网元 A第二发送线卡上的主协议控制装置 C; 第二发送线卡上的主协议 控制装置 C收到 APS协议报文后, 从 APS协议报文中解析出倒换通知, 并将该倒换通知广播 给所有业务上行线卡上的选发装置 E; 所有业务上行线卡上的选发装置 E收到倒换通知后, 设置网元 A转发表项中倒换标志为表示第二发送线卡为发送状态的标志,即该倒换标志对应 的转发表项信息为通过第二发送线卡发送数据; 网元 A保护倒换完成后, 网元 Z接收并转发 来自保护实体的数据。
对于需要对端配合而完成的 APS保护倒换(例如双向倒换), 第二接收线卡上的主协议 控制装置向网元 Z内部所有业务上行线卡上的选发装置广播倒换通知; 网元 Z内部所有业务 上行线卡上的选发装置收到倒换通知后, 设置网元 z转发表项中倒换标志为表示第二发送线 卡为发送状态的标志, 即该倒换标志对应的转发表项信息为通过第二发送线卡发送数据; 网元 A保护倒换完成后, 网元 A接收并转发来自保护实体的数据。
步骤 305 : 网元 Z接收并转发来自工作实体的数据;
当第一接收线卡收到连通性检测报文时,第一接收线卡上的检测装置 A向第一接收线卡 上的从协议控制装置 D发送检测成功通知; 第一接收线卡上的从协议控制装置 D收到检测成 功通知后, 将检测成功通知发送给第二接收线卡上的主协议控制装置 C; 第二接收线卡上的 主协议控制装置 C收到检测成功通知后, 裁决出不需要进行自动保护倒换的裁决结果; 网元 Z继续接收并转发来自工作实体的数据。
对于组保护, 将多个工作实体挂接到其中一个工作实体所在第一发送线卡对应的选发 装置上、 将多个保护实体挂接到其中一个保护实体所在第二发送线卡对应的的选发装置上, 从而可以实现统一倒换。
另外, 上述过程中的第二接收线卡上的主协议控制装置周期性地向第一接收线卡上的 从协议控制装置通告保护组的状态消息, 第一接收线卡上的从协议控制装置周期性地向第 二接收线卡上的主协议控制装置通告工作实体的状态消息, 如果在至少一个周期内主协议
控制装置或从协议控制装置没有收到对方的状态消息, 则主协议控制装置或从协议控制装 置认为对方所在线卡离线或失效, 针对线卡离线或失效的具体处理过程如下:
当第二接收线卡离线或失效时, 网元 z主控卡上的保护组分配装置通知第一接收线卡 上的从协议控制装置接手 APS保护倒换控制, 第一接收线卡上的从协议控制装置发送倒换 更新通知给第二发送线卡上的主协议控制装置, 第二发送线卡上的主协议控制装置收到倒 换更新通知后, 设置网元 A转发表项中倒换标志为表示第一发送线卡为发送状态的标志; 当第二接收线卡恢复正常时, 再由网元 Z主控卡上的保护组分配装置通知第一接收线 卡上的从协议控制装置停止 APS保护倒换控制。
另外, 上述过程中的第二发送线卡上的主协议控制装置周期性地向第一发送线卡上的 从协议控制装置通告保护组的状态消息, 第一发送线卡上的从协议控制装置周期性地向第 二发送线卡上的主协议控制装置通告工作实体的状态消息, 如果在至少一个周期内主协议 控制装置或从协议控制装置没有收到对方的状态消息, 则主协议控制装置或从协议控制装 置认为对方所在线卡离线或失效, 针对线卡离线或失效的具体处理过程如下:
当第二发送线卡离线或失效时, 网元 A主控卡上的保护组分配装置通知第一发送线卡上 的从协议控制装置接手 APS保护倒换控制, 第一发送线卡上的从协议控制装置设置网元 A转 发表项中倒换标志为表示第一发送线卡为发送状态的标志;
当第二发送线卡恢复正常时,再 ώ网元 A土控卡上的保护组分配装置通知从协议控制装 停止 APS保护倒换控制。
本实施例中的选发装置、 检测装置、 主协议控制装置和从协议控制装置均通过硬件来 实现, 它们之间的通信无需软件参与, 整个 APS保护倒换过程可以全硬件化实现, 从而保证 了 APS保护倒换的高效性;本实施例所提供的自动保护倒换的方法通过将 APS保护组分布在 多个线卡上进行处理, 而一块线卡上可以同时支持大量保护组的处理, 这样一个网元支持 的保护组数量随着线卡的数量成线性递增; 本实施例提供的自动保护倒换的方法采用分布 式处理,这样保证了 APS保护倒换的高可靠性,一块线卡失效,仅影响与本线卡相关的业务, 对其它业务没有影响。 实施例 4
上述实施例 2和实施例 3中的检测装置分别位于工作实体和保护实体所在的第一接收线 卡和第二接收线卡上, 在实际应用中, 还可以将工作实体所在的第一接收线卡和第二接收 线卡上的检测装置转移到保护实体所在的第二接收线卡上, 即工作实体的检测装置、 保护 实体的检测装置和主协议控制装置位于同一线卡上, 这样工作实体的连通性检测报文通过 交换网卡转发到保护实体所在线卡上进行检测, 从而主协议控制装置可以获得工作实体和 保护实体的状态信息, 实现集中式检测, 而丢弃装置仍然分别位于保护实体和工作实体所
在的第一接收线卡和第二接收线卡上、 从协议控制装置位于主控卡上。 下面分别以 APS 1 + 1保护为例, 来阐述采用此种技术方案实现 APS自动保护倒换的方法:
对于 APS1+1保护, 参见图 14和图 15, 本实施例提供的自动保护倒换的方法, 具体包括 以下步骤:
步骤 401 : 网元 A和网元 Z分别将保护组信息分配到工作实体和保护实体所在线卡上; 网元 A通过自身主控卡上的保护组分配装置 F, 将保护组信息分配到业务上行线卡上的 双发装置 E; 网元 Z通过自身主控卡上的保护组分配装置 F, 将保护组信息分配到保护实体所 在第二接收线卡上的检测装置 、 丢弃装置 B和主协议控制装置 C、 工作实体所在第一接收 线卡上的丢弃装置 B和自身主控卡上的从协议控制装置 D;
步骤 402: 网元 A对发送的数据进行复制, 第一发送线卡和第二发送线卡分别将复制的 数据发送到工作实体和保护实体上, 第一发送线卡和第二发送线卡周期性地向工作实体和 保护实体发送连通性检测报文;
网元 A通过业务上行线卡上的双发装置 E将两份复制的数据分别发送给第一发送线卡和 第二发送线卡, 由第一发送线卡和第二发送线卡发送到工作实体和保护实体上; 网元 A可以 包括多个业务上行线卡, 每个业务上行线卡上均有一个双发装置 E;
步骤 403 : 网元 Z在预设时间内检测是否收到了来自工作实体和保护实体的连通性检测 报文, 如果收到了来自工作实体的连通性检测报文, 则执行步骤 405, 如果仅收到了来自保 护实体的连通性检测报文, 则执行步骤 404;
网元 Z工作实体所在第一接收线卡将来自工作实体的连通性检测报文通过交换网卡转 发到网元 Z保护实体所在第二接收线卡上的检测装置 A,网元 Z分别通过其保护实体所在第二 接收线卡上的两个检测装置 A检测是否收到了来自工作实体和保护实体的连通性检测报文, 如果网元 Z收到了来自工作实体的连通性检测报文, 则说明工作实体正常, 网元 Z不需要进 行保护倒换, 如果网元 Z仅收到了来自保护实体的连通性检测报文, 则说明工作实体失效, 网元 Z需要进行保护倒换;
步骤 404: 网元 Z执行 APS保护倒换操作, 接收并转发来自保护实体的数据, 丢弃来自工 作实体的数据;
工作实体和保护实体各提供一个用来标识当前选收状态的丢弃标志, 该丢弃标志被保 存在网元 Z的转发表项中, 丢弃装置根据转发表项中的丢弃标志来决定是否丢弃收到的数 据, 从而实现工作实体或保护实体的选择;
第二接收线卡上的检测装置 A向第二接收线卡上的主协议控制装置 C发送没有收到来自 工作实体的连通性检测报文的检测失败通知; 网元 Z保护实体所在第二接收线卡上的主协议
控制装置 C收到该通知后, 裁决出需要进行自动保护倒换的裁决结果, 并分别向第一接收线 卡和第二接收线卡上的丢弃装置 B发送倒换通知;第一接收线卡和第二接收线卡上的丢弃装 置 B收到倒换通知后, 设置网元 Z转发表项中工作实体的丢弃标志的状态为丢弃状态、 保护 实体的丢弃标志的状态为接收状态; 网元 Z根据转发表项中新的丢弃标志的状态接收并转发 来自保护实体的数据, 丢弃来自工作实体的数据;
步骤 405 : 网元 Z接收并转发来自工作实体的数据, 丢弃来自保护实体的数据; 第二接收线卡上的检测装置 A向第二接收线卡上的主协议控制装置 C发送表示收到来自 工作实体的连通性检测报文的检测成功通知; 网元 Z保护实体所在第二接收线卡上的主协议 控制装置 C收到该通知后, 裁决出不需要进行自动保护倒换的裁决结果; 网元 Z继续接收并 转发来自工作实体的数据, 丢弃来自保护实体的数据。
本实施例通过将工作实体所在第一接收线卡上的检测装置转移到保护实体所在第二接 收线卡上, 使得主协议控制装置和从协议控制装置间无需通告状态消息, 主协议控制装置 可以直接获得工作实体和保护实体的状态消息, 这样提高了 APS保护倒换的及时性; 此外, 由于从协议控制装置位于主控卡上, 这样当保护实体所在第二接收线卡离线或失效时, 主 控卡会及时地通知从协议控制装置接手 APS保护倒换控制, 也进一步地提高了 APS保护倒换 的及时性; 本实施例中的双发装置、 检测装置、 主协议控制装置、 从协议控制装置和丢弃 装置均通过硬件来实现, 它们之间的通信无需软件参与,整个 APS保护倒换过程可以全硬件 化实现, 从而保证了 APS保护倒换的高效性。
实施例 5
与实施例 4类似, 本实施例中工作实体的检测装置、 保护实体的检测装置和主协议控制 装置位于同一线卡上,下面以 APS 1: 1保护为例说明该方式下实现 APS自动保护倒换的方法。
对于 APS1 : 1保护, 参见图 16和图 17, 本实施例提供的自动保护倒换的方法, 具体包括 以下步骤:
步骤 501 : 网元 A和网元 Z分别将保护组信息分配到工作实体和保护实体所在线卡上; 网元 A通过自身主控卡上的保护组分配装置 F, 将保护组信息分配到业务上行线卡上的 选发装置£、 工作实体所在第一发送线卡上的从协议控制装置 D和保护实体所在第二发送线 卡上的主协议控制装置 C; 网元 Z通过自身主控卡上的保护组分配装置 F,将保护组信息分配 到保护实体所在第二接收线卡上的检测装置 、 主协议控制装置 C和自身主控卡上的从协议 控制装置 D;
步骤 502: 网元 A将数据通过第一发送线卡选发到工作实体上, 第一发送线卡和第二发 送线卡分别周期性地向工作实体和保护实体发送连通性检测报文;
网元 A通过业务上行线卡上的选发装置 E将数据通过第一发送线卡选发到工作实体上, 其具体实现原理为: 网元 A将正常情况和 APS保护倒换情况下的转发表项信息预先配置到转 发表项中, 提供一个用来标识当前倒换状态的倒换标志, 并在转发表项中建立倒换标志和 转发表项信息的对应关系; 网元 A根据转发表项中, 当前倒换标志所对应的转发表项信息, 将数据选发到正确的传送实体上, 从而实现将数据选发到工作实体或保护实体上。
网元 A可以包括多个业务上行线卡, 每个业务上行线卡上均有一个选发装置 E。
步骤 503 : 网元 Z在预设时间内检测是否收到了来自工作实体和保护实体的连通性检测 报文, 如果收到了来自工作实体的连通性检测报文, 则执行步骤 505, 如果仅收到了来自保 护实体的连通性检测报文, 则执行步骤 504;
第一接收线卡将来自工作实体的连通性检测报文通过交换网卡转发到第二接收线卡上 的检测装置 A, 网元 Z分别通过第二接收线卡上的两个检测装置 A检测是否收到了来自工作 实体和保护实体的连通性检测报文, 如果网元 Z收到了来自工作实体的连通性检测报文, 则 说明工作实体正常, 网元 Z不通知网元 A进行 APS保护倒换操作, 如果网元 Z仅收到了来自保 护实体的连通性检测报文, 则说明工作实体失效, 网元 Z需要通知网元 A进行 APS保护倒换 操作。
步骤 504: 网元 Z通知网元 A执行 APS保护倒换操作, 接收并转发来自保护实体的数据; 第二接收线卡上的检测装置 A向第二接收线卡上的主协议控制装置 C发送没有收到来自 工作实体的连通性检测报文的检测失败通知;第二接收线卡上的主协议控制装置 C收到该通 知后, 裁决出需要进行自动保护倒换的裁决结果, 根据 APS协议构造含有倒换通知的 APS协 议报文, 并将 APS协议报文发送给第二发送线卡上的主协议控制装置 C; 第二发送线卡上的 主协议控制装置 C收到 APS协议报文后, 从 APS协议报文中解析出倒换通知, 并将该倒换通 知广播给所有业务上行线卡上的选发装置 E; 所有业务上行线卡上的选发装置 E收到倒换通 知后, 设置网元 A转发表项中倒换标志为表示第二发送线卡为发送状态的标志, 即该倒换标 志对应的转发表项信息为通过第二发送线卡发送数据, 执行 APS保护倒换操作; 网元 Z接收 并转发来自保护实体的数据。
步骤 505 : 网元 Z接收并转发来自工作实体的数据;
第二接收线卡上的检测装置 A向第二接收线卡上的主协议控制装置 C发送表示收到来自 工作实体的连通性检测报文的检测成功通知;第二接收线卡上的主协议控制装置 C收到该通 知后, 裁决出不需要进行自动保护倒换的裁决结果; 网元 Z继续接收并转发来自工作实体的 数据。
在实际应用中, 如果工作实体所在第一接收线卡离线或失效, 那么保护实体所在第二
接收线卡的工作实体检测装置会因收不到来自工作实体的连通性检测报文而认为工作实体 失效, 执行 APS保护倒换; 如果保护实体所在第二接收线卡离线或失效, 那么主控卡会检测 到这种异常情况, 主控卡通过其上的保护组分配装置通知其上的从协议控制装置执行对保 护组的 APS保护倒换控制, 如果此时业务在保护实体上, 则将业务切换回工作实体, 并将保 护实体所在第二接收线卡上的工作实体检测装置转移到工作实体所在第一接收线卡上, 当 保护实体所在第二接收线卡恢复正常时, 主控卡上通过其上的保护组分配装置通知其上的 从协议控制装置停止对保护组的 APS保护倒换控制,将控制权交还给保护实体所在第二接收 线卡上的主协议控制装置, 并重新将工作实体检测装置由工作实体所在第一接收线卡转移 到保护实体所在第二接收线卡上。
本实施例通过将工作实体所在第一接收线卡上的检测装置转移到保护实体所在第二接 收线卡上, 使得主协议控制装置和从协议控制装置间无需进行状态消息通告, 主协议控制 装置可以直接获得工作实体和保护实体的状态消息,这样提高了 APS保护倒换的及时性; 此 夕卜, 由于从协议控制装置位于主控卡上, 这样当保护实体所在第二接收线卡离线或失效时, 主控卡会及时地通知从协议控制装置接手 APS保护倒换控制, 也进一步地提高了 APS保护倒 换的及时性; 本实施例中的双发装置、 检测装置、 主协议控制装置、 从协议控制装置和丢 弃装置均通过硬件来实现, 它们之间的通信无需软件参与, 整个 APS保护倒换过程可以全硬 件化实现, 从而保证了 APS保护倒换的高效性。
进一步地, 上述实施例 2至实施例 5中提到的主协议控制装置、 从协议控制装置、 选 发装置和丢弃装置还可以通过软件来实现, 采用软件来实现 APS 自动保护倒换的工作原理 具体如下:
如果保护实体所在第二接收线卡上的检测装置检测到保护实体失效, 那么该检测装置 通过中断信号通知本线卡上的主协议控制装置, 由主协议控制装置进行倒换裁决, 如果倒 换裁决结果为需要执行 APS保护倒换, 那么主协议控制装置通过卡间消息和卡内消息通知 选发装置或丢弃装置执行 APS保护倒换; 如果工作实体所在第一接收线卡上的检测装置检 测到工作实体失效, 那么该检测装置通过中断信号通知本线卡上的从协议控制装置, 而从 协议控制装置通过卡间消息通知保护实体所在第二接收线卡上的主协议控制装置, 由主协 议控制装置进行倒换裁决, 如果倒换裁决结果为需要执行 APS保护倒换, 那么主协议控制 装置通过卡间消息和卡内消息通知选发装置或丢弃装置执行 APS保护倒换。
实施例 6
参见图 18, 本实施例提供了一种接收设备, 该接收设备包括:
第一接收线卡 601, 与工作实体相连, 用于接收发送设备发送的连通性检测报文, 在预
设时间内没有收到连通性检测报文时, 发送检测失败通知;
第二接收线卡 602, 与保护实体相连, 用于接收发送设备发送的连通性检测报文, 在预 设时间内收到连通性检测报文和第一接收线卡 601的检测失败通知时, 进行业务倒换。
进一步地, 上述第一接收线 601卡可以包括:
第一检测装置 6010, 用于接收发送设备发送的连通性检测报文;
从协议控制装置 6011,用于在预设时间内第一检测装置 6010没有收到连通性检测报文 时, 发送检测失败通知;
第一丢弃装置 6012, 用于收到第二接收线卡 602发送的倒换通知时, 设置接收设备转 发表项中工作实体的状态为丢弃状态;
相应地, 第二接收线卡 602包括:
第二检测装置 6020, 用于接收发送设备发送的连通性检测报文;
主协议控制装置 6021, 用于接收第一接收线卡 601的检测失败通知, 以及在预设时间 内收到连通性检测报文和检测失败通知时, 发送倒换通知;
第二丢弃装置 6022, 用于收到主协议控制装置 6021发送的倒换通知时, 设置接收设备 转发表项中保护实体的状态为接收状态。
参见图 19, 上述第一接收线卡 601可以包括:
第一检测装置 6013, 用于接收发送设备发送的连通性检测报文;
从协议控制装置 6014,用于在预设时间内第一检测装置 6013没有收到连通性检测报文 时, 发送检测失败通知;
相应地, 上述第二接收线卡 602可以包括:
第二检测装置 6023, 用于接收发送设备发送的连通性检测报文;
接收端主协议控制装置 6024, 用于接收第一接收线卡 601的检测失败通知; 在预设时 间内收到连通性检测报文和检测失败通知时, 向发送设备发送倒换通知。
本实施例提供的接收设备通过第一接收线卡 601和第二接收线卡 602来检测发送设备 发送的连通性检测报文, 并根据检测结果自动实现在线卡上的集中倒换控制, 这样提高了 基于包交换的传送网络的自动保护倒换的有效性和可靠性。
实施例 7
参见图 20, 本实施例提供了一种发送设备, 该发送设备包括:
第一发送线卡 701, 与工作实体相连, 用于发送连通性检测报文;
第二发送线卡 702, 与保护实体相连, 用于发送连通性检测报文。
进一步地, 上述第二发送线卡 702可以包括:
发送模块 7020, 用于发送连通性检测报文;
发送端主协议控制装置 7021, 用于接收到接收设备发送的倒换通知后, 解析倒换通知, 广播解析后的倒换通知;
选发装置 7022, 用于接收到发送端主协议控制装置 7021广播的倒换通知后, 设置发送 设备转发表项中保护实体的状态为发送状态。
本实施例提供的发送设备通过向接收设备发送连通性检测报文, 并根据接收设备的检 测结果自动实现在线卡上的自动倒换, 这样提高了 APS保护倒换的及时性。
本发明实施例中的部分或全部步骤可以通过软件实现, 相应的软件可以存储到可读取 的存储介质中, 例如, 计算机的硬盘、 软盘或光盘中。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范闱之内。
Claims
1.一种自动保护倒换的系统,其特征在于,所述系统包括发送设备( 11 )和接收设备( 12); 所述发送设备 (11 ) 包括:
第一发送线卡 (111 ), 与工作实体相连, 用于发送连通性检测报文;
第二发送线卡 (112), 与保护实体相连, 用于发送连通性检测报文;
所述接收设备 (12) 包括:
第一接收线卡 (121 ), 与所述工作实体相连, 用于接收所述发送设备 (11 ) 发送的连 通性检测报文, 在预设时间内没有收到所述连通性检测报文时, 发送检测失败通知;
第二接收线卡 (122), 与所述保护实体相连, 用于接收所述发送设备 (11 ) 发送的连 通性检测报文, 在预设时间内收到所述连通性检测报文和所述第一接收线卡 (121 ) 的检测 失败通知时, 进行业务倒换。
2.如权利要求 1所述的自动保护倒换的系统, 其特征在于, 所述第一接收线 (121 ) 卡 包括:
第一检测装置 (1210), 用于接收所述发送设备 (11 ) 发送的连通性检测报文; 从协议控制装置 (1211 ), 用于在预设时间内所述第一检测装置 (1210) 没有收到所述 连通性检测报文时, 发送检测失败通知;
第一丢弃装置 (1212), 用于收到所述第二接收线卡 (122) 发送的倒换通知时, 设置 所述接收设备 (12) 转发表项中所述工作实体的状态为丢弃状态;
相应地, 所述第二接收线卡 (122) 包括:
第二检测装置 (1220), 用于接收所述发送设备 (11 ) 发送的连通性检测报文; 主协议控制装置 (1221 ), 用于接收所述第一接收线卡 (121 ) 的检测失败通知, 以及 在预设时间内收到所述连通性检测报文和所述检测失败通知时, 发送倒换通知;
第二丢弃装置 (1222), 用于收到所述主协议控制装置 (1221 ) 发送的倒换通知时, 设 置所述接收设备 (12) 转发表项中所述保护实体的状态为接收状态。
3.如权利要求 2所述的自动保护倒换的系统,其特征在于,所述从协议控制装置(1211 ) 还包括:
从协议控制模块 (1211a), 用于周期性地向所述第二接收线卡 (122) 发送状态消息,
以及当至少一个周期内没有接收到来自所述第二接收线卡 (122) 的状态消息时, 设置所述 接收设备 (12) 转发表项中所述工作实体的状态为接收状态和所述保护实体的状态为丢弃 状态;
所述主协议控制装置 (1221 ) 还包括:
主协议控制模块 (1221a), 用于周期性地向所述第一接收线卡 (121 ) 发送状态消息。
4. 如权利要求 1所述的自动保护倒换的系统, 其特征在于, 所述第一接收线卡 (121 ) 包括:
第一检测装置 (1213 ), 用于接收所述发送设备 (11 ) 发送的连通性检测报文; 从协议控制装置 (1214), 用于在预设时间内所述第一检测装置 (1213 ) 没有收到所述 连通性检测报文时, 发送检测失败通知;
相应地, 所述第二接收线卡 (122) 包括:
第二检测装置 (1223 ), 用于接收所述发送设备 (11 ) 发送的连通性检测报文; 接收端主协议控制装置 (1224), 用于接收所述第一接收线卡 (121 ) 的检测失败通知; 在预设时间内收到所述连通性检测报文和所述检测失败通知时, 向所述发送设备 (11 ) 的 第二发送线卡 (112) 发送倒换通知;
相应地, 所述第二发送线卡 (112) 包括:
发送模块 (1120), 用于发送连通性检测报文;
发送端主协议控制装置 (1121 ), 用于接收到所述接收设备 (12) 发送的倒换通知后, 解析所述倒换通知, 广播解析后的倒换通知;
选发装置(1122), 用于接收到所述发送端主协议控制装置(1121 )广播的倒换通知后, 设置所述发送设备 (11 ) 转发表项中所述保护实体的状态为发送状态。
5.如权利要求 4所述的自动保护倒换的系统,其特征在于,所述从协议控制装置(1214) 还包括:
从协议控制模块 (1214a), 用于周期性地向所述第二接收线卡 (122) 发送状态消息, 以及当至少一个周期内没有接收到来自所述第二接收线卡 (122) 的状态消息时, 向所述第 二发送线卡 (112) 发送倒换更新通知;
所述接收端主协议控制装置 (1224) 还包括:
主协议控制模块 (1224a), 用于周期性地向所述第一接收线卡 (121 ) 发送状态消息;
相应地, 所述发送端主协议控制装置 (1121 ) 还用于接收到所述接收设备 (12) 发送 的倒换更新通知后, 解析所述倒换通知, 广播解析后的倒换更新通知;
所述选发装置(1122)还用于接收到所述发送端主协议控制装置(1121 )广播的倒换更 新通知后, 设置所述发送设备 (11 ) 转发表项中所述保护实体的状态为非发送状态。
6.如权利要求 4所述的自动保护倒换的系统, 其特征在于, 所述第一发送线卡 (111 ) 还包括:
从协议控制装置(1110), 用于周期性地向所述第二发送线卡(112)发送状态消息, 以 及在至少一个周期内没有接收到来自所述第二发送线卡 (112) 发送的状态消息时, 通知所 述选发装置 (1122) 设置所述发送设备 (11 ) 转发表项中工作实体的状态为发送状态; 所述第二发送线卡 (112) 的发送端主协议控制装置 (1121 ) 还用于周期性地向所述第 一发送线卡 (111 ) 发送状态消息。
7. 一种自动保护倒换的方法, 其特征在于, 所述方法包括:
接收端的第一接收线卡和第二接收线卡检测是否接收到发送端发送的连通性检测报 文;
在预设时间内所述第一接收线卡没有接收到所述连通性检测报文, 所述第二接收线卡 接收到所述连通性检测报文时, 进行业务倒换。
8.如权利要求 7所述的自动保护倒换的方法,其特征在于,所述进行业务倒换具体包括: 所述第二接收线卡向所述第一接收线卡发送倒换通知, 设置所述接收端转发表项中所 述第二接收线卡对应的保护实体的状态为接收状态;
所述第一接收线卡收到所述倒换通知后, 设置所述接收端转发表项中所述第一接收线 卡对应的工作实体的状态为丢弃状态。
9.如权利要求 8所述的自动保护倒换的方法, 其特征在于, 所述方法还包括: 所述第一接收线卡和第二接收线卡相互周期性地发送状态消息, 如果所述第一接收线 卡在至少一个周期内没有接收到来自所述第二接收线卡的状态消息, 则所述第一接收线卡 设置接收端转发表项中所述第一接收线卡对应的工作实体的状态为接收状态和第二接收线 卡对应的保护实体的状态为丢弃状态。
10.如权利要求 7所述的自动保护倒换的方法, 其特征在于, 所述进行业务倒换具体包 括: 所述第二接收线卡向所述第二发送线卡发送倒换通知;
所述第二发送线卡接收到所述倒换通知后, 设置发送端转发表项中所述第二发送线卡 对应的保护实体的状态为发送状态。
11.如权利要求 10所述的自动保护倒换的方法, 其特征在于, 所述方法还包括: 所述第一接收线卡和第二接收线卡相互周期性地发送状态消息, 如果所述第一接收线 卡在至少一个周期内没有接收到来自所述第二接收线卡的状态消息, 则所述第一接收线卡 向所述第二发送线卡发送倒换更新通知;
所述第二发送线卡收到所述倒换更新通知后, 设置发送端转发表项中第二发送线卡对 应的保护实体的状态为非发送状态。
12.如权利要求 10所述的自动保护倒换的方法, 其特征在于, 所述方法还包括: 所述第一发送线卡和第二发送线卡相互周期性地发送状态消息, 如果所述第一发送线 卡在至少一个周期内没有接收到来自所述第二发送线卡的状态消息, 则所述第一发送线卡 设置发送端转发表项中第一发送线卡对应的工作实体的状态为发送状态。
13.—种接收设备, 其特征在于, 所述接收设备包括:
第一接收线卡 (601 ), 与工作实体相连, 用于接收发送设备发送的连通性检测报文, 在预设时间内没有收到所述连通性检测报文时, 发送检测失败通知;
第二接收线卡 (602), 与保护实体相连, 用于接收所述发送设备发送的连通性检测报 文,在预设时间内收到所述连通性检测报文和所述第一接收线卡(601 )的检测失败通知时, 进行业务倒换。
14.根据权利要求 13所述的接收设备, 其特征在于, 所述第一接收线 (601 ) 卡包括: 第一检测装置 (6010), 用于接收发送设备发送的连通性检测报文;
从协议控制装置 (6011 ), 用于在预设时间内所述第一检测装置 (6010) 没有收到所述 连通性检测报文时, 发送检测失败通知;
第一丢弃装置 (6012), 用于收到所述第二接收线卡 (602 ) 发送的倒换通知时, 设置
所述接收设备转发表项中所述工作实体的状态为丢弃状态;
相应地, 所述第二接收线卡 (602) 包括:
第二检测装置 (6020), 用于接收所述发送设备发送的连通性检测报文;
主协议控制装置 (6021 ), 用于接收所述第一接收线卡 (601 ) 的检测失败通知, 以及 在预设时间内收到所述连通性检测报文和所述检测失败通知时, 发送倒换通知;
第二丢弃装置 (6022), 用于收到所述主协议控制装置 (6021 ) 发送的倒换通知时, 设 置所述接收设备转发表项中所述保护实体的状态为接收状态。
15.根据权利要求 13所述的接收设备, 其特征在于, 所述第一接收线卡 (601 ) 包括: 第一检测装置 (6013 ), 用于接收发送设备发送的连通性检测报文;
从协议控制装置 (6014), 用于在预设时间内所述第一检测装置 (6013 ) 没有收到所述 连通性检测报文时, 发送检测失败通知;
相应地, 所述第二接收线卡 (602) 包括:
第二检测装置 (6023 ), 用于接收所述发送设备发送的连通性检测报文;
接收端主协议控制装置 (6024), 用于接收所述第一接收线卡 (601 ) 的检测失败通知; 在预设时间内收到所述连通性检测报文和所述检测失败通知时, 向所述发送设备发送倒换 通知。
16.—种发送设备, 其特征在于, 所述发送设备包括:
第一发送线卡 (701 ), 与工作实体相连, 用于发送连通性检测报文;
第二发送线卡 (702), 与保护实体相连, 用于发送连通性检测报文。
17.根据权利要求 16所述的发送设备, 其特征在于, 所述第二发送线卡 (702) 包括: 发送模块 (7020), 用于发送连通性检测报文;
发送端主协议控制装置 (7021 ), 用于接收到接收设备发送的倒换通知后, 解析所述倒 换通知, 广播解析后的倒换通知;
选发装置(7022), 用于接收到所述发送端主协议控制装置(7021 )广播的倒换通知后, 设置所述发送设备转发表项中所述保护实体的状态为发送状态。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP08800930A EP2204952B1 (en) | 2007-09-30 | 2008-09-19 | Automatic protection switching |
| US12/732,629 US20100177630A1 (en) | 2007-09-30 | 2010-03-26 | System, method, and device for automatic protection switching |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN200710162765.5 | 2007-09-30 | ||
| CN200710162765.5A CN101399697B (zh) | 2007-09-30 | 2007-09-30 | 自动保护倒换的系统及方法 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US12/732,629 Continuation US20100177630A1 (en) | 2007-09-30 | 2010-03-26 | System, method, and device for automatic protection switching |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2009046655A1 true WO2009046655A1 (en) | 2009-04-16 |
Family
ID=40517976
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2008/072436 Ceased WO2009046655A1 (en) | 2007-09-30 | 2008-09-19 | System, method and device for automatic protection switching |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20100177630A1 (zh) |
| EP (1) | EP2204952B1 (zh) |
| CN (1) | CN101399697B (zh) |
| WO (1) | WO2009046655A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2302840A1 (en) * | 2009-09-29 | 2011-03-30 | Ceragon Networks LTD. | Path protection by sharing continuity check messages |
| CN108415801A (zh) * | 2018-03-07 | 2018-08-17 | 深圳市风云实业有限公司 | 背板测试方法及计算机存储介质 |
Families Citing this family (22)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101877646B (zh) * | 2009-04-28 | 2013-03-20 | 华为技术有限公司 | 一种保护倒换方法和节点设备 |
| JP5463798B2 (ja) * | 2009-08-26 | 2014-04-09 | 富士通株式会社 | 伝送装置 |
| US20120195190A1 (en) * | 2011-01-31 | 2012-08-02 | Fujitsu Network Communications, Inc. | Method and system for solving communication failure and traffic loss in service protection networks |
| WO2012123954A1 (en) * | 2011-03-11 | 2012-09-20 | Tejas Networks Limited | A protection switching method and system provision by a distributed protection group |
| CN102752126B (zh) * | 2011-04-22 | 2017-05-24 | 中兴通讯股份有限公司 | 一种自动保护倒换方法、主设备及设备 |
| US8917591B2 (en) * | 2011-07-19 | 2014-12-23 | Fujitsu Limited | Systems and methods for protection of adaptation layer in a communication network |
| KR101982730B1 (ko) * | 2011-09-22 | 2019-05-27 | 한국전자통신연구원 | 네트워크의 보호 절체 방법 및 장치 |
| US8929201B2 (en) * | 2011-09-22 | 2015-01-06 | Electronics And Telecommunications Research Institute | Method and apparatus of performing protection switching on networks |
| CN103107900B (zh) * | 2011-11-10 | 2017-11-10 | 中兴通讯股份有限公司 | 一种自动切换的方法和系统 |
| ES2525755T3 (es) * | 2012-02-29 | 2014-12-29 | Siemens Aktiengesellschaft | Aparato de comunicación para una red de comunicación industrial que puede hacerse funcionar de forma redundante y procedimiento para el funcionamiento de un aparato de comunicación |
| CN102752155B (zh) * | 2012-08-01 | 2016-05-11 | 杭州迪普科技有限公司 | 一种保护切换控制方法及装置 |
| JP6007849B2 (ja) * | 2013-03-28 | 2016-10-12 | 日立金属株式会社 | ネットワーク中継装置 |
| CN106301997A (zh) * | 2015-06-29 | 2017-01-04 | 中兴通讯股份有限公司 | 网关设备响应网络连通性方法和装置 |
| CN105429823B (zh) * | 2015-12-17 | 2018-06-01 | 迈普通信技术股份有限公司 | 分布式通信设备中组播流量检测方法及装置 |
| CN107241267B (zh) * | 2016-03-28 | 2021-02-23 | 华为技术有限公司 | 一种oam切换方法及网络设备 |
| CN108156036B (zh) * | 2017-12-28 | 2020-04-17 | 山东华辰泰尔信息科技股份有限公司 | 一种基于utn隧道的主备上联口保护切换方法及装置 |
| CN112448755A (zh) * | 2019-08-30 | 2021-03-05 | 中兴通讯股份有限公司 | 一种光通道1+1保护的实现方法、装置和设备 |
| CN112511326B (zh) * | 2020-03-16 | 2024-02-02 | 中兴通讯股份有限公司 | 一种切换方法、装置、设备和存储介质 |
| CN112600738B (zh) * | 2020-12-18 | 2022-04-08 | 中国农业银行股份有限公司 | 一种网络端口的连通性验证方法及装置 |
| CN114221881A (zh) * | 2021-12-16 | 2022-03-22 | 苏州盛科通信股份有限公司 | 基于oam实现信号劣化及失效检测的方法、装置和存储介质 |
| CN114501195B (zh) * | 2021-12-30 | 2024-03-19 | 深圳震有科技股份有限公司 | 基于复用段保护的倒换方法和装置 |
| CN120224054B (zh) * | 2025-02-20 | 2026-01-30 | 广州芯德通信科技股份有限公司 | 一种基于cpld的集中式olt板卡切换管理设备及方法 |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7065038B1 (en) * | 2001-02-28 | 2006-06-20 | Cisco Technology, Inc. | Automatic protection switching line card redundancy within an intermediate network node |
| CN1929390A (zh) * | 2005-09-08 | 2007-03-14 | 华为技术有限公司 | 一种业务流保护方法 |
| US20070211742A1 (en) * | 2006-01-30 | 2007-09-13 | Infinera Corporation | Application of hardware-based mailboxes in network transceivers and distributed approach for predictable software-based protection switching |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7039007B1 (en) * | 2000-07-31 | 2006-05-02 | Cicso Technology, Inc. | System and method for improving reliability of a packet network |
| ATE418198T1 (de) * | 2001-09-04 | 2009-01-15 | Rumi Sheryar Gonda | Verfahren zum unterstützen von sdh/sonet-aps auf ethernet |
| CN1223225C (zh) * | 2002-05-22 | 2005-10-12 | 华为技术有限公司 | 第三代移动通信系统中基站操作维护通道的自动建立方法 |
| US7835265B2 (en) * | 2002-10-31 | 2010-11-16 | Conexant Systems, Inc. | High availability Ethernet backplane architecture |
| US20040109408A1 (en) * | 2002-12-06 | 2004-06-10 | Packetlight Networks, Ltd. | Fast protection for TDM and data services |
| US7388874B2 (en) * | 2004-04-29 | 2008-06-17 | Alcatel Lucent | Protection switching methods and systems for electronic devices |
| US8040899B2 (en) * | 2005-05-26 | 2011-10-18 | Genband Us Llc | Methods, systems, and computer program products for implementing automatic protection switching for media packets transmitted over an ethernet switching fabric |
| CN100531047C (zh) * | 2005-09-30 | 2009-08-19 | 华为技术有限公司 | 对包交换网络上的伪线进行保护倒换的方法 |
| JP4598647B2 (ja) * | 2005-10-18 | 2010-12-15 | 富士通株式会社 | パスプロテクション方法及びレイヤ2スイッチ |
| JP4659611B2 (ja) * | 2005-12-28 | 2011-03-30 | 富士通株式会社 | パスプロテクション方法及びレイヤ2スイッチ |
| US8121041B2 (en) * | 2007-07-30 | 2012-02-21 | Cisco Technology, Inc. | Redundancy for point-to-multipoint and multipoint-to-multipoint ethernet virtual connections |
-
2007
- 2007-09-30 CN CN200710162765.5A patent/CN101399697B/zh not_active Expired - Fee Related
-
2008
- 2008-09-19 EP EP08800930A patent/EP2204952B1/en not_active Not-in-force
- 2008-09-19 WO PCT/CN2008/072436 patent/WO2009046655A1/zh not_active Ceased
-
2010
- 2010-03-26 US US12/732,629 patent/US20100177630A1/en not_active Abandoned
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7065038B1 (en) * | 2001-02-28 | 2006-06-20 | Cisco Technology, Inc. | Automatic protection switching line card redundancy within an intermediate network node |
| CN1929390A (zh) * | 2005-09-08 | 2007-03-14 | 华为技术有限公司 | 一种业务流保护方法 |
| US20070211742A1 (en) * | 2006-01-30 | 2007-09-13 | Infinera Corporation | Application of hardware-based mailboxes in network transceivers and distributed approach for predictable software-based protection switching |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP2204952A4 * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2302840A1 (en) * | 2009-09-29 | 2011-03-30 | Ceragon Networks LTD. | Path protection by sharing continuity check messages |
| CN108415801A (zh) * | 2018-03-07 | 2018-08-17 | 深圳市风云实业有限公司 | 背板测试方法及计算机存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101399697A (zh) | 2009-04-01 |
| US20100177630A1 (en) | 2010-07-15 |
| EP2204952A4 (en) | 2011-02-23 |
| CN101399697B (zh) | 2011-02-16 |
| EP2204952B1 (en) | 2012-07-04 |
| EP2204952A1 (en) | 2010-07-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2009046655A1 (en) | System, method and device for automatic protection switching | |
| CN101094157B (zh) | 利用链路聚合实现网络互连的方法 | |
| US20140029413A1 (en) | System and method using rsvp hello suppression for graceful restart capable neighbors | |
| CN102075343B (zh) | 一种实现带外管理的方法、系统和带外管理交换机 | |
| CN101483558A (zh) | 网络设备接入分组交换网络的方法、系统及装置 | |
| CN101841432A (zh) | 一种业务接入路由器的端口备份方法、装置和系统 | |
| WO2008046358A1 (en) | A method and device to realize punch-through of point-to-multipoint network link status | |
| WO2011015011A1 (zh) | 一种环网故障检测及定位的方法和系统 | |
| CN101427499A (zh) | 多节点aps控制协议信令的系统和方法 | |
| EP2652919B1 (en) | Method for group-based multicast with non-uniform receivers | |
| US9215078B2 (en) | Multicast method and multicast device | |
| CN102195822A (zh) | 一种故障检测的方法和服务提供商边缘设备 | |
| WO2009055995A1 (fr) | Procédé de maintien pour système de réseau optique à commutation automatique lorsqu'un fonctionnement engendre une alarme | |
| CN101202705A (zh) | 增强组播可靠性的方法和路由器 | |
| WO2007109937A1 (fr) | Procédé de de protection contre les défaillances d'anneaux optiques résilients en mode rafale et procédé de traitement de défaillances | |
| WO2017008505A1 (zh) | 一种组播链路的切换方法、装置及路由设备 | |
| WO2014048128A1 (zh) | 环网中点到多点业务的保护方法及环网中的上环节点 | |
| WO2006128344A1 (en) | A method and apparatus for implementing the broadcasting or multicasting service in rpr | |
| US20230047971A1 (en) | Packet transmission method and communication device | |
| JP2011188046A (ja) | パケット通信システム及びパケット通信装置制御方法 | |
| WO2011140873A1 (zh) | 光传输层的数据传输方法及装置 | |
| WO2011029301A1 (zh) | 一种基于多模式接入基站的数据传输方法及系统 | |
| CN101374039A (zh) | 保护传送业务的方法和汇聚节点 | |
| WO2007131403A1 (en) | A multicast data transmission method on shared segments and label switching router | |
| CN101997753B (zh) | 一种环网双发机制的保护方法和系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 08800930 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2008800930 Country of ref document: EP |