WO2014079010A1 - 业务保护方法、设备及系统 - Google Patents
业务保护方法、设备及系统 Download PDFInfo
- Publication number
- WO2014079010A1 WO2014079010A1 PCT/CN2012/085009 CN2012085009W WO2014079010A1 WO 2014079010 A1 WO2014079010 A1 WO 2014079010A1 CN 2012085009 W CN2012085009 W CN 2012085009W WO 2014079010 A1 WO2014079010 A1 WO 2014079010A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- message
- status
- mode
- service
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 230000000903 blocking effect Effects 0.000 claims abstract description 105
- 230000002159 abnormal effect Effects 0.000 claims description 123
- 238000011084 recovery Methods 0.000 claims description 74
- 230000005856 abnormality Effects 0.000 claims description 25
- 238000001514 detection method Methods 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 18
- 238000004891 communication Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 13
- 230000007246 mechanism Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 2
- 241000723353 Chrysanthemum Species 0.000 description 1
- 235000007516 Chrysanthemum Nutrition 0.000 description 1
- 241000769223 Thenea Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- 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
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a service protection method, device, and system. Background technique
- daisy chain refers to a garland formed by a series of chrysanthemums connected together.
- a daisy chain represents a networking mode of a device or service, that is, device A is connected to device B, device B is connected to device C, device C is connected to device D, and the like, and the last device is not connected to the first device.
- the daisy-chain private network is often used to implement multicast services on the ring network, such as MPLS-TP (Multi-Protocol Label Switching Transport Profile).
- MPLS-TP Multi-Protocol Label Switching Transport Profile
- FIG. 1 illustrates a schematic diagram of implementing a multicast service on a MPLS TP ring network by using a daisy-chain private network in the prior art.
- the network includes Node 1, NE (Net Element) A, NE B, NE C, and NE D.
- NE A, NE B, NE C and NE D are connected by physical links to form a ring network (solid line in the figure); meanwhile, between NEA and NE B, between NE B and NE C, A service channel is established on the physical link between NE C and NE D (the dotted line in the figure).
- a service channel is not established on the physical link between NE A and NE D, thus forming a daisy-chain private network.
- NE A and NE D are physically connected by physical links, the logical service channels are not connected.
- the process of implementing the multicast service by using the above daisy chain private network is as follows:
- the primary node NE A receives the service of the source node R, and sends it to the slave node NE B through multicast, and the slave node NE B multicasts in the daisy chain private network. Or broadcast, one service is sent to the local user side, another service is sent to the slave node NE C, and the service is forwarded downstream; the service cannot be directly sent from the primary node NE A to the downstream node that is not directly connected to the slave node NE C This ensures that there is only one service in the middle of the business channel. Under normal circumstances, the service transmission path is: NE A—> NE B— > NE C— > NE D.
- the existing daisy-chain private network mainly adopts the following service protection methods: If the link between NE B and NE C fails, NE B uses the switching protection mechanism of the MPLS TP ring network. The service that should be sent to NE C passes the switched protection path NE B->NE A >NE D - >NE C is sent to NE C. Since the label representation of the service is directed to the NE C by the NE B, the NE A and the NE D only forward the service but do not process the service locally; after the NE C receives the service, the NE C continues to the NE D. Send the business.
- the existing solution can only effectively protect a link when a link fails, and if a node fault occurs in the NE C, even if it is sent by the NE B to the NE
- the service of C can be forwarded through the protection path.
- NE C still cannot receive the service. This will cause the service of NE C and NE D to be interrupted, and may cause service storms.
- you can only choose NE. B directly discards the services that should have been sent to NE C.
- the embodiments of the present invention provide a service protection method, device, and system, which are used to solve the problem that the existing solution cannot provide a good solution when a node failure or multiple failures occur.
- the technical solution is as follows:
- a service protection method for a daisy-chain service system on a ring network, where a protection service channel is established between a primary node and a last slave node, and the protection service channel can be blocked. Switching in mode and conduction mode, the method includes:
- the protection service channel After receiving the node status abnormal message, the protection service channel is switched from the blocking mode to the conductive mode.
- the method further includes:
- the protection service channel After receiving the node state recovery message, the protection service channel is switched from the conduction mode to the blocking mode.
- the method further includes:
- the protection service channel is blocked by the mode Switch to the conduction mode, including:
- the protection service channel is switched from the blocking mode to the conducting mode.
- the node state abnormal packet includes a normal node and a first neighboring node of the normal node
- the path unreachable information, the detecting the fault type according to the stored topology information and the node status abnormal packet specifically:
- the detected fault type is a node fault or multiple faults
- the detected fault type is a link fault.
- the method further includes:
- the service After receiving the service from the source node, the service is delivered to the neighboring node in a multicast or broadcast manner.
- a primary node for a daisy-chain service system on a ring network, where a protection service channel is established between a primary node and a last slave node, and the protection service channel can be in a blocking mode. And switching in the conduction mode, the node includes:
- a message receiving module configured to receive a node status abnormal message from a neighboring node
- the state switching module is configured to switch the protection service channel from the blocking mode to the conducting mode after the packet receiving module receives the node status abnormal message.
- the message receiving module is further configured to receive a node state recovery message from a neighboring node;
- the state switching module is further configured to switch the protection service channel from the conductive mode to the blocking mode after the packet receiving module receives the node state recovery message.
- the master node further includes: a topology storage module
- the topology storage module is configured to pre-store topology information of all nodes
- the state switching module includes: a fault type detecting unit and a blocking releasing unit;
- the fault type detecting unit is configured to detect a fault type according to the topology information stored by the topology storage module and the node status abnormal packet after the packet receiving module receives the node status abnormal message. ;
- the blocking release unit is configured to switch the protection service channel from the blocking mode to the conductive mode if the fault type detected by the fault type detecting unit is a node fault or multiple faults.
- the node status abnormal message includes path unreachable information between a normal node and a first neighboring node of the normal node.
- the fault type detecting unit is specifically configured to:
- the detected fault type is a node fault or multiple faults
- the detected fault type is a link fault.
- the master node further includes:
- the service sending module is configured to: after receiving the service from the source node, transmit the service to the neighboring node in a multicast or broadcast manner.
- a service protection method which is used in a daisy-chain service system on a ring network, where a protection service channel is established between a primary node and a last slave node in the system, and the protection service channel can be blocked.
- Switching in mode and conduction mode the method includes:
- the protection service channel is switched from blocking mode to conduction mode.
- the method further includes:
- the protection service channel is switched from the conduction mode to the blocking mode.
- the method further includes:
- the service After receiving the service sent by the neighboring node, the service is delivered to another adjacent node in a multicast or broadcast manner.
- a slave node for a daisy-chain service system on a ring network, where a protection service channel is established between a master node and a last slave node, and the protection service channel can be in a blocking mode. And switching in the conduction mode, the slave node includes:
- a status detecting module configured to detect status information of neighboring nodes
- a message sending module configured to send a node status abnormal message to another neighboring node when the state detecting module detects that the neighboring node is unreachable
- a message passing module configured to: after receiving a node status abnormal message sent by a neighboring node, transmitting the node status abnormal message to another neighboring node, so that the master node receives the node status After the abnormal packet, the protection service channel is switched from the blocking mode to the conducting mode.
- the message sending module is further configured to: when the state detecting unit detects that the neighboring node changes from unreachable to reachable, to another neighboring node Sending a node status recovery message;
- the message delivery module is further configured to: when receiving the node state recovery message sent by the neighboring node, transmit the node state recovery message to another neighboring node, so that the master node receives the After the node state recovery message is received, the protection service channel is switched from the conduction mode to the blocking mode.
- the slave node includes:
- the service processing module is configured to: after receiving the service sent by the neighboring node, transmit the service to another neighboring node in a multicast or broadcast manner.
- a fifth aspect provides a ring network daisy chain service system, the system comprising a master node according to various possible implementation manners of the second aspect or the second aspect, and at least one of the fourth aspect or the A slave node of various possible implementation manners of the four aspects, a protection service channel is established between the master node and the last slave node, and the protection service channel can be switched in the blocking mode and the conduction mode.
- a master node for a daisy chain service system on a ring network, where the system is A protection service channel is established between the master node and the last slave node, and the protection service channel can be switched in a blocking mode and a conduction mode, the node includes:
- a receiver configured to receive a node status abnormal message from a neighboring node
- a processor configured to: after the receiver receives the node status abnormal message, switch the protection service channel from a blocking mode to a conducting mode.
- the receiver is further configured to receive a node state recovery message from a neighboring node
- the processor is further configured to: after the receiver receives the node state recovery message, switch the protection service channel from a conduction mode to a blocking mode.
- the master node further includes: a memory
- the memory is configured to pre-store topology information of all nodes
- the processor is further configured to: after the receiver receives the node status abnormal message, detect a fault type according to the topology information stored in the memory and the node status abnormal message;
- the processor is further configured to switch the protection service channel from a blocking mode to a conducting mode if the detected fault type is a node fault or multiple faults.
- the node status abnormal message includes path unreachable information between a normal node and a first neighboring node of the normal node.
- the processor is specifically configured to:
- the detected fault type is a node fault
- the detected fault type is a link fault.
- the master node further includes:
- the transmitter is configured to transmit the service to a neighboring node in a multicast or broadcast manner after the receiver receives the service from the source node.
- a slave node for a daisy-chain service system on a ring network, where a protection service channel is established between a master node and a last slave node, and the protection service channel can be in a blocking mode. And switching in the conduction mode, the slave node includes: a processor, configured to detect status information of neighboring nodes;
- a transmitter configured to send a node status abnormal message to another neighboring node when the processor detects that the neighboring node is unreachable
- the processor is further configured to: after the receiver receives the node status abnormal message sent by the neighboring node, transmit the node status abnormal message to another neighboring node, so that the primary node receives the After the node status abnormal message is described, the protection service channel is switched from the blocking mode to the conducting mode.
- the transmitter is further configured to: when the processor detects that the neighboring node is changed from unreachable to reachable, send a node state recovery message to another neighboring node;
- the transmitter is further configured to: when the receiver receives a node state recovery message sent by a neighboring node, transmit the node state recovery message to another neighboring node, so that the master node receives After the node state recovery message, the protection service channel is switched from the conduction mode to the blocking mode.
- the slave node includes:
- the transmitter is configured to: after receiving the service sent by the neighboring node, the receiver transmits the service to another neighboring node in a multicast or broadcast manner.
- a ring network daisy chain service system comprising a master node according to various possible implementation manners of the sixth aspect or the sixth aspect, and at least one of the seventh aspect or the In the slave node described in various possible implementation manners of the seventh aspect, a protection service channel is established between the master node and the last slave node, and the protection service channel can be switched in the blocking mode and the conduction mode.
- the existing solution is in the event of a node failure or multiple failures.
- it can achieve the effect of protecting the business even if a node failure or multiple failures occur.
- FIG. 1 is a schematic diagram of an implementation of a multicast service implemented on a MPLS TP ring network by using a daisy chain private network in the prior art
- FIG. 2 is a schematic structural diagram of an implementation environment according to an embodiment of the present invention.
- FIG. 3 is a flowchart of a service protection method according to an embodiment of the present invention.
- FIG. 4 is a flowchart of a service protection method according to another embodiment of the present invention.
- FIG. 5 is a flowchart of a service protection method according to still another embodiment of the present invention.
- FIG. 6 is a structural block diagram of a ring network daisy chain service system according to an embodiment of the present invention
- FIG. 7 is a structural block diagram of a ring network daisy chain service system according to another embodiment of the present invention
- FIG. 8 is still another embodiment of the present invention
- FIG. 9 is a structural block diagram of a master node according to an embodiment of the present invention.
- FIG. 10 is a structural block diagram of a master node according to another embodiment of the present invention.
- FIG. 11 is a block diagram showing the structure of a slave node according to an embodiment of the present invention.
- FIG. 12 is a structural block diagram of a ring network daisy chain service system according to still another embodiment of the present invention. detailed description
- FIG. 2 a schematic structural diagram of an implementation environment according to an embodiment of the present invention is shown.
- the implementation environment is a ring network daisy chain business system.
- the system includes a source node R, a master node NE A, a slave node NE B , a slave node NE C , a slave node NE D , a slave node NE E , and a slave node NE F .
- NE A, NE B, NE C, NE D, NE E and NE F are sequentially connected by a physical link (solid line without an arrow in the figure), thereby forming a ring network;
- FIG. 3 shows a flowchart of a service protection method according to an embodiment of the present invention. This embodiment is mainly illustrated by applying the service protection method to the primary node NE A shown in FIG. 2 .
- the business protection method includes:
- Step 302 Receive a node status abnormal message from a neighboring node.
- the master node NE A can receive the node status exception message from the neighboring node NE B and the neighboring node NE F, thereby obtaining a fault of a certain link or a node in the ring network. For example, when a node failure occurs from the node NE C, the primary node NE A can learn the occurrence of the node failure according to the node status abnormality message sent by the neighboring nodes NE B and NE F.
- Step 304 After receiving the node status abnormal message, the protection service channel is switched from the blocking mode to the conducting mode.
- the primary node NE A After the primary node NE A receives the node status abnormality message, the primary node NE A switches the protection service channel between itself and the NE F from the blocking mode to the conducting mode. Thereafter, the master node NE A can send the service directly to the slave node NE F through the protection service channel, and then the NE F sends the service to the NE E, and the NE E sends the message to the NE D, so that the slave node NE located downstream of the faulty node NE C D, NE E and NE F can also receive services normally.
- the service protection method provided in this embodiment is to establish a protection service channel between the primary node and the last secondary node, and switch the protection service channel from the blocking mode to the conduction mode according to the node status abnormal message. It solves the problem that the existing solution cannot provide a good solution in the event of a node failure or multiple failures, and achieves the effect of protecting the service even if a node failure or multiple failures occur.
- the service protection method provided by this embodiment is also applicable to the protection of a single link failure.
- FIG. 4 is a flowchart of a service protection method according to another embodiment of the present invention.
- the service protection method is applied to the daisy-chain service system of the ring network shown in FIG. 2, and a protection service channel is established between the primary node and the last slave node in the system, and the protection service channel can be Switch between blocking mode and conduction mode.
- the business protection method includes:
- Step 402 Each node detects status information of the neighboring node.
- This embodiment includes two parts: a fault discovery process and a service protection process.
- the fault discovery process may be performed by both the master node and the slave node, or may be performed only by the slave node.
- This embodiment uses the parameters of each node.
- Each node detects state information of neighboring nodes, for example, the master node
- NE A detects the status information of the slave NE B and the slave NE F; the slave NE C detects the status information of the slave nodes NE B and NE D.
- the processing that each node needs to perform during this process is the same.
- the current node detects the status information of a neighboring node, which may be: the current node receives a predetermined packet periodically sent by the neighboring node, and if the current node receives the predetermined packet within a certain time threshold, it indicates that the current node If the current node does not receive the predetermined message within a certain time threshold, it means that the two are unreachable. For example, if NE B does not receive the predetermined packet sent by NE C within a certain time threshold, the path of NE C->NEB is considered unreachable. In this embodiment, the link between NE B and NE C will always be faulty.
- Step 404 When detecting that the neighboring node is unreachable, each node sends a node status abnormal message to another neighboring node.
- the current node When the current node detects that the neighboring node is unreachable, it sends a node status exception packet to the other neighboring node.
- the NE B when detecting that the NE C is unreachable, the NE B sends a node status abnormal message to the NE A, and the node status abnormal text may include path unreachable information between the normal node and the neighboring node of the normal node, that is, The information about the unreachable path between the normal node NE B and the NE B of the NE B.
- the NE C detects that the NE B is unreachable, it sends a node status abnormal packet to the NE D, that is, the normal node.
- the node status exception message can be delivered via the ring physical link.
- the current node can also send the node status exception message in both directions.
- the neighboring node since the neighboring node is unreachable, the effect is equivalent to sending only the node status abnormal message to the other neighboring node.
- Step 406 After receiving the node status abnormality message sent by the neighboring node, each node transmits a node status abnormal message to another adjacent node.
- each node After receiving the node status exception message sent by the neighboring node, each node transmits a node status exception message to the other adjacent node. For example, after receiving the node status exception message sent by the NE B, the NE A transmits the abnormal status message of the node status to the NE F, so that the node status abnormal message is NE.
- B->NE A->NE F- >NE E- >NE D- >NE C is transmitted in sequence; and the node status exception message sent by NE C will be NE C- >NE D- >NE E- >NE F->NE A- >NE B is passed in sequence.
- the node status exception packet may be re-encapsulated by each node.
- the node status exception message in this document mainly refers to the narrow-state abnormal state information, without And the package form and external performance of the message.
- Step 408 The master node receives a node status abnormal message from the neighboring node.
- the master node NE A can receive the node status exception message from the neighboring node NE B and the neighboring node NE F, thereby obtaining a fault of a certain link or a node in the ring network. For example, the master node NE A can learn that the link between NE B and NE C has failed according to the node status abnormality message sent by the neighboring nodes NE B and NE F.
- Step 410 After receiving the node status abnormality message, the primary node switches the protection service channel from the blocking mode to the conducting mode.
- the master node NE A After receiving the node status exception packet, the master node NE A can switch the protection service channel from the blocking mode to the conducting mode. At this time, when the primary node NE A receives the service of the source node NE R, there are two paths to be delivered, the first path is NE A- >NE B; the second is NE A- >NE F- >NE E- >NE D- >NE C. That is to say, NE F can receive the service delivered by NE A through the protection service channel, and then NE F multicasts or broadcasts in the daisy chain private network, one service is sent to the local user side, and another service is sent to the slave node. NE E, the service is forwarded downstream. After receiving the services sent by the neighboring nodes, each node will transmit traffic to another neighboring node in multicast or broadcast mode. At this time, although the link between NE B and NE C has failed, the service can still reach each node.
- the status information of the node includes not only the failure of the link or the node, but also the case where the failure of the link or the node is removed, and the state of the unreachable state is changed to the reachable state. That is to say, the node state recovery message may be generated, generated, transmitted and received in steps 402 to 408, and the node state recovery message includes a path between the normal node and the one-way neighboring node of the normal node. Information that becomes unreachable from reachable. For example, after the link fault between NE B and NE C is removed, NE B can generate and send a node state recovery packet, including the information that the path of NE C and NE B changes from unreachable to reachable, and then according to NE.
- Step 412 The primary node receives a node state recovery packet from the neighboring node.
- the master node NE A can also receive the node status from the neighboring node NE B and the neighboring node NE F The packet is recovered, so that the fault that occurs in a certain link or a node in the ring network has been eliminated. For example, the master node NE A can learn that the link fault between NE B and NE C has been eliminated according to the node state recovery message sent by the neighboring nodes NE B and NE F.
- Step 414 After receiving the node state recovery message, the master node switches the protection service channel from the conduction mode to the blocking mode.
- the master node NE A After receiving the node state recovery packet, the master node NE A can switch the protection service channel from the conduction mode to the blocking mode. That is, after the link fault between NE B and NE C is removed, the protection service channel between NE A and NE F will be restored to the blocked state. If NE A receives the service of source node R at this time, it will follow The existing NE A->NE B ->NE C- >NE D- >NE E- >NE F path is used for service delivery and delivery. After receiving the services sent by the neighboring nodes, each node will transmit services to another neighboring node in multicast or broadcast mode.
- the primary node NE A will switch the protection service channel from the conduction mode to the blocking mode only after receiving all the node state recovery packets and determining that there is no fault. mode.
- the service protection method provided in this embodiment is to establish a protection service channel between the primary node and the last secondary node, and switch the protection service channel from the blocking mode to the conduction mode according to the node status abnormal message. It solves the problem that the existing solution cannot provide a good solution in the event of a node failure or multiple failures, and achieves the effect of protecting the service even if a node failure or multiple failures occur.
- the service protection method provided by this embodiment is also applicable to the protection of a single link failure.
- the fault detection mechanism is also implemented by mutual detection and packet transmission between the nodes; the protection service channel is switched from the conduction mode to the blocking mode according to the node state recovery message, and the fault can be automatically eliminated after the fault is eliminated.
- the existing service protection method can protect the situation of link failure, it is impossible to protect the node failure or multiple failures. Therefore, the service protection method provided by the embodiment of the present invention can also be processed only for a node fault or multiple faults, so that the service protection method provided by the embodiment of the present invention can be used in combination with the existing service protection method.
- the specific reference is as follows:
- FIG. 5 is a flowchart of a service protection method according to still another embodiment of the present invention.
- the service protection method is applied to the daisy chain service system of the ring network shown in FIG. 2, and a protection service channel is established between the primary node and the last slave node in the system.
- the guard service channel can be switched between blocking mode and conduction mode.
- the service protection method includes: Step 502: The primary node pre-stores topology information of all nodes;
- the master node needs to store the topology information of all nodes in advance, in this embodiment, all topology information between NE A and NE F.
- Step 504 Each node detects status information of the neighboring node.
- This embodiment includes two parts: a fault discovery process and a service protection process.
- the fault discovery process may be performed by both the master node and the slave node, or may be performed only by the slave node. This embodiment is described with reference to the fault discovery process for each node. Specifically, each node detects state information of the neighboring node, for example, the master node NE A detects the state information of the slave node NE B and the slave node NE F; the slave node NE C detects the state information of the slave nodes NE B and NE D . Each node needs to perform the same processing in this process.
- the current node detects the status information of a neighboring node, which may be: the current node receives a predetermined packet periodically sent by the neighboring node, and if the current node receives the predetermined packet within a certain time threshold, it indicates that the current node If the current node does not receive the predetermined message within a certain time threshold, it means that the two are unreachable. For example, if NE B does not receive the predetermined packet sent by NE C within a certain time threshold, the path of NE C->NEB is considered unreachable. In this embodiment, the failure of NE C will always be exemplified.
- Step 506 When detecting that the neighboring node is unreachable, each node sends a node status abnormal message to another neighboring node.
- the current node When the current node detects that the neighboring node is unreachable, it sends a node status exception packet to the other neighboring node.
- the NE B when detecting that the NE C is unreachable, the NE B sends a node status abnormal message to the NE A, and the node status abnormal text may include path unreachable information between the normal node and the neighboring node of the normal node, that is, The information about the unreachable path between the normal node NE B and the NE B of the NE B.
- the NE C detects that the NE B is unreachable, it sends a node status abnormal packet to the NE D, that is, the normal node.
- the node status exception message can be delivered via the ring physical link.
- the current node can also send the node status exception message in both directions.
- the neighboring node since the neighboring node is unreachable, the effect is equivalent to sending only the node status abnormal message to the other neighboring node.
- Step 508 After receiving the node status abnormality message sent by the neighboring node, each node transmits a node status abnormal message to another adjacent node. After receiving the node status exception message sent by the neighboring node, each node transmits a node status exception message to another adjacent node. For example, after receiving the node status exception message sent by the NE B, the NE A sends the node status exception message to the NE F, so that the node status abnormal message is NE. B->NE A->NE F- >NE E- >NE D is transmitted in turn; and the node status exception message sent by NE D will be NE D- >NE E- >NE F- >NE A- >NE B is passed in order.
- the node status exception packet may be re-encapsulated by each node.
- the node status exception message in this document mainly refers to the narrow abnormal state information, and does not involve the encapsulation form of the message. External performance.
- Step 510 The master node receives a node status abnormal message from the neighboring node.
- the master node NE A can receive the node status exception message from the neighboring node NE B and the neighboring node NE F, thereby obtaining a fault of a certain link or a node in the ring network.
- Step 512 After receiving the node status abnormality packet, the primary node detects the fault type according to the stored topology information and the node status abnormal packet.
- the master node NE A usually receives the node status abnormality message from the neighboring node NE B and the neighboring node NE F, and each node status abnormality message includes the normal phase of the normal node and the normal node. Unreachable information between neighboring nodes. There are two cases of node status exception packets:
- the detected fault type is a node fault or multiple faults
- the node status abnormality message received by NE A in NE B includes: path unreachable information between the normal node NE B and its neighboring node NE C; NE A receives NE F
- the node status exception message includes: path unreachable information between the normal node NE D and its neighboring node NE C, and the NE A can detect that the current fault type is a node fault or multiple faults.
- the node status abnormality message received by NE A in NE B includes: path unreachable information between the normal node NE B and its neighboring node NE C; NE The node status abnormality message received by the A UE includes: The path unreachable information between the normal node NE E and its neighboring node NE D, the NE A can detect that the current fault type is a node fault or multiple faults. .
- the detected fault type is a link fault.
- the node A abnormality message received by the NE A in the NE B includes: path unreachable information between the normal node NE B and its neighboring node NE C;
- the node status abnormality message received by the A UE includes: The path unreachable information between the normal node NE C and its neighboring node NE B, the NE A can detect that the current fault type is a link fault.
- Step 514 If the detected fault type is a node fault or multiple faults, the master node switches the protection service channel from the blocking mode to the conducting mode.
- the primary node NE A can switch the protection service channel from the blocking mode to the conducting mode.
- the first path is NE A >NE B; the second is NE A- >NE F- >NE E ->NE D. That is to say, the NE F can receive the service delivered by the NE A through the protection service channel, and then the NE F multicasts or broadcasts in the daisy chain private network, one service is sent to the local user side, and another service is sent to the slave node.
- NE E the service is forwarded downstream.
- each node will transmit traffic to another neighboring node in multicast or broadcast mode. At this time, although a node failure occurs in NE C, the service can still reach each node downstream of NE C.
- the service protection method may also include the following steps:
- Step 516 The master node receives a node state recovery message from the neighboring node.
- the master node NE A can also receive the node state recovery message from the neighboring node NE B and the neighboring node NE F, so as to know that a fault of a certain link or a node in the ring network has been eliminated. For example, the master node NE A can learn that the node fault of the NE C has been eliminated according to the node state recovery message sent by the neighboring nodes NE B and NE F.
- Step 518 After receiving the node state recovery message, the master node switches the protection service channel from the conduction mode to the blocking mode.
- the master node NE A After receiving the node state recovery packet, the master node NE A can switch the protection service channel from the conduction mode to the blocking mode. That is, after the link fault of the NE C is removed, the protection service channel between the NEA and the NE F will be restored to the blocked state. If the NE A receives the service of the source node R, it will follow the existing NE A- >NE B - >NE C- >NE D- >NE E- >NE F path for service delivery and delivery. After receiving the services sent by the neighboring nodes, each node will transmit traffic to another neighboring node in multicast or broadcast mode.
- the master node NE A only receives the fault.
- the protection service channel is switched from the conduction mode to the blocking mode.
- the service protection method provided in this embodiment is to establish a protection service channel between the primary node and the last secondary node, and switch the protection service channel from the blocking mode to the conduction mode according to the node status abnormal message. It solves the problem that the existing solution cannot provide a good solution in the event of a node failure or multiple failures, and achieves the effect of protecting the service even if a node failure or multiple failures occur.
- the protection service channel is switched from the blocking mode to the conducting mode only when a node fault or multiple faults occur, so that the service protection method provided by the embodiment and the existing service protection method coexist and use together.
- the master node and the slave node can be designed as the same node having all functions, and then an identity is set inside the node. Then, the step of switching the protection service channel between the blocking mode and the conduction mode is performed only when the current node determines that the identity of the current node is the master node; and the current node determines that the identity of the current node is the primary identity.
- a node or a slave node performs steps of detecting state information, generating and transmitting node state exception messages, generating and transmitting node state recovery messages, and delivering services in multicast or broadcast form.
- FIG. 6 is a structural block diagram of a ring network daisy chain service system according to an embodiment of the present invention.
- the system includes at least one slave node 120 and one master node 140.
- the master node 140 and the slave node 120, and the slave node 120 and the slave node 120 are connected by a physical link to form a ring network.
- the master node 140 is connected to the slave node 120, and the slave node 120 and the slave node 120 are connected through a service channel to form a daisy chain private network.
- a protection service channel is established between the master node 140 and the last slave node 120, and the protection service channel can be switched in the blocking mode and the conduction mode.
- the slave node 120 includes: a state detecting module 122, a message sending module 124, and a message passing module 126;
- a status detecting module 122 configured to detect status information of neighboring nodes
- the message sending module 124 is configured to detect, in the state detecting module 122, that the neighboring node is not When reachable, send a node status exception message to another neighboring node;
- the message delivery module 126 is configured to: after receiving the node status abnormal message sent by the neighboring node, transmit the node status abnormal message to another neighboring node, so that the primary node receives the node After the abnormal state message, the protection service channel is switched from the blocking mode to the conducting mode.
- the master node 140 includes: a message receiving module 142 and a state switching module 144.
- the message receiving module 142 is configured to receive a node status abnormal message from the neighboring node, and the state switching module 144 is configured to: after the message receiving module 142 receives the node status abnormal message, the protection The service channel is switched from blocking mode to conduction mode.
- the ring network daisy-chain service system switches the protection service channel from the blocking mode to the protection service channel by establishing a protection service channel between the primary node and the last secondary node.
- the conduction mode solves the problem that the existing solution cannot provide a good solution in the event of a node failure or multiple failures, and achieves the effect of protecting the service even if a node failure or multiple failures occur.
- the ring network daisy chain service system provided in this embodiment is also applicable to the protection of a single link failure.
- FIG. 7, is a structural block diagram of a ring network daisy chain service system according to another embodiment of the present invention.
- the system includes at least one slave node 120 and one master node 140.
- the master node 140 and the slave node 120, and the slave node 120 and the slave node 120 are connected by a physical link to form a ring network.
- the master node 140 is connected to the slave node 120, and the slave node 120 and the slave node 120 are connected through a service channel to form a daisy chain private network.
- a protection service channel is established between the master node 140 and the last slave node 120, and the protection service channel can be switched in the blocking mode and the conduction mode.
- the slave node 120 includes: a state detecting module 122, a message sending module 124, a message passing module 126, and a service processing module 128;
- a status detecting module 122 configured to detect status information of neighboring nodes
- the message sending module 124 is configured to: when the state detecting module 122 detects that the neighboring node is unreachable, send a node state abnormal message to another neighboring node;
- the message delivery module 126 is configured to: after receiving the node status abnormal message sent by the neighboring node, transmit the node status abnormal message to another adjacent node.
- the message sending module 122 is further configured to: when the state detecting module 122 detects that the neighboring node changes from unreachable to reachable, send a node state recovery message to another neighboring node;
- the delivery module 124 is further configured to: when receiving the node state recovery message sent by the neighboring node, transmit the node state recovery message to another neighboring node;
- the service processing module 128 is configured to transmit the service to another neighboring node in a multicast or broadcast manner after receiving the service from the neighboring node.
- the master node 140 includes: a message receiving module 142, a state switching module 144, and a service sending module 146;
- the message receiving module 142 is configured to receive a node status abnormal message from the neighboring node, and the state switching module 144 is configured to: after the message receiving module 142 receives the node status abnormal message, the protection The service channel is switched from blocking mode to conduction mode.
- the message receiving module 142 is further configured to receive a node state recovery message from the neighboring node.
- the state switching module 144 is further configured to receive the node state recovery message in the packet receiving module 142. Thereafter, the protection service channel is switched from the conduction mode to the blocking mode.
- the service sending module 146 is configured to: after receiving the service from the source node, transmit the service to the neighboring node in a multicast or broadcast manner.
- the ring network daisy-chain service system switches the protection service channel from the blocking mode to the protection service channel by establishing a protection service channel between the primary node and the last secondary node.
- the conduction mode solves the problem that the existing solution cannot provide a good solution in the event of a node failure or multiple failures, and achieves the effect of protecting the service even if a node failure or multiple failures occur.
- the ring network daisy chain service system provided in this embodiment is also applicable to the protection of a single link failure.
- the fault detection mechanism is also implemented by mutual detection and packet transmission between the nodes; the protection service channel is switched from the conduction mode to the blocking mode according to the node state recovery message, and the fault can be automatically eliminated after the fault is eliminated. Restore the effect of normal operation mode.
- FIG. 8 is a structural block diagram of a ring network daisy chain service system according to still another embodiment of the present invention.
- the system includes at least one slave node 120 and one master node 140.
- the master node 140 and the slave node 120, and the slave node 120 and the slave node 120 are connected by a physical link to form a ring network.
- the master node 140 passes between the slave node 120 and the slave node 120 and the slave node 120.
- the service channels are connected to form a daisy chain private network.
- a protection service channel is established between the master node 140 and the last slave node 120, and the protection service channel can be switched in the blocking mode and the conduction mode.
- the slave node 120 includes: a state detecting module 122, a message sending module 124, a message passing module 126, and a service processing module 128;
- a status detecting module 122 configured to detect status information of neighboring nodes
- the message sending module 124 is configured to: when the state detecting module 122 detects that the neighboring node is unreachable, send a node state abnormal message to another neighboring node;
- the message passing module 126 is configured to: after receiving the node status abnormal message sent by the neighboring node, transmit the node status abnormal message to another neighboring node.
- the message sending module 122 is further configured to: when the state detecting module 122 detects that the neighboring node changes from unreachable to reachable, send a node state recovery message to another neighboring node;
- the delivery module 124 is further configured to: when receiving the node state recovery message sent by the neighboring node, transmit the node state recovery message to another neighboring node.
- the service processing module 128 is configured to transmit the service to another neighboring node in a multicast or broadcast manner after receiving the service from the neighboring node.
- the master node 140 includes: a topology storage module 141, a message receiving module 142, a state switching module 144, and a service sending module 146.
- a topology storage module 141 configured to pre-store topology information of all nodes
- the message receiving module 142 is configured to receive a node status abnormal message from the neighboring node, and the state switching module 144 is configured to: after the message receiving module 142 receives the node status abnormal message, the protection The service channel is switched from blocking mode to conduction mode.
- the state switching module 144 may include: a fault type detecting unit 144a and a blocking release unit 144b;
- the fault type detecting unit 144a is configured to detect, according to the topology information stored by the topology storage module and the node status abnormal packet, after the packet receiving module 142 receives the node status abnormal message. Fault type;
- the blocking release unit 144b is configured to switch the protection service channel from the blocking mode to the conductive mode if the fault type detected by the fault type detecting unit 144a is a node fault or multiple faults.
- the node status abnormal message includes that the path of the first node to the second node is not available.
- the fault information detecting unit 144a is specifically configured to:
- the detected fault type is a node fault or multiple faults
- the detected fault type is a link fault.
- the message receiving module 142 is further configured to receive a node state recovery message from the neighboring node.
- the state switching module 144 is further configured to receive the node state recovery message in the packet receiving module 142. Thereafter, the protection service channel is switched from the conduction mode to the blocking mode.
- the service sending module 146 is configured to: after receiving the service from the source node, transmit the service to the neighboring node in a multicast or broadcast manner.
- the ring network daisy-chain service system provided in this embodiment switches the protection service channel from the blocking mode to the protection service channel by establishing a protection service channel between the primary node and the last secondary node.
- the conduction mode solves the problem that the existing solution cannot provide a good solution in the event of a node failure or multiple failures, and achieves the effect of protecting the service even if a node failure or multiple failures occur.
- the ring network daisy chain service system provided in this embodiment is also applicable to the protection of a single link failure.
- the service system and the existing service system provided in this embodiment are mutually co-existed and used in combination, only when the node is faulty, and the protection service channel is switched from the blocking mode to the conduction mode.
- the master node and the slave node may be designed as the same node having all the functional modules in the foregoing device embodiment, and then an identity detection module is further added inside the node.
- the status switching module is triggered to be executed only when the identity detection module determines that the identity of the current node is the master node; and the identity detection module determines that the identity of the current node is the master node or the slave node. , other modules except the state switching module will be triggered to execute.
- FIG. 9 is a structural block diagram of a master node according to an embodiment of the present invention.
- the primary node is applied to the daisy-chain service system on the ring network.
- the protection service channel is established between the primary node and the last secondary node in the system, and the protection service channel can be in the blocking mode and the guide. Switch in pass mode.
- the master node includes:
- a receiver 920 configured to receive a node status abnormal message from a neighboring node;
- the processor 940 is configured to switch the protection service channel from the blocking mode to the conducting mode after the receiver 920 receives the node status abnormal message.
- the master node provided in this embodiment establishes a protection service channel between the master node and the last slave node, and switches the protection service channel from the blocking mode to the conduction mode according to the node status abnormal message. It solves the problem that the existing solution cannot provide a good solution in the event of a node failure or multiple failures, and achieves the effect of protecting the service even if a node failure or multiple failures occur.
- the master node provided in this embodiment is also applicable to the protection of a single link failure.
- the receiver 920 is further configured to receive a node state recovery message from an adjacent node;
- the processor 940 is further configured to switch the protection service channel from the conductive mode to the blocking mode after the receiver 920 receives the node state recovery message.
- the master node provided by the further embodiment switches the protection service channel from the conduction mode to the blocking mode according to the node state recovery message, and after the fault is eliminated, the normal operation mode can be automatically restored.
- FIG. 10 shows a block diagram of the structure of a master node provided by another embodiment of the present invention.
- the primary node is applied to the daisy-chain service system on the ring network.
- the protection service channel is established between the primary node and the last secondary node in the system, and the protection service channel can be in the blocking mode and the guide. Switch in pass mode.
- the master node includes: a receiver 920, a processor 940, a memory 960, and a transmitter 980.
- a memory 920 configured to pre-store topology information of all nodes
- a receiver 920 configured to receive a node status abnormal message from a neighboring node
- the processor 940 is further configured to: after the receiver 920 receives the node status abnormal message, detect a fault type according to the topology information stored in the memory 920 and the node status abnormal message; 940. The method further includes: if the detected fault type is a node fault or multiple faults, switching the protection service channel from a blocking mode to a conducting mode.
- the node status abnormal message includes path unreachable information between a normal node and a neighboring node of the normal node
- the processor 940 is specifically configured to:
- the detected fault type is a node fault or multiple faults; If the normal node in the node status abnormal message from the two-way neighboring node is two adjacent nodes, the detected fault type is a link fault.
- the receiver 920 is further configured to receive a node state recovery message from a neighboring node
- the processor 940 is further configured to switch the protection service channel from the conductive mode to the blocking mode after the receiver 920 receives the node state recovery message.
- the transmitter 980 is configured to: after the receiver 920 receives the service from the source node, transmit the service to the neighboring node in a multicast or broadcast manner.
- the master node provided in this embodiment establishes a protection service channel between the master node and the last slave node, and switches the protection service channel from the blocking mode to the conduction mode according to the node status abnormal message. It solves the problem that the existing solution cannot provide a good solution in the event of a node failure or multiple failures, and achieves the effect of protecting the service even if a node failure or multiple failures occur.
- the master node provided in this embodiment is also applicable to the protection of a single link failure.
- the service system and the existing service system provided in this embodiment are mutually cooperating and used in combination, only when the node is faulty, and the protection service channel is switched from the blocking mode to the conducting mode. Please refer to FIG.
- the slave node is mainly applied to the daisy-chain service system on the ring network.
- the protection service channel is established between the master node and the last slave node in the system, and the protection service channel can be in the blocking mode and the guide. Switch in pass mode.
- the slave node includes: a processor 020, a transmitter 040, and a receiver 060.
- the processor 020 is configured to detect status information of the neighboring node.
- the transmitter 040 is configured to: when the processor 020 detects that the neighboring node is unreachable, send a node status abnormal message to another neighboring node;
- the processor 020 is further configured to: after the receiver 060 receives the node status abnormal message sent by the neighboring node, transmit the node status abnormal message to another neighboring node, so that the primary node is receiving After the node status abnormal message is received, the protection service channel is switched from the blocking mode to the conductive mode.
- the slave node provided in this embodiment establishes a protection service channel between the master node and the last slave node, and switches the protection service channel from the blocking mode to the conduction mode according to the node status abnormal message. Solved the existing solution can not provide good in the event of node failure or multiple failures A good solution to the problem can achieve the effect of protecting the business even if a node failure or multiple failures occur.
- the slave node provided in this embodiment is also applicable to the protection of a single link failure.
- the transmitter 040 is further configured to: when the processor 020 detects that the neighboring node changes from unreachable to reachable, sends the node status to another neighboring node. Restore the message;
- the transmitter 040 is further configured to: when the receiver 060 receives a node state recovery message sent by a neighboring node, transmit the node state recovery message to another neighboring node, so that the master node After receiving the node state recovery message, the protection service channel is switched from the conduction mode to the blocking mode.
- the transmitter 040 is configured to: after the receiver 060 receives the service sent by the neighboring node, transmit the service to another neighboring node in a multicast or broadcast manner.
- FIG. 12 is a structural block diagram of a ring network daisy chain service system according to still another embodiment of the present invention.
- the system includes a master node 900, and at least one slave node 000.
- a protection service channel is established between the master node and the last slave node, and the protection service channel can be switched in a blocking mode and a conduction mode. among them:
- the master node 900 may be the master node provided by the embodiment corresponding to FIG. 9 or FIG. 10; the slave node 000 may be the slave node provided by the embodiment corresponding to FIG.
- the ring network daisy-chain service system switches the protection service channel from the blocking mode to the protection service channel by establishing a protection service channel between the primary node and the last secondary node.
- the conduction mode solves the problem that the existing solution cannot provide a good solution in the event of a node failure or multiple failures, and achieves the effect of protecting the service even if a node failure or multiple failures occur.
- the ring network daisy chain service system provided in this embodiment is also applicable to the protection of a single link failure.
- the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
- the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.
Landscapes
- Small-Scale Networks (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例提供了一种业务保护方法、设备及系统,涉及通信技术领域,所述系统中的主节点和最后一个从节点之间建立有保护业务通道,且所述保护业务通道可在阻塞模式和导通模式下切换,所述方法,包括:接收来自相邻节点的节点状态异常报文;在接收到所述节点状态异常报文之后,将所述保护业务通道由阻塞模式切换为导通模式。本发明通过在主节点和最后一个从节点之间建立保护业务通道,并且根据节点状态异常报文来将保护业务通道由阻塞模式切换为导通模式,解决了现有方案在发生节点故障或多处故障时无法提供良好的应对方案的问题,达到了即便发生了故障,也不影响除故障节点之外的其它节点的业务的效果。
Description
业务保护方法、 设备及系统 技术领域
本发明涉及通信技术领域, 特别涉及一种业务保护方法、 设备及系统。 背景技术
菊花链的基本概念是指一种由许多菊花串接在一起形成的花环。 而在通信 领域, 菊花链代表一种设备或业务的组网模式, 即设备 A与设备 B相连、 设 备 B与设备 C相连、 设备 C与设备 D相连等等, 最后一个设备不与第一个设 备相连的链状拓朴。 菊花链专网经常被用来在环网上实现组播业务, 比如 MPLS- TP ( Multi-Protocol Label Switching Transport Profile,传送多协议标签交 换)环网上组播业务的实现。
请参考图 1 ,其示出了现有技术中的一种利用菊花链专网在 MPLS TP环网 上实现组播业务的实施示意图。 该网络包括节点1 、 NE ( Net Element, 网元) A、 NE B、 NE C和NE D。 其中, NE A、 NE B, NE C和 NE D之间通过物 理链路相连, 从而构成环网 (图中实线); 同时, 在 NEA和 NE B之间、 NE B 和 NE C之间、 NE C和 NE D之间的物理链路上分别建立业务通道(图中虚线), NE A和 NE D之间的物理链路上不建立业务通道,从而构成菊花链专网。换句 话说, 虽然 NE A和 NE D之间通过物理链路进行了实际相连, 但是逻辑上的 业务通道并不相连。
利用上述菊花链专网实现组播业务的过程大致如下: 主节点 NE A收到源 节点 R的业务, 通过组播方式发送到从节点 NE B, 从节点 NE B在菊花链专 网内组播或者广播, 一份业务送到本地用户侧, 另一份业务发送到从节点 NE C, 业务依次向下游转发; 业务不能从主节点 NE A直接发送到从节点 NE C等 非直接相连的下游节点, 这样保证了在中间的业务通道上业务只有一份。 正常 情况下, 业务的发送路径为: NE A— > NE B— > NE C— > NE D。
现有的菊花链专网在发生故障时, 主要采用如下业务保护方法来应对: 假设 NE B和 NE C之间的链路发生了故障, 则 NE B利用 MPLS TP环网 的倒换保护机制, 将本应发往 NE C的业务通过倒换后的保护路径 NE B->NE
A >NE D - >NE C发送至 NE C。由于该业务的标签表示是由 NE B指向 NE C 的, 所以 NE A和 NE D仅转发该业务, 但不在本地处理该业务; 在 NE C接收 到该业务之后, NE C再继续向 NE D下发该业务。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 现有方案仅能够对一段链路发生故障时进行有效保护, 若 NE C发生了节 点故障, 即便由 NE B发往 NE C的业务可以经过保护路径转发, 但实际上 NE C仍然无法接收该业务, 将造成 NE C和 NE D的业务中断, 并且可能会导致 业务风暴的产生, 此种情况下, 只能选择让 NE B将本应发往 NE C的业务直 接丟弃。 同理, 当多段链路或者多个节点发生了故障, 也只能选择让 NE B将 本应发往 NE C的业务直接丟弃。
综上, 现有的保护方案不能获得良好的保护效果, 特别是在发生节点故障 或者多处故障时, 无良好的应对方案。 发明内容
有鉴于此, 本发明实施例提供了一种业务保护方法、 设备及系统, 用于解 决现有方案在发生节点故障或者多处故障时无法提供良好的应对方案的问题。 所述技术方案如下:
第一方面, 提供了一种业务保护方法, 用于环网上菊花链业务系统, 所述 系统中的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务 通道可在阻塞模式和导通模式下切换, 所述方法, 包括:
接收来自相邻节点的节点状态异常报文;
在接收到所述节点状态异常报文之后,将所述保护业务通道由阻塞模式切 换为导通模式。
在第一方面的第一种可能的实施方式中, 所述方法, 还包括:
接收来自相邻节点的节点状态恢复报文;
在接收到所述节点状态恢复报文之后,将所述保护业务通道由导通模式切 换为阻塞模式。
结合第一方面或者第一方面的第一种可能的实施方式, 在第二种可能的实 施方式中, 所述方法, 还包括:
预先存储有所有节点的拓朴信息;
所述在接收到所述节点状态异常报文之后, 将所述保护业务通道由阻塞模
式切换为导通模式, 具体包括:
在接收到所述节点状态异常报文之后,根据存储的拓朴信息和所述节点状 态异常报文检测故障类型;
若检测到的所述故障类型为节点故障或多处故障, 将所述保护业务通道由 阻塞模式切换为导通模式。
结合第一方面的第二种可能的实施方式, 在第一方面的第三种可能的实施 方式中, 所述节点状态异常报文包括正常节点与所述正常节点的一向相邻节点 之间的路径不可达信息, 所述根据存储的拓朴信息和所述节点状态异常报文检 测故障类型, 具体包括:
若来自两向相邻节点的节点状态异常报文中的正常节点为不相邻的两个 节点, 则检测到的所述故障类型为节点故障或多处故障;
若来自两向相邻节点的节点状态异常报文中的正常节点为相邻的两个节 点, 则检测到的所述故障类型为链路故障。
结合第一方面或者第一方面的第一至三种中的任一种可能的实施方式, 在 第四种可能的实施方式中, 所述方法, 还包括:
在接收到来自源节点的业务后, 以组播或者广播方式向相邻节点传递所述 业务。
第二方面, 提供了一种主节点, 用于环网上菊花链业务系统, 所述系统中 的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务通道可 在阻塞模式和导通模式下切换, 所述节点包括:
报文接收模块, 用于接收来自相邻节点的节点状态异常报文;
状态切换模块, 用于在所述报文接收模块接收到所述节点状态异常报文之 后, 将所述保护业务通道由阻塞模式切换为导通模式。
在第二方面的第一种可能的实施方式中, 所述报文接收模块, 还用于接收 来自相邻节点的节点状态恢复报文;
所述状态切换模块,还用于在所述报文接收模块接收到所述节点状态恢复 报文之后, 将所述保护业务通道由导通模式切换为阻塞模式。
结合第二方面或者第二方面的第一种可能的实施方式, 在第二种可能的实 施方式中, 所述主节点, 还包括: 拓朴存储模块;
所述拓朴存储模块, 用于预先存储有所有节点的拓朴信息;
所述状态切换模块, 对应包括: 故障类型检测单元和阻塞解除单元;
所述故障类型检测单元, 用于在所述报文接收模块接收到所述节点状态异 常报文之后,根据所述拓朴存储模块存储的拓朴信息和所述节点状态异常报文 检测故障类型;
所述阻塞解除单元, 用于若所述故障类型检测单元检测到的所述故障类型 为节点故障或多处故障, 将所述保护业务通道由阻塞模式切换为导通模式。
结合第二方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所 述节点状态异常报文包括正常节点与所述正常节点的一向相邻节点之间的路 径不可达信息, 所述故障类型检测单元, 具体用于:
若来自两向相邻节点的节点状态异常报文中的正常节点为不相邻的两个 节点, 则检测到的所述故障类型为节点故障或多处故障;
若来自两向相邻节点的节点状态异常报文中的正常节点为相邻的两个节 点, 则检测到的所述故障类型为链路故障。
结合第二方面或者第二方面的第一至三种中的任一种可能的实施方式, 在 第四种可能的实施方式中, 所述主节点, 还包括:
业务发送模块;
所述业务发送模块, 用于在接收到来自源节点的业务后, 以组播或者广播 方式向相邻节点传递所述业务。
第三方面, 提供了一种业务保护方法, 用于环网上菊花链业务系统, 所述 系统中的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务 通道可在阻塞模式和导通模式下切换, 所述方法, 包括:
检测相邻节点的状态信息;
在检测到一向相邻节点不可达时, 向另一向相邻节点发送节点状态异常报 文;
在接收到一向相邻节点发送的节点状态异常报文后, 向另一向相邻节点传 递所述节点状态异常报文, 以便所述主节点在接收到所述节点状态异常报文之 后, 将所述保护业务通道由阻塞模式切换为导通模式。
在第三方面的第一种可能的实施方式中, 所述方法, 还包括:
在检测到一向相邻节点由不可达转变为可达时, 向另一向相邻节点发送节 点状态恢复报文;
在接收到一向相邻节点发送的节点状态恢复报文时, 向另一向相邻节点传 递所述节点状态恢复报文, 以便所述主节点在接收到所述节点状态恢复报文之
后, 将所述保护业务通道由导通模式切换为阻塞模式。
结合第三方面或者第三方面的第一种可能的实施方式, 在第二种可能的实 施方式中, 所述方法, 还包括:
接收到一向相邻节点发送的业务后, 以组播或者广播方式向另一向相邻节 点传递所述业务。
第四方面, 提供了一种从节点, 用于环网上菊花链业务系统, 所述系统中 的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务通道可 在阻塞模式和导通模式下切换, 所述从节点, 包括:
状态检测模块, 用于检测相邻节点的状态信息;
报文发送模块, 用于在所述状态检测模块检测到一向相邻节点不可达时, 向另一向相邻节点发送节点状态异常报文;
报文传递模块, 用于在接收到一向相邻节点发送的节点状态异常报文后, 向另一向相邻节点传递所述节点状态异常报文, 以便所述主节点在接收到所述 节点状态异常报文之后, 将所述保护业务通道由阻塞模式切换为导通模式。
在第四方面的第一种可能的实施方式中, 所述 文发送模块, 还用于在所 述状态检测单元检测到一向相邻节点由不可达转变为可达时, 向另一向相邻节 点发送节点状态恢复报文;
所述报文传递模块,还用于在接收到一向相邻节点发送的节点状态恢复报 文时, 向另一向相邻节点传递所述节点状态恢复报文, 以便所述主节点在接收 到所述节点状态恢复报文之后,将所述保护业务通道由导通模式切换为阻塞模 式。
结合第四方面或者第四方面的第一种可能的实施方式, 在第二种可能的实 施方式中, 所述从节点, 包括:
业务处理模块, 用于接收到一向相邻节点发送的业务后, 以组播或者广播 方式向另一向相邻节点传递所述业务。
第五方面, 提供了一种环网上菊花链业务系统, 所述系统包括一个如第二 方面或第二方面的各种可能的实施方式所述的主节点, 和至少一个如第四方面 或第四方面的各种可能的实施方式的从节点, 所述主节点和最后一个从节点之 间建立有保护业务通道, 且所述保护业务通道可在阻塞模式和导通模式下切 换。
第六方面, 提供了一种主节点, 用于环网上菊花链业务系统, 所述系统中
的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务通道可 在阻塞模式和导通模式下切换, 所述节点包括:
接收机, 用于接收来自相邻节点的节点状态异常报文;
处理器, 用于在所述接收机接收到所述节点状态异常报文之后, 将所述保 护业务通道由阻塞模式切换为导通模式。
在第六方面的第一种可能的实施方式中,
所述接收机, 还用于接收来自相邻节点的节点状态恢复报文;
所述处理器, 还用于在所述接收机接收到所述节点状态恢复报文之后, 将 所述保护业务通道由导通模式切换为阻塞模式。
结合第六方面或者第六方面的第一种可能的实施方式, 在第二种可能的实 施方式中, 所述主节点, 还包括: 存储器;
所述存储器, 用于预先存储有所有节点的拓朴信息;
所述处理器, 还用于在所述接收机接收到所述节点状态异常报文之后, 根 据所述存储器存储的拓朴信息和所述节点状态异常报文检测故障类型;
所述处理器, 还用于若检测到的所述故障类型为节点故障或多处故障, 将 所述保护业务通道由阻塞模式切换为导通模式。
结合第六方面的第二种可能的实施方式, 在第三种可能的实施方式中, 所 述节点状态异常报文包括正常节点与所述正常节点的一向相邻节点之间的路 径不可达信息, 所述处理器, 具体用于:
若来自两向相邻节点的节点状态异常报文中的正常节点为不相邻的两个 节点, 则检测到的所述故障类型为节点故障;
若来自两向相邻节点的节点状态异常报文中的正常节点为相邻的两个节 点, 则检测到的所述故障类型为链路故障。
结合第六方面或者第六方面的第一至三种中的任一种可能的实施方式, 在 第四种可能的实施方式中, 所述主节点, 还包括:
发射机;
所述发射机, 用于在所述接收机接收到来自源节点的业务后, 以组播或者 广播方式向相邻节点传递所述业务。
第七方面, 提供了一种从节点, 用于环网上菊花链业务系统, 所述系统中 的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务通道可 在阻塞模式和导通模式下切换, 所述从节点, 包括:
处理器, 用于检测相邻节点的状态信息;
发射机, 用于在所述处理器检测到一向相邻节点不可达时, 向另一向相邻 节点发送节点状态异常报文;
所述处理器,还用于在接收机接收到一向相邻节点发送的节点状态异常报 文后, 向另一向相邻节点传递所述节点状态异常报文, 以便所述主节点在接收 到所述节点状态异常报文之后,将所述保护业务通道由阻塞模式切换为导通模 式。
在第七方面的第一种可能的实现方式中,
所述发射机,还用于在所述处理器检测到一向相邻节点由不可达转变为可 达时, 向另一向相邻节点发送节点状态恢复报文;
所述发射机,还用于在所述接收机接收到一向相邻节点发送的节点状态恢 复报文时, 向另一向相邻节点传递所述节点状态恢复报文, 以便所述主节点在 接收到所述节点状态恢复报文之后,将所述保护业务通道由导通模式切换为阻 塞模式。
结合第七方面或者第七方面的第一种可能的实施方式, 在第二种可能的实 施方式中, 所述从节点, 包括:
所述发射机, 用于所述接收机接收到一向相邻节点发送的业务后, 以组播 或者广播方式向另一向相邻节点传递所述业务。
第八方面, 提供了一种环网上菊花链业务系统, 所述系统包括一个如第六 方面或第六方面的各种可能的实施方式所述的主节点, 和至少一个如第七方面 或第七方面的各种可能的实施方式所述的从节点, 所述主节点和最后一个从节 点之间建立有保护业务通道,且所述保护业务通道可在阻塞模式和导通模式下 切换。
本发明实施例提供的技术方案的有益效果是:
通过在主节点和最后一个从节点之间建立保护业务通道, 并且根据节点状 态异常报文来将保护业务通道由阻塞模式切换为导通模式,解决了现有方案在 发生节点故障或者多处故障时无法提供良好的应对方案的问题, 达到了即便发 生了节点故障或者多处故障, 也能够对业务进行保护的效果。 附图说明
为了更清楚地说明本发明实施例中的技术方案, 下面对实施例描述中所需
要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的 一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1是现有技术中的一种利用菊花链专网在 MPLS TP环网上实现组播业 务的实施示意图;
图 2是本发明实施例所涉及的一种实施环境的结构示意图;
图 3是本发明一个实施例提供的业务保护方法的流程图;
图 4是本发明另一个实施例提供的业务保护方法的流程图;
图 5是本发明再一个实施例提供的业务保护方法的流程图;
图 6是本发明一个实施例提供的环网上菊花链业务系统的结构方框图; 图 7是本发明另一个实施例提供的环网上菊花链业务系统的结构方框图; 图 8是本发明再一个实施例提供的环网上菊花链业务系统的结构方框图; 图 9是本发明一个实施例提供的主节点的结构方框图;
图 10是本发明另一个实施例提供的主节点的结构方框图;
图 11是本发明一个实施例提供的从节点的结构方框图;
图 12是本发明又一个实施例提供的环网上菊花链业务系统的结构方框图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图对本发明 实施方式作进一步地详细描述。 请参考图 2,其示出了本发明实施例所涉及的一种实施环境的结构示意图。 该实施环境为一种环网上菊花链业务系统。该系统包括源节点 R、主节点 NE A、 从节点 NE B、 从节点 NE C、 从节点 NE D、 从节点 NE E和从节点 NE F。
其中, NE A、 NE B、 NE C、 NE D、 NE E和 NE F之间依次通过物理链 路 (图中无箭头实线)相连, 从而构成环网;
同时, 在 NE A和 NE B之间、 NE B和 NE C之间、 NE C和 NE D之间、 NE D和 NE E之间、 NE E与 NE F之间的物理链路上分别建立业务通道 (图 中有箭头虚线), 从而构成菊花链专网。
与现有技术不同的是, 主节点 NE A和最后一个从节点 NE F之间的物理 链路上还建立有保护业务通道(图中有箭头实线), 该保护业务通道可以在阻
塞模式和导通模式之间切换。 请参考图 3, 其示出了本发明一个实施例提供的业务保护方法的流程图。 本实施例主要以该业务保护方法应用于图 2所示主节点 NE A中来举例说明。 该业务保护方法, 包括:
步骤 302, 接收来自相邻节点的节点状态异常报文;
主节点 NE A可以接收来自相邻节点 NE B和相邻节点 NE F的节点状态异 常报文, 从而获知该环网中的某一段链路或者某一个节点发生的故障。 比如, 当从节点 NE C发生节点故障时, 主节点 NE A可以根据相邻节点 NE B和 NE F发送的节点状态异常报文获知该节点故障的发生。
步骤 304, 在接收到节点状态异常报文之后, 将保护业务通道由阻塞模式 切换为导通模式。
在主节点 NE A接收到节点状态异常报文之后,主节点 NE A将自身与 NE F之间的保护业务通道由阻塞模式切换为导通模式。 此后, 主节点 NE A可以 将业务直接通过保护业务通道发送至从节点 NE F, 再由 NE F发送业务至 NE E, 由 NE E发送至 NE D,使得位于故障节点 NE C下游的从节点 NE D、 NE E 和 NE F也能正常接收到业务。
综上所述, 本实施例提供的业务保护方法, 通过在主节点和最后一个从节 点之间建立保护业务通道, 并且根据节点状态异常报文来将保护业务通道由阻 塞模式切换为导通模式, 解决了现有方案在发生节点故障或者多处故障时无法 提供良好的应对方案的问题, 达到了即便发生了节点故障或者多处故障, 也能 够对业务进行保护的效果。 同时, 本实施例提供的业务保护方法也适用于单一 链路故障的保护。 请参考图 4, 其示出了本发明另一实施例提供的业务保护方法的流程图。 本实施例主要以该业务保护方法应用于图 2所示环网上菊花链业务系统中来举 例说明, 该系统中的主节点和最后一个从节点之间建立有保护业务通道, 且保 护业务通道可在阻塞模式和导通模式下切换。 该业务保护方法, 包括:
步骤 402, 各个节点检测相邻节点的状态信息;
本实施例包括故障发现过程和业务保护过程两大部分, 故障发现过程可以 由主节点和从节点都参与, 也可以仅由从节点参与。 本实施例以每个节点都参
与故障发现过程来说明。 每个节点检测相邻节点的状态信息, 比如, 主节点
NE A检测从节点 NE B和从节点 NE F的状态信息; 从节点 NE C检测从节点 NE B和 NE D的状态信息。 每个节点在此过程中所需要执行的处理均相同。
当前节点检测一个相邻节点的状态信息, 具体可以为: 当前节点接收相邻 节点周期性地发送的预定报文, 若当前节点在一定时间阈值内收到该预定报 文, 则表示两者之间可达; 若当前节点在一定时间阈值内未收到该预定报文, 则表示两者之间不可达。 比如, 若 NE B在一定时间阈值内未收到 NE C发送 的预定报文, 则认为 NE C- >NEB的路径不可达。 本实施例中将一直以 NE B 和 NE C之间的链路发生故障来举例说明。
步骤 404, 各个节点在检测到一向相邻节点不可达时, 向另一向相邻节点 发送节点状态异常报文;
当前节点检测到一向相邻节点不可达时, 向另一向相邻节点发送节点状态 异常报文。 比如, NE B检测到 NE C不可达时, 向 NE A发送节点状态异常报 文, 该节点状态异常 文可以包含正常节点与该正常节点的一向相邻节点之间 的路径不可达信息,也即正常节点 NE B与 NE B的一向相邻节点 NE C之间的 路径不可达的信息; 同理, NE C检测到 NE B不可达时, 向 NE D发送节点状 态异常报文,也即正常节点 NE C与 NE C的一向相邻节点 NE B之间的的路径 不可达的信息。 该节点状态异常报文可以经由环网物理链路传递。
另外需要指出的是, 当前节点也可以双向发送节点状态异常报文, 但是由 于一向相邻节点不可达, 故其效果也是等同于只向另一向相邻节点发送节点状 态异常报文。
步骤 406, 各个节点在接收到一向相邻节点发送的节点状态异常报文后, 向另一向相邻节点传递节点状态异常报文;
每个节点在接收到一向相邻节点发送的节点状态异常报文后, 向另一向相 邻节点传递节点状态异常报文。 比如, NE A接收到 NE B发送的节点状态异常 报文后, 除了自身保存该节点状态异常报文之外, 还向 NE F传递该节点状态 异常报文, 使得该节点状态异常报文由 NE B- >NE A- >NE F- >NE E- >NE D- >NE C依次传递; 而 NE C发出的节点状态异常报文将会由 NE C- >NE D- >NE E- >NE F- >NE A- >NE B依次传递。
由于实际应用中, 节点状态异常报文可能会被每个节点重新封装, 为了不 引起歧义, 本文中的节点状态异常报文主要是指狭义的异常状态信息, 而不涉
及报文的封装形式和外在表现。
步骤 408, 主节点接收来自相邻节点的节点状态异常报文;
主节点 NE A可以接收来自相邻节点 NE B和相邻节点 NE F的节点状态异 常报文, 从而获知该环网中的某一段链路或者某一个节点发生的故障。 比如, 主节点 NE A可以根据相邻节点 NE B和 NE F发送的节点状态异常报文获知 NE B和 NE C之间的链路发生了故障。
步骤 410, 主节点在接收到节点状态异常报文之后, 将保护业务通道由阻 塞模式切换为导通模式。
主节点 NE A在接收到节点状态异常报文之后, 可以将保护业务通道由阻 塞模式切换为导通模式。 此时, 主节点 NE A接收到源节点 NE R的业务时, 下发的路径存在两条, 第一条路径为 NE A- >NE B; 第二条为 NE A- >NE F- >NE E- >NE D- >NE C。也就是说, NE F可以通过保护业务通道接收 NE A 下发的业务, 然后 NE F在菊花链专网内组播或者广播, 一份业务送到本地用 户侧, 另一份业务发送到从节点 NE E, 业务依次向下游转发。 每个节点在接 收到一向相邻节点发送的业务后, 都会以组播或者广播方式向另一向相邻节点 传递业务。 此时, 虽然 NE B和 NE C之间的链路发生了故障, 但是业务仍然 能够达到每个节点。
易于思及的是, 如果发生了节点故障或者多处故障, 比如 NE C发生了故 障, 采用上述方案也能够保证除 NE C之外的所有节点都接收到该业务。
当然, 节点的状态信息不仅包括链路或者节点发生故障的情况, 还包括链 路或者节点的故障消除后, 由不可达状态变为可达状态的情况。 也就是说, 步 骤 402至步骤 408中生成、 发生、 传递和接收的也可能是节点状态恢复报文, 节点状态恢复报文包括有正常节点与该正常节点的一向相邻节点之间的的路 径由不可达变为可达的信息。 比如, NE B和 NE C之间的链路故障消除后, NE B可以产生并发送节点状态恢复报文, 包括有 NE C和 NE B的路径由不可 达变为可达的信息, 然后按照 NE B-- >NE A- >NE F- >NE E- >NE D- >NE C 依次传递; 对应地, NE C可以产生并发送节点状态恢复报文, 包括有 NE B和 NE C的路径由不可达变为可达的信息,然后按照 NE C- >NE D- >NE E- >NE F >NE A >NE B依次传递。 此时, 该业务保护方法, 还包括如下步骤: 步骤 412, 主节点接收来自相邻节点的节点状态恢复报文;
主节点 NE A也可以接收来自相邻节点 NE B和相邻节点 NE F的节点状态
恢复报文,从而获知该环网中的某一段链路或者某一个节点发生的故障已经消 除。 比如, 主节点 NE A可以根据相邻节点 NE B和 NE F发送的节点状态恢复 报文获知 NE B和 NE C之间的链路故障已经消除。
步骤 414, 主节点在接收到节点状态恢复报文之后, 将保护业务通道由导 通模式切换为阻塞模式。
主节点 NE A在接收到节点状态恢复报文之后, 可以将保护业务通道由导 通模式切换为阻塞模式。 也即, 在 NE B和 NE C之间的链路故障消除后, NE A与 NE F之间的保护业务通道将恢复阻塞状态, 如果此时 NE A接收到源节 点 R的业务,将会按照现有的 NE A- >NE B - >NE C- >NE D- >NE E- >NE F 路径来进行业务下发和传递。 每个节点在接收到一向相邻节点发送的业务后, 都会以组播或者广播方式向另一向相邻节点传递业务。
需要补充说明的是, 如果发生多处故障, 则主节点 NE A只有在接收到所 有的节点状态恢复报文, 且判断到不存在故障时, 才会将保护业务通道由导通 模式切换为阻塞模式。
综上所述, 本实施例提供的业务保护方法, 通过在主节点和最后一个从节 点之间建立保护业务通道, 并且根据节点状态异常报文来将保护业务通道由阻 塞模式切换为导通模式, 解决了现有方案在发生节点故障或者多处故障时无法 提供良好的应对方案的问题, 达到了即便发生了节点故障或者多处故障, 也能 够对业务进行保护的效果。 同时, 本实施例提供的业务保护方法也适用于单一 链路故障的保护。 还通过各个节点之间的互相检测和报文传递, 实现了故障检 测机制; 还通过根据节点状态恢复报文来将保护业务通道由导通模式切换为阻 塞模式, 达到了故障消除后, 可以自动恢复正常运行模式的效果。 由于现有的业务保护方法已经可以对发生链路故障的情况进行一定的保 护, 只是无法对节点故障或多处故障的情况进行保护。 所以, 本发明实施例提 供的业务保护方法也可以仅针对节点故障或多处故障进行处理,使得本发明实 施例提供的业务保护方法可以与现有的业务保护方法结合使用。 具体参考如 下:
请参考图 5, 其示出了本发明再一实施例提供的业务保护方法的流程图。 本实施例主要以该业务保护方法应用于图 2所示环网上菊花链业务系统中来举 例说明, 该系统中的主节点和最后一个从节点之间建立有保护业务通道, 且保
护业务通道可在阻塞模式和导通模式下切换。 该业务保护方法, 包括: 步骤 502, 主节点预先存储有所有节点的拓朴信息;
为了区分链路故障和节点故障, 主节点需要预先存储所有节点的拓朴信 息, 在本实施例中, 即 NE A至 NE F之间的所有拓朴信息。
步骤 504, 各个节点检测相邻节点的状态信息;
本实施例包括故障发现过程和业务保护过程两大部分, 故障发现过程可以 由主节点和从节点都参与, 也可以仅由从节点参与。 本实施例以每个节点都参 与故障发现过程来说明。具体地讲,每个节点检测相邻节点的状态信息, 比如, 主节点 NE A检测从节点 NE B和从节点 NE F的状态信息; 从节点 NE C检测 从节点 NE B和 NE D的状态信息。 每个节点在此过程中所需要执行的处理均 相同。
当前节点检测一个相邻节点的状态信息, 具体可以为: 当前节点接收相邻 节点周期性地发送的预定报文, 若当前节点在一定时间阈值内收到该预定报 文, 则表示两者之间可达; 若当前节点在一定时间阈值内未收到该预定报文, 则表示两者之间不可达。 比如, 若 NE B在一定时间阈值内未收到 NE C发送 的预定报文, 则认为 NE C- >NEB的路径不可达。 本实施例中将一直以 NE C 发生故障来举例说明。
步骤 506, 各个节点在检测到一向相邻节点不可达时, 向另一向相邻节点 发送节点状态异常报文;
当前节点检测到一向相邻节点不可达时, 向另一向相邻节点发送节点状态 异常报文。 比如, NE B检测到 NE C不可达时, 向 NE A发送节点状态异常报 文, 该节点状态异常 文可以包含正常节点与该正常节点的一向相邻节点之间 的路径不可达信息,也即正常节点 NE B与 NE B的一向相邻节点 NE C之间的 路径不可达的信息; 同理, NE C检测到 NE B不可达时, 向 NE D发送节点状 态异常报文,也即正常节点 NE C与 NE C的一向相邻节点 NE B之间的的路径 不可达的信息。 该节点状态异常报文可以经由环网物理链路传递。
另外需要指出的是, 当前节点也可以双向发送节点状态异常报文, 但是由 于一向相邻节点不可达, 故其效果也是等同于只向另一向相邻节点发送节点状 态异常报文。
步骤 508, 各个节点在接收到一向相邻节点发送的节点状态异常报文后, 向另一向相邻节点传递节点状态异常报文;
每个节点在接收到一向相邻节点发送的节点状态异常报文后, 向另一向相 邻节点传递节点状态异常报文。 比如, NE A接收到 NE B发送的节点状态异常 报文后, 除了自身保存该节点状态异常报文之外, 还向 NE F传递该节点状态 异常报文,使得该节点状态异常报文由 NE B- >NE A- >NE F- >NE E- >NE D 依次传递; 而 NE D发出的节点状态异常报文将会由 NE D- >NE E- >NE F- >NE A- >NE B依次传递。
由于实际应用中, 节点状态异常报文可能会被每个节点重新封装, 为了不 引起歧义, 本文中的节点状态异常报文主要是指狭义的异常状态信息, 而不涉 及报文的封装形式和外在表现。
步骤 510, 主节点接收来自相邻节点的节点状态异常报文;
主节点 NE A可以接收来自相邻节点 NE B和相邻节点 NE F的节点状态异 常报文, 从而获知该环网中的某一段链路或者某一个节点发生的故障。
步骤 512, 主节点在接收到节点状态异常报文之后, 根据存储的拓朴信息 和节点状态异常报文检测故障类型;
具体地讲,主节点 NE A通常都会收到来自相邻节点 NE B和相邻节点 NE F的节点状态异常报文, 每个节点状态异常报文中都包括正常节点与该正常节 点的一向相邻节点之间的不可达信息。 节点状态异常报文分两种情况:
第一, 若来自两向相邻节点的节点状态异常报文中的正常节点为不相邻的 两个节点, 则检测到的故障类型为节点故障或者多处故障;
比如, 假设 NE C发生了节点故障, NE A接收到 NE B的节点状态异常报 文中包括: 正常节点 NE B与其一向相邻节点 NE C之间的路径不可达信息; NE A接收到 NE F的节点状态异常报文中包括: 正常节点 NE D与其一向相邻 节点 NE C之间的路径不可达信息, 则 NE A可以检测到当前的故障类型为节 点故障或者多处故障。
又比如, 假设 NE C和 NE D均发生了节点故障, NE A接收到 NE B的节 点状态异常报文中包括: 正常节点 NE B与其一向相邻节点 NE C之间的路径 不可达信息; NE A接收到 NE F的节点状态异常报文中包括: 正常节点 NE E 与其一向相邻节点 NE D之间的路径不可达信息, 则 NE A可以检测到当前的 故障类型为节点故障或者多处故障。
第二, 若来自两向相邻节点的节点状态异常报文中的正常节点为相邻的两 个节点, 则检测到的故障类型为链路故障。
比如, 假设 NEB和 NE C之间的链路发生故障, NE A接收到 NE B的节 点状态异常报文中包括: 正常节点 NE B与其一向相邻节点 NE C之间的路径 不可达信息; NE A接收到 NE F的节点状态异常报文中包括: 正常节点 NE C 与其一向相邻节点 NE B之间的路径不可达信息, 则 NE A可以检测到当前的 故障类型为链路故障。
步骤 514, 若检测到的故障类型为节点故障或多处故障, 主节点将保护业 务通道由阻塞模式切换为导通模式。
主节点 NE A在检测到的故障类型为节点故障或多处故障之后, 可以将保 护业务通道由阻塞模式切换为导通模式。此时,主节点 NE A接收到源节点 NE R的业务时, 下发的路径存在两条, 第一条路径为 NE A >NE B; 第二条为 NE A- >NE F- >NE E- >NE D。 也就是说, NE F可以通过保护业务通道接收 NE A下发的业务, 然后 NE F在菊花链专网内组播或者广播, 一份业务送到本 地用户侧, 另一份业务发送到从节点 NE E, 业务依次向下游转发。 每个节点 在接收到一向相邻节点发送的业务后, 都会以组播或者广播方式向另一向相邻 节点传递业务。 此时, 虽然 NE C的发生了节点故障, 但是业务仍然能够到达 NE C下游的每个节点。
当然, 该业务保护方法, 也可以包括如下步骤:
步骤 516, 主节点接收来自相邻节点的节点状态恢复报文;
主节点 NE A也可以接收来自相邻节点 NE B和相邻节点 NE F的节点状态 恢复报文,从而获知该环网中的某一段链路或者某一个节点发生的故障已经消 除。 比如, 主节点 NE A可以根据相邻节点 NE B和 NE F发送的节点状态恢复 报文获知 NE C的节点故障已经消除。
步骤 518, 主节点在接收到节点状态恢复报文之后, 将保护业务通道由导 通模式切换为阻塞模式。
主节点 NE A在接收到节点状态恢复报文之后, 可以将保护业务通道由导 通模式切换为阻塞模式。 也即, 在 NE C的链路故障消除后, NEA与 NE F之 间的保护业务通道将恢复阻塞状态, 如果此时 NE A接收到源节点 R的业务, 将会按照现有的 NE A- >NE B - >NE C- >NE D- >NE E- >NE F路径来进行 业务下发和传递。 每个节点在接收到一向相邻节点发送的业务后, 都会以组播 或者广播方式向另一向相邻节点传递业务。
需要补充说明的是, 如果发生多处故障, 则主节点 NE A只有在接收到所
有的节点状态恢复报文, 且判断到不存在故障时, 才会将保护业务通道由导通 模式切换为阻塞模式。
综上所述, 本实施例提供的业务保护方法, 通过在主节点和最后一个从节 点之间建立保护业务通道, 并且根据节点状态异常报文来将保护业务通道由阻 塞模式切换为导通模式, 解决了现有方案在发生节点故障或者多处故障时无法 提供良好的应对方案的问题, 达到了即便发生了节点故障或者多处故障, 也能 够对业务进行保护的效果。 还通过仅在发生节点故障或多处故障时, 才将保护 业务通道由阻塞模式切换为导通模式,使得本实施例提供的业务保护方法和现 有的业务保护方法互相共存, 结合使用。 需要补充说明的是, 在具体的实施例中, 主节点和从节点可以设计成为具 有全部功能的相同节点, 然后在节点内部设置一身份标识。 然后, 只有在当前 节点判断到自身的身份标识为主节点时, 才执行上述将保护业务通道在阻塞模 式和导通模式两种模式间切换的步骤; 而当前节点判断到自身的身份标识为主 节点或者从节点时, 都执行检测状态信息、 产生和传递节点状态异常报文、 产 生和传递节点状态恢复报文和以组播或者广播形式传递业务的步骤。 以下为本发明装置实施例, 其中未详细描述的细节, 可以结合参考上述对 应的方法实施例。
请参考图 6, 其示出了本发明一个实施例提供的环网上菊花链业务系统的 结构方框图。 该系统包括至少一个从节点 120和一个主节点 140。
主节点 140与从节点 120之间,从节点 120与从节点 120之间通过物理链 路相连, 构成环网。
主节点 140与一向的从节点 120之间,从节点 120与从节点 120之间通过 业务通道相连, 构成菊花链专网。
特别地, 主节点 140和最后一个从节点 120之间建立有保护业务通道, 且 保护业务通道可在阻塞模式和导通模式下切换。
从节点 120, 包括: 状态检测模块 122、 报文发送模块 124和报文传递模 块 126;
状态检测模块 122, 用于检测相邻节点的状态信息;
报文发送模块 124, 用于在所述状态检测模块 122检测到一向相邻节点不
可达时, 向另一向相邻节点发送节点状态异常报文;
报文传递模块 126, 用于在接收到一向相邻节点发送的节点状态异常报文 后, 向另一向相邻节点传递所述节点状态异常报文, 以便所述主节点在接收到 所述节点状态异常报文之后, 将所述保护业务通道由阻塞模式切换为导通模 式。
主节点 140, 包括: 报文接收模块 142和状态切换模块 144
报文接收模块 142, 用于接收来自相邻节点的节点状态异常报文; 状态切换模块 144, 用于在所述报文接收模块 142接收到所述节点状态异 常报文之后, 将所述保护业务通道由阻塞模式切换为导通模式。
综上所述, 本实施例提供的环网上菊花链业务系统, 通过在主节点和最后 一个从节点之间建立保护业务通道, 并且根据节点状态异常报文来将保护业务 通道由阻塞模式切换为导通模式, 解决了现有方案在发生节点故障或者多处故 障时无法提供良好的应对方案的问题, 达到了即便发生了节点故障或者多处故 障, 也能够对业务进行保护的效果。 同时, 本实施例提供的环网上菊花链业务 系统也适用于单一链路故障的保护。 请参考图 7, 其示出了本发明另一个实施例提供的环网上菊花链业务系统 的结构方框图。 该系统包括至少一个从节点 120和一个主节点 140。
主节点 140与从节点 120之间,从节点 120与从节点 120之间通过物理链 路相连, 构成环网。
主节点 140与一向的从节点 120之间,从节点 120与从节点 120之间通过 业务通道相连, 构成菊花链专网。
特别地, 主节点 140和最后一个从节点 120之间建立有保护业务通道, 且 保护业务通道可在阻塞模式和导通模式下切换。
从节点 120, 包括: 状态检测模块 122、 报文发送模块 124、 报文传递模块 126和业务处理模块 128;
状态检测模块 122, 用于检测相邻节点的状态信息;
报文发送模块 124, 用于在所述状态检测模块 122检测到一向相邻节点不 可达时, 向另一向相邻节点发送节点状态异常报文;
报文传递模块 126, 用于在接收到一向相邻节点发送的节点状态异常报文 后, 向另一向相邻节点传递所述节点状态异常报文。
所述报文发送模块 122, 还用于在所述状态检测模块 122检测到一向相邻 节点由不可达转变为可达时, 向另一向相邻节点发送节点状态恢复报文; 所述报文传递模块 124, 还用于在接收到一向相邻节点发送的节点状态恢 复报文时, 向另一向相邻节点传递所述节点状态恢复报文;
业务处理模块 128, 用于在接收到来自一向相邻节点的业务后, 以组播或 者广播方式向另一向相邻节点传递所述业务。
主节点 140, 包括: 报文接收模块 142、 状态切换模块 144和业务发送模 块 146;
报文接收模块 142, 用于接收来自相邻节点的节点状态异常报文; 状态切换模块 144, 用于在所述报文接收模块 142接收到所述节点状态异 常报文之后, 将所述保护业务通道由阻塞模式切换为导通模式。
所述报文接收模块 142, 还用于接收来自相邻节点的节点状态恢复报文; 所述状态切换模块 144, 还用于在所述报文接收模块 142接收到所述节点 状态恢复报文之后, 将所述保护业务通道由导通模式切换为阻塞模式。
业务发送模块 146, 用于在接收到来自源节点的业务后, 以组播或者广播 方式向相邻节点传递所述业务。
综上所述, 本实施例提供的环网上菊花链业务系统, 通过在主节点和最后 一个从节点之间建立保护业务通道, 并且根据节点状态异常报文来将保护业务 通道由阻塞模式切换为导通模式, 解决了现有方案在发生节点故障或者多处故 障时无法提供良好的应对方案的问题, 达到了即便发生了节点故障或者多处故 障, 也能够对业务进行保护的效果。 同时, 本实施例提供的环网上菊花链业务 系统也适用于单一链路故障的保护。还通过各个节点之间的互相检测和报文传 递, 实现了故障检测机制; 还通过根据节点状态恢复报文来将保护业务通道由 导通模式切换为阻塞模式, 达到了故障消除后, 可以自动恢复正常运行模式的 效果。 请参考图 8, 其示出了本发明再一个实施例提供的环网上菊花链业务系统 的结构方框图。 该系统包括至少一个从节点 120和一个主节点 140。
主节点 140与从节点 120之间,从节点 120与从节点 120之间通过物理链 路相连, 构成环网。
主节点 140与一向的从节点 120之间,从节点 120与从节点 120之间通过
业务通道相连, 构成菊花链专网。
特别地, 主节点 140和最后一个从节点 120之间建立有保护业务通道, 且 保护业务通道可在阻塞模式和导通模式下切换。
从节点 120, 包括: 状态检测模块 122、 报文发送模块 124、 报文传递模块 126和业务处理模块 128;
状态检测模块 122, 用于检测相邻节点的状态信息;
报文发送模块 124, 用于在所述状态检测模块 122检测到一向相邻节点不 可达时, 向另一向相邻节点发送节点状态异常报文;
报文传递模块 126, 用于在接收到一向相邻节点发送的节点状态异常报文 后, 向另一向相邻节点传递所述节点状态异常报文。
所述报文发送模块 122, 还用于在所述状态检测模块 122检测到一向相邻 节点由不可达转变为可达时, 向另一向相邻节点发送节点状态恢复报文; 所述报文传递模块 124, 还用于在接收到一向相邻节点发送的节点状态恢 复报文时, 向另一向相邻节点传递所述节点状态恢复报文。
业务处理模块 128 , 用于在接收到来自一向相邻节点的业务后, 以组播或 者广播方式向另一向相邻节点传递所述业务。
主节点 140, 包括: 拓朴存储模块 141、 报文接收模块 142、 状态切换模块 144和业务发送模块 146。
拓朴存储模块 141 , 用于预先存储有所有节点的拓朴信息;
报文接收模块 142, 用于接收来自相邻节点的节点状态异常报文; 状态切换模块 144, 用于在所述报文接收模块 142接收到所述节点状态异 常报文之后, 将所述保护业务通道由阻塞模式切换为导通模式。
所述状态切换模块 144, 可以包括: 故障类型检测单元 144a和阻塞解除单 元 144b;
所述故障类型检测单元 144a,用于在所述报文接收模块 142接收到所述节 点状态异常报文之后,根据所述拓朴存储模块存储的拓朴信息和所述节点状态 异常报文检测故障类型;
所述阻塞解除单元 144b, 用于若所述故障类型检测单元 144a检测到的所 述故障类型为节点故障或多处故障,将所述保护业务通道由阻塞模式切换为导 通模式。
具体地讲, 所述节点状态异常报文包括第一节点指向第二节点的路径不可
达信息, 所述故障类型检测单元 144a, 具体用于:
若来自两向相邻节点的节点状态异常报文中的正常节点为不相邻的两个 节点, 则检测到的所述故障类型为节点故障或多处故障;
若来自两向相邻节点的节点状态异常报文中的正常节点为相邻的两个节 点, 则检测到的所述故障类型为链路故障。
所述报文接收模块 142, 还用于接收来自相邻节点的节点状态恢复报文; 所述状态切换模块 144, 还用于在所述报文接收模块 142接收到所述节点 状态恢复报文之后, 将所述保护业务通道由导通模式切换为阻塞模式。
所述业务发送模块 146, 用于在接收到来自源节点的业务后, 以组播或者 广播方式向相邻节点传递所述业务。
综上所述, 本实施例提供的环网上菊花链业务系统, 通过在主节点和最后 一个从节点之间建立保护业务通道, 并且根据节点状态异常报文来将保护业务 通道由阻塞模式切换为导通模式, 解决了现有方案在发生节点故障或者多处故 障时无法提供良好的应对方案的问题, 达到了即便发生了节点故障或者多处故 障, 也能够对业务进行保护的效果。 同时, 本实施例提供的环网上菊花链业务 系统也适用于单一链路故障的保护。 还通过仅在发生节点故障时, 才将保护业 务通道由阻塞模式切换为导通模式,使得本实施例提供的业务系统和现有的业 务系统互相共存, 结合使用。 需要补充说明的是, 在具体的实施例中, 主节点和从节点可以设计成为具 有上述装置实施例中全部功能模块的相同节点, 然后在节点内部还增加设置一 身份标识检测模块。 具体实施时, 只有在身份标识检测模块判断到当前节点的 身份标识为主节点时, 上述状态切换模块才被触发执行; 而身份标识检测模块 判断到当前节点的身份标识为主节点或者从节点时, 除状态切换模块的其它模 块均会被触发执行。 请参考图 9, 其示出了本发明一个实施例提供的主节点的结构方框图。 本 实施例主要以该主节点应用于环网上菊花链业务系统中来举例说明, 该系统中 的主节点和最后一个从节点之间建立有保护业务通道, 且保护业务通道可在阻 塞模式和导通模式下切换。 该主节点包括:
接收机 920, 用于接收来自相邻节点的节点状态异常报文;
处理器 940, 用于在所述接收机 920接收到所述节点状态异常报文之后, 将所述保护业务通道由阻塞模式切换为导通模式。
综上所述, 本实施例提供的主节点, 通过在主节点和最后一个从节点之间 建立保护业务通道, 并且根据节点状态异常报文来将保护业务通道由阻塞模式 切换为导通模式, 解决了现有方案在发生节点故障或者多处故障时无法提供良 好的应对方案的问题, 达到了即便发生了节点故障或者多处故障, 也能够对业 务进行保护的效果。 同时, 本实施例提供的主节点也适用于单一链路故障的保 护。
作为上述实施例更进一步地实施例, 所述接收机 920, 还用于接收来自相 邻节点的节点状态恢复报文;
所述处理器 940, 还用于在所述接收机 920接收到所述节点状态恢复报文 之后, 将所述保护业务通道由导通模式切换为阻塞模式。
此时, 更进一步地实施例提供的主节点, 通过根据节点状态恢复报文来将 保护业务通道由导通模式切换为阻塞模式, 达到了故障消除后, 可以自动恢复 正常运行模式的效果。 请继续参考图 10 ,其示出了本发明另一个实施例提供的主节点的结构方框 图。 本实施例主要以该主节点应用于环网上菊花链业务系统中来举例说明, 该 系统中的主节点和最后一个从节点之间建立有保护业务通道, 且保护业务通道 可在阻塞模式和导通模式下切换。 该主节点包括: 接收机 920、 处理器 940、 存储器 960和发射机 980。
存储器 920, 用于预先存储有所有节点的拓朴信息;
接收机 920, 用于接收来自相邻节点的节点状态异常报文;
处理器 940,还用于在所述接收机 920接收到所述节点状态异常报文之后, 根据所述存储器 920存储的拓朴信息和所述节点状态异常报文检测故障类型; 所述处理器 940,还用于若检测到的所述故障类型为节点故障或多处故障, 将所述保护业务通道由阻塞模式切换为导通模式。
具体地讲, 所述节点状态异常报文包括正常节点与所述正常节点的一向相 邻节点之间的路径不可达信息, 所述处理器 940, 具体用于:
若来自两向相邻节点的节点状态异常报文中的正常节点为不相邻的两个 节点, 则检测到的所述故障类型为节点故障或多处故障;
若来自两向相邻节点的节点状态异常报文中的正常节点为相邻的两个节 点, 则检测到的所述故障类型为链路故障。
更进一步地, 所述接收机 920, 还用于接收来自相邻节点的节点状态恢复 报文;
所述处理器 940, 还用于在所述接收机 920接收到所述节点状态恢复报文 之后, 将所述保护业务通道由导通模式切换为阻塞模式。
所述发射机 980, 用于在所述接收机 920接收到来自源节点的业务后, 以 组播或者广播方式向相邻节点传递所述业务。
综上所述, 本实施例提供的主节点, 通过在主节点和最后一个从节点之间 建立保护业务通道, 并且根据节点状态异常报文来将保护业务通道由阻塞模式 切换为导通模式, 解决了现有方案在发生节点故障或者多处故障时无法提供良 好的应对方案的问题, 达到了即便发生了节点故障或者多处故障, 也能够对业 务进行保护的效果。 同时, 本实施例提供的主节点也适用于单一链路故障的保 护。 还通过仅在发生节点故障时, 才将保护业务通道由阻塞模式切换为导通模 式, 使得本实施例提供的业务系统和现有的业务系统互相共存, 结合使用。 请参考图 11 , 其示出了本发明一个实施例提供的从节点的结构方框图。本 实施例主要以该从节点应用于环网上菊花链业务系统中来举例说明, 该系统中 的主节点和最后一个从节点之间建立有保护业务通道, 且保护业务通道可在阻 塞模式和导通模式下切换。 该从节点包括: 处理器 020、 发射机 040和接收机 060。
处理器 020, 用于检测相邻节点的状态信息;
发射机 040, 用于在所述处理器 020检测到一向相邻节点不可达时, 向另 一向相邻节点发送节点状态异常报文;
所述处理器 020, 还用于在接收机 060接收到一向相邻节点发送的节点状 态异常报文后, 向另一向相邻节点传递所述节点状态异常报文, 以便所述主节 点在接收到所述节点状态异常报文之后, 将所述保护业务通道由阻塞模式切换 为导通模式。
综上所述, 本实施例提供的从节点, 通过在主节点和最后一个从节点之间 建立保护业务通道, 并且根据节点状态异常报文来将保护业务通道由阻塞模式 切换为导通模式, 解决了现有方案在发生节点故障或者多处故障时无法提供良
好的应对方案的问题, 达到了即便发生了节点故障或者多处故障, 也能够对业 务进行保护的效果。 同时, 本实施例提供的从节点也适用于单一链路故障的保 护。
作为上述实施例更为优选地实施例, 所述发射机 040, 还用于在所述处理 器 020检测到一向相邻节点由不可达转变为可达时, 向另一向相邻节点发送节 点状态恢复报文;
所述发射机 040, 还用于在所述接收机 060接收到一向相邻节点发送的节 点状态恢复报文时, 向另一向相邻节点传递所述节点状态恢复报文, 以便所述 主节点在接收到所述节点状态恢复报文之后, 将所述保护业务通道由导通模式 切换为阻塞模式。
所述发射机 040,用于所述接收机 060接收到一向相邻节点发送的业务后, 以组播或者广播方式向另一向相邻节点传递所述业务。
此时, 更进一步地实施例提供的从节点, 通过传输节点状态恢复报文, 使 得主节点根据节点状态恢复报文来将保护业务通道由导通模式切换为阻塞模 式, 达到了故障消除后, 可以自动恢复正常运行模式的效果。 请参考图 12,其示出了本发明又一个实施例提供的环网上菊花链业务系统 的结构方框图。 所述系统包括一个主节点 900, 和至少一个从节点 000, 所述 主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务通道可在 阻塞模式和导通模式下切换。 其中:
主节点 900可以是图 9或者图 10所对应的实施例提供的主节点; 从节点 000可以是图 11所对应的实施例提供的从节点。
综上所述, 本实施例提供的环网上菊花链业务系统, 通过在主节点和最后 一个从节点之间建立保护业务通道, 并且根据节点状态异常报文来将保护业务 通道由阻塞模式切换为导通模式, 解决了现有方案在发生节点故障或者多处故 障时无法提供良好的应对方案的问题, 达到了即便发生了节点故障或者多处故 障, 也能够对业务进行保护的效果。 同时, 本实施例提供的环网上菊花链业务 系统也适用于单一链路故障的保护。 本领域普通技术人员可以理解实现上述实施例的全部或部分步骤, 可以通 过硬件来完成, 也可以通过程序来控制相关的硬件完成, 所述的程序可以存储
于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘 或光盘等。 以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的 精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的 保护范围之内。
Claims
1、 一种业务保护方法, 其特征在于, 用于环网上菊花链业务系统, 所述系 统中的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务通 道可在阻塞模式和导通模式下切换, 所述方法, 包括:
接收来自相邻节点的节点状态异常报文;
在接收到所述节点状态异常报文之后, 将所述保护业务通道由阻塞模式切 换为导通模式。
2、根据权利要求 1所述的业务保护方法, 其特征在于, 所述方法, 还包括: 接收来自相邻节点的节点状态恢复报文;
在接收到所述节点状态恢复报文之后, 将所述保护业务通道由导通模式切 换为阻塞模式。
3、 根据权利要求 1或 2所述的业务保护方法, 其特征在于, 所述方法, 还 包括:
预先存储有所有节点的拓朴信息;
所述在接收到所述节点状态异常报文之后, 将所述保护业务通道由阻塞模 式切换为导通模式, 具体包括:
在接收到所述节点状态异常报文之后, 根据存储的拓朴信息和所述节点状 态异常报文检测故障类型;
若检测到的所述故障类型为节点故障或多处故障, 将所述保护业务通道由 阻塞模式切换为导通模式。
4、 根据权利要求 3所述的业务保护方法, 其特征在于, 所述节点状态异常 报文包括正常节点与所述正常节点的一向相邻节点之间的路径不可达信息, 所 述根据存储的拓朴信息和所述节点状态异常报文检测故障类型, 具体包括: 若来自两向相邻节点的节点状态异常报文中的正常节点为不相邻的两个节 点, 则检测到的所述故障类型为节点故障或多处故障;
若来自两向相邻节点的节点状态异常报文中的正常节点为相邻的两个节 点, 则检测到的所述故障类型为链路故障。
5、根据权利要求 1至 4任一所述的业务保护方法, 其特征在于, 所述方法, 还包括:
在接收到来自源节点的业务后, 以组播或者广播方式向相邻节点传递所述 业务。
6、 一种主节点, 其特征在于, 用于环网上菊花链业务系统, 所述系统中的 主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务通道可在 阻塞模式和导通模式下切换, 所述节点包括:
报文接收模块, 用于接收来自相邻节点的节点状态异常报文;
状态切换模块, 用于在所述报文接收模块接收到所述节点状态异常报文之 后, 将所述保护业务通道由阻塞模式切换为导通模式。
7、 根据权利要求 6所述的主节点, 其特征在于:
所述报文接收模块, 还用于接收来自相邻节点的节点状态恢复报文; 所述状态切换模块, 还用于在所述报文接收模块接收到所述节点状态恢复 报文之后, 将所述保护业务通道由导通模式切换为阻塞模式。
8、根据权利要求 6或 7所述的主节点, 其特征在于, 所述主节点, 还包括: 拓朴存储模块;
所述拓朴存储模块, 用于预先存储有所有节点的拓朴信息;
所述状态切换模块, 对应包括: 故障类型检测单元和阻塞解除单元; 所述故障类型检测单元, 用于在所述报文接收模块接收到所述节点状态异 常报文之后, 根据所述拓朴存储模块存储的拓朴信息和所述节点状态异常报文 检测故障类型;
所述阻塞解除单元, 用于若所述故障类型检测单元检测到的所述故障类型 为节点故障, 将所述保护业务通道由阻塞模式切换为导通模式。
9、 根据权利要求 8所述的主节点, 其特征在于, 所述节点状态异常报文包 括正常节点与所述正常节点的一向相邻节点之间的路径不可达信息, 所述故障 类型检测单元, 具体用于:
若来自两向相邻节点的节点状态异常报文中的正常节点为不相邻的两个节 点, 则检测到的所述故障类型为节点故障或多处故障;
若来自两向相邻节点的节点状态异常报文中的正常节点为相邻的两个节 点, 则检测到的所述故障类型为链路故障。
10、 根据权利要求 6或 7所述的主节点, 其特征在于, 所述主节点, 还包 括:
业务发送模块;
所述业务发送模块, 用于在接收到来自源节点的业务后, 以组播或者广播 方式向相邻节点传递所述业务。
11、 一种业务保护方法, 其特征在于, 用于环网上菊花链业务系统, 所述 系统中的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务 通道可在阻塞模式和导通模式下切换, 所述方法, 包括:
检测相邻节点的状态信息;
在检测到一向相邻节点不可达时, 向另一向相邻节点发送节点状态异常报 文;
在接收到一向相邻节点发送的节点状态异常报文后, 向另一向相邻节点传 递所述节点状态异常报文, 以便所述主节点在接收到所述节点状态异常报文之 后, 将所述保护业务通道由阻塞模式切换为导通模式。
12、 根据权利要求 11所述的业务保护方法, 其特征在于, 所述方法, 还包 括:
在检测到一向相邻节点由不可达转变为可达时, 向另一向相邻节点发送节 点状态恢复报文;
在接收到一向相邻节点发送的节点状态恢复报文时, 向另一向相邻节点传 递所述节点状态恢复报文, 以便所述主节点在接收到所述节点状态恢复报文之 后, 将所述保护业务通道由导通模式切换为阻塞模式。
13、 根据权利要求 11或 12所述的业务保护方法, 其特征在于, 所述方法, 还包括:
接收到一向相邻节点发送的业务后, 以组播或者广播方式向另一向相邻节 点传递所述业务。
14、 一种从节点, 其特征在于, 用于环网上菊花链业务系统, 所述系统中 的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务通道可 在阻塞模式和导通模式下切换, 所述从节点, 包括:
状态检测模块, 用于检测相邻节点的状态信息;
报文发送模块, 用于在所述状态检测模块检测到一向相邻节点不可达时, 向另一向相邻节点发送节点状态异常报文;
报文传递模块, 用于在接收到一向相邻节点发送的节点状态异常报文后, 向另一向相邻节点传递所述节点状态异常报文, 以便所述主节点在接收到所述 节点状态异常报文之后, 将所述保护业务通道由阻塞模式切换为导通模式。
15、 根据权利要求 14所述的从节点, 其特征在于,
所述报文发送模块, 还用于在所述状态检测单元检测到一向相邻节点由不 可达转变为可达时, 向另一向相邻节点发送节点状态恢复报文;
所述报文传递模块, 还用于在接收到一向相邻节点发送的节点状态恢复报 文时, 向另一向相邻节点传递所述节点状态恢复报文, 以便所述主节点在接收 到所述节点状态恢复报文之后, 将所述保护业务通道由导通模式切换为阻塞模 式。
16、 根据权利要求 14或 15所述的从节点, 其特征在于, 所述从节点, 还 包括:
所述业务处理模块;
所述业务处理模块, 用于接收到一向相邻节点发送的业务后, 以组播或者 广播方式向另一向相邻节点传递所述业务。
17、 一种环网上菊花链业务系统, 其特征在于, 所述系统包括一个如权利 要求 6至 10任一所述的主节点, 和至少一个如权利要求 14至 16任一所述的从 节点, 所述主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业 务通道可在阻塞模式和导通模式下切换。
18、 一种主节点, 其特征在于, 用于环网上菊花链业务系统, 所述系统中 的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务通道可 在阻塞模式和导通模式下切换, 所述节点包括:
接收机, 用于接收来自相邻节点的节点状态异常报文;
处理器, 用于在所述接收机接收到所述节点状态异常报文之后, 将所述保 护业务通道由阻塞模式切换为导通模式。
19、 根据权利要求 18所述的主节点, 其特征在于:
所述接收机, 还用于接收来自相邻节点的节点状态恢复报文;
所述处理器, 还用于在所述接收机接收到所述节点状态恢复报文之后, 将 所述保护业务通道由导通模式切换为阻塞模式。
20、 根据权利要求 18或 19所述的主节点, 其特征在于, 所述主节点, 还 包括: 存储器;
所述存储器, 用于预先存储有所有节点的拓朴信息;
所述处理器, 还用于在所述接收机接收到所述节点状态异常报文之后, 根 据所述存储器存储的拓朴信息和所述节点状态异常报文检测故障类型;
所述处理器, 还用于若检测到的所述故障类型为节点故障或多处故障, 将 所述保护业务通道由阻塞模式切换为导通模式。
21、 根据权利要求 20所述的主节点, 其特征在于, 所述节点状态异常报文 包括正常节点与所述正常节点的一向相邻节点之间的路径不可达信息, 所述处 理器, 具体用于:
若来自两向相邻节点的节点状态异常报文中的正常节点为不相邻的两个节 点, 则检测到的所述故障类型为节点故障或多处故障;
若来自两向相邻节点的节点状态异常报文中的正常节点为相邻的两个节 点, 则检测到的所述故障类型为链路故障。
22、 根据权利要求 18至 21任一所述的主节点, 其特征在于, 所述主节点, 还包括:
发射机;
所述发射机, 用于在所述接收机接收到来自源节点的业务后, 以组播或者 广播方式向相邻节点传递所述业务。
23、 一种从节点, 其特征在于, 用于环网上菊花链业务系统, 所述系统中 的主节点和最后一个从节点之间建立有保护业务通道, 且所述保护业务通道可 在阻塞模式和导通模式下切换, 所述从节点, 包括:
处理器, 用于检测相邻节点的状态信息;
发射机, 用于在所述处理器检测到一向相邻节点不可达时, 向另一向相邻 节点发送节点状态异常报文;
所述处理器, 还用于在接收机接收到一向相邻节点发送的节点状态异常报 文后, 向另一向相邻节点传递所述节点状态异常报文, 以便所述主节点在接收 到所述节点状态异常报文之后, 将所述保护业务通道由阻塞模式切换为导通模 式。
24、 根据权利要求 23所述的从节点, 其特征在于,
所述发射机, 还用于在所述处理器检测到一向相邻节点由不可达转变为可 达时, 向另一向相邻节点发送节点状态恢复报文;
所述发射机, 还用于在所述接收机接收到一向相邻节点发送的节点状态恢 复报文时, 向另一向相邻节点传递所述节点状态恢复报文, 以便所述主节点在 接收到所述节点状态恢复报文之后, 将所述保护业务通道由导通模式切换为阻 塞模式。
25、 根据权利要求 23或 24所述的从节点, 其特征在于, 所述从节点, 包 括:
所述发射机, 用于所述接收机接收到一向相邻节点发送的业务后, 以组播 或者广播方式向另一向相邻节点传递所述业务。
26、 一种环网上菊花链业务系统, 其特征在于, 所述系统包括一个如权利 要求 18至 22任一所述的主节点, 和至少一个如权利要求 23至 25任一所述的 从节点, 所述主节点和最后一个从节点之间建立有保护业务通道, 且所述保护
业务通道可在阻塞模式和导通模式下切换。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201280002375.0A CN103404091B (zh) | 2012-11-22 | 2012-11-22 | 业务保护方法、设备及系统 |
PCT/CN2012/085009 WO2014079010A1 (zh) | 2012-11-22 | 2012-11-22 | 业务保护方法、设备及系统 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2012/085009 WO2014079010A1 (zh) | 2012-11-22 | 2012-11-22 | 业务保护方法、设备及系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014079010A1 true WO2014079010A1 (zh) | 2014-05-30 |
Family
ID=49565859
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/085009 WO2014079010A1 (zh) | 2012-11-22 | 2012-11-22 | 业务保护方法、设备及系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103404091B (zh) |
WO (1) | WO2014079010A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11108623B2 (en) | 2019-01-25 | 2021-08-31 | Hewlett Packard Enterprise Development Lp | Rapid owner selection |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104297666B (zh) * | 2014-08-22 | 2017-12-29 | 惠州市亿能电子有限公司 | 一种菊花链电路异常位置诊断方法 |
CN115801642B (zh) * | 2023-02-13 | 2023-05-30 | 深圳市泛联信息科技有限公司 | 基于状态控制的rdma通讯管理模块、方法、设备及介质 |
CN117319122A (zh) * | 2023-08-31 | 2023-12-29 | 华为技术有限公司 | 通信方法、装置、系统和车辆 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1901399A (zh) * | 2006-07-10 | 2007-01-24 | 京信通信技术(广州)有限公司 | 可自适应调整组网方式的直放站系统及其数据交互方法 |
CN101262401A (zh) * | 2007-12-28 | 2008-09-10 | 上海自动化仪表股份有限公司 | 一种环形网络中实现网络恢复的方法 |
CN101807950A (zh) * | 2010-02-25 | 2010-08-18 | 福建三元达通讯股份有限公司 | 一种直放站系统实现环路自愈功能的方法 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102006218B (zh) * | 2009-09-03 | 2014-07-16 | 中兴通讯股份有限公司 | 隧道保护方法及装置 |
CN102291290A (zh) * | 2011-08-08 | 2011-12-21 | 浙江中控技术股份有限公司 | 以太环网故障检测、连接的方法和系统 |
-
2012
- 2012-11-22 WO PCT/CN2012/085009 patent/WO2014079010A1/zh active Application Filing
- 2012-11-22 CN CN201280002375.0A patent/CN103404091B/zh not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1901399A (zh) * | 2006-07-10 | 2007-01-24 | 京信通信技术(广州)有限公司 | 可自适应调整组网方式的直放站系统及其数据交互方法 |
CN101262401A (zh) * | 2007-12-28 | 2008-09-10 | 上海自动化仪表股份有限公司 | 一种环形网络中实现网络恢复的方法 |
CN101807950A (zh) * | 2010-02-25 | 2010-08-18 | 福建三元达通讯股份有限公司 | 一种直放站系统实现环路自愈功能的方法 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11108623B2 (en) | 2019-01-25 | 2021-08-31 | Hewlett Packard Enterprise Development Lp | Rapid owner selection |
Also Published As
Publication number | Publication date |
---|---|
CN103404091B (zh) | 2016-09-28 |
CN103404091A (zh) | 2013-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103155485B (zh) | 基于快速洪泛的快速收敛以从网络故障恢复的方法和路由器 | |
US9722916B2 (en) | Data-plane driven fast protection mechanism for MPLS pseudowire services | |
CN102377601B (zh) | 一种lsp故障通告方法和装置 | |
EP2555476A1 (en) | Method, system and device for protecting multicast in communication network | |
CN102137009B (zh) | 网络中的二层业务处理方法和系统以及设备 | |
CN100512128C (zh) | 保护组播转发路径的方法和系统和业务路由器 | |
WO2008046358A1 (en) | A method and device to realize punch-through of point-to-multipoint network link status | |
WO2010045832A1 (zh) | 用于以太环网的链路聚合组的保护方法及装置 | |
CN100493006C (zh) | 一种环路故障检测方法、子环主节点以及子环 | |
EP3217608B1 (en) | Switchback delay methods and devices | |
US10250492B2 (en) | Segment recovery in connection-oriented network | |
CN108243114B (zh) | 一种转发报文的方法、设备及系统 | |
CN103023771A (zh) | 环形拓扑网络的故障处理方法、装置和一种路由设备 | |
CN103023665B (zh) | 一种组播业务保护的方法、网络设备和系统 | |
CN110417564B (zh) | 全网状的链路保护方法、装置、设备及存储介质 | |
US8630162B2 (en) | Fast flooding based fast convergence architecture | |
WO2013178098A1 (zh) | 域间故障信息的发送方法及装置 | |
CN104253745A (zh) | 一种路由撤销方法和网络设备 | |
WO2015032356A1 (zh) | 网络保护方法、装置、下环节点及系统 | |
CN108075968A (zh) | 一种网络系统及伪线业务处理方法 | |
WO2013049981A1 (zh) | 一种基于共享通道的混合环网保护方法及系统 | |
WO2012171164A1 (zh) | 一种网络安全保护方法、装置及系统 | |
CN107431655A (zh) | 分段保护中的故障传播 | |
WO2014079010A1 (zh) | 业务保护方法、设备及系统 | |
CN102238067A (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: 12888641 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12888641 Country of ref document: EP Kind code of ref document: A1 |