WO2015165033A1 - Processing method for supporting resource sharing by services with mixed granularities, and nodes - Google Patents
Processing method for supporting resource sharing by services with mixed granularities, and nodes Download PDFInfo
- Publication number
- WO2015165033A1 WO2015165033A1 PCT/CN2014/076463 CN2014076463W WO2015165033A1 WO 2015165033 A1 WO2015165033 A1 WO 2015165033A1 CN 2014076463 W CN2014076463 W CN 2014076463W WO 2015165033 A1 WO2015165033 A1 WO 2015165033A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- order service
- node
- message
- protection path
- order
- Prior art date
Links
- 235000019580 granularity Nutrition 0.000 title abstract description 230
- 238000003672 processing method Methods 0.000 title abstract description 11
- 238000011144 upstream manufacturing Methods 0.000 claims abstract description 204
- 238000000034 method Methods 0.000 claims abstract description 114
- 230000008569 process Effects 0.000 claims description 43
- 230000006978 adaptation Effects 0.000 claims description 17
- 238000012545 processing Methods 0.000 claims description 16
- 238000010586 diagram Methods 0.000 description 16
- 230000003287 optical effect Effects 0.000 description 9
- 230000011664 signaling Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 238000012423 maintenance Methods 0.000 description 5
- 238000004904 shortening Methods 0.000 description 5
- 230000002085 persistent effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/03—Arrangements for fault recovery
- H04B10/032—Arrangements for fault recovery using working and protection systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a processing method and a node for supporting a hybrid granularity service shared resource. Background technique
- SMP Shared Mesh Protection
- SMP Shared Mesh Protection
- the SMP technology allows multiple service paths with service protection paths separated by paths (i.e., multiple service work paths are not required to have the same start and end nodes, as shown in Figure 1 below).
- the scenario for supporting the shared resource of the hybrid granularity service is as follows:
- the first service working path W1 is between the node A and the node E, and the first service working path supports the low-order service optical channel data unit.
- the corresponding first service protection path is node A-node B-node C-node D-node E, and the first service protection path supports low-order services, where A to the node B and the node D to the node E segment path support the low-order service ODUj, the node B-node C-node D segment path supports the high-order service ODUk: the node F to the node G is the second service working path W2, The second service working path supports the high-order service ODUk, and the corresponding second service protection path is the node F-node B-node C-node D-node G, wherein the node F-node B-node C-node D-node The G segment path supports the high-order service ODUk (j, the value of k can be 0, 1, 2, 3, 4, representing different 0DU granularity, the default in the prior art: j ⁇
- each node needs to switch the service carried on the working path to the protection path.
- the service carried on the protection path is rolled back to the working path.
- the same node shared by the protection path of the hybrid granularity service can only be adapted to a single granularity service, that is, in the scenario of FIG. 1, the node B, the node C, and the node D only A message that can support a certain granularity (ODUk or ODUj) overhead is transmitted, and cannot support multiple granularity overhead messages at the same time, thereby reducing the working efficiency of the intermediate node.
- the embodiment of the present invention provides a processing method and a node for supporting a hybrid granularity service shared resource, and solves the problem that the intermediate node shared by the protection path shared by the hybrid granularity service in the prior art cannot simultaneously support multiple granularity overhead messages, and reduces the middle.
- the problem of node productivity is a problem that the intermediate node shared by the protection path shared by the hybrid granularity service in the prior art cannot simultaneously support multiple granularity overhead messages, and reduces the middle.
- an embodiment of the present invention provides a method for supporting a hybrid granularity service shared resource, where the method includes:
- the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path.
- the intermediate node When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead; And the receiving port of the downstream neighboring node is adapted to a high-order granularity; when the intermediate node receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead, The intermediate node establishes an intersection.
- the intermediate node before the sending, by the intermediate node, the first message to the downstream neighboring node in the high-order service protection path, the intermediate node further includes: when the high-order When the service protection path is an available path, the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
- the method further includes:
- the intermediate node When the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity, and the intermediate node passes The low-order service overhead sends the first message to the downstream neighboring node.
- an embodiment of the present invention provides a method for supporting a shared resource of a hybrid granularity service, where the method includes:
- the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path.
- the intermediate node When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead; Adapting the receiving ports of the upstream neighboring node and the downstream neighboring node to a high-order granularity;
- the intermediate node When the intermediate node receives the second message sent by the downstream neighboring node according to the first message by the high-order service overhead, the intermediate node establishes an intersection.
- the method further includes:
- the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
- the method further includes:
- the intermediate node When the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity, and the intermediate node passes The low-order service overhead sends the first message to the downstream neighboring node.
- an embodiment of the present invention provides a support for hybrid granularity service sharing resources.
- the method includes:
- the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path.
- the intermediate node When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a high-order service overhead; And the receiving port of the upstream neighboring node is adapted to a high-order granularity; when the intermediate node receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead, The intermediate node establishes an intersection.
- the method further includes:
- the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
- the method further includes:
- the intermediate node when the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node sends the first message to the downstream neighboring node by using the high-order service overhead.
- an embodiment of the present invention provides a protection method for supporting a hybrid granular service shared resource, where the method includes:
- the intermediate node receives the first message sent by the upstream neighboring node in the high-order service protection path by using a low-order service overhead;
- the intermediate node sends the first message to a downstream neighboring node in the high-order service protection path by using the low-order service overhead, where the first message is used to be in the high-order service protection path.
- Each node maintains the high-order service protection path.
- the method before the receiving, by the intermediate node, the first message sent by the upstream neighboring node in the high-order service protection path by using the low-order service overhead, the method further includes:
- the intermediate node receives a second message that is sent by the upstream neighboring node of the high-order service protection path by using a high-order service overhead;
- the intermediate node adapts the granularity of the high-order service protection path with the downstream neighboring node to a low-order service overhead, and tears down the established with the downstream neighboring node.
- the granularity of the high-order service protection path is adapted to low-order service overhead, and the intersection established with the intermediate node is removed.
- the first message includes the message type, an identifier of the high-order service working path, The granularity of the high-order service working path and the time slot required for protection switching after the high-order service working path fails.
- an embodiment of the present invention provides a switching node that supports a hybrid granularity service shared resource, where the switching node includes:
- a receiving unit configured to receive, when the high-order service working path protected by the high-order service protection path is faulty, the first message sent by the upstream neighboring node in the high-order service protection path by using a high-order service overhead ;
- a determining unit configured to determine, according to the first message, whether the high-order service protection path is Available path
- a sending unit configured to: when the high-order service protection path is an available path, send the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead; When the high-order service protection path is an available path, the receiving port of the downstream neighboring node is adapted to a high-order granularity;
- an establishing unit configured to establish an intersection when the receiving unit receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead.
- the sending unit is further configured to: when the high-order service protection path is an available path, use a low-order service overhead to be in a downstream phase in the high-order service protection path. Before the neighboring node sends the first message, sending the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
- the adapting unit is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node,
- the receiving port is adapted to a low-order granularity
- the sending unit is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, send the first to the downstream neighboring node by using the low-order service overhead Message.
- an embodiment of the present invention provides a switching node that supports a hybrid granularity service shared resource, where the switching node includes:
- a receiving unit configured to receive, when the high-order service working path protected by the high-order service protection path is faulty, the first message sent by the upstream neighboring node in the high-order service protection path by using a low-order service overhead ;
- a determining unit configured to determine, according to the first message, whether the high-order service protection path is an available path
- a sending unit configured to: when the high-order service protection path is an available path, pass the low-order service Transmitting the first message to the downstream neighboring node in the high-order service protection path;
- the adapting unit configured to: when the high-order service protection path is an available path, respectively
- the receiving ports of the neighboring node and the downstream neighboring node are adapted to a high-order granularity;
- an establishing unit configured to establish an intersection when the receiving unit receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead.
- the sending unit is further configured to: after the adapting unit respectively adapts a receiving port of the upstream neighboring node and the downstream neighboring node to a high-order granularity, And transmitting, by the high-order service overhead, the second message to the upstream neighboring node, so that the upstream neighboring node establishes an intersection according to the second message.
- the adapting unit is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node,
- the receiving port is adapted to a low-order granularity
- the sending unit is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, send the first to the downstream neighboring node by using the low-order service overhead Message.
- the embodiment of the present invention provides a switching node that supports a mixed-granular service shared resource, where the switching node includes:
- a receiving unit configured to receive, when the high-order service working path protected by the high-order service protection path is faulty, the first message sent by the upstream neighboring node in the high-order service protection path by using a low-order service overhead ;
- a determining unit configured to determine, according to the first message, whether the high-order service protection path is an available path
- a sending unit configured to: when the high-order service protection path is an available path, send the first message to a downstream neighboring node that is in the high-order service protection path by using a high-order service overhead; When the high-order service protection path is an available path, the receiving port of the upstream neighboring node is adapted to a high-order granularity; And an establishing unit, configured to establish an intersection when the receiving unit receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead.
- the sending unit is further configured to: after the adapting unit adapts the receiving port of the upstream neighboring node to a high-order granularity, by using the high-order service overhead
- the upstream neighbor node sends the second message, so that the upstream neighboring node establishes an intersection according to the second message.
- the sending unit is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, by using the high-order service overhead The downstream neighbor node sends the first message.
- an embodiment of the present invention provides a protection node that supports a hybrid granular service shared resource, where the protection node includes:
- a receiving unit configured to: when the high-order service working path protected by the high-order service protection path is normal, receive a first message sent by an upstream neighboring node in the high-order service protection path by using a low-order service overhead;
- a sending unit configured to send, by using the low-order service overhead, the first message to a downstream neighboring node in the high-order service protection path, where the first message is used to enable the high-order service protection path
- Each node in the node maintains the high-order service protection path.
- the protection node before the receiving unit receives the first message sent by the upstream neighboring node in the high-order service protection path by using the low-order service overhead, the protection node further includes:
- the receiving unit is further configured to: when the high-order service working path has recovered from a fault to a normal state, receive a second message sent by the upstream neighboring node in the high-order service protection path by using a high-order service overhead. ;
- the sending unit is further configured to: send, by the high-order service overhead, the second message to the downstream neighboring node that is in the high-order service protection path;
- the receiving unit is further configured to: receive, by the downstream neighboring node, by using the high-order service overhead The third message sent;
- an adaptation removal unit configured to adapt, according to the third message, a granularity of the high-order service protection path between the downstream neighboring node to a low-order service overhead, and remove the adjacent to the downstream The intersection established by the node;
- the sending unit is further configured to send the third message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node and the protection node according to the third message
- the granularity of the high-order service protection path between the two is adapted to a low-order service overhead, and the intersection established with the protection node is removed.
- the first message received by the receiving unit includes the message type, the high-order service works The identifier of the path, the granularity of the high-order service working path, and the time slot required for protection switching after the high-order service working path fails.
- an embodiment of the present invention provides a switching node that supports a hybrid granularity service shared resource, where the switching node includes:
- An application physically stored in the memory including instructions operable to cause the processor to perform the following process:
- the application further includes instructions operable to cause the processor to perform the following process:
- the high-order service overhead is used before the first message is sent to the downstream neighboring node in the high-order service protection path by the low-order service overhead.
- the upstream neighbor node sends the second message, so that the upstream neighboring node establishes an intersection according to the second message.
- the application further includes instructions operable to cause the processor to perform the following process:
- the receiving port of the downstream neighboring node is adapted to a low-order service overhead, and the downstream phase is used to pass the low-order service overhead
- the neighbor node sends the first message.
- the embodiment of the present invention provides a switching node that supports a hybrid service of a granularity service, where the switching node includes:
- An application physically stored in the memory including instructions operable to cause the processor to perform the following process:
- the application further includes instructions operable to cause the processor to perform the following process:
- the second message is sent to the upstream neighboring node by the high-order traffic overhead, so that The upstream neighboring node establishes an intersection according to the second message.
- the application further includes instructions operable to cause the processor to perform the following process:
- the receiving port of the downstream neighboring node is adapted to a low-order service overhead, and the downstream phase is used to pass the low-order service overhead
- the neighbor node sends the first message.
- an embodiment of the present invention provides a switching node that supports a mixed-granular service shared resource, where the switching node includes:
- An application physically stored in the memory including instructions operable to cause the processor to perform the following process:
- the application further includes instructions operable to cause the processor to perform the following process:
- the second message is sent to the upstream neighboring node by the high-order granularity overhead, so that the upstream neighboring node is configured according to the The second message is established to cross.
- the application further includes instructions operable to cause the processor to perform the following process:
- an embodiment of the present invention provides a protection node that supports a hybrid granular service shared resource, where the protection node includes:
- An application physically stored in the memory including instructions operable to cause the processor to perform the following process:
- the first message includes the message type, an identifier of the high-order service working path, The service overhead of the high-order service working path and the time slot required for protection switching after the high-order service working path fails.
- the intermediate node receives the first message sent by the upstream neighboring node through the high-order service overhead, when When the high-order service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order service overhead, and when the downstream neighboring node is received through the high When the second message is sent by the level service overhead, a cross is established.
- the intermediate node shared by the protection path of the hybrid granularity service cannot simultaneously support the message with multiple granularity overheads, and reduces the working efficiency of the intermediate node.
- the processing method and node for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention overcome the limitations of the prior art solution and improve the working efficiency of the intermediate node.
- FIG. 1 is an ODU SMP application scenario supporting different granularity sharing in the prior art
- FIG. 3 is a protection signaling diagram of a hybrid granularity service shared resource according to an embodiment of the present invention
- FIG. 4 is a back-off signaling diagram of a hybrid granularity service shared resource according to an embodiment of the present invention
- FIG. 6 is a schematic diagram of a switching signaling manner of supporting a hybrid granularity service shared resource according to an embodiment of the present invention
- FIG. 6 is a flow chart of a method for switching a hybrid granularity service shared resource according to Embodiment 3 of the present invention
- FIG. 8 is a flow chart of a method for switching a hybrid granularity service shared resource according to Embodiment 4 of the present invention.
- FIG. 9 is a schematic diagram of a structure of a protection node supporting a hybrid granularity service shared resource according to Embodiment 5 of the present invention.
- FIG. 10 is a schematic diagram showing a structure of an switching node supporting a hybrid granularity service shared resource according to Embodiment 6 of the present invention.
- FIG. 1 is a schematic structural diagram of a switching node supporting a hybrid granularity service shared resource according to Embodiment 7 of the present invention
- FIG. 12 is a schematic diagram showing a structure of an switching node supporting a hybrid granularity service shared resource according to Embodiment 8 of the present invention.
- FIG. 13 is a schematic structural diagram of a protection node hardware supporting a hybrid granularity service shared resource according to Embodiment 9 of the present invention.
- FIG. 14 is a schematic structural diagram of a switching node hardware supporting a hybrid granularity service shared resource according to Embodiment 10 of the present invention.
- FIG. 15 is a schematic structural diagram of a hardware structure of a switching node supporting a hybrid granularity service shared resource according to Embodiment 11 of the present invention.
- FIG. 16 is a schematic structural diagram of a hardware structure of a switching node supporting a hybrid granularity service shared resource according to Embodiment 12 of the present invention. detailed description
- the following takes the switching process of the hybrid granularity service shared resource in the prior art as an example.
- the same node shared by the protection path of the hybrid granular service can only be adapted to a single granularity service, that is, In the scenario of Figure 1, Node B, Node C, and Node D can only support messages with a certain granularity (ODUk or ODUj) overhead, but cannot simultaneously support multiple granularity overhead messages for transmission, and reduce intermediate nodes.
- ODUk or ODUj granularity
- the node A After detecting the fault of the first working path, the node A completes the bridging (that is, the service carried on the first working path is sent to the first protection path), and sends a signal failure to the node B through the low-order service overhead (S I gna l Fa i lure , abbreviated as: SF ) message, after receiving the message, the node B first sends an adaptation message to the node C through the high-order service overhead, and the node C replies to the node B according to the adaptation message and simultaneously with the node B. Establish a connection point for low-level service overhead and complete the adaptation.
- S I gna l Fa i lure abbreviated as: SF
- the node B After receiving the acknowledgment message, the node B also establishes a connection point with the lower-order service overhead with the node C, and completes the adaptation. Then, the node B sends a signal SF message to the node C through the low-order service overhead. Similarly, the node ( Node D is also similar to Node B. Thus, the SF message can be transmitted from Node A to Node E. Node E bridges and selects according to the SF message and returns a reverse request hop by hop (Rever se Reques t, abbreviated as RR) The message, each intermediate node establishes an intersection, and the node A completes the selection according to the RR message (that is, receives the service from the first protection path).
- RR reverse request hop by hop
- the node F After detecting the second working path fault, the node F completes the bridging (that is, sends the service carried on the second working path to the second protection path), and sends the SF message to the node B through the high-order service overhead (not shown in FIG. 1).
- the node B After receiving the SF message, the node B sends the SF message to the node C through the high-order service overhead, and the node C sends the SF message to the node D through the high-order service overhead, and the node D sends the SF message to the node G through the high-order service overhead, the node G bridges and selects according to the SF message, and returns the RR message hop by hop, each intermediate node establishes an intersection, and the node F completes the selection according to the RR message (that is, receives the service from the second protection path).
- FIG. 2 is a flowchart of a method for protecting a hybrid granularity service shared resource according to the first embodiment of the present invention.
- the implementation entity is an intermediate node in the service protection path, and the service protection path is specifically a high-order service protection path or a low-order service protection path, and the high-order service protection path and the low-order service protection path share multiple intermediate nodes.
- Each intermediate node supports the processing of multiple granular data.
- the multiple granularity data can be ODU0, 0DU1, 0DU2, etc.
- multiple granular data can be VC12 (Virtual Container) 12, virtual container 12), VC3, VC4, etc.; in the MPLS (Mult i- Protocol Label Switching) network, the multiple granularity data may be PW (Pseudo Wire), LSP (Label Switched Path, Label switching path) and so on.
- PW Pulseudo Wire
- LSP Label Switched Path, Label switching path
- the protection method for the hybrid granularity service shared resource provided by the embodiment of the present invention is applied to the optical transport network, and the high-order service working path and the low-order service working path are normal, or the high-order service working path is normal, but the low-order service working path is faulty. in the case of.
- this embodiment specifically includes the following steps:
- Step 210 When the high-order service working path protected by the high-order service protection path is normal, the intermediate node receives the first one sent by the upstream neighboring node in the high-order service protection path by using a low-order service overhead. Message.
- the middle The node receives the first message sent by the upstream neighboring node in the high-order service protection path by the low-order service overhead.
- the first message is specifically a 0AM (Operation Administration and Maintenance) message.
- the protection method of the hybrid granularity service shared resource provided by the embodiment of the present invention is applied to the optical transport network, and the first message may be specifically an Automatic Protection Switched (APS) message.
- the APS message includes multiple message types, for example, a non-request message (No Request, abbreviated as NR), a back-off message (Revert, referred to as RT), a reverse request message (Reverse Request, abbreviated as RR), and the like.
- the low-order service is 0DU1; and the high-order service is 0DU2. As shown
- FIG. 3 is a protection signaling diagram supporting a mixed-granular service shared resource.
- a node-to-node E is a low-order service working path, and the low-order service working path supports a low-order service overhead.
- the granularity is 0DU1
- the corresponding low-order service protection path is node A-node B-node C-node D-node E, where node A to node B and node D to node E segment path support low-order service overhead
- granularity For the 0DU1, the node B-node C-node D-segment path supports high-order service overhead
- the granularity is 0DU2: the high-order service working path is supported between the node F and the node G.
- the high-order service working path supports high-order service overhead and granularity.
- the corresponding high-order service protection path is 0DU2, and the node F-node B-node C-node D-node G, wherein the node F-node B-node C-node D-node G segment path supports high-order service overhead , the granularity is 0DU2.
- the granularity of the low-order service is smaller than the granularity of the high-order service.
- Node A and node E are end nodes of the low-order service protection path.
- node F and node G are end nodes of the high-order service protection path;
- node B, node (and node D are intermediate nodes, and both support A plurality of granularities;
- node A and node F are upstream neighbor nodes of the node B on the low-order service protection path and the high-order service protection path, respectively, and
- node C is the node B on the low-order service protection path and the high-order service protection path.
- the downstream adjacent nodes, the upstream and downstream nodes of other nodes are not described again.
- the upstream is the direction from the sink node to the source node on the path
- the downstream is the direction from the source node to the sink node on the path.
- the high-order service working path and the low-order service working path are both normal.
- the node B receives the node A at the same time.
- the first message sent by the node F through the low-order service overhead, that is, the Node B receives the first message sent by the node A, and receives the first message sent by the node F.
- node C when the intermediate node is node C, node C receives the two first messages sent by node B through the low-order service overhead.
- node D when the intermediate node is node D, node D receives the two first messages sent by node C through the low-order traffic overhead.
- the first message When the first message received by the Node B is sent by the node A, the first message includes a message type, an identifier of a low-order service working path, a granularity of a low-order service working path, and protection after a low-order service working path fails. Switch the required time slot.
- the first message includes an overhead part and a data part, where the overhead part includes a message type, an identifier of a low-order service working path, a granularity of a low-order service working path, and a protection switching after a low-order service working path fails.
- the message type is specifically an unsolicited message type.
- the first message is specifically an NR message; the identifier of the low-order service working path is W1; and the service granularity of the low-order service working path is 0DU1;
- the time slots required for protection switching after a low-order service working path failure are TS#1 ⁇ TS#2.
- the first message When the first message received by the Node B is sent by the node F, the first message includes a message type, an identifier of a high-order service working path, a granularity of a high-order service working path, and protection after a high-order service working path fails. Switch the required time slot.
- the first message includes an overhead part and a data part, where the overhead part includes a message type, an identifier of a high-order service working path, a granularity of a high-order service working path, and a protection switching after a high-order service working path fails.
- the message type is specifically an unsolicited message type.
- the first message is specifically an NR message; the identifier of the high-order service working path is W2; and the service granularity of the high-order service working path is 0DU2;
- the time slots required for protection switching after a high-order service working path failure are TS#1 ⁇ TS#8.
- Step 220 The intermediate node sends the first message to a downstream neighboring node in the high-order service protection path by using the low-order service overhead, where the first message is used to enable the high-order service.
- Each node in the protection path maintains the high-order service protection path.
- the intermediate node after the intermediate node receives the first message sent by the upstream neighboring node through the low-order service overhead, the intermediate node sends the first message to the downstream neighboring node in the high-order service protection path by using the low-order service overhead.
- the first message is used to maintain the high-order service protection path by each node in the high-order service protection path.
- the intermediate node is the Node B
- the Node B sends two first messages to the Node C through the low-order service overhead.
- node C When the intermediate node is node C, node C sends two first messages to node D through low-order traffic overhead.
- node D When the intermediate node is node D, node D sends the first message to node G and node E respectively through low-order service overhead.
- Each node in the service protection path receives the first message belonging to the respective service protection path, and maintains the path according to the first message, and the high-order and low-order service protection paths send the first message through the low-order service overhead.
- the intermediate node in the case that the working path is normal, the intermediate node cannot simultaneously support the message with multiple granularity overheads on the protection path, and the problem that the protection path is faulty cannot be sensed in time.
- the first message received by the intermediate node is initiated and maintained by the source end node in the service protection path.
- the intermediate node may also receive the first message sent by the sink node. Maintenance is initiated by the sink node.
- the maintenance process performed by the intermediate node is the same as the foregoing, and is not repeated here.
- the service carried by the working path and the protection path may be a one-way service or a two-way service.
- the method further includes the step of the intermediate node rolling back the service carried by the service protection path to the service working path when the service working path has been restored from the fault path to the normal path.
- the intermediate node maintains the service cost of the low-order service protection path as a low-order service overhead, and adapts the service cost of the high-order service protection path to the low-order service cost, so that the intermediate node performs the high-order service protection path.
- the first message is sent using the low-order service overhead, and the low-order service protection path still uses the low-order service overhead to send the first message.
- the intermediate node receives a second message that is sent by the upstream neighboring node of the high-order service protection path by using a high-order service overhead;
- the intermediate node adapts the granularity overhead of the high-order service protection path with the downstream neighboring node to a low-order service overhead, and tears down and establishes with the downstream neighboring node.
- the granularity of the high-order service protection path is adapted to low-order service overhead, and the intersection established with the intermediate node is removed.
- the intermediate node receives the second message sent by the upstream neighboring node in the high-order service protection path through the high-order service overhead; the intermediate node passes the high-order service.
- the overhead sends a second message to the downstream neighboring node in the high-order service protection path, where the second message is used to determine that each intermediate node determines that the high-order service working path is a normal path; and the intermediate node receives the downstream neighboring node through the high-order service.
- the third message sent by the overhead According to the third message, the intermediate node adapts the granularity of the high-order service protection path with the downstream neighboring node to the low-order service overhead, and tears the intersection established with the downstream neighboring node; the intermediate node passes the high-order service overhead upward
- the neighboring node sends a third message, so that the upstream neighboring node adapts the granularity of the high-order service protection path with the intermediate node to the low-order service overhead according to the third message, and tears the intersection established with the intermediate node.
- FIG. 4 is a back-off signaling diagram supporting mixed-granular service shared resources.
- the granularity of each node and path is the same as that in the figure shown in FIG. 3, and will not be repeated here.
- the intermediate node keeps the granularity of the low-order service protection path as the low-order service cost, and the service carried in the low-order service protection path is rolled back to the low-order service working path as the prior art, and will not be repeated again.
- the following takes the case where the service carried on the high-order service protection path is rolled back to the high-order service working path as an example.
- the node F detects the high-order service working path fault elimination, and when returning to the normal path, the node F sends the second message to the node B through the high-order service overhead; the node B also sends the high-order service overhead to the node C.
- the second message, and so on, until the node D sends the second message to the node G through the high-order service overhead the node G determines that the high-order service working path is the normal path according to the second message, and the node G passes the high-order service overhead to the node D.
- the node D adapts the granularity of the high-order service protection path between the node G and the node G to the low-order service overhead according to the third message, and tears the intersection established with the node G, and the node D passes the high-order service overhead.
- Node C sends a third message.
- node C adapts the granularity of the high-order service protection path with node D to low-order service overhead, and tears the intersection established with node D.
- node B node F adapts the granularity of the high-order service protection path between the downstream neighboring nodes to the low-order service overhead, and removes the intersection established with the downstream adjacent nodes, and then the intermediate section
- the granularity of the low-order service protection path is low-level service overhead, and the granularity of the high-order service protection path is rolled back to the low-order service cost, so that the intermediate node uses the low-order service overhead when maintaining the high-order service protection path.
- the automatic protection switching message is sent, and the low-order service protection path still uses the low-order service overhead to send an automatic protection switching message.
- the second and third messages include an overhead part and a data part, where the overhead part includes a message type and an identifier of a high-order service working path.
- the message type is specifically a back-off message type (Rever t, abbreviated as RT) or a reverse request message type (Rever se Reque st, abbreviated as RR).
- the second message is specifically an RT message
- the third The message is specifically an RR message; the identifier of the high-order service working path is W2.
- the intermediate node when the high-order service working path is normal, receives the upstream neighboring node in the high-order service protection path and sends the low-order service overhead.
- the first message is sent to the downstream neighboring node in the high-order service protection path, so that each intermediate node in the high-order service protection path maintains the high-order service protection path.
- the intermediate node in the case that the working path is normal, cannot simultaneously support the message with multiple granularity overheads on the protection path, and the problem that the protection path is faulty cannot be sensed in time.
- the method for protecting the shared resource of the mixed granularity service provided by the embodiment of the present invention overcomes the limitations of the prior art solution and improves the working efficiency of the intermediate node.
- FIG. 5 is a flowchart of a method for switching a hybrid granularity service shared resource according to Embodiment 2 of the present invention.
- the implementation entity is an intermediate node in the service protection path, and the service protection path is specifically a high-order service protection path or a low-order service protection path, and the high-order service protection path and the low-order service protection path share multiple intermediate nodes.
- Each intermediate node supports the processing of multiple granular services.
- the switching method for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention is applied to the case where the high-order service working path in the optical network system is a fault path. As shown in Figure 5, this embodiment specifically includes the following steps:
- Step 51 When the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the same high-order service protection. The first message sent by the upstream neighboring node in the path through the high-order service overhead.
- the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path and sends the high-order service overhead through the high-order service overhead.
- the first news when the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path and sends the high-order service overhead through the high-order service overhead.
- the first message includes an overhead part and a data part, where the overhead part includes a message type, an identifier of a high-order service working path, a granularity of a high-order service working path, and a time required for protection switching after a high-order service working path fails.
- the message type is specifically a signal invalidation message type.
- the first message is specifically an SF message; the identifier of the high-order service working path is W2; and the service granularity of the high-order service working path is 0DU2;
- the time slots required for protection switching after a high-order service working path failure are TS#1 ⁇ TS#8.
- the identifier of the low-order service working path is W1 and the service granularity of the low-order business working path is 0DU1.
- FIG. 6 is a schematic diagram of a switching signaling supporting a hybrid granularity service shared resource according to an embodiment of the present invention.
- the granularity of each node and path is the same as that in the figure shown in Fig. 3, and will not be repeated here.
- the intermediate node is specifically a node B
- the upstream neighboring node of the node B is the node F
- the downstream neighboring node is the node (the node F detects the service working path fault between the node and the node G, then The node F initiates a switching process, and sends an SF message to the Node B through a high-order granularity overhead.
- the Node B receives the SF message.
- Step 520 The intermediate node determines, according to the first message, whether the high-order service protection path is an available path.
- the intermediate node determines whether the high-order service protection path is an available path.
- the Node B determines, according to the identifier included in the SF message, a high-order service protection path (Node F-Node B-Node C-Node D-Node G) corresponding to the high-order service working path.
- the Node B determines whether the high-order service protection path is an available path.
- the available path is specifically Whether the high-order service protection path is a normal path, or whether the bandwidth of the high-order service protection path is not occupied by other services.
- Step 530 When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead.
- the intermediate node when the high-order service protection path is an available path, the intermediate node sends the first message to the downstream neighboring node that is in the high-order service protection path by the low-order service.
- the node B after the node B determines that the high-order service protection path is an available path, the node B sends the SF message to the node C through the low-order service overhead.
- Step 540 The intermediate node adapts the receiving port of the downstream neighboring node to a high-order granularity.
- the intermediate node after sending the first message to the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a high-order granularity, so as to send and receive messages through the high-order service overhead with the downstream neighboring node.
- the node B after transmitting the SF message to the node C, the node B adapts the receiving port of the node C to a high-order granularity.
- Step 550 When the intermediate node receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead, the intermediate node establishes an intersection.
- the intermediate node when the intermediate node receives the second message sent by the downstream neighboring node according to the first message through the high-order service overhead within a preset time (for example, 5 s), the intermediate node establishes a crossover.
- a preset time for example, 5 s
- each node on the low-order service protection path can directly send the SF message by using the low-order service overhead, and the switching process is the existing technology, and is no longer used again. repeat.
- the switching process performed by the node B is the same as the foregoing, and is not repeated here.
- the intermediate node After the intermediate node sends the SF message to the downstream neighboring node, it will adapt to the receiving port of the downstream neighboring node, and when receiving the RR message sent by the downstream neighboring node, establish a crossover, thereby shortening the switching time and improving the middle.
- the working efficiency of the node, at the same time, each intermediate node can receive messages with multiple granularity overheads at the same time, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time.
- the second message includes an overhead part and a data part, where the overhead part includes a message type, an identifier of a high-order service working path, a granularity of a high-order service working path, and a time required for protection switching after a high-order service working path fails.
- the message type is specifically a reverse request message type.
- the second message is specifically an RR message; the identifier of the high-order service working path is W2; and the service granularity of the high-order service working path is 0DU2;
- the time slots required for protection switching after the high-order service working path failure are TS#1 ⁇ TS#8.
- the Node B when the Node B receives the RR message sent by the Node C through the high-order service according to the SF message, the Node B establishes an intersection.
- the step of transmitting, by the intermediate node, the second message by using the high-order service overhead to the upstream neighboring node, by using the step, the upstream neighboring node may establish a cross according to the second message, thereby shortening
- the switching time improves the working efficiency of the node.
- each node can receive messages with multiple granularity overheads at the same time, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time. Specific steps are as follows:
- the intermediate node When the high-order service protection path is an available path, the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node is configured according to the The second message establishes a cross.
- the node B when the high-order service protection path is an available path, the node B sends an RR message to the node F through the high-order service overhead, so that the node F establishes an intersection according to the RR message.
- the intermediate node when the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity, and passes the low-order
- the step of the service overhead sending the first message to the downstream neighboring node again, and then performing again Adapt, create a cross.
- the intermediate node When the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity;
- the intermediate node sends the first message to the downstream neighboring node by using the low-order service overhead.
- the intermediate node determines that the downstream node is not successfully adapted, and the intermediate node cancels.
- the previous adaptation with the receiving port of the downstream neighboring node that is, the intermediate node will adapt to the receiving port of the downstream neighboring node to a lower-order granularity; the intermediate node again sends the downstream neighboring node to the downstream neighboring node through the low-order service overhead.
- the first message is further adapted to the downstream neighboring nodes to establish a crossover.
- the Node B when the Node B does not receive the RR message sent by the node C, the Node B adapts the receiving port of the node C to a low-order granularity, and the Node B sends the SF message to the node C again through the low-order service overhead. Then, it is adapted again with the node C to establish a crossover.
- the intermediate node when the high-order service working path is faulty, receives the first message sent by the upstream neighboring node through the high-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to a high-order granularity, and the downstream neighboring node receives the high-order service overhead.
- the second message is sent, a cross is established.
- the method for switching the shared granularity service shared resources provided by the embodiment of the present invention improves the working efficiency of the intermediate node.
- FIG. 3 is a flowchart of a method for supporting a hybrid granularity service shared resource according to Embodiment 3 of the present invention.
- the implementation entity is an intermediate node in the service protection path, and the service protection path is specifically a high-order service protection path or a low-order service protection path, and The high-order service protection path shares a plurality of intermediate nodes with the low-order service protection path, and each intermediate node supports processing of multiple granular services.
- the switching method for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention is applied to the case where the high-order service working path in the optical network system is a fault path. As shown in Figure 7, this embodiment specifically includes the following steps:
- Step 71 When the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream in the high-order service protection path. The first message sent by the neighboring node through the low-order service overhead.
- the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path and sends the low-order service overhead.
- the first news when the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path and sends the low-order service overhead.
- the first message is the same as the first message disclosed in the foregoing Embodiment 2, and is not repeatedly described herein.
- the intermediate node is specifically node C
- the upstream neighbor node of node C is node B
- the downstream neighbor node is node D.
- the node F detects the high-order service working path fault between the node and the node G
- the node F initiates a switching process, and sends an SF message to the node B through the high-order service overhead.
- Node B sends an SF message to Node C through a low-order service overhead
- Node C receives the SF message.
- Step 720 The intermediate node determines, according to the first message, whether the high-order service protection path is an available path.
- the intermediate node determines whether the high-order service protection path is an available path.
- the node C determines a high-order service protection path (node F-node B-node C-node D-node G) corresponding to the high-order service working path according to the identifier included in the SF message.
- the node C determines whether the high-order service protection path is an available path.
- the available path is specifically Whether the high-order service protection path is a normal path, or whether the bandwidth of the high-order service protection path is not occupied by other services.
- Step 730 When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead.
- the intermediate node when the high-order service protection path is an available path, the intermediate node sends the first message to the downstream neighboring node that is in the high-order service protection path by the low-order service.
- the node C after the node C determines that the high-order service protection path is an available path, the node C sends the SF message to the node D through the low-order service overhead.
- Step 740 The intermediate node respectively adapts the receiving ports of the upstream neighboring node and the downstream neighboring node to a high-order granularity.
- the receiving port of the upstream neighboring node and the downstream neighboring node are respectively adapted to a high-order granularity, so as to be adjacent to the upstream neighboring node and the downstream node.
- the neighbor nodes send and receive messages through high-order service overhead.
- the node C after transmitting the SF message to the node D, the node C adapts the receiving ports of the node B and the node D to a high-order granularity.
- Step 750 When the intermediate node receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead, the intermediate node establishes an intersection.
- the intermediate node when the intermediate node receives the second message sent by the downstream neighboring node according to the first message through the high-order service overhead within a preset time (for example, 5 s), the intermediate node establishes a crossover.
- a preset time for example, 5 s
- each node on the low-order service protection path can directly send the SF message by using the low-order service overhead, and the switching process is the existing technology, and is no longer used again. repeat.
- the switching process performed by the node B is the same as the foregoing, and is not repeated here.
- the intermediate node After the intermediate node sends the SF message to the downstream neighboring node, it will adapt to the receiving ports of the upstream neighboring node and the downstream neighboring node respectively, and establish an intersection when receiving the RR message sent by the downstream neighboring node.
- the switching time is shortened, and the working efficiency of the intermediate node is improved.
- each intermediate node can simultaneously receive messages with multiple granularity overheads, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time.
- the second message is the same as the second message disclosed in the second embodiment, and is not repeatedly described herein.
- the node C when the node C receives the RR message that the node D transmits through the high-order service according to the SF message, the node C establishes an intersection.
- the method further includes: sending, by the intermediate node, a second message to the upstream neighboring node by using the high-order service overhead, by using the step, the upstream neighboring node may establish a cross according to the second message, thereby shortening
- the switching time improves the working efficiency of the node.
- each node can receive messages with multiple granularity overheads at the same time, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time. Specific steps are as follows:
- the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
- the intermediate node after the intermediate node adapts the receiving port of the upstream neighboring node and the downstream neighboring node to the high-order granularity, the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node is configured according to the upstream neighboring node.
- the second message establishes a cross.
- the node C after the node C adapts the receiving ports of the node B and the node D to a high-order granularity, the node C sends an RR message to the node B through the high-order service overhead, so that the node B establishes an intersection according to the RR message.
- the intermediate node when the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity, and passes the low-order The step of the service overhead sending the first message to the downstream neighboring node again, and then adapting again to establish the crossover.
- Specific steps are as follows: When the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity;
- the intermediate node sends the first message to the downstream neighboring node by using the low-order service overhead.
- the intermediate node determines that the downstream node is not successfully adapted, and the intermediate node cancels.
- the previous adaptation with the receiving port of the downstream neighboring node that is, the intermediate node will adapt to the receiving port of the downstream neighboring node to a lower-order granularity; the intermediate node again sends the downstream neighboring node to the downstream neighboring node through the low-order service overhead.
- the first message is further adapted to the downstream neighboring nodes to establish a crossover.
- the node C when the node C does not receive the RR message sent by the node D, the node C adapts the receiving port of the node D to a low-order granularity, and the node C sends the SF message to the node D again through the low-order service overhead. Then, it is adapted again with the node D to establish a crossover.
- the intermediate node when the high-order service working path is faulty, receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to a high-order granularity, and the downstream neighboring node receives the high-order service overhead.
- the second message is sent, a cross is established.
- the processing method and the processing node for supporting the mixed granularity service shared resource provided by the embodiment of the present invention improve the working efficiency of the intermediate node.
- FIG. 8 is a flowchart of a method for switching a hybrid granularity service shared resource according to Embodiment 4 of the present invention.
- the implementation entity is an intermediate node in the service protection path, and the service protection path is specifically a high-order service protection path or a low-order service protection path, and the high-order service protection path and the low-order service protection path share multiple intermediate nodes. , each intermediate node Handling of multiple granular services.
- the switching method for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention is applied to the case where the high-order service working path in the optical network system is a fault path. As shown in Figure 8, this embodiment specifically includes the following steps:
- Step 81 When the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream in the high-order service protection path. The first message sent by the neighboring node through the low-order service overhead.
- the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path and sends the low-order service overhead.
- the first news when the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path and sends the low-order service overhead.
- the first message is the same as the first message disclosed in the foregoing Embodiment 2 and Embodiment 3, and is not repeatedly described herein.
- the intermediate node is specifically node D
- the upstream neighbor node of node D is node C
- the downstream neighbor node is node G.
- the node F detects the high-order service working path fault between the node and the node G
- the node F initiates a switching process, and sends an SF message to the node B through the high-order service overhead.
- Node B sends an SF message to node C through low-order service overhead.
- Node C sends an SF message to node D through low-order service overhead, and node D receives the SF message.
- Step 820 The intermediate node determines, according to the first message, whether the high-order service protection path is an available path.
- the intermediate node determines whether the high-order service protection path is an available path.
- the node D determines a high-order service protection path (node F-node B-node C-node D-node G) corresponding to the high-order service working path according to the identifier included in the SF message.
- Node D determines whether the high-order service protection path is an available path. The available path is specifically Whether the high-order service protection path is a normal path, or whether the bandwidth of the high-order service protection path is not occupied by other services.
- Step 830 When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a high-order service overhead.
- the intermediate node when the high-order service protection path is an available path, the intermediate node sends the first message to the downstream neighboring node that is in the high-order service protection path by the high-order service.
- the node D after the node D determines that the high-order service protection path is an available path, the node D sends the SF message to the node D through the high-order service overhead.
- node D to node G segment path supports high-order service overhead.
- Step 840 The intermediate node adapts the receiving port of the upstream neighboring node to a high-order granularity.
- the intermediate node after sending the first message to the downstream neighboring node, the intermediate node adapts the receiving port of the upstream neighboring node to a high-order granularity, so as to send and receive messages through the high-order service overhead with the upstream neighboring node.
- the node D after transmitting the SF message to the node G, the node D adapts the receiving ports of the node C and the node D to a high-order granularity.
- Step 850 When the intermediate node receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead, the intermediate node establishes an intersection.
- the intermediate node when the intermediate node receives the second message sent by the downstream neighboring node according to the first message through the high-order service overhead within a preset time (for example, 5 s), the intermediate node establishes a crossover.
- a preset time for example, 5 s
- each node on the low-order service protection path can directly send the SF message by using the low-order service overhead, and the switching process is the existing technology, and is no longer used again. repeat.
- the switching process performed by the node B is the same as the foregoing, where No longer repeat.
- each intermediate node After the intermediate node sends the SF message to the downstream neighboring node, it will adapt to the receiving port of the upstream neighboring node, and when receiving the RR message sent by the downstream neighboring node, establish a crossover, thereby shortening the switching time and improving the middle.
- the working efficiency of the node, at the same time, each intermediate node can receive messages with multiple granularity overheads at the same time, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time.
- the second message is the same as the second message disclosed in the second embodiment and the third embodiment, and is not repeatedly described herein.
- the node D when the node D receives the RR message sent by the node G through the high-order service according to the SF message, the node D establishes an intersection.
- the step of transmitting, by the intermediate node, the second message by using the high-order service overhead to the upstream neighboring node, by using the step, the upstream neighboring node may establish a cross according to the second message, thereby shortening
- the switching time improves the working efficiency of the node.
- each node can receive messages with multiple granularity overheads at the same time, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time. Specific steps are as follows:
- the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
- the intermediate node after the intermediate node adapts the receiving port of the upstream neighboring node to the high-order granularity, the intermediate node sends the second message to the upstream neighboring node through the high-order service overhead, so that the upstream neighboring node establishes the intersection according to the second message.
- node D after node D adapts the receiving port of node C to a higher-order granularity, node D sends an RR message to node C through high-order service overhead, so that node C establishes a cross according to the RR message.
- the intermediate node when the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node sends the first message to the downstream neighboring node by using the low-order service overhead, and then Establish a cross.
- Specific steps are as follows: When the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node sends the first message to the downstream neighboring node by using the high-order service overhead.
- the intermediate node determines that the downstream neighboring node is not successfully adapted, and the intermediate node again The first message is sent to the downstream neighboring node through the low-order service overhead, and the crossover is established again.
- a preset time for example, 5 s
- the node D when the node D does not receive the RR message sent by the node G, the node D sends the SF message to the node G again through the low-order service overhead, and then establishes the cross again.
- the intermediate node when the high-order service working path is faulty, receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the high-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity, and the downstream neighboring node is sent through the high-order service.
- the second message is when the cross is established.
- the intermediate node cannot simultaneously support the message with multiple granularity overheads, and reduces the work efficiency of the intermediate node.
- the processing method and the processing node for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention improve the working efficiency of the intermediate node.
- each node on the high-order service protection path performs a switching process
- each intermediate node in the signaling diagram shown in FIG. 6 may be The process described in the foregoing Embodiment 2, Embodiment 3, and Embodiment 4 is performed, and will not be repeated herein.
- the fifth embodiment of the present invention further provides a protection node that supports the hybrid granularity service shared resource, and is used to implement the protection method for supporting the hybrid granularity service shared resource provided by the foregoing first embodiment, the high-order service protection path and the low-order
- the service protection path shares a plurality of the protection nodes, and each of the protection nodes supports processing of multiple granular services.
- the protection node includes: a receiving unit 91 0 and a sending unit 920.
- the receiving node which is included in the protection node, is configured to: when the high-order service working path protected by the high-order service protection path is normal, receive the upstream neighboring node in the high-order service protection path to pass the low-order The first message sent by the service overhead;
- the sending unit 920 is configured to send, by using the low-order service overhead, the first message to a downstream neighboring node in the high-order service protection path, where the first message is used to enable the high-order service protection Each node in the path maintains the high-order service protection path.
- the protection node further includes:
- the receiving unit 91 0 is further configured to: when the high-order service working path has recovered from a fault to a normal state, receive, by using the high-order service overhead, the upstream neighboring node that is in the high-order service protection path Second message
- the sending unit 920 is further configured to send, by using the high-order service overhead, the second message to the downstream neighboring node that is in the high-order service protection path;
- the receiving unit 910 is further configured to receive a third message that is sent by the downstream neighboring node by the high-order service.
- the adaptation removal unit 930 is configured to adapt, according to the third message, the granularity of the high-order service protection path with the downstream neighboring node to a low-order service cost, and remove the downstream phase The intersection established by the neighboring nodes;
- the sending unit 920 is further configured to send the third message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node performs the protection according to the third message.
- the granularity of the high-order service protection path between the nodes is adapted to a low-order service overhead, and the intersection established with the protection node is removed.
- the first message received by the receiving unit 910 includes the message type, the identifier of the high-order service working path, the granularity of the high-order service working path, and the failure of the high-order service working path. Protect the time slots required for switching.
- the protection node When the high-order service working path is normal, the protection node receives the first message sent by the upstream neighboring node in the high-order service protection path by using the low-order service overhead, and the first message is in the high-order service protection path.
- the downstream neighboring nodes send, so that each node in the high-order service protection path maintains the high-order service protection path.
- the protection node in the case that the working path is normal, the protection node cannot simultaneously support the message with multiple granularity overheads on the protection path, and the problem that the protection path is faulty cannot be sensed in time.
- the protection node supporting the hybrid granularity service shared resource provided by the embodiment of the present invention overcomes the limitations of the prior art solution and improves the working efficiency of the intermediate node.
- the sixth embodiment of the present invention further provides a switching node that supports the mixed-grain service sharing resource, and implements the switching method for supporting the hybrid granularity service shared resource provided by the foregoing Embodiment 2, the high-order service protection path and the low-order The service protection path shares a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services.
- the switching node includes: a receiving unit 1010, a determining unit 1 020, and a sending unit 1 030, an adaptation unit 1040, and an establishment unit 1 050.
- the receiving unit 1010 is configured to receive, when the high-order service working path protected by the high-order service protection path is faulty, receive an upstream neighbor node that is in the high-order service protection path, and pass the high-order The first message sent by the service overhead;
- the determining unit 1020 is configured to determine, according to the first message, whether the high-order service protection path is an available path.
- the sending unit 1030 is configured to: when the high-order service protection path is an available path, send the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead;
- the adapting unit 1040 is configured to: when the high-order service protection path is an available path, adapt the receiving port of the downstream neighboring node to a high-order granularity;
- the establishing unit 1050 is configured to: when the receiving unit receives the downstream neighboring node, according to the The cross is established when the first message is sent by the high-order service overhead.
- the sending unit 1 030 is further configured to send, when the high-order service protection path is an available path, to the downstream neighboring node that is in the high-order service protection path by using a low-order service overhead. Before the first message, sending the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
- the adapting unit 1 040 is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, adapt the receiving port of the downstream neighboring node Low-order granularity;
- the sending unit 1030 is further configured to: when the receiving unit 1 010 does not receive the second message sent by the downstream neighboring node, send the location to the downstream neighboring node by using the low-order service overhead. Said the first message.
- the switching node when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the high-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity, and the downstream neighboring node receives the high-order service overhead.
- the second message is sent, a cross is established.
- the switching node supporting the mixed granularity service shared resource provided by the embodiment of the present invention improves the working efficiency of the intermediate node.
- the seventh embodiment of the present invention further provides a switching node that supports the hybrid granularity service shared resource, and implements the switching method for supporting the hybrid granularity service shared resource provided in the foregoing third embodiment, the high-order service protection path and the low-order The service protection path shares a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services.
- the switching node includes: a receiving unit 1110, a determining unit 1120, and a sending unit 1. 1 30, an adaptation unit 1140 and an establishment unit 1 150.
- the receiving unit 1110 includes: a receiving unit 1110, configured to: when the high-order service working path protected by the high-order service protection path is faulty, receive an upstream neighboring node that is in the high-order service protection path and pass the low-order The first message sent by the service overhead;
- the determining unit 1120 is configured to determine, according to the first message, whether the high-order service protection path is an available path;
- the sending unit 11 30 is configured to: when the high-order service protection path is an available path, send the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead;
- the adapting unit 1140 is configured to: when the high-order service protection path is an available path, respectively adapt the receiving ports of the upstream neighboring node and the downstream neighboring node to a high-order granularity;
- the establishing unit 1150 is configured to establish an intersection when the receiving unit receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead.
- the sending unit 117 is further configured to: after the adapting unit 1140 respectively adapts the receiving ports of the upstream neighboring node and the downstream neighboring node to a high-order granularity, pass the high The order service overhead sends the second message to the upstream neighboring node, such that the upstream neighboring node establishes an intersection according to the second message.
- the adapting unit 1140 is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, adapt the receiving port of the downstream neighboring node Low-order granularity;
- the sending unit 117 is further configured to send, when the receiving unit 1 110 does not receive the second message sent by the downstream neighboring node, to the downstream neighboring node by using the low-order service overhead.
- the first message is further configured to send, when the receiving unit 1 110 does not receive the second message sent by the downstream neighboring node, to the downstream neighboring node by using the low-order service overhead. The first message.
- the switching node of the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity.
- Degree when a second message sent by a downstream neighbor node through a high-order service is received, an intersection is established.
- the switching node supporting the mixed granularity service shared resource provided by the embodiment of the present invention improves the working efficiency of the intermediate node.
- the embodiment 8 of the present invention further provides an switching node that supports the hybrid granularity service sharing resource, and implements the switching method for supporting the hybrid granularity service shared resource provided in the foregoing fourth embodiment, the high-order service protection path and the low-order
- the service protection path shares a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services.
- the switching node includes: a receiving unit 1210, a determining unit 1220, and a sending unit 1230.
- the adaptation unit 1240 and the establishment unit 1250 are examples of the switching node.
- the receiving unit 1210 is configured to receive, when the high-order service working path protected by the high-order service protection path is faulty, receive the upstream neighboring node that is in the high-order service protection path, and pass the low-order The first message sent by the service overhead;
- the determining unit 1220 is configured to determine, according to the first message, whether the high-order service protection path is an available path;
- the sending unit 1230 is configured to: when the high-order service protection path is an available path, send the first message to a downstream neighboring node that is in the high-order service protection path by using a high-order service overhead;
- the adapting unit 1240 is configured to: when the high-order service protection path is an available path, adapt the receiving port of the upstream neighboring node to a high-order granularity;
- the establishing unit 1250 is configured to establish an intersection when the receiving unit receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead.
- the sending unit 1230 is further configured to: after the adapting unit adapts the receiving port of the upstream neighboring node to a high-order granularity, to the upstream neighboring node by using the high-order service overhead Sending the second message, so that the upstream neighboring node establishes according to the second message Cross.
- the sending unit 1230 is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, send, by using the high-order service overhead, to the downstream neighboring node.
- the first message is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, send, by using the high-order service overhead, to the downstream neighboring node. The first message.
- the switching node when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order service is sent.
- the protection path is available, the first message is sent to the downstream neighboring node through the high-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity, and the downstream neighboring node is sent through the high-order service.
- the second message When the second message is reached, a cross is established.
- the switching node supporting the mixed granularity service shared resource provided by the embodiment of the present invention improves the working efficiency of the intermediate node.
- the protection node that supports the hybrid granularity service shared resource provided by the fifth embodiment of the present invention can also be implemented as follows to implement the protection method for supporting the hybrid granularity service shared resource in the foregoing first embodiment of the present invention.
- the service protection path and the low-order service protection path share a plurality of the protection nodes, and each of the protection nodes supports processing of multiple granular services.
- the protection node includes: a processor 1 310 and Memory 1 320.
- System bus 1 330 is used to connect processor 1 310 and memory 1 320.
- Memory 1 320 can be a persistent storage, such as a hard drive and flash memory, and memory 1 320 is used to store applications, the application including instructions that can be used to cause processor 1 310 to access and execute the following instructions:
- Passing the low-order service overhead to the downstream neighboring node in the high-order service protection path Sending the first message, where the first message is used to maintain the high-order service protection path by each node in the high-order service protection path.
- the application further includes instructions operable to cause the processor 1 310 to perform the following process:
- the first message includes the message type, the identifier of the high-order service working path, the granularity of the high-order service working path, and a required protection switching after the high-order service working path fails. Time slot.
- the protection node when the high-order service working path is normal, the protection node receives the upstream neighboring node in the high-order service protection path and sends the low-order service overhead.
- the first message is sent to the downstream neighboring node in the high-order service protection path, so that each node in the high-order service protection path maintains the high-order service protection path.
- the intermediate node in the case that the working path is normal, the intermediate node cannot simultaneously support the message with multiple granularity overheads on the protection path, and the problem that the protection path is faulty cannot be sensed in time.
- Supporting hybrid granularity provided by embodiments of the present invention
- the protection node of the service shared resource overcomes the limitations of the prior art solution and improves the working efficiency of the intermediate node.
- the switching node that supports the hybrid granularity service shared resource provided by the sixth embodiment of the present invention can also be implemented as follows, to implement the switching method for supporting the hybrid granularity service shared resource in the foregoing second embodiment of the present invention,
- the service protection path and the low-order service protection path share a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services.
- the switching node includes: a processor 1410 and a memory 1420.
- System bus 1430 is used to connect processor 1410 and memory 1420.
- the memory 1420 can be a persistent storage, such as a hard drive and flash memory, and the memory 1420 is for storing applications, the application including instructions for enabling the processor 1410 to access and execute the following instructions:
- the application further includes instructions operable to cause the processor 1410 to perform the following process:
- the high-order service overhead is used before the first message is sent to the downstream neighboring node in the high-order service protection path by the low-order service overhead. Sending, by the upstream neighbor node, the second message, so that the upstream adjacent node The point establishes an intersection according to the second message.
- the application further includes instructions operable to cause the processor 1420 to perform the following process:
- the receiving port of the downstream neighboring node is adapted to a low-order granularity, and the downstream neighboring is adjacent to the low-order service overhead.
- the node sends the first message.
- the switching node when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the high-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to a high-order granularity, and the downstream neighboring node receives the high-order service overhead.
- the second message is sent, a cross is established.
- the switching node supporting the mixed granularity service shared resource provided by the embodiment of the present invention improves the working efficiency of the intermediate node.
- the switching node that supports the hybrid granularity service shared resource provided by the sixth embodiment of the present invention can also be implemented as follows, and is used to implement the switching method for supporting the hybrid granularity service shared resource in the foregoing third embodiment of the present invention.
- the service protection path and the low-order service protection path share a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services.
- the switching node includes: a processor 1510 and a memory 1520. .
- System bus 1530 is used to connect processor 1510 and memory 1520.
- the memory 1520 can be a persistent storage, such as a hard drive and flash memory, and the memory 1520 is for storing applications, the application including instructions for enabling the processor 1510 to access and execute the following instructions:
- An intersection is established when receiving the second message sent by the downstream neighboring node according to the first message through the high-order neighboring overhead.
- the application further includes instructions operable to cause the processor 1510 to perform the following process:
- the second message is sent to the upstream neighboring node by the high-order traffic overhead, so that The upstream neighboring node establishes an intersection according to the second message.
- the application further includes instructions operable to cause the processor 1520 to perform the following process:
- the receiving port of the downstream neighboring node is adapted to a low-order granularity, and the downstream neighboring is adjacent to the low-order service overhead.
- the node sends the first message.
- the switching node of the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity, and the downstream neighboring node is sent through the high-order service overhead.
- the second message is when the cross is established.
- the switching node that supports the hybrid granularity service shared resource provided by the embodiment 8 of the present invention can also be implemented as follows, and is used to implement the switching method for supporting the hybrid granularity service shared resource in the foregoing fourth embodiment of the present invention.
- the service protection path and the low-order service protection path share a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services.
- the switching node includes: a processor 1610 and a memory 1620. .
- System bus 1640 is used to connect processor 1610 and memory 1620.
- the memory 1620 can be a persistent storage, such as a hard drive and flash memory, and the memory 1620 is for storing applications, the application including instructions for enabling the processor 1610 to access and execute the following instructions:
- An intersection is established when receiving the second message sent by the downstream neighboring node according to the first message through the high-order neighboring overhead.
- the application further includes instructions operable to cause the processor 1610 to perform the following process:
- the second message is sent to the upstream neighboring node by the high-order traffic overhead, so that the upstream neighboring node is configured according to the The second message is established to cross.
- the application further includes instructions operable to cause the processor 1620 to perform the following process: And when the second message sent by the downstream neighboring node is not received, sending the first message to the downstream neighboring node by using the high-order service overhead.
- the switching node of the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the high-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity, and the downstream neighboring node is sent through the high-order service.
- the second message is when the cross is established.
- the intermediate node cannot simultaneously support the message with multiple granularity overheads, and reduces the work efficiency of the intermediate node.
- the processing method and the processing node for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention improve the working efficiency of the intermediate node.
- RAM random access memory
- ROM read-only memory
- EEPROM electrically programmable ROM
- EEPROM electrically erasable programmable ROM
- registers hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Embodiments of the present invention relate to a processing method for supporting resource sharing by services with mixed granularities, and nodes. The method comprises: when a high-order service working path protected by a high-order service protection path has a fault, an intermediate node located in the high-order service protection path receives a first message sent, by using a high-order service overhead, by an upstream neighboring node that is also located in the high-order service protection path; the intermediate node determines whether the high-order service protection path is an available path according to the first message; when the high-order service protection path is an available path, the intermediate node sends, by using a low-order service overhead, the first message to a downstream neighboring node that is also located in the high-order service protection path; the intermediate node adapts a receiving port with the downstream neighboring node to a high-order granularity; and when the intermediate node receives a second message sent, by using the high-order service overhead, by the downstream neighboring node according to the first message, the intermediate node establishes a cross-connection.
Description
说 明 书 支持混合粒度业务共享资源的处理方法与节点 技术领域 Description of the book Supporting mixed granularity business shared resource processing methods and nodes
本发明涉及通讯技术领域, 尤其涉及一种支持混合粒度业务共享资源的 处理方法与节点。 背景技术 The present invention relates to the field of communications technologies, and in particular, to a processing method and a node for supporting a hybrid granularity service shared resource. Background technique
目前, 为了提高光网络的带宽资源利用率, 通常釆用共享网状保护 Currently, in order to improve the bandwidth resource utilization of optical networks, shared mesh protection is usually adopted.
( Shared Mesh Protection, 简称: SMP )技术为用户的业务提供传送服务。 SMP技术允许业务保护路径被路径分离的多条工作路径(即, 不要求多条业务 工作路径具有相同的起始、 终止节点, 如下图 1所示)共享。 (Shared Mesh Protection, SMP for short) technology provides delivery services for users' businesses. The SMP technology allows multiple service paths with service protection paths separated by paths (i.e., multiple service work paths are not required to have the same start and end nodes, as shown in Figure 1 below).
现有技术中, 针对支持混合粒度业务共享资源的场景为: 在图 1 中, 节 点 A至节点 E之间为第一业务工作路径 W1, 该第一业务工作路径支持低阶业 务光通道数据单元(Optical channel Data Unit, 简称: ODU ) ODUj, 其对 应的第一业务保护路径为节点 A-节点 B-节点 C-节点 D-节点 E,该第一业务保 护路径支持低阶业务, 其中, 节点 A至节点 B和节点 D至节点 E段路径支持 低阶业务 ODUj, 节点 B-节点 C-节点 D段路径支持高阶业务 ODUk: 节点 F至 节点 G之间为第二业务工作路径 W2,该第二业务工作路径支持高阶业务 ODUk, 其对应的第二业务保护路径为节点 F-节点 B-节点 C-节点 D-节点 G, 其中, 节 点 F-节点 B-节点 C-节点 D-节点 G段路径支持高阶业务 ODUk ( j,k的值可以 取 0, 1, 2, 3, 4, 代表不同的 0DU粒度, 现有技术中默认: j<k) 。 In the prior art, the scenario for supporting the shared resource of the hybrid granularity service is as follows: In FIG. 1, the first service working path W1 is between the node A and the node E, and the first service working path supports the low-order service optical channel data unit. (Optical channel data unit, ODU for short) ODUj, the corresponding first service protection path is node A-node B-node C-node D-node E, and the first service protection path supports low-order services, where A to the node B and the node D to the node E segment path support the low-order service ODUj, the node B-node C-node D segment path supports the high-order service ODUk: the node F to the node G is the second service working path W2, The second service working path supports the high-order service ODUk, and the corresponding second service protection path is the node F-node B-node C-node D-node G, wherein the node F-node B-node C-node D-node The G segment path supports the high-order service ODUk (j, the value of k can be 0, 1, 2, 3, 4, representing different 0DU granularity, the default in the prior art: j < k).
当业务的工作路径故障时, 各节点需将工作路径上承载的业务倒换至保 护路径上, 并当工作路径恢复正常时, 再将保护路径上承载的业务回退至工 作路径上。
但是, 现有技术中在同一时间点, 混合粒度业务的保护路径共用的同一 个节点只能适配至单一粒度的业务, 即, 在图 1的场景下, 节点 B、 节点 C和 节点 D只能支持某一粒度(ODUk或 ODUj )开销的消息进行传输, 而无法同时 支持多种粒度开销的消息进行传输, 降低中间节点的工作效率。 发明内容 When the working path of the service is faulty, each node needs to switch the service carried on the working path to the protection path. When the working path returns to normal, the service carried on the protection path is rolled back to the working path. However, in the prior art, at the same time point, the same node shared by the protection path of the hybrid granularity service can only be adapted to a single granularity service, that is, in the scenario of FIG. 1, the node B, the node C, and the node D only A message that can support a certain granularity (ODUk or ODUj) overhead is transmitted, and cannot support multiple granularity overhead messages at the same time, thereby reducing the working efficiency of the intermediate node. Summary of the invention
本发明实施例提供了一种支持混合粒度业务共享资源的处理方法与节 点, 解决了现有技术中混合粒度业务的保护路径共用的中间节点无法同时支 持多种粒度开销的消息进行传输, 降低中间节点的工作效率的问题。 The embodiment of the present invention provides a processing method and a node for supporting a hybrid granularity service shared resource, and solves the problem that the intermediate node shared by the protection path shared by the hybrid granularity service in the prior art cannot simultaneously support multiple granularity overhead messages, and reduces the middle. The problem of node productivity.
在第一方面, 本发明实施例提供了一种支持混合粒度业务共享资源的倒 换方法, 所述方法包括: In a first aspect, an embodiment of the present invention provides a method for supporting a hybrid granularity service shared resource, where the method includes:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 处于所述 高阶业务保护路径中的所述中间节点接收同处于所述高阶业务保护路径中的 上游相邻节点通过高阶业务开销发送的第一消息; When the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path. The first message sent by the high-order service overhead;
根据所述第一消息, 所述中间节点判断所述高阶业务保护路径是否为可 用路径; Determining, according to the first message, whether the high-order service protection path is an available path;
当所述高阶业务保护路径为可用路径时, 所述中间节点通过低阶业务开 销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 所述中间节点将与所述下游相邻节点的接收端口适配为高阶粒度; 当所述中间节点接收到所述下游相邻节点根据所述第一消息通过所述高 阶业务开销发送的第二消息时, 所述中间节点建立交叉。 When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead; And the receiving port of the downstream neighboring node is adapted to a high-order granularity; when the intermediate node receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead, The intermediate node establishes an intersection.
在第一种可能的实现方式中, 所述中间节点通过低阶业务开销向同处于 所述高阶业务保护路径中的下游相邻节点发送所述第一消息之前还包括: 当所述高阶业务保护路径为可用路径时, 所述中间节点通过所述高阶业 务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节点根 据所述第二消息建立交叉。
在第二种可能的实现方式中, 所述方法还包括: In a first possible implementation manner, before the sending, by the intermediate node, the first message to the downstream neighboring node in the high-order service protection path, the intermediate node further includes: when the high-order When the service protection path is an available path, the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message. In a second possible implementation manner, the method further includes:
当所述中间节点未接收到所述下游相邻节点发送的所述第二消息时 , 所 述中间节点将与所述下游相邻节点的接收端口适配为低阶粒度, 所述中间节 点通过所述低阶业务开销向所述下游相邻节点发送所述第一消息。 When the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity, and the intermediate node passes The low-order service overhead sends the first message to the downstream neighboring node.
在第二方面, 本发明实施例提供了一种支持混合粒度业务共享资源的倒 换方法, 所述方法包括: In a second aspect, an embodiment of the present invention provides a method for supporting a shared resource of a hybrid granularity service, where the method includes:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 处于所述 高阶业务保护路径中的所述中间节点接收同处于所述高阶业务保护路径中的 上游相邻节点通过低阶业务开销发送的第一消息; When the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path. The first message sent by the low-order service overhead;
根据所述第一消息, 所述中间节点判断所述高阶业务保护路径是否为可 用路径; Determining, according to the first message, whether the high-order service protection path is an available path;
当所述高阶业务保护路径为可用路径时, 所述中间节点通过低阶业务开 销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 所述中间节点分别将与所述上游相邻节点和所述下游相邻节点的接收端 口适配为高阶粒度; When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead; Adapting the receiving ports of the upstream neighboring node and the downstream neighboring node to a high-order granularity;
当所述中间节点接收到所述下游相邻节点根据所述第一消息通过所述高 阶业务开销发送的第二消息时, 所述中间节点建立交叉。 When the intermediate node receives the second message sent by the downstream neighboring node according to the first message by the high-order service overhead, the intermediate node establishes an intersection.
在第一种可能的实现方式中, 所述中间节点分别将与所述上游相邻节点 和所述下游相邻节点的接收端口适配为高阶粒度之后还包括: In a first possible implementation manner, after the intermediate node respectively adapts the receiving ports of the upstream neighboring node and the downstream neighboring node to a high-order granularity, the method further includes:
所述中间节点通过所述高阶业务开销向所述上游相邻节点发送所述第二 消息, 以使得所述上游相邻节点根据所述第二消息建立交叉。 And the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
在第二种可能的实现方式中, 所述方法还包括: In a second possible implementation manner, the method further includes:
当所述中间节点未接收到所述下游相邻节点发送的所述第二消息时 , 所 述中间节点将与所述下游相邻节点的接收端口适配为低阶粒度, 所述中间节 点通过所述低阶业务开销向所述下游相邻节点发送所述第一消息。 When the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity, and the intermediate node passes The low-order service overhead sends the first message to the downstream neighboring node.
在第三方面, 本发明实施例提供了一种支持混合粒度业务共享资源的倒
换方法, 所述方法包括: In a third aspect, an embodiment of the present invention provides a support for hybrid granularity service sharing resources. In another method, the method includes:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 处于所述 高阶业务保护路径中的所述中间节点接收同处于所述高阶业务保护路径中的 上游相邻节点通过低阶业务开销发送的第一消息; When the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path. The first message sent by the low-order service overhead;
根据所述第一消息, 所述中间节点判断所述高阶业务保护路径是否为可 用路径; Determining, according to the first message, whether the high-order service protection path is an available path;
当所述高阶业务保护路径为可用路径时, 所述中间节点通过高阶业务开 销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 所述中间节点将与所述上游相邻节点的接收端口适配为高阶粒度; 当所述中间节点接收到所述下游相邻节点根据所述第一消息通过所述高 阶业务开销发送的第二消息时, 所述中间节点建立交叉。 When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a high-order service overhead; And the receiving port of the upstream neighboring node is adapted to a high-order granularity; when the intermediate node receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead, The intermediate node establishes an intersection.
在第一种可能的实现方式中, 所述中间节点将与所述上游相邻节点的接 收端口适配为高阶粒度之后还包括: In a first possible implementation manner, after the intermediate node adapts the receiving port of the upstream neighboring node to a high-order granularity, the method further includes:
所述中间节点通过所述高阶业务开销向所述上游相邻节点发送所述第二 消息, 以使得所述上游相邻节点根据所述第二消息建立交叉。 And the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
在第二种可能的实现方式中, 所述方法还包括: In a second possible implementation manner, the method further includes:
当所述中间节点未接收到所述下游相邻节点发送的所述第二消息时 , 所 述中间节点通过所述高阶业务开销向所述下游相邻节点发送所述第一消息。 And when the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node sends the first message to the downstream neighboring node by using the high-order service overhead.
在第四方面, 本发明实施例提供了一种支持混合粒度业务共享资源的保 护方法, 所述方法包括: In a fourth aspect, an embodiment of the present invention provides a protection method for supporting a hybrid granular service shared resource, where the method includes:
当所述高阶业务保护路径所保护的高阶业务工作路径正常时, 所述中间 节点接收处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发 送的第一消息; When the high-order service working path protected by the high-order service protection path is normal, the intermediate node receives the first message sent by the upstream neighboring node in the high-order service protection path by using a low-order service overhead;
所述中间节点通过所述低阶业务开销向处于所述高阶业务保护路径中的 下游相邻节点发送所述第一消息, 所述第一消息用于使处于所述高阶业务保 护路径中的各个节点对所述高阶业务保护路径进行维护。
在第一种可能的实现方式中, 所述中间节点接收处于所述高阶业务保护 路径中的上游相邻节点通过低阶业务开销发送的第一消息之前还包括: The intermediate node sends the first message to a downstream neighboring node in the high-order service protection path by using the low-order service overhead, where the first message is used to be in the high-order service protection path. Each node maintains the high-order service protection path. In a first possible implementation manner, before the receiving, by the intermediate node, the first message sent by the upstream neighboring node in the high-order service protection path by using the low-order service overhead, the method further includes:
当所述高阶业务工作路径已从故障恢复为正常时, 所述中间节点接收处 于所述高阶业务保护路径的所述上游相邻节点通过高阶业务开销发送的第二 消息; And when the high-order service working path has recovered from a fault to a normal state, the intermediate node receives a second message that is sent by the upstream neighboring node of the high-order service protection path by using a high-order service overhead;
所述中间节点通过所述高阶业务开销向处于所述高阶业务保护路径的所 述下游相邻节点发送所述第二消息; Transmitting, by the intermediate node, the second message to the downstream neighboring node in the high-order service protection path by using the high-order service overhead;
所述中间节点接收所述下游相邻节点通过所述高阶业务开销发送的第三 消息; Receiving, by the intermediate node, a third message sent by the downstream neighboring node by using the high-order service overhead;
根据所述第三消息, 所述中间节点将与所述下游相邻节点之间的所述高 阶业务保护路径的粒度适配为低阶业务开销, 并拆除与所述下游相邻节点建 立的交叉; According to the third message, the intermediate node adapts the granularity of the high-order service protection path with the downstream neighboring node to a low-order service overhead, and tears down the established with the downstream neighboring node. Cross
所述中间节点通过所述高阶业务开销向所述上游相邻节点发送所述第三 消息, 以使得所述上游相邻节点根据所述第三消息, 将与所述中间节点之间 的所述高阶业务保护路径的粒度适配为低阶业务开销, 并拆除与所述中间节 点建立的交叉。 Transmitting, by the intermediate node, the third message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node and the intermediate node according to the third message The granularity of the high-order service protection path is adapted to low-order service overhead, and the intersection established with the intermediate node is removed.
结合第四方面或第四方面的第一种可能的实现方式, 在第二种可能的实 现方式中, 所述第一消息包括所述消息类型、 所述高阶业务工作路径的标识、 所述高阶业务工作路径的粒度和当所述高阶业务工作路径故障后进行保护倒 换所需的时隙。 With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the first message includes the message type, an identifier of the high-order service working path, The granularity of the high-order service working path and the time slot required for protection switching after the high-order service working path fails.
在第五方面, 本发明实施例提供了一种支持混合粒度业务共享资源的倒 换节点, 所述倒换节点包括: In a fifth aspect, an embodiment of the present invention provides a switching node that supports a hybrid granularity service shared resource, where the switching node includes:
接收单元, 用于当所述高阶业务保护路径所保护的高阶业务工作路径故 障时, 接收同处于所述高阶业务保护路径中的上游相邻节点通过高阶业务开 销发送的第一消息; a receiving unit, configured to receive, when the high-order service working path protected by the high-order service protection path is faulty, the first message sent by the upstream neighboring node in the high-order service protection path by using a high-order service overhead ;
判断单元, 用于根据所述第一消息, 判断所述高阶业务保护路径是否为
可用路径; a determining unit, configured to determine, according to the first message, whether the high-order service protection path is Available path
发送单元, 用于当所述高阶业务保护路径为可用路径时, 通过低阶业务 开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 适配单元, 用于当所述高阶业务保护路径为可用路径时, 将与所述下游 相邻节点的接收端口适配为高阶粒度; a sending unit, configured to: when the high-order service protection path is an available path, send the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead; When the high-order service protection path is an available path, the receiving port of the downstream neighboring node is adapted to a high-order granularity;
建立单元, 用于当所述接收单元接收到所述下游相邻节点根据所述第一 消息通过所述高阶业务开销发送的第二消息时, 建立交叉。 And an establishing unit, configured to establish an intersection when the receiving unit receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead.
在第一种可能的实现方式中, 所述发送单元还用于, 当所述高阶业务保 护路径为可用路径时, 通过低阶业务开销向同处于所述高阶业务保护路径中 的下游相邻节点发送所述第一消息之前, 通过所述高阶业务开销向所述上游 相邻节点发送所述第二消息, 以使得所述上游相邻节点根据所述第二消息建 立交叉。 In a first possible implementation manner, the sending unit is further configured to: when the high-order service protection path is an available path, use a low-order service overhead to be in a downstream phase in the high-order service protection path. Before the neighboring node sends the first message, sending the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
在第二种可能的实现方式中, 所述适配单元还用于, 当所述接收单元未 接收到所述下游相邻节点发送的所述第二消息时, 将与所述下游相邻节点的 接收端口适配为低阶粒度; In a second possible implementation manner, the adapting unit is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, The receiving port is adapted to a low-order granularity;
所述发送单元还用于, 当所述接收单元未接收到所述下游相邻节点发送 的所述第二消息时, 通过所述低阶业务开销向所述下游相邻节点发送所述第 一消息。 The sending unit is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, send the first to the downstream neighboring node by using the low-order service overhead Message.
在第六方面, 本发明实施例提供了一种支持混合粒度业务共享资源的倒 换节点, 所述倒换节点包括: In a sixth aspect, an embodiment of the present invention provides a switching node that supports a hybrid granularity service shared resource, where the switching node includes:
接收单元, 用于当所述高阶业务保护路径所保护的高阶业务工作路径故 障时, 接收同处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开 销发送的第一消息; a receiving unit, configured to receive, when the high-order service working path protected by the high-order service protection path is faulty, the first message sent by the upstream neighboring node in the high-order service protection path by using a low-order service overhead ;
判断单元, 用于根据所述第一消息, 判断所述高阶业务保护路径是否为 可用路径; a determining unit, configured to determine, according to the first message, whether the high-order service protection path is an available path;
发送单元, 用于当所述高阶业务保护路径为可用路径时, 通过低阶业务
开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 适配单元, 用于当所述高阶业务保护路径为可用路径时, 分别将与所述 上游相邻节点和所述下游相邻节点的接收端口适配为高阶粒度; a sending unit, configured to: when the high-order service protection path is an available path, pass the low-order service Transmitting the first message to the downstream neighboring node in the high-order service protection path; the adapting unit, configured to: when the high-order service protection path is an available path, respectively The receiving ports of the neighboring node and the downstream neighboring node are adapted to a high-order granularity;
建立单元, 用于当所述接收单元接收到所述下游相邻节点根据所述第一 消息通过所述高阶业务开销发送的第二消息时, 建立交叉。 And an establishing unit, configured to establish an intersection when the receiving unit receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead.
在第一种可能的实现方式中, 所述发送单元还用于, 所述适配单元分别 将与所述上游相邻节点和所述下游相邻节点的接收端口适配为高阶粒度之 后, 通过所述高阶业务开销向所述上游相邻节点发送所述第二消息, 以使得 所述上游相邻节点才艮据所述第二消息建立交叉。 In a first possible implementation manner, the sending unit is further configured to: after the adapting unit respectively adapts a receiving port of the upstream neighboring node and the downstream neighboring node to a high-order granularity, And transmitting, by the high-order service overhead, the second message to the upstream neighboring node, so that the upstream neighboring node establishes an intersection according to the second message.
在第二种可能的实现方式中, 所述适配单元还用于, 当所述接收单元未 接收到所述下游相邻节点发送的所述第二消息时, 将与所述下游相邻节点的 接收端口适配为低阶粒度; In a second possible implementation manner, the adapting unit is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, The receiving port is adapted to a low-order granularity;
所述发送单元还用于, 当所述接收单元未接收到所述下游相邻节点发送 的所述第二消息时, 通过所述低阶业务开销向所述下游相邻节点发送所述第 一消息。 The sending unit is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, send the first to the downstream neighboring node by using the low-order service overhead Message.
在第七方面, 本发明实施例提供了一种支持混合粒度业务共享资源的倒 换节点, 所述倒换节点包括: In a seventh aspect, the embodiment of the present invention provides a switching node that supports a mixed-granular service shared resource, where the switching node includes:
接收单元, 用于当所述高阶业务保护路径所保护的高阶业务工作路径故 障时, 接收同处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开 销发送的第一消息; a receiving unit, configured to receive, when the high-order service working path protected by the high-order service protection path is faulty, the first message sent by the upstream neighboring node in the high-order service protection path by using a low-order service overhead ;
判断单元, 用于根据所述第一消息, 判断所述高阶业务保护路径是否为 可用路径; a determining unit, configured to determine, according to the first message, whether the high-order service protection path is an available path;
发送单元, 用于当所述高阶业务保护路径为可用路径时, 通过高阶业务 开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 适配单元, 用于当所述高阶业务保护路径为可用路径时, 将与所述上游 相邻节点的接收端口适配为高阶粒度;
建立单元, 用于当所述接收单元接收到所述下游相邻节点根据所述第一 消息通过所述高阶业务开销发送的第二消息时, 建立交叉。 a sending unit, configured to: when the high-order service protection path is an available path, send the first message to a downstream neighboring node that is in the high-order service protection path by using a high-order service overhead; When the high-order service protection path is an available path, the receiving port of the upstream neighboring node is adapted to a high-order granularity; And an establishing unit, configured to establish an intersection when the receiving unit receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead.
在第一种可能的实现方式中, 所述发送单元还用于, 所述适配单元将与 所述上游相邻节点的接收端口适配为高阶粒度之后, 通过所述高阶业务开销 向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节点根据所述 第二消息建立交叉。 In a first possible implementation manner, the sending unit is further configured to: after the adapting unit adapts the receiving port of the upstream neighboring node to a high-order granularity, by using the high-order service overhead The upstream neighbor node sends the second message, so that the upstream neighboring node establishes an intersection according to the second message.
在第二种可能的实现方式中, 所述发送单元还用于, 当所述接收单元未 接收到所述下游相邻节点发送的所述第二消息时, 通过所述高阶业务开销向 所述下游相邻节点发送所述第一消息。 In a second possible implementation manner, the sending unit is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, by using the high-order service overhead The downstream neighbor node sends the first message.
在第八方面, 本发明实施例提供了一种支持混合粒度业务共享资源的保 护节点, 所述保护节点包括: In an eighth aspect, an embodiment of the present invention provides a protection node that supports a hybrid granular service shared resource, where the protection node includes:
接收单元, 用于当所述高阶业务保护路径所保护的高阶业务工作路径正 常时, 接收处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销 发送的第一消息; a receiving unit, configured to: when the high-order service working path protected by the high-order service protection path is normal, receive a first message sent by an upstream neighboring node in the high-order service protection path by using a low-order service overhead;
发送单元, 用于通过所述低阶业务开销向处于所述高阶业务保护路径中 的下游相邻节点发送所述第一消息, 所述第一消息用于使处于所述高阶业务 保护路径中的各个节点对所述高阶业务保护路径进行维护。 a sending unit, configured to send, by using the low-order service overhead, the first message to a downstream neighboring node in the high-order service protection path, where the first message is used to enable the high-order service protection path Each node in the node maintains the high-order service protection path.
在第一种可能的实现方式中, 所述接收单元接收处于所述高阶业务保护 路径中的上游相邻节点通过低阶业务开销发送的第一消息之前, 所述保护节 点还包括: In a first possible implementation manner, before the receiving unit receives the first message sent by the upstream neighboring node in the high-order service protection path by using the low-order service overhead, the protection node further includes:
所述接收单元还用于, 当所述高阶业务工作路径已从故障恢复为正常时, 接收处于所述高阶业务保护路径的所述上游相邻节点通过高阶业务开销发送 的第二消息; The receiving unit is further configured to: when the high-order service working path has recovered from a fault to a normal state, receive a second message sent by the upstream neighboring node in the high-order service protection path by using a high-order service overhead. ;
所述发送单元还用于, 通过所述高阶业务开销向处于所述高阶业务保护 路径的所述下游相邻节点发送所述第二消息; The sending unit is further configured to: send, by the high-order service overhead, the second message to the downstream neighboring node that is in the high-order service protection path;
所述接收单元还用于, 接收所述下游相邻节点通过所述高阶业务开销发
送的第三消息; The receiving unit is further configured to: receive, by the downstream neighboring node, by using the high-order service overhead The third message sent;
适配拆除单元, 用于根据所述第三消息, 将与所述下游相邻节点之间的 所述高阶业务保护路径的粒度适配为低阶业务开销, 并拆除与所述下游相邻 节点建立的交叉; And an adaptation removal unit, configured to adapt, according to the third message, a granularity of the high-order service protection path between the downstream neighboring node to a low-order service overhead, and remove the adjacent to the downstream The intersection established by the node;
所述发送单元还用于, 通过所述高阶业务开销向所述上游相邻节点发送 所述第三消息, 以使得所述上游相邻节点根据所述第三消息, 将与所述保护 节点之间的所述高阶业务保护路径的粒度适配为低阶业务开销, 并拆除与所 述保护节点建立的交叉。 The sending unit is further configured to send the third message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node and the protection node according to the third message The granularity of the high-order service protection path between the two is adapted to a low-order service overhead, and the intersection established with the protection node is removed.
结合第八方面或第八方面的第一种可能的实现方式, 在第二种可能的实 现方式中, 所述接收单元接收的所述第一消息包括所述消息类型、 所述高阶 业务工作路径的标识、 所述高阶业务工作路径的粒度和当所述高阶业务工作 路径故障后进行保护倒换所需的时隙。 With reference to the eighth aspect, or the first possible implementation manner of the eighth aspect, in a second possible implementation manner, the first message received by the receiving unit includes the message type, the high-order service works The identifier of the path, the granularity of the high-order service working path, and the time slot required for protection switching after the high-order service working path fails.
在第九方面, 本发明实施例提供了一种支持混合粒度业务共享资源的倒 换节点, 所述倒换节点包括: In a ninth aspect, an embodiment of the present invention provides a switching node that supports a hybrid granularity service shared resource, where the switching node includes:
处理器; Processor
存储器; Memory
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器执行以下过程的指令: An application physically stored in the memory, the application including instructions operable to cause the processor to perform the following process:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 接收同处 于所述高阶业务保护路径中的上游相邻节点通过高阶业务开销发送的第一消 息; When the high-order service working path protected by the high-order service protection path is faulty, receiving, by the upstream neighboring node in the high-order service protection path, the first message sent by the high-order service overhead;
根据所述第一消息, 判断所述高阶业务保护路径是否为可用路径; 当所述高阶业务保护路径为可用路径时, 通过低阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息; Determining, according to the first message, whether the high-order service protection path is an available path; when the high-order service protection path is an available path, the low-order service overhead is in the same high-order service protection path Sending, by the downstream neighbor node, the first message;
将与所述下游相邻节点的接收端口适配为高阶业务开销; Adapting the receiving port of the downstream neighboring node to a high-order service overhead;
当接收到所述下游相邻节点根据所述第一消息通过所述高阶业务开销发
送的第二消息时, 建立交叉。 Receiving, by the downstream neighboring node, the high-order service overhead according to the first message When the second message is sent, a cross is established.
在第一种可能的实现方式中, 所述应用程序还包括可用于使所述处理器 执行以下过程的指令: In a first possible implementation, the application further includes instructions operable to cause the processor to perform the following process:
当所述高阶业务保护路径为可用路径时, 通过低阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息之前, 通过所述高 阶业务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节 点根据所述第二消息建立交叉。 When the high-order service protection path is an available path, the high-order service overhead is used before the first message is sent to the downstream neighboring node in the high-order service protection path by the low-order service overhead. The upstream neighbor node sends the second message, so that the upstream neighboring node establishes an intersection according to the second message.
在第二种可能的实现方式中, 所述应用程序还包括可用于使所述处理器 执行以下过程的指令: In a second possible implementation, the application further includes instructions operable to cause the processor to perform the following process:
当未接收到所述下游相邻节点发送的所述第二消息时, 将与所述下游相 邻节点的接收端口适配为低阶业务开销, 通过所述低阶业务开销向所述下游 相邻节点发送所述第一消息。 When the second message sent by the downstream neighboring node is not received, the receiving port of the downstream neighboring node is adapted to a low-order service overhead, and the downstream phase is used to pass the low-order service overhead The neighbor node sends the first message.
在第十方面, 本发明实施例提供了一种支持混合粒度业务共享资源的倒 换节点, 所述倒换节点包括: In a tenth aspect, the embodiment of the present invention provides a switching node that supports a hybrid service of a granularity service, where the switching node includes:
处理器; Processor
存储器; Memory
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器执行以下过程的指令: An application physically stored in the memory, the application including instructions operable to cause the processor to perform the following process:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 接收同处 于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一消 息; When the high-order service working path protected by the high-order service protection path is faulty, receiving, by the upstream neighboring node in the high-order service protection path, the first message sent by the low-order service overhead;
根据所述第一消息, 判断所述高阶业务保护路径是否为可用路径; 当所述高阶业务保护路径为可用路径时, 通过低阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息; Determining, according to the first message, whether the high-order service protection path is an available path; when the high-order service protection path is an available path, the low-order service overhead is in the same high-order service protection path Sending, by the downstream neighbor node, the first message;
分别将与所述上游相邻节点和所述下游相邻节点的接收端口适配为高阶 业务开销;
当接收到所述下游相邻节点根据所述第一消息通过所述高阶业务开销发 送的第二消息时, 建立交叉。 Adapting the receiving ports of the upstream neighboring node and the downstream neighboring node to high-order service overhead respectively; And when the second neighboring node receives the second message sent by the high-order service overhead according to the first message, establishing an intersection.
在第一种可能的实现方式中, 所述应用程序还包括可用于使所述处理器 执行以下过程的指令: In a first possible implementation, the application further includes instructions operable to cause the processor to perform the following process:
分别将与所述上游相邻节点和所述下游相邻节点的接收端口适配为高阶 粒度之后, 通过所述高阶业务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节点才艮据所述第二消息建立交叉。 After the receiving ports of the upstream neighboring node and the downstream neighboring node are respectively adapted to a high-order granularity, the second message is sent to the upstream neighboring node by the high-order traffic overhead, so that The upstream neighboring node establishes an intersection according to the second message.
在第二种可能的实现方式中, 所述应用程序还包括可用于使所述处理器 执行以下过程的指令: In a second possible implementation, the application further includes instructions operable to cause the processor to perform the following process:
当未接收到所述下游相邻节点发送的所述第二消息时, 将与所述下游相 邻节点的接收端口适配为低阶业务开销, 通过所述低阶业务开销向所述下游 相邻节点发送所述第一消息。 When the second message sent by the downstream neighboring node is not received, the receiving port of the downstream neighboring node is adapted to a low-order service overhead, and the downstream phase is used to pass the low-order service overhead The neighbor node sends the first message.
在第十一方面, 本发明实施例提供了一种支持混合粒度业务共享资源的 倒换节点, 所述倒换节点包括: In an eleventh aspect, an embodiment of the present invention provides a switching node that supports a mixed-granular service shared resource, where the switching node includes:
处理器; Processor
存储器; Memory
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器执行以下过程的指令: An application physically stored in the memory, the application including instructions operable to cause the processor to perform the following process:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 接收同处 于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一消 息; When the high-order service working path protected by the high-order service protection path is faulty, receiving, by the upstream neighboring node in the high-order service protection path, the first message sent by the low-order service overhead;
根据所述第一消息, 判断所述高阶业务保护路径是否为可用路径; 当所述高阶业务保护路径为可用路径时, 通过高阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息; Determining, according to the first message, whether the high-order service protection path is an available path; when the high-order service protection path is an available path, the high-order service overhead is in the same high-order service protection path Sending, by the downstream neighbor node, the first message;
将与所述上游相邻节点的接收端口适配为高阶业务开销; Adapting the receiving port of the upstream neighboring node to a high-order service overhead;
当接收到所述下游相邻节点根据所述第一消息通过所述高阶业务开销发
送的第二消息时, 建立交叉。 Receiving, by the downstream neighboring node, the high-order service overhead according to the first message When the second message is sent, a cross is established.
在第一种可能的实现方式中, 所述应用程序还包括可用于使所述处理器 执行以下过程的指令: In a first possible implementation, the application further includes instructions operable to cause the processor to perform the following process:
将与所述上游相邻节点的接收端口适配为高阶粒度之后, 通过所述高阶 粒度开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节点 根据所述第二消息建立交叉。 After the receiving port of the upstream neighboring node is adapted to a high-order granularity, the second message is sent to the upstream neighboring node by the high-order granularity overhead, so that the upstream neighboring node is configured according to the The second message is established to cross.
在第二种可能的实现方式中, 所述应用程序还包括可用于使所述处理器 执行以下过程的指令: In a second possible implementation, the application further includes instructions operable to cause the processor to perform the following process:
当未接收到所述下游相邻节点发送的所述第二消息时, 通过所述高阶业 务开销向所述下游相邻节点发送所述第一消息。 And when the second message sent by the downstream neighboring node is not received, sending the first message to the downstream neighboring node by using the high-order service overhead.
在第十二方面, 本发明实施例提供了一种支持混合粒度业务共享资源的 保护节点, 所述保护节点包括: In a twelfth aspect, an embodiment of the present invention provides a protection node that supports a hybrid granular service shared resource, where the protection node includes:
处理器; Processor
存储器; Memory
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器执行以下过程的指令: An application physically stored in the memory, the application including instructions operable to cause the processor to perform the following process:
当所述高阶业务保护路径所保护的高阶业务工作路径为正常时, 接收处 于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一消 息; When the high-order service working path protected by the high-order service protection path is normal, receiving, by the upstream neighboring node in the high-order service protection path, the first message sent by the low-order service overhead;
通过所述低阶业务开销向处于所述高阶业务保护路径中的下游相邻节点 发送所述第一消息, 所述第一消息用于使处于所述高阶业务保护路径中的各 个节点对所述高阶业务保护路径进行维护。 Sending, by the low-order service overhead, the first message to a downstream neighboring node in the high-order service protection path, where the first message is used to make each node pair in the high-order service protection path The high-order service protection path is maintained.
在第一种可能的实现方式中, 接收处于所述高阶业务保护路径中的上游 相邻节点通过低阶业务开销发送的第一消息之前, 当所述高阶业务工作路径 已从故障恢复为正常时, 接收处于所述高阶业务保护路径的所述上游相邻节 点通过高阶业务开销发送的第二消息;
通过所述高阶业务开销向处于所述高阶业务保护路径的所述下游相邻节 点发送所述第二消息; In a first possible implementation manner, before receiving the first message sent by the upstream neighboring node in the high-order service protection path by using a low-order service overhead, when the high-order service working path has recovered from the fault to Normally, receiving, by the upstream neighboring node in the high-order service protection path, a second message sent by a high-order service overhead; Transmitting, by the high-order service overhead, the second message to the downstream neighboring node in the high-order service protection path;
接收所述下游相邻节点通过所述高阶业务开销发送的第三消息; 根据所述第三消息, 将与所述下游相邻节点之间的所述高阶业务保护路 径的业务开销适配为低阶业务开销, 并拆除与所述下游相邻节点建立的交叉; 通过所述高阶业务开销向所述上游相邻节点发送所述第三消息, 以使得 所述上游相邻节点根据所述第三消息, 将与所述保护节点之间的所述高阶业 务保护路径的业务开销适配为低阶业务开销, 并拆除与所述保护节点建立的 交叉。 Receiving a third message that is sent by the downstream neighboring node by using the high-order service overhead; and adapting, according to the third message, a service cost of the high-order service protection path between the downstream neighboring node a low-order service overhead, and tearing off an intersection established with the downstream neighboring node; sending the third message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node is configured according to the The third message is to adapt the service cost of the high-order service protection path with the protection node to a low-order service cost, and tear off the intersection established with the protection node.
结合第十二方面或第十二方面的第一种可能的实现方式, 在第二种可能 的实现方式中, 所述第一消息包括所述消息类型、 所述高阶业务工作路径的 标识、 所述高阶业务工作路径的业务开销和当所述高阶业务工作路径故障后 进行保护倒换所需的时隙。 With reference to the twelfth aspect or the first possible implementation manner of the twelfth aspect, in a second possible implementation, the first message includes the message type, an identifier of the high-order service working path, The service overhead of the high-order service working path and the time slot required for protection switching after the high-order service working path fails.
因此, 通过应用本发明实施例提供的支持混合粒度业务共享资源的处理 方法与节点, 当高阶业务工作路径故障时, 中间节点接收上游相邻节点通过 高阶业务开销发送的第一消息, 当高阶业务保护路径可用时, 通过低阶业务 开销向下游相邻节点发送第一消息, 并将与下游相邻节点的接收端口适配为 高阶业务开销, 当接收到下游相邻节点通过高阶业务开销发送的第二消息时, 建立交叉。 解决了现有技术中, 混合粒度业务的保护路径共用的中间节点无 法同时支持多种粒度开销的消息进行传输, 降低中间节点的工作效率的问题。 本发明实施例提供的支持混合粒度业务共享资源的处理方法与节点, 克服了 现有技术方案的局限性, 提高了中间节点的工作效率。 附图说明 Therefore, by applying the processing method and the node for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the intermediate node receives the first message sent by the upstream neighboring node through the high-order service overhead, when When the high-order service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order service overhead, and when the downstream neighboring node is received through the high When the second message is sent by the level service overhead, a cross is established. In the prior art, the intermediate node shared by the protection path of the hybrid granularity service cannot simultaneously support the message with multiple granularity overheads, and reduces the working efficiency of the intermediate node. The processing method and node for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention overcome the limitations of the prior art solution and improve the working efficiency of the intermediate node. DRAWINGS
图 1为现有技术中支持不同粒度共享的 ODU SMP应用场景; FIG. 1 is an ODU SMP application scenario supporting different granularity sharing in the prior art;
图 2为本发明实施例一提供的支持混合粒度业务共享资源的保护方法流
程图; 2 is a flow of a protection method for supporting a hybrid granularity service shared resource according to Embodiment 1 of the present invention; Cheng Tu
图 3为本发明实施例提供的支持混合粒度业务共享资源的保护信令图; 图 4为本发明实施例提供的支持混合粒度业务共享资源的回退信令图; 图 5为本发明实施例二提供的支持混合粒度业务共享资源的倒换方法流 程图; 3 is a protection signaling diagram of a hybrid granularity service shared resource according to an embodiment of the present invention; FIG. 4 is a back-off signaling diagram of a hybrid granularity service shared resource according to an embodiment of the present invention; A flow chart of a switching method for supporting a mixed-granular service shared resource provided by the second method;
图 6为本发明实施例提供的支持混合粒度业务共享资源的倒换信令图; 图 Ί为本发明实施例三提供的支持混合粒度业务共享资源的倒换方法流 程图; FIG. 6 is a schematic diagram of a switching signaling manner of supporting a hybrid granularity service shared resource according to an embodiment of the present invention; FIG. 6 is a flow chart of a method for switching a hybrid granularity service shared resource according to Embodiment 3 of the present invention;
图 8为本发明实施例四提供的支持混合粒度业务共享资源的倒换方法流 程图; 8 is a flow chart of a method for switching a hybrid granularity service shared resource according to Embodiment 4 of the present invention;
图 9为本发明实施例五提供的支持混合粒度业务共享资源的保护节点结 构示意图; 9 is a schematic diagram of a structure of a protection node supporting a hybrid granularity service shared resource according to Embodiment 5 of the present invention;
图 1 0为本发明实施例六提供的支持混合粒度业务共享资源的倒换节点结 构示意图; FIG. 10 is a schematic diagram showing a structure of an switching node supporting a hybrid granularity service shared resource according to Embodiment 6 of the present invention;
图 1 1为本发明实施例七提供的支持混合粒度业务共享资源的倒换节点结 构示意图; FIG. 1 is a schematic structural diagram of a switching node supporting a hybrid granularity service shared resource according to Embodiment 7 of the present invention;
图 12为本发明实施例八提供的支持混合粒度业务共享资源的倒换节点结 构示意图; FIG. 12 is a schematic diagram showing a structure of an switching node supporting a hybrid granularity service shared resource according to Embodiment 8 of the present invention; FIG.
图 1 3为本发明实施例九提供的支持混合粒度业务共享资源的保护节点硬 件结构示意图; FIG. 13 is a schematic structural diagram of a protection node hardware supporting a hybrid granularity service shared resource according to Embodiment 9 of the present invention;
图 14为本发明实施例十提供的支持混合粒度业务共享资源的倒换节点硬 件结构示意图; 14 is a schematic structural diagram of a switching node hardware supporting a hybrid granularity service shared resource according to Embodiment 10 of the present invention;
图 15为本发明实施例十一提供的支持混合粒度业务共享资源的倒换节点 硬件结构示意图; 15 is a schematic structural diagram of a hardware structure of a switching node supporting a hybrid granularity service shared resource according to Embodiment 11 of the present invention;
图 16为本发明实施例十二提供的支持混合粒度业务共享资源的倒换节点 硬件结构示意图。
具体实施方式 FIG. 16 is a schematic structural diagram of a hardware structure of a switching node supporting a hybrid granularity service shared resource according to Embodiment 12 of the present invention. detailed description
下面以现有技术中支持混合粒度业务共享资源的倒换过程为例, 说明现 有技术中在同一时间点, 混合粒度业务的保护路径共用的同一个节点只能适 配至单一粒度的业务, 即, 在图 1的场景下, 节点 B、 节点 C和节点 D只能支 持某一粒度( ODUk或 ODUj )开销的消息进行传输, 而无法同时支持多种粒度 开销的消息进行传输, 降低中间节点的工作效率的问题。 The following takes the switching process of the hybrid granularity service shared resource in the prior art as an example. In the prior art, at the same time point, the same node shared by the protection path of the hybrid granular service can only be adapted to a single granularity service, that is, In the scenario of Figure 1, Node B, Node C, and Node D can only support messages with a certain granularity (ODUk or ODUj) overhead, but cannot simultaneously support multiple granularity overhead messages for transmission, and reduce intermediate nodes. The problem of work efficiency.
具体过程为: 节点 A检测出第一工作路径故障后, 完成桥接(即将第一 工作路径上承载的业务发送至第一保护路径上) , 并通过低阶业务开销向节 点 B发送信号失效(S i gna l Fa i lure , 简称: SF ) 消息, 节点 B接收到后, 首先通过高阶业务开销向节点 C发送适配消息,节点 C根据适配消息向节点 B 回复确认消息并同时与节点 B建立适用低阶业务开销的连接点, 完成适配。 节点 B接收到确认消息后, 也同时与节点 C建立适用低阶业务开销的连接点, 完成适配, 然后, 节点 B通过低阶业务开销向节点 C发送信号 SF消息, 同理, 节点(、 节点 D也与节点 B执行过程类似。 如此, SF消息可以从节点 A传输 至节点 E。节点 E根据 SF消息进行桥接和选择,并逐跳返回反向请求( Rever se Reques t , 简称: RR ) 消息, 各中间节点建立交叉, 节点 A根据 RR消息完成 选收(即从第一保护路径上接收业务) 。 The specific process is as follows: After detecting the fault of the first working path, the node A completes the bridging (that is, the service carried on the first working path is sent to the first protection path), and sends a signal failure to the node B through the low-order service overhead (S I gna l Fa i lure , abbreviated as: SF ) message, after receiving the message, the node B first sends an adaptation message to the node C through the high-order service overhead, and the node C replies to the node B according to the adaptation message and simultaneously with the node B. Establish a connection point for low-level service overhead and complete the adaptation. After receiving the acknowledgment message, the node B also establishes a connection point with the lower-order service overhead with the node C, and completes the adaptation. Then, the node B sends a signal SF message to the node C through the low-order service overhead. Similarly, the node ( Node D is also similar to Node B. Thus, the SF message can be transmitted from Node A to Node E. Node E bridges and selects according to the SF message and returns a reverse request hop by hop (Rever se Reques t, abbreviated as RR) The message, each intermediate node establishes an intersection, and the node A completes the selection according to the RR message (that is, receives the service from the first protection path).
节点 F检测出第二工作路径故障后, 完成桥接 (即将第二工作路径上承 载的业务发送至第二保护路径上) , 并通过高阶业务开销向节点 B发送 SF消 息 (图 1中未示出) , 节点 B接收到后, 通过高阶业务开销向节点 C发送 SF 消息, 节点 C通过高阶业务开销向节点 D发送 SF消息, 节点 D通过高阶业务 开销向节点 G发送 SF消息, 节点 G根据 SF消息进行桥接和选择, 并逐跳返 回 RR消息, 各中间节点建立交叉, 节点 F根据 RR消息完成选收(即从第二 保护路径上接收业务) 。 After detecting the second working path fault, the node F completes the bridging (that is, sends the service carried on the second working path to the second protection path), and sends the SF message to the node B through the high-order service overhead (not shown in FIG. 1). After receiving the SF message, the node B sends the SF message to the node C through the high-order service overhead, and the node C sends the SF message to the node D through the high-order service overhead, and the node D sends the SF message to the node G through the high-order service overhead, the node G bridges and selects according to the SF message, and returns the RR message hop by hop, each intermediate node establishes an intersection, and the node F completes the selection according to the RR message (that is, receives the service from the second protection path).
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发
明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。 In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the following will be combined with the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the drawings, and the embodiments are described as a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without departing from the inventive scope are the scope of the present invention.
为便于对本发明实施例的理解, 下面将结合附图以具体实施例做进一步 的解释说明, 实施例并不构成对本发明实施例的限定。 In order to facilitate the understanding of the embodiments of the present invention, the embodiments of the present invention are not to be construed as limited.
实施例一 Embodiment 1
下面以图 1为例详细说明本发明实施例一提供的支持混合粒度业务共享 资源的保护方法, 图 2 为本发明实施例一提供的支持混合粒度业务共享资源 的保护方法流程图, 在本发明实施例中实施主体为业务保护路径中的中间节 点, 所述业务保护路径具体为高阶业务保护路径或者低阶业务保护路径, 且 高阶业务保护路径与低阶业务保护路径共用多个中间节点, 每个中间节点支 持多种粒度数据的处理。 在 0TN ( Optical Transport Network,光传送网 )中, 多种粒度数据可以是 ODU0、 0DU1、 0DU2 等; 在 SDH ( Synchronous Digital Hierarchy, 同步数字体系) 网络中, 多种粒度数据可以是 VC12 ( Virtual Container 12, 虚容器 12 ) 、 VC3、 VC4等; 在 MPLS ( Mult i- Protocol Label Switching, 多协议标签交换) 网络, 多种粒度数据可以是 PW (Pseudo Wire, 伪线) 、 LSP (Label Switched Path, 标签交换路径)等。 The following is a detailed description of a method for protecting a hybrid granularity service shared resource according to the first embodiment of the present invention, and FIG. 2 is a flowchart of a method for protecting a hybrid granularity service shared resource according to the first embodiment of the present invention. In the embodiment, the implementation entity is an intermediate node in the service protection path, and the service protection path is specifically a high-order service protection path or a low-order service protection path, and the high-order service protection path and the low-order service protection path share multiple intermediate nodes. Each intermediate node supports the processing of multiple granular data. In the optical transport network (0TN), the multiple granularity data can be ODU0, 0DU1, 0DU2, etc. In the SDH (Synchronous Digital Hierarchy) network, multiple granular data can be VC12 (Virtual Container) 12, virtual container 12), VC3, VC4, etc.; in the MPLS (Mult i- Protocol Label Switching) network, the multiple granularity data may be PW (Pseudo Wire), LSP (Label Switched Path, Label switching path) and so on.
本发明实施例提供的支持混合粒度业务共享资源的保护方法应用于光传 送网络中高阶业务工作路径和低阶业务工作路径均正常, 或者, 高阶业务工 作路径正常, 但低阶业务工作路径故障的情况下。 如图 1 所示, 该实施例具 体包括以下步骤: The protection method for the hybrid granularity service shared resource provided by the embodiment of the present invention is applied to the optical transport network, and the high-order service working path and the low-order service working path are normal, or the high-order service working path is normal, but the low-order service working path is faulty. in the case of. As shown in Figure 1, this embodiment specifically includes the following steps:
步骤 210、 当所述高阶业务保护路径所保护的高阶业务工作路径正常时, 所述中间节点接收处于所述高阶业务保护路径中的上游相邻节点通过低阶业 务开销发送的第一消息。 Step 210: When the high-order service working path protected by the high-order service protection path is normal, the intermediate node receives the first one sent by the upstream neighboring node in the high-order service protection path by using a low-order service overhead. Message.
具体地, 当高阶业务保护路径所保护的高阶业务工作路径正常时, 中间
节点接收处于高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的 第一消息。 Specifically, when the high-order service working path protected by the high-order service protection path is normal, the middle The node receives the first message sent by the upstream neighboring node in the high-order service protection path by the low-order service overhead.
第一消息具体为 0AM ( Operation Administration and Maintenance, 操 作维护管理) 消息。 本发明实施例提供的支持混合粒度业务共享资源的保护 方法应用在光传送网络, 则第一消息可具体为自动保护倒换 (Automatic Protection Switched, 简称: APS) 消息。 所述 APS消息包括多个消息种类, 例如, 非请求消息 (No Request, 简称: NR ) ; 回退消息 (Revert, 简称: RT) ; 反向请求消息 (Reverse Request, 简称: RR )等等。 The first message is specifically a 0AM (Operation Administration and Maintenance) message. The protection method of the hybrid granularity service shared resource provided by the embodiment of the present invention is applied to the optical transport network, and the first message may be specifically an Automatic Protection Switched (APS) message. The APS message includes multiple message types, for example, a non-request message (No Request, abbreviated as NR), a back-off message (Revert, referred to as RT), a reverse request message (Reverse Request, abbreviated as RR), and the like.
下面以第一消息为 APS消息为例进行说明。 The following takes the first message as an APS message as an example for description.
进一步地, 在本发明实施例中低阶业务为 0DU1; 高阶业务为 0DU2。 如图 Further, in the embodiment of the present invention, the low-order service is 0DU1; and the high-order service is 0DU2. As shown
3所示, 图 3为支持混合粒度业务共享资源的保护信令图, 在图 3中, 节点 A 至节点 E之间为低阶业务工作路径, 该低阶业务工作路径支持低阶业务开销, 粒度为 0DU1, 其对应的低阶业务保护路径为节点 A-节点 B-节点 C-节点 D-节 点 E, 其中, 节点 A至节点 B和节点 D至节点 E段路径支持低阶业务开销, 粒 度为 0DU1, 节点 B-节点 C-节点 D段路径支持高阶业务开销, 粒度为 0DU2: 节点 F至节点 G之间为高阶业务工作路径, 该高阶业务工作路径支持高阶业 务开销, 粒度为 0DU2, 其对应的高阶业务保护路径为节点 F-节点 B-节点 C- 节点 D-节点 G, 其中, 节点 F-节点 B-节点 C-节点 D-节点 G段路径支持高阶 业务开销, 粒度为 0DU2。 3, FIG. 3 is a protection signaling diagram supporting a mixed-granular service shared resource. In FIG. 3, a node-to-node E is a low-order service working path, and the low-order service working path supports a low-order service overhead. The granularity is 0DU1, and the corresponding low-order service protection path is node A-node B-node C-node D-node E, where node A to node B and node D to node E segment path support low-order service overhead, granularity For the 0DU1, the node B-node C-node D-segment path supports high-order service overhead, and the granularity is 0DU2: the high-order service working path is supported between the node F and the node G. The high-order service working path supports high-order service overhead and granularity. The corresponding high-order service protection path is 0DU2, and the node F-node B-node C-node D-node G, wherein the node F-node B-node C-node D-node G segment path supports high-order service overhead , the granularity is 0DU2.
可以理解的是, 所述低阶业务的粒度小于高阶业务的粒度。 It can be understood that the granularity of the low-order service is smaller than the granularity of the high-order service.
其中, 节点 A、 节点 E为低阶业务保护路径的端节点, 同理, 节点 F、 节 点 G为高阶业务保护路径的端节点; 节点 B、 节点(、 节点 D为中间节点, 且 均支持多种粒度; 节点 A、 节点 F分别为节点 B在低阶业务保护路径和高阶业 务保护路径上的上游相邻节点, 节点 C为节点 B在低阶业务保护路径和高阶 业务保护路径上的下游相邻节点, 其他节点的上下游节点不再赘述。 上游为 路径上宿节点至源节点方向, 下游为路径上源节点至宿节点方向。
进一步地, 在本发明实施例中以高阶业务工作路径和低阶业务工作路径 均为正常为例进行说明, 在第一个例子中, 当中间节点为节点 B 时, 节点 B 同时接收节点 A和节点 F通过低阶业务开销发送的第一消息, 也即是节点 B 接收节点 A发送的第一消息, 接收节点 F发送的第一消息。 Node A and node E are end nodes of the low-order service protection path. Similarly, node F and node G are end nodes of the high-order service protection path; node B, node (and node D are intermediate nodes, and both support A plurality of granularities; node A and node F are upstream neighbor nodes of the node B on the low-order service protection path and the high-order service protection path, respectively, and node C is the node B on the low-order service protection path and the high-order service protection path. The downstream adjacent nodes, the upstream and downstream nodes of other nodes are not described again. The upstream is the direction from the sink node to the source node on the path, and the downstream is the direction from the source node to the sink node on the path. Further, in the embodiment of the present invention, the high-order service working path and the low-order service working path are both normal. In the first example, when the intermediate node is the node B, the node B receives the node A at the same time. And the first message sent by the node F through the low-order service overhead, that is, the Node B receives the first message sent by the node A, and receives the first message sent by the node F.
在第二个例子中, 当中间节点为节点 C时, 节点 C接收节点 B通过低阶 业务开销发送的两个第一消息。 In the second example, when the intermediate node is node C, node C receives the two first messages sent by node B through the low-order service overhead.
在第三个例子中, 当中间节点为节点 D时, 节点 D接收节点 C通过低阶 业务开销发送的两个第一消息。 In the third example, when the intermediate node is node D, node D receives the two first messages sent by node C through the low-order traffic overhead.
当节点 B接收到的第一消息为节点 A发送时, 所述第一消息包括消息类 型、 低阶业务工作路径的标识、 低阶业务工作路径的粒度和当低阶业务工作 路径故障后进行保护倒换所需的时隙。 When the first message received by the Node B is sent by the node A, the first message includes a message type, an identifier of a low-order service working path, a granularity of a low-order service working path, and protection after a low-order service working path fails. Switch the required time slot.
需要说明的是, 第一消息包括开销部分和数据部分, 其中开销部分包括 消息类型、 低阶业务工作路径的标识、 低阶业务工作路径的粒度和当低阶业 务工作路径故障后进行保护倒换所需的时隙。 所述消息类型具体为非请求消 息类型, 换句话说, 第一消息具体为 NR消息; 所述低阶业务工作路径的标识 为 W1 ; 所述低阶业务工作路径的业务粒度为 0DU1 ; 所述低阶业务工作路径故 障后进行保护倒换所需的时隙为 TS#1 ~ TS#2。 It should be noted that the first message includes an overhead part and a data part, where the overhead part includes a message type, an identifier of a low-order service working path, a granularity of a low-order service working path, and a protection switching after a low-order service working path fails. The required time slot. The message type is specifically an unsolicited message type. In other words, the first message is specifically an NR message; the identifier of the low-order service working path is W1; and the service granularity of the low-order service working path is 0DU1; The time slots required for protection switching after a low-order service working path failure are TS#1 ~ TS#2.
当节点 B接收到的第一消息为节点 F发送时, 所述第一消息包括消息类 型、 高阶业务工作路径的标识、 高阶业务工作路径的粒度和当高阶业务工作 路径故障后进行保护倒换所需的时隙。 When the first message received by the Node B is sent by the node F, the first message includes a message type, an identifier of a high-order service working path, a granularity of a high-order service working path, and protection after a high-order service working path fails. Switch the required time slot.
需要说明的是, 第一消息包括开销部分和数据部分, 其中开销部分包括 消息类型、 高阶业务工作路径的标识、 高阶业务工作路径的粒度和当高阶业 务工作路径故障后进行保护倒换所需的时隙。 所述消息类型具体为非请求消 息类型, 换句话说, 第一消息具体为 NR消息; 所述高阶业务工作路径的标识 为 W2 ; 所述高阶业务工作路径的业务粒度为 0DU2 ; 所述高阶业务工作路径故 障后进行保护倒换所需的时隙为 TS#1 ~ TS#8。
步骤 220、所述中间节点通过所述低阶业务开销向处于所述高阶业务保护 路径中的下游相邻节点发送所述第一消息, 所述第一消息用于使处于所述高 阶业务保护路径中的各个节点对所述高阶业务保护路径进行维护。 It should be noted that the first message includes an overhead part and a data part, where the overhead part includes a message type, an identifier of a high-order service working path, a granularity of a high-order service working path, and a protection switching after a high-order service working path fails. The required time slot. The message type is specifically an unsolicited message type. In other words, the first message is specifically an NR message; the identifier of the high-order service working path is W2; and the service granularity of the high-order service working path is 0DU2; The time slots required for protection switching after a high-order service working path failure are TS#1 ~ TS#8. Step 220: The intermediate node sends the first message to a downstream neighboring node in the high-order service protection path by using the low-order service overhead, where the first message is used to enable the high-order service. Each node in the protection path maintains the high-order service protection path.
具体地, 中间节点接收到上游相邻节点通过低阶业务开销发送的第一消 息后, 中间节点也通过低阶业务开销向处于高阶业务保护路径中的下游相邻 节点发送第一消息, 所述第一消息用于使处于高阶业务保护路径中的各个节 点对高阶业务保护路径进行维护。 Specifically, after the intermediate node receives the first message sent by the upstream neighboring node through the low-order service overhead, the intermediate node sends the first message to the downstream neighboring node in the high-order service protection path by using the low-order service overhead. The first message is used to maintain the high-order service protection path by each node in the high-order service protection path.
进一步地, 如前述的例子, 当中间节点为节点 B时, 节点 B通过低阶业 务开销向节点 C发送两个第一消息。 Further, as in the foregoing example, when the intermediate node is the Node B, the Node B sends two first messages to the Node C through the low-order service overhead.
当中间节点为节点 C时, 节点 C通过低阶业务开销向节点 D发送两个第 一消息。 When the intermediate node is node C, node C sends two first messages to node D through low-order traffic overhead.
当中间节点为节点 D时,节点 D通过低阶业务开销分别向节点 G和节点 E 发送第一消息。 When the intermediate node is node D, node D sends the first message to node G and node E respectively through low-order service overhead.
业务保护路径中的各个节点均接收到属于各自业务保护路径的第一消 息, 根据第一消息对所属路径进行维护, 并且, 高阶、 低阶业务保护路径均 通过低阶业务开销发送第一消息, 进而解决了现有技术中, 在工作路径正常 的情况下, 中间节点无法同时支持保护路径上多种粒度开销的消息进行传输, 导致无法及时感知保护路径故障的问题。 Each node in the service protection path receives the first message belonging to the respective service protection path, and maintains the path according to the first message, and the high-order and low-order service protection paths send the first message through the low-order service overhead. In the prior art, in the case that the working path is normal, the intermediate node cannot simultaneously support the message with multiple granularity overheads on the protection path, and the problem that the protection path is faulty cannot be sensed in time.
需要说明的是, 前述的例子中, 中间节点接收的第一消息均由业务保护 路径中的源端节点发起维护, 在实际应用中, 中间节点还可接收由宿端节点 发送的第一消息, 由宿端节点发起维护。 It should be noted that, in the foregoing example, the first message received by the intermediate node is initiated and maintained by the source end node in the service protection path. In an actual application, the intermediate node may also receive the first message sent by the sink node. Maintenance is initiated by the sink node.
在本发明实施例中, 当由宿端节点发起维护时, 中间节点执行的维护过 程与前述相同, 在此不再复述。 上述工作路径和保护路径承载的业务可以是 单向业务, 也可以是双向业务。 In the embodiment of the present invention, when the maintenance is initiated by the sink node, the maintenance process performed by the intermediate node is the same as the foregoing, and is not repeated here. The service carried by the working path and the protection path may be a one-way service or a two-way service.
当高阶业务工作路径正常, 但低阶业务工作路径故障的情况下, 中间节 点对高阶业务保护路径进行维护的过程与前述相同, 在此不再复述。
可选地, 在本发明实施例步骤 21 0之前还包括当业务工作路径已从故障 路径恢复为正常路径时, 中间节点将业务保护路径承载的业务回退至业务工 作路径的步骤。 通过该步骤, 中间节点保持低阶业务保护路径的业务开销为 低阶业务开销, 将高阶业务保护路径的业务开销适配回低阶业务开销, 以使 得中间节点在对高阶业务保护路径进行维护时, 使用低阶业务开销发送第一 消息, 而低阶业务保护路径仍使用低阶业务开销发送第一消息。 具体步骤如 下: When the high-order service working path is normal, but the low-order service working path is faulty, the process of maintaining the high-order service protection path by the intermediate node is the same as the foregoing, and is not repeated here. Optionally, before the step 210 of the embodiment of the present invention, the method further includes the step of the intermediate node rolling back the service carried by the service protection path to the service working path when the service working path has been restored from the fault path to the normal path. Through this step, the intermediate node maintains the service cost of the low-order service protection path as a low-order service overhead, and adapts the service cost of the high-order service protection path to the low-order service cost, so that the intermediate node performs the high-order service protection path. During maintenance, the first message is sent using the low-order service overhead, and the low-order service protection path still uses the low-order service overhead to send the first message. Specific steps are as follows:
当所述高阶业务工作路径已从故障恢复为正常时, 所述中间节点接收处 于所述高阶业务保护路径的所述上游相邻节点通过高阶业务开销发送的第二 消息; And when the high-order service working path has recovered from a fault to a normal state, the intermediate node receives a second message that is sent by the upstream neighboring node of the high-order service protection path by using a high-order service overhead;
所述中间节点通过所述高阶业务开销向处于所述高阶业务保护路径的所 述下游相邻节点发送所述第二消息; Transmitting, by the intermediate node, the second message to the downstream neighboring node in the high-order service protection path by using the high-order service overhead;
所述中间节点接收所述下游相邻节点通过所述高阶业务开销发送的第三 消息; Receiving, by the intermediate node, a third message sent by the downstream neighboring node by using the high-order service overhead;
根据所述第三消息, 所述中间节点将与所述下游相邻节点之间的所述高 阶业务保护路径的粒度开销适配为低阶业务开销, 并拆除与所述下游相邻节 点建立的交叉; According to the third message, the intermediate node adapts the granularity overhead of the high-order service protection path with the downstream neighboring node to a low-order service overhead, and tears down and establishes with the downstream neighboring node. Cross
所述中间节点通过所述高阶业务开销向所述上游相邻节点发送所述第三 消息, 以使得所述上游相邻节点根据所述第三消息, 将与所述中间节点之间 的所述高阶业务保护路径的粒度适配为低阶业务开销, 并拆除与所述中间节 点建立的交叉。 Transmitting, by the intermediate node, the third message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node and the intermediate node according to the third message The granularity of the high-order service protection path is adapted to low-order service overhead, and the intersection established with the intermediate node is removed.
具体地, 当高阶业务工作路径已从故障路径恢复为正常路径时, 中间节 点接收处于高阶业务保护路径的上游相邻节点通过高阶业务开销发送的第二 消息; 中间节点通过高阶业务开销向处于高阶业务保护路径的下游相邻节点 发送第二消息, 所述第二消息用于使各个中间节点确定高阶业务工作路径为 正常路径; 中间节点接收下游相邻节点通过高阶业务开销发送的第三消息;
根据第三消息, 中间节点将与下游相邻节点之间的高阶业务保护路径的粒度 适配为低阶业务开销, 并拆除与下游相邻节点建立的交叉; 中间节点通过高 阶业务开销向上游相邻节点发送第三消息, 以使得上游相邻节点根据第三消 息, 将与中间节点之间的高阶业务保护路径的粒度适配为低阶业务开销, 并 拆除与中间节点建立的交叉。 Specifically, when the high-order service working path has been restored from the fault path to the normal path, the intermediate node receives the second message sent by the upstream neighboring node in the high-order service protection path through the high-order service overhead; the intermediate node passes the high-order service. The overhead sends a second message to the downstream neighboring node in the high-order service protection path, where the second message is used to determine that each intermediate node determines that the high-order service working path is a normal path; and the intermediate node receives the downstream neighboring node through the high-order service. The third message sent by the overhead; According to the third message, the intermediate node adapts the granularity of the high-order service protection path with the downstream neighboring node to the low-order service overhead, and tears the intersection established with the downstream neighboring node; the intermediate node passes the high-order service overhead upward The neighboring node sends a third message, so that the upstream neighboring node adapts the granularity of the high-order service protection path with the intermediate node to the low-order service overhead according to the third message, and tears the intersection established with the intermediate node.
进一步地, 如图 4所示, 图 4为支持混合粒度业务共享资源的回退信令 图。 在图 4中, 各节点、 路径的粒度与图 3所示的图中相同, 在此不再复述。 Further, as shown in FIG. 4, FIG. 4 is a back-off signaling diagram supporting mixed-granular service shared resources. In FIG. 4, the granularity of each node and path is the same as that in the figure shown in FIG. 3, and will not be repeated here.
其中, 各中间节点保持低阶业务保护路径的粒度为低阶业务开销, 将低 阶业务保护路径上承载的业务回退至低阶业务工作路径为现有技术, 再次不 再复述。 The intermediate node keeps the granularity of the low-order service protection path as the low-order service cost, and the service carried in the low-order service protection path is rolled back to the low-order service working path as the prior art, and will not be repeated again.
下面以高阶业务保护路径上承载的业务回退至高阶业务工作路径为例进 行说明。 The following takes the case where the service carried on the high-order service protection path is rolled back to the high-order service working path as an example.
在一个例子中, 节点 F检测到高阶业务工作路径故障消除, 回复为正常 路径时, 节点 F通过高阶业务开销向节点 B发送第二消息; 节点 B也通过高 阶业务开销向节点 C发送第二消息, 以此类推, 直至节点 D通过高阶业务开 销向节点 G发送第二消息, 节点 G根据第二消息确定高阶业务工作路径为正 常路径, 节点 G通过高阶业务开销向节点 D发送第三消息, 节点 D根据第三 消息将与节点 G之间的高阶业务保护路径的粒度适配为低阶业务开销, 并拆 除与节点 G建立的交叉, 节点 D通过高阶业务开销向节点 C发送第三消息, 同理, 节点 C将与节点 D之间的高阶业务保护路径的粒度适配为低阶业务开 销, 并拆除与节点 D建立的交叉, 同理, 节点 B、 节点 F将与下游相邻节点之 间的高阶业务保护路径的粒度适配为低阶业务开销, 并拆除与下游相邻节点 建立的交叉, 进而中间节点保持低阶业务保护路径的粒度为低阶业务开销, 将高阶业务保护路径的粒度回退至低阶业务开销, 以使得中间节点在对高阶 业务保护路径进行维护时, 使用低阶业务开销发送自动保护倒换消息, 而低 阶业务保护路径仍使用低阶业务开销发送自动保护倒换消息。
需要说明的是, 所述第二、 第三消息包括开销部分和数据部分, 其中开 销部分包括消息类型、 高阶业务工作路径的标识。 所述消息类型具体为回退 消息类型(Rever t , 简称: RT )或者为反向请求消息类型( Rever s e Reque s t , 简称: RR ) , 换句话说, 第二消息具体为 RT消息, 第三消息具体为 RR消息; 所述高阶业务工作路径的标识为 W2。 In an example, the node F detects the high-order service working path fault elimination, and when returning to the normal path, the node F sends the second message to the node B through the high-order service overhead; the node B also sends the high-order service overhead to the node C. The second message, and so on, until the node D sends the second message to the node G through the high-order service overhead, the node G determines that the high-order service working path is the normal path according to the second message, and the node G passes the high-order service overhead to the node D. Sending a third message, the node D adapts the granularity of the high-order service protection path between the node G and the node G to the low-order service overhead according to the third message, and tears the intersection established with the node G, and the node D passes the high-order service overhead. Node C sends a third message. Similarly, node C adapts the granularity of the high-order service protection path with node D to low-order service overhead, and tears the intersection established with node D. Similarly, node B, node F adapts the granularity of the high-order service protection path between the downstream neighboring nodes to the low-order service overhead, and removes the intersection established with the downstream adjacent nodes, and then the intermediate section The granularity of the low-order service protection path is low-level service overhead, and the granularity of the high-order service protection path is rolled back to the low-order service cost, so that the intermediate node uses the low-order service overhead when maintaining the high-order service protection path. The automatic protection switching message is sent, and the low-order service protection path still uses the low-order service overhead to send an automatic protection switching message. It should be noted that the second and third messages include an overhead part and a data part, where the overhead part includes a message type and an identifier of a high-order service working path. The message type is specifically a back-off message type (Rever t, abbreviated as RT) or a reverse request message type (Rever se Reque st, abbreviated as RR). In other words, the second message is specifically an RT message, and the third The message is specifically an RR message; the identifier of the high-order service working path is W2.
因此, 通过应用本发明实施例提供的支持混合粒度业务共享资源的保护 方法, 当高阶业务工作路径正常时, 中间节点接收处于高阶业务保护路径中 的上游相邻节点通过低阶业务开销发送的第一消息, 并将该第一消息向处于 高阶业务保护路径中的下游相邻节点发送, 以使得处于高阶业务保护路径中 的各个中间节点对高阶业务保护路径进行维护。 解决了现有技术中, 在工作 路径正常的情况下, 中间节点无法同时支持保护路径上多种粒度开销的消息 进行传输, 导致无法及时感知保护路径故障的问题。 本发明实施例提供的支 持混合粒度业务共享资源的保护方法, 克服了现有技术方案的局限性, 提高 了中间节点的工作效率。 Therefore, by applying the protection method of the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is normal, the intermediate node receives the upstream neighboring node in the high-order service protection path and sends the low-order service overhead. The first message is sent to the downstream neighboring node in the high-order service protection path, so that each intermediate node in the high-order service protection path maintains the high-order service protection path. In the prior art, in the case that the working path is normal, the intermediate node cannot simultaneously support the message with multiple granularity overheads on the protection path, and the problem that the protection path is faulty cannot be sensed in time. The method for protecting the shared resource of the mixed granularity service provided by the embodiment of the present invention overcomes the limitations of the prior art solution and improves the working efficiency of the intermediate node.
实施例二 Embodiment 2
下面以图 5为例详细说明本发明实施例二提供的支持混合粒度业务共享 资源的倒换方法, 图 5 为本发明实施例二提供的支持混合粒度业务共享资源 的倒换方法流程图, 在本发明实施例中实施主体为业务保护路径中的中间节 点, 所述业务保护路径具体为高阶业务保护路径或者低阶业务保护路径, 且 高阶业务保护路径与低阶业务保护路径共用多个中间节点, 每个中间节点支 持多种粒度业务的处理。 The following is a detailed description of a method for supporting a hybrid granularity service shared resource according to the second embodiment of the present invention, and FIG. 5 is a flowchart of a method for switching a hybrid granularity service shared resource according to Embodiment 2 of the present invention. In the embodiment, the implementation entity is an intermediate node in the service protection path, and the service protection path is specifically a high-order service protection path or a low-order service protection path, and the high-order service protection path and the low-order service protection path share multiple intermediate nodes. Each intermediate node supports the processing of multiple granular services.
本发明实施例提供的支持混合粒度业务共享资源的倒换方法应用于光网 络系统中高阶业务工作路径为故障路径的情况下。 如图 5 所示, 该实施例具 体包括以下步骤: The switching method for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention is applied to the case where the high-order service working path in the optical network system is a fault path. As shown in Figure 5, this embodiment specifically includes the following steps:
步骤 51 0、 当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 处于所述高阶业务保护路径中的所述中间节点接收同处于所述高阶业务保护
路径中的上游相邻节点通过高阶业务开销发送的第一消息。 Step 51: When the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the same high-order service protection. The first message sent by the upstream neighboring node in the path through the high-order service overhead.
具体地, 当高阶业务保护路径所保护的高阶业务工作路径故障时, 处于 高阶业务保护路径中的中间节点接收同处于高阶业务保护路径中的上游相邻 节点通过高阶业务开销发送的第一消息。 Specifically, when the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path and sends the high-order service overhead through the high-order service overhead. The first news.
所述第一消息包括开销部分和数据部分, 其中开销部分包括消息类型、 高阶业务工作路径的标识、 高阶业务工作路径的粒度和当高阶业务工作路径 故障后进行保护倒换所需的时隙。 所述消息类型具体为信号失效消息类型, 换句话说, 第一消息具体为 SF消息; 所述高阶业务工作路径的标识为 W2 ; 所 述高阶业务工作路径的业务粒度为 0DU2 ; 所述高阶业务工作路径故障后进行 保护倒换所需的时隙为 TS#1 ~ TS#8。 The first message includes an overhead part and a data part, where the overhead part includes a message type, an identifier of a high-order service working path, a granularity of a high-order service working path, and a time required for protection switching after a high-order service working path fails. Gap. The message type is specifically a signal invalidation message type. In other words, the first message is specifically an SF message; the identifier of the high-order service working path is W2; and the service granularity of the high-order service working path is 0DU2; The time slots required for protection switching after a high-order service working path failure are TS#1 ~ TS#8.
可以理解的是, 低阶业务工作路径的标识为 W1 , 低阶业务工作路径的业 务粒度为 0DU1。 It can be understood that the identifier of the low-order service working path is W1 and the service granularity of the low-order business working path is 0DU1.
进一步地, 如图 6所示, 图 6为本发明实施例提供的支持混合粒度业务 共享资源的倒换信令图。 在图 6中, 各节点、 路径的粒度与图 3所示的图中 相同, 在此不再复述。 Further, as shown in FIG. 6, FIG. 6 is a schematic diagram of a switching signaling supporting a hybrid granularity service shared resource according to an embodiment of the present invention. In Fig. 6, the granularity of each node and path is the same as that in the figure shown in Fig. 3, and will not be repeated here.
在一个例子中,所述中间节点具体为节点 B ,节点 B的上游相邻节点为节 点 F , 下游相邻节点为节点(。 节点 F检测出其与节点 G之间的业务工作路径 故障, 则节点 F发起倒换过程, 通过高阶粒度开销向节点 B发送 SF消息。 节 点 B接收 SF消息。 In an example, the intermediate node is specifically a node B, the upstream neighboring node of the node B is the node F, and the downstream neighboring node is the node (the node F detects the service working path fault between the node and the node G, then The node F initiates a switching process, and sends an SF message to the Node B through a high-order granularity overhead. The Node B receives the SF message.
步骤 520、根据所述第一消息,所述中间节点判断所述高阶业务保护路径 是否为可用路径。 Step 520: The intermediate node determines, according to the first message, whether the high-order service protection path is an available path.
具体地, 根据第一消息, 中间节点判断高阶业务保护路径是否为可用路 径。 Specifically, according to the first message, the intermediate node determines whether the high-order service protection path is an available path.
进一步地, 如前述的例子, 节点 B根据 SF消息包括的标识, 确定与高阶 业务工作路径对应的高阶业务保护路径(节点 F-节点 B-节点 C-节点 D-节点 G ) 。 节点 B判断该高阶业务保护路径是否为可用路径。 所述可用路径具体为
高阶业务保护路径是否为正常路径, 或者高阶业务保护路径的带宽是否未被 其他业务所占用。 Further, as in the foregoing example, the Node B determines, according to the identifier included in the SF message, a high-order service protection path (Node F-Node B-Node C-Node D-Node G) corresponding to the high-order service working path. The Node B determines whether the high-order service protection path is an available path. The available path is specifically Whether the high-order service protection path is a normal path, or whether the bandwidth of the high-order service protection path is not occupied by other services.
步骤 530、 当所述高阶业务保护路径为可用路径时,所述中间节点通过低 阶业务开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一 消息。 Step 530: When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead.
具体地, 当高阶业务保护路径为可用路径时, 中间节点通过低阶业务开 销向同处于高阶业务保护路径中的下游相邻节点发送第一消息。 Specifically, when the high-order service protection path is an available path, the intermediate node sends the first message to the downstream neighboring node that is in the high-order service protection path by the low-order service.
进一步地, 如前述的例子, 节点 B判断高阶业务保护路径为可用路径后, 节点 B通过低阶业务开销向节点 C发送 SF消息。 Further, as in the foregoing example, after the node B determines that the high-order service protection path is an available path, the node B sends the SF message to the node C through the low-order service overhead.
步骤 540、所述中间节点将与所述下游相邻节点的接收端口适配为高阶粒 度。 Step 540: The intermediate node adapts the receiving port of the downstream neighboring node to a high-order granularity.
具体地, 中间节点向下游相邻节点发送第一消息后, 将与下游相邻节点 的接收端口适配为高阶粒度, 以便于后于与下游相邻节点通过高阶业务开销 收发消息。 Specifically, after sending the first message to the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a high-order granularity, so as to send and receive messages through the high-order service overhead with the downstream neighboring node.
进一步地, 如前述的例子, 节点 B向节点 C发送 SF消息后, 将与节点 C 的接收端口适配为高阶粒度。 Further, as in the foregoing example, after transmitting the SF message to the node C, the node B adapts the receiving port of the node C to a high-order granularity.
步骤 550、当所述中间节点接收到所述下游相邻节点根据所述第一消息通 过所述高阶业务开销发送的第二消息时, 所述中间节点建立交叉。 Step 550: When the intermediate node receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead, the intermediate node establishes an intersection.
具体地, 当在预设的时间内 (例如, 5 s ) , 中间节点接收到下游相邻节 点根据第一消息通过高阶业务开销发送的第二消息时, 中间节点建立交叉。 Specifically, when the intermediate node receives the second message sent by the downstream neighboring node according to the first message through the high-order service overhead within a preset time (for example, 5 s), the intermediate node establishes a crossover.
需要说明的是, 当低阶业务工作路径故障时, 节点 A发起倒换, 低阶业 务保护路径上的各个节点可直接使用低阶业务开销发送 SF消息, 进行倒换过 程为现有技术, 再次不再复述。 It should be noted that when the low-order service working path is faulty, the node A initiates the switching, and each node on the low-order service protection path can directly send the SF message by using the low-order service overhead, and the switching process is the existing technology, and is no longer used again. repeat.
在本发明实施例中, 当高阶业务工作路径的源端节点与宿端节点(例如, 节点 F与节点 G )同时发起倒换时, 节点 B执行的倒换过程与前述相同, 在此 不再复述。
由于中间节点向下游相邻节点发送 SF消息后,将与下游相邻节点的接收 端口进行适配, 并在接收到下游相邻节点发送的 RR消息时, 建立交叉, 进而 缩短倒换时间, 提高中间节点的工作效率, 同时, 各中间节点可同时接收多 种粒度开销的消息, 也解决了无法同时支持多种粒度开销的消息进行传输的 问题。 In the embodiment of the present invention, when the source end node of the high-order service working path and the sink end node (for example, the node F and the node G) initiate the switching at the same time, the switching process performed by the node B is the same as the foregoing, and is not repeated here. . After the intermediate node sends the SF message to the downstream neighboring node, it will adapt to the receiving port of the downstream neighboring node, and when receiving the RR message sent by the downstream neighboring node, establish a crossover, thereby shortening the switching time and improving the middle. The working efficiency of the node, at the same time, each intermediate node can receive messages with multiple granularity overheads at the same time, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time.
所述第二消息包括开销部分和数据部分, 其中开销部分包括消息类型、 高阶业务工作路径的标识、 高阶业务工作路径的粒度和当高阶业务工作路径 故障后进行保护倒换所需的时隙。 所述消息类型具体为反向请求消息类型, 换句话说, 第二消息具体为 RR消息; 所述高阶业务工作路径的标识为 W2 ; 所 述高阶业务工作路径的业务粒度为 0DU2 ; 所述高阶业务工作路径故障后进行 保护倒换所需的时隙为 TS#1 ~ TS#8。 The second message includes an overhead part and a data part, where the overhead part includes a message type, an identifier of a high-order service working path, a granularity of a high-order service working path, and a time required for protection switching after a high-order service working path fails. Gap. The message type is specifically a reverse request message type. In other words, the second message is specifically an RR message; the identifier of the high-order service working path is W2; and the service granularity of the high-order service working path is 0DU2; The time slots required for protection switching after the high-order service working path failure are TS#1 ~ TS#8.
进一步地, 如前述的例子, 当节点 B接收到节点 C根据 SF消息通过高阶 业务发送的 RR消息时, 节点 B建立交叉。 Further, as in the foregoing example, when the Node B receives the RR message sent by the Node C through the high-order service according to the SF message, the Node B establishes an intersection.
可选地, 在本发明实施例步骤 530之前还包括中间节点通过高阶业务开 销向上游相邻节点发送第二消息的步骤, 通过该步骤, 可使上游相邻节点根 据第二消息建立交叉, 进而缩短倒换时间, 提高节点的工作效率, 同时, 各 节点可同时接收多种粒度开销的消息, 也解决了无法同时支持多种粒度开销 的消息进行传输的问题。 具体步骤如下: Optionally, before the step 530 of the embodiment of the present invention, the step of transmitting, by the intermediate node, the second message by using the high-order service overhead to the upstream neighboring node, by using the step, the upstream neighboring node may establish a cross according to the second message, thereby shortening The switching time improves the working efficiency of the node. At the same time, each node can receive messages with multiple granularity overheads at the same time, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time. Specific steps are as follows:
当所述高阶业务保护路径为可用路径时, 所述中间节点通过所述高阶业 务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节点根 据所述第二消息建立交叉。 When the high-order service protection path is an available path, the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node is configured according to the The second message establishes a cross.
具体地, 如前述的例子, 当高阶业务保护路径为可用路径时, 节点 B通 过高阶业务开销向节点 F发送 RR消息, 以使得节点 F根据 RR消息建立交叉。 Specifically, as in the foregoing example, when the high-order service protection path is an available path, the node B sends an RR message to the node F through the high-order service overhead, so that the node F establishes an intersection according to the RR message.
可选地, 在本发明实施例中还包括中间节点未接收到下游相邻节点发送 的第二消息时, 中间节点将与下游相邻节点的接收端口适配为低阶粒度, 并 通过低阶业务开销向下游相邻节点再次发送第一消息的步骤, 进而再次进行
适配, 建立交叉。 具体步骤如下: Optionally, in the embodiment of the present invention, when the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity, and passes the low-order The step of the service overhead sending the first message to the downstream neighboring node again, and then performing again Adapt, create a cross. Specific steps are as follows:
当所述中间节点未接收到所述下游相邻节点发送的所述第二消息时 , 所 述中间节点将与所述下游相邻节点的接收端口适配为低阶粒度; When the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity;
所述中间节点通过所述低阶业务开销向所述下游相邻节点发送所述第一 消息。 The intermediate node sends the first message to the downstream neighboring node by using the low-order service overhead.
具体地, 当在预设的时间内 (例如, 5 s ) , 中间节点未接收到下游相邻 节点发送的第二消息时, 中间节点确定与下游相邻节点未适配成功, 则中间 节点取消前次与下游相邻节点的接收端口的适配, 也即是, 中间节点将与下 游相邻节点的接收端口适配为低阶粒度; 中间节点再次通过低阶业务开销向 下游相邻节点发送第一消息, 进而再次与下游相邻节点进行适配, 建立交叉。 Specifically, when the intermediate node does not receive the second message sent by the downstream neighboring node within a preset time (for example, 5 s), the intermediate node determines that the downstream node is not successfully adapted, and the intermediate node cancels. The previous adaptation with the receiving port of the downstream neighboring node, that is, the intermediate node will adapt to the receiving port of the downstream neighboring node to a lower-order granularity; the intermediate node again sends the downstream neighboring node to the downstream neighboring node through the low-order service overhead. The first message is further adapted to the downstream neighboring nodes to establish a crossover.
如前述的例子, 当节点 B未接收到节点 C发送的 RR消息时, 节点 B将与 节点 C的接收端口适配为低阶粒度, 节点 B再次通过低阶业务开销向节点 C 发送 SF消息, 进而再次与节点 C进行适配, 建立交叉。 As the foregoing example, when the Node B does not receive the RR message sent by the node C, the Node B adapts the receiving port of the node C to a low-order granularity, and the Node B sends the SF message to the node C again through the low-order service overhead. Then, it is adapted again with the node C to establish a crossover.
因此, 通过应用本发明实施例提供的支持混合粒度业务共享资源的倒换 方法, 当高阶业务工作路径故障时, 中间节点接收上游相邻节点通过高阶业 务开销发送的第一消息, 当高阶业务保护路径可用时, 通过低阶业务开销向 下游相邻节点发送第一消息, 并将与下游相邻节点的接收端口适配为高阶粒 度, 当接收到下游相邻节点通过高阶业务开销发送的第二消息时, 建立交叉。 解决了现有技术中, 中间节点无法同时支持多种粒度开销的消息进行传输, 降低中间节点的工作效率的问题。 本发明实施例提供的支持混合粒度业务共 享资源的倒换方法, 提高了中间节点的工作效率。 Therefore, by applying the switching method of the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the intermediate node receives the first message sent by the upstream neighboring node through the high-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to a high-order granularity, and the downstream neighboring node receives the high-order service overhead. When the second message is sent, a cross is established. In the prior art, the problem that the intermediate node cannot simultaneously support multiple granularity overhead messages to transmit and reduce the working efficiency of the intermediate node is solved. The method for switching the shared granularity service shared resources provided by the embodiment of the present invention improves the working efficiency of the intermediate node.
实施例三 Embodiment 3
下面以图 Ί为例详细说明本发明实施例三提供的支持混合粒度业务共享 资源的倒换方法, 图 Ί 为本发明实施例三提供的支持混合粒度业务共享资源 的倒换方法流程图, 在本发明实施例中实施主体为业务保护路径中的中间节 点, 所述业务保护路径具体为高阶业务保护路径或者低阶业务保护路径, 且
高阶业务保护路径与低阶业务保护路径共用多个中间节点, 每个中间节点支 持多种粒度业务的处理。 The following is a detailed description of a method for supporting a hybrid granularity service shared resource according to Embodiment 3 of the present invention, and FIG. 3 is a flowchart of a method for supporting a hybrid granularity service shared resource according to Embodiment 3 of the present invention. In the embodiment, the implementation entity is an intermediate node in the service protection path, and the service protection path is specifically a high-order service protection path or a low-order service protection path, and The high-order service protection path shares a plurality of intermediate nodes with the low-order service protection path, and each intermediate node supports processing of multiple granular services.
本发明实施例提供的支持混合粒度业务共享资源的倒换方法应用于光网 络系统中高阶业务工作路径为故障路径的情况下。 如图 7 所示, 该实施例具 体包括以下步骤: The switching method for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention is applied to the case where the high-order service working path in the optical network system is a fault path. As shown in Figure 7, this embodiment specifically includes the following steps:
步骤 71 0、 当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 处于所述高阶业务保护路径中的所述中间节点接收同处于所述高阶业务保护 路径中的上游相邻节点通过低阶业务开销发送的第一消息。 Step 71: When the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream in the high-order service protection path. The first message sent by the neighboring node through the low-order service overhead.
具体地, 当高阶业务保护路径所保护的高阶业务工作路径故障时, 处于 高阶业务保护路径中的中间节点接收同处于高阶业务保护路径中的上游相邻 节点通过低阶业务开销发送的第一消息。 Specifically, when the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path and sends the low-order service overhead. The first news.
在本发明实施例中, 所述第一消息与前述实施例二中公开的第一消息相 同, 在此不再复述。 In the embodiment of the present invention, the first message is the same as the first message disclosed in the foregoing Embodiment 2, and is not repeatedly described herein.
进一步地, 如图 6所示, 在图 6中, 各节点、 路径的粒度与图 3所示的 图中相同, 在此不再复述。 Further, as shown in FIG. 6, in FIG. 6, the granularity of each node and path is the same as that in the figure shown in FIG. 3, and will not be repeated here.
在一个例子中,所述中间节点具体为节点 C ,节点 C的上游相邻节点为节 点 B , 下游相邻节点为节点 D。 节点 F检测出其与节点 G之间的高阶业务工作 路径故障,则节点 F发起倒换过程,通过高阶业务开销向节点 B发送 SF消息。 节点 B通过低阶业务开销向节点 C发送 SF消息, 节点 C接收 SF消息。 In one example, the intermediate node is specifically node C, the upstream neighbor node of node C is node B, and the downstream neighbor node is node D. When the node F detects the high-order service working path fault between the node and the node G, the node F initiates a switching process, and sends an SF message to the node B through the high-order service overhead. Node B sends an SF message to Node C through a low-order service overhead, and Node C receives the SF message.
步骤 720、根据所述第一消息,所述中间节点判断所述高阶业务保护路径 是否为可用路径。 Step 720: The intermediate node determines, according to the first message, whether the high-order service protection path is an available path.
具体地, 根据第一消息, 中间节点判断高阶业务保护路径是否为可用路 径。 Specifically, according to the first message, the intermediate node determines whether the high-order service protection path is an available path.
进一步地, 如前述的例子, 节点 C根据 SF消息包括的标识, 确定与高阶 业务工作路径对应的高阶业务保护路径(节点 F-节点 B-节点 C-节点 D-节点 G ) 。 节点 C判断该高阶业务保护路径是否为可用路径。 所述可用路径具体为
高阶业务保护路径是否为正常路径, 或者高阶业务保护路径的带宽是否未被 其他业务所占用。 Further, as in the foregoing example, the node C determines a high-order service protection path (node F-node B-node C-node D-node G) corresponding to the high-order service working path according to the identifier included in the SF message. The node C determines whether the high-order service protection path is an available path. The available path is specifically Whether the high-order service protection path is a normal path, or whether the bandwidth of the high-order service protection path is not occupied by other services.
步骤 730、 当所述高阶业务保护路径为可用路径时,所述中间节点通过低 阶业务开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一 消息。 Step 730: When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead.
具体地, 当高阶业务保护路径为可用路径时, 中间节点通过低阶业务开 销向同处于高阶业务保护路径中的下游相邻节点发送第一消息。 Specifically, when the high-order service protection path is an available path, the intermediate node sends the first message to the downstream neighboring node that is in the high-order service protection path by the low-order service.
进一步地, 如前述的例子, 节点 C判断高阶业务保护路径为可用路径后, 节点 C通过低阶业务开销向节点 D发送 SF消息。 Further, as in the foregoing example, after the node C determines that the high-order service protection path is an available path, the node C sends the SF message to the node D through the low-order service overhead.
步骤 740、所述中间节点分别将与所述上游相邻节点和所述下游相邻节点 的接收端口适配为高阶粒度。 Step 740: The intermediate node respectively adapts the receiving ports of the upstream neighboring node and the downstream neighboring node to a high-order granularity.
具体地, 中间节点向下游相邻节点发送第一消息后, 分别将与上游相邻 节点和下游相邻节点的接收端口适配为高阶粒度, 以便于后于与上游相邻节 点和下游相邻节点通过高阶业务开销收发消息。 Specifically, after the intermediate node sends the first message to the downstream neighboring node, the receiving port of the upstream neighboring node and the downstream neighboring node are respectively adapted to a high-order granularity, so as to be adjacent to the upstream neighboring node and the downstream node. The neighbor nodes send and receive messages through high-order service overhead.
进一步地, 如前述的例子, 节点 C向节点 D发送 SF消息后, 将与节点 B 和节点 D的接收端口适配为高阶粒度。 Further, as in the foregoing example, after transmitting the SF message to the node D, the node C adapts the receiving ports of the node B and the node D to a high-order granularity.
步骤 750、当所述中间节点接收到所述下游相邻节点根据所述第一消息通 过所述高阶业务开销发送的第二消息时, 所述中间节点建立交叉。 Step 750: When the intermediate node receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead, the intermediate node establishes an intersection.
具体地, 当在预设的时间内 (例如, 5 s ) , 中间节点接收到下游相邻节 点根据第一消息通过高阶业务开销发送的第二消息时, 中间节点建立交叉。 Specifically, when the intermediate node receives the second message sent by the downstream neighboring node according to the first message through the high-order service overhead within a preset time (for example, 5 s), the intermediate node establishes a crossover.
需要说明的是, 当低阶业务工作路径故障时, 节点 A发起倒换, 低阶业 务保护路径上的各个节点可直接使用低阶业务开销发送 SF消息, 进行倒换过 程为现有技术, 再次不再复述。 It should be noted that when the low-order service working path is faulty, the node A initiates the switching, and each node on the low-order service protection path can directly send the SF message by using the low-order service overhead, and the switching process is the existing technology, and is no longer used again. repeat.
在本发明实施例中, 当高阶业务工作路径的源端节点与宿端节点(例如, 节点 F与节点 G )同时发起倒换时, 节点 B执行的倒换过程与前述相同, 在此 不再复述。
由于中间节点向下游相邻节点发送 SF消息后,将分别与上游相邻节点和 下游相邻节点的接收端口进行适配, 并在接收到下游相邻节点发送的 RR消息 时, 建立交叉, 进而缩短倒换时间, 提高中间节点的工作效率, 同时, 各中 间节点可同时接收多种粒度开销的消息, 也解决了无法同时支持多种粒度开 销的消息进行传输的问题。 In the embodiment of the present invention, when the source end node of the high-order service working path and the sink end node (for example, the node F and the node G) initiate the switching at the same time, the switching process performed by the node B is the same as the foregoing, and is not repeated here. . After the intermediate node sends the SF message to the downstream neighboring node, it will adapt to the receiving ports of the upstream neighboring node and the downstream neighboring node respectively, and establish an intersection when receiving the RR message sent by the downstream neighboring node. The switching time is shortened, and the working efficiency of the intermediate node is improved. At the same time, each intermediate node can simultaneously receive messages with multiple granularity overheads, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time.
在本发明实施例中, 所述第二消息与实施例二中公开的第二消息相同, 在此不再复述。 In the embodiment of the present invention, the second message is the same as the second message disclosed in the second embodiment, and is not repeatedly described herein.
进一步地, 如前述的例子, 当节点 C接收到节点 D根据 SF消息通过高阶 业务发送的 RR消息时, 节点 C建立交叉。 Further, as in the foregoing example, when the node C receives the RR message that the node D transmits through the high-order service according to the SF message, the node C establishes an intersection.
可选地, 在本发明实施例步骤 740之后还包括中间节点通过高阶业务开 销向上游相邻节点发送第二消息的步骤, 通过该步骤, 可使上游相邻节点根 据第二消息建立交叉, 进而缩短倒换时间, 提高节点的工作效率, 同时, 各 节点可同时接收多种粒度开销的消息, 也解决了无法同时支持多种粒度开销 的消息进行传输的问题。 具体步骤如下: Optionally, after the step 740 of the embodiment of the present invention, the method further includes: sending, by the intermediate node, a second message to the upstream neighboring node by using the high-order service overhead, by using the step, the upstream neighboring node may establish a cross according to the second message, thereby shortening The switching time improves the working efficiency of the node. At the same time, each node can receive messages with multiple granularity overheads at the same time, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time. Specific steps are as follows:
所述中间节点通过所述高阶业务开销向所述上游相邻节点发送所述第二 消息, 以使得所述上游相邻节点根据所述第二消息建立交叉。 And the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
具体地, 中间节点分别将与上游相邻节点和下游相邻节点的接收端口适 配为高阶粒度后, 中间节点通过高阶业务开销向上游相邻节点发送第二消息, 以使得上游相邻节点根据第二消息建立交叉。 Specifically, after the intermediate node adapts the receiving port of the upstream neighboring node and the downstream neighboring node to the high-order granularity, the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node is configured according to the upstream neighboring node. The second message establishes a cross.
如前述的例子, 节点 C将与节点 B和节点 D的接收端口适配为高阶粒度 后, 节点 C通过高阶业务开销向节点 B发送 RR消息, 以使得节点 B根据 RR 消息建立交叉。 As in the foregoing example, after the node C adapts the receiving ports of the node B and the node D to a high-order granularity, the node C sends an RR message to the node B through the high-order service overhead, so that the node B establishes an intersection according to the RR message.
可选地, 在本发明实施例中还包括中间节点未接收到下游相邻节点发送 的第二消息时, 中间节点将与下游相邻节点的接收端口适配为低阶粒度, 并 通过低阶业务开销向下游相邻节点再次发送第一消息的步骤, 进而再次进行 适配, 建立交叉。 具体步骤如下:
当所述中间节点未接收到所述下游相邻节点发送的所述第二消息时, 所 述中间节点将与所述下游相邻节点的接收端口适配为低阶粒度; Optionally, in the embodiment of the present invention, when the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity, and passes the low-order The step of the service overhead sending the first message to the downstream neighboring node again, and then adapting again to establish the crossover. Specific steps are as follows: When the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node adapts the receiving port of the downstream neighboring node to a low-order granularity;
所述中间节点通过所述低阶业务开销向所述下游相邻节点发送所述第一 消息。 The intermediate node sends the first message to the downstream neighboring node by using the low-order service overhead.
具体地, 当在预设的时间内 (例如, 5 s ) , 中间节点未接收到下游相邻 节点发送的第二消息时, 中间节点确定与下游相邻节点未适配成功, 则中间 节点取消前次与下游相邻节点的接收端口的适配, 也即是, 中间节点将与下 游相邻节点的接收端口适配为低阶粒度; 中间节点再次通过低阶业务开销向 下游相邻节点发送第一消息, 进而再次与下游相邻节点进行适配, 建立交叉。 Specifically, when the intermediate node does not receive the second message sent by the downstream neighboring node within a preset time (for example, 5 s), the intermediate node determines that the downstream node is not successfully adapted, and the intermediate node cancels. The previous adaptation with the receiving port of the downstream neighboring node, that is, the intermediate node will adapt to the receiving port of the downstream neighboring node to a lower-order granularity; the intermediate node again sends the downstream neighboring node to the downstream neighboring node through the low-order service overhead. The first message is further adapted to the downstream neighboring nodes to establish a crossover.
如前述的例子, 当节点 C未接收到节点 D发送的 RR消息时, 节点 C将与 节点 D的接收端口适配为低阶粒度, 节点 C再次通过低阶业务开销向节点 D 发送 SF消息, 进而再次与节点 D进行适配, 建立交叉。 As the foregoing example, when the node C does not receive the RR message sent by the node D, the node C adapts the receiving port of the node D to a low-order granularity, and the node C sends the SF message to the node D again through the low-order service overhead. Then, it is adapted again with the node D to establish a crossover.
因此, 通过应用本发明实施例提供的支持混合粒度业务共享资源的倒换 方法, 当高阶业务工作路径故障时, 中间节点接收上游相邻节点通过低阶业 务开销发送的第一消息, 当高阶业务保护路径可用时, 通过低阶业务开销向 下游相邻节点发送第一消息, 并将与下游相邻节点的接收端口适配为高阶粒 度, 当接收到下游相邻节点通过高阶业务开销发送的第二消息时, 建立交叉。 解决了现有技术中, 中间节点无法同时支持多种粒度开销的消息进行传输, 降低中间节点的工作效率的问题。 本发明实施例提供的支持混合粒度业务共 享资源的处理方法与处理节点, 提高了中间节点的工作效率。 Therefore, by applying the switching method of the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the intermediate node receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to a high-order granularity, and the downstream neighboring node receives the high-order service overhead. When the second message is sent, a cross is established. In the prior art, the problem that the intermediate node cannot simultaneously support multiple granularity overhead messages to transmit and reduce the working efficiency of the intermediate node is solved. The processing method and the processing node for supporting the mixed granularity service shared resource provided by the embodiment of the present invention improve the working efficiency of the intermediate node.
实施例四 Embodiment 4
下面以图 8为例详细说明本发明实施例四提供的支持混合粒度业务共享 资源的倒换方法, 图 8 为本发明实施例四提供的支持混合粒度业务共享资源 的倒换方法流程图, 在本发明实施例中实施主体为业务保护路径中的中间节 点, 所述业务保护路径具体为高阶业务保护路径或者低阶业务保护路径, 且 高阶业务保护路径与低阶业务保护路径共用多个中间节点, 每个中间节点支
持多种粒度业务的处理。 The following is a detailed description of a method for switching a hybrid granularity service shared resource according to Embodiment 4 of the present invention, and FIG. 8 is a flowchart of a method for switching a hybrid granularity service shared resource according to Embodiment 4 of the present invention. In the embodiment, the implementation entity is an intermediate node in the service protection path, and the service protection path is specifically a high-order service protection path or a low-order service protection path, and the high-order service protection path and the low-order service protection path share multiple intermediate nodes. , each intermediate node Handling of multiple granular services.
本发明实施例提供的支持混合粒度业务共享资源的倒换方法应用于光网 络系统中高阶业务工作路径为故障路径的情况下。 如图 8 所示, 该实施例具 体包括以下步骤: The switching method for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention is applied to the case where the high-order service working path in the optical network system is a fault path. As shown in Figure 8, this embodiment specifically includes the following steps:
步骤 81 0、 当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 处于所述高阶业务保护路径中的所述中间节点接收同处于所述高阶业务保护 路径中的上游相邻节点通过低阶业务开销发送的第一消息。 Step 81: When the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream in the high-order service protection path. The first message sent by the neighboring node through the low-order service overhead.
具体地, 当高阶业务保护路径所保护的高阶业务工作路径故障时, 处于 高阶业务保护路径中的中间节点接收同处于高阶业务保护路径中的上游相邻 节点通过低阶业务开销发送的第一消息。 Specifically, when the high-order service working path protected by the high-order service protection path is faulty, the intermediate node in the high-order service protection path receives the upstream neighboring node that is in the high-order service protection path and sends the low-order service overhead. The first news.
在本发明实施例中, 所述第一消息与前述实施例二、 实施例三中公开的 第一消息相同, 在此不再复述。 In the embodiment of the present invention, the first message is the same as the first message disclosed in the foregoing Embodiment 2 and Embodiment 3, and is not repeatedly described herein.
进一步地, 如图 6所示, 在图 6中, 各节点、 路径的粒度与图 3所示的 图中相同, 在此不再复述。 Further, as shown in FIG. 6, in FIG. 6, the granularity of each node and path is the same as that in the figure shown in FIG. 3, and will not be repeated here.
在一个例子中,所述中间节点具体为节点 D ,节点 D的上游相邻节点为节 点 C , 下游相邻节点为节点 G。 节点 F检测出其与节点 G之间的高阶业务工作 路径故障,则节点 F发起倒换过程,通过高阶业务开销向节点 B发送 SF消息。 节点 B通过低阶业务开销向节点 C发送 SF消息, 节点 C通过低阶业务开销向 节点 D发送 SF消息, 节点 D接收 SF消息。 In one example, the intermediate node is specifically node D, the upstream neighbor node of node D is node C, and the downstream neighbor node is node G. When the node F detects the high-order service working path fault between the node and the node G, the node F initiates a switching process, and sends an SF message to the node B through the high-order service overhead. Node B sends an SF message to node C through low-order service overhead. Node C sends an SF message to node D through low-order service overhead, and node D receives the SF message.
步骤 820、根据所述第一消息,所述中间节点判断所述高阶业务保护路径 是否为可用路径。 Step 820: The intermediate node determines, according to the first message, whether the high-order service protection path is an available path.
具体地, 根据第一消息, 中间节点判断高阶业务保护路径是否为可用路 径。 Specifically, according to the first message, the intermediate node determines whether the high-order service protection path is an available path.
进一步地, 如前述的例子, 节点 D根据 SF消息包括的标识, 确定与高阶 业务工作路径对应的高阶业务保护路径(节点 F-节点 B-节点 C-节点 D-节点 G ) 。 节点 D判断该高阶业务保护路径是否为可用路径。 所述可用路径具体为
高阶业务保护路径是否为正常路径, 或者高阶业务保护路径的带宽是否未被 其他业务所占用。 Further, as in the foregoing example, the node D determines a high-order service protection path (node F-node B-node C-node D-node G) corresponding to the high-order service working path according to the identifier included in the SF message. Node D determines whether the high-order service protection path is an available path. The available path is specifically Whether the high-order service protection path is a normal path, or whether the bandwidth of the high-order service protection path is not occupied by other services.
步骤 830、 当所述高阶业务保护路径为可用路径时,所述中间节点通过高 阶业务开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一 消息。 Step 830: When the high-order service protection path is an available path, the intermediate node sends the first message to a downstream neighboring node that is in the high-order service protection path by using a high-order service overhead.
具体地, 当高阶业务保护路径为可用路径时, 中间节点通过高阶业务开 销向同处于高阶业务保护路径中的下游相邻节点发送第一消息。 Specifically, when the high-order service protection path is an available path, the intermediate node sends the first message to the downstream neighboring node that is in the high-order service protection path by the high-order service.
进一步地, 如前述的例子, 节点 D判断高阶业务保护路径为可用路径后, 节点 D通过高阶业务开销向节点 D发送 SF消息。 Further, as in the foregoing example, after the node D determines that the high-order service protection path is an available path, the node D sends the SF message to the node D through the high-order service overhead.
可以理解的是, 节点 D至节点 G段路径支持高阶业务开销。 It can be understood that the node D to node G segment path supports high-order service overhead.
步骤 840、所述中间节点将与所述上游相邻节点的接收端口适配为高阶粒 度。 Step 840: The intermediate node adapts the receiving port of the upstream neighboring node to a high-order granularity.
具体地, 中间节点向下游相邻节点发送第一消息后, 将与上游相邻节点 的接收端口适配为高阶粒度, 以便于后于与上游相邻节点通过高阶业务开销 收发消息。 Specifically, after sending the first message to the downstream neighboring node, the intermediate node adapts the receiving port of the upstream neighboring node to a high-order granularity, so as to send and receive messages through the high-order service overhead with the upstream neighboring node.
进一步地, 如前述的例子, 节点 D向节点 G发送 SF消息后, 将与节点 C 和节点 D的接收端口适配为高阶粒度。 Further, as in the foregoing example, after transmitting the SF message to the node G, the node D adapts the receiving ports of the node C and the node D to a high-order granularity.
步骤 850、当所述中间节点接收到所述下游相邻节点根据所述第一消息通 过所述高阶业务开销发送的第二消息时, 所述中间节点建立交叉。 Step 850: When the intermediate node receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead, the intermediate node establishes an intersection.
具体地, 当在预设的时间内 (例如, 5 s ) , 中间节点接收到下游相邻节 点根据第一消息通过高阶业务开销发送的第二消息时, 中间节点建立交叉。 Specifically, when the intermediate node receives the second message sent by the downstream neighboring node according to the first message through the high-order service overhead within a preset time (for example, 5 s), the intermediate node establishes a crossover.
需要说明的是, 当低阶业务工作路径故障时, 节点 A发起倒换, 低阶业 务保护路径上的各个节点可直接使用低阶业务开销发送 SF消息, 进行倒换过 程为现有技术, 再次不再复述。 It should be noted that when the low-order service working path is faulty, the node A initiates the switching, and each node on the low-order service protection path can directly send the SF message by using the low-order service overhead, and the switching process is the existing technology, and is no longer used again. repeat.
在本发明实施例中, 当高阶业务工作路径的源端节点与宿端节点(例如, 节点 F与节点 G )同时发起倒换时, 节点 B执行的倒换过程与前述相同, 在此
不再复述。 In the embodiment of the present invention, when the source end node of the high-order service working path and the sink end node (for example, the node F and the node G) initiate the switching at the same time, the switching process performed by the node B is the same as the foregoing, where No longer repeat.
由于中间节点向下游相邻节点发送 SF消息后,将与上游相邻节点的接收 端口进行适配, 并在接收到下游相邻节点发送的 RR消息时, 建立交叉, 进而 缩短倒换时间, 提高中间节点的工作效率, 同时, 各中间节点可同时接收多 种粒度开销的消息, 也解决了无法同时支持多种粒度开销的消息进行传输的 问题。 After the intermediate node sends the SF message to the downstream neighboring node, it will adapt to the receiving port of the upstream neighboring node, and when receiving the RR message sent by the downstream neighboring node, establish a crossover, thereby shortening the switching time and improving the middle. The working efficiency of the node, at the same time, each intermediate node can receive messages with multiple granularity overheads at the same time, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time.
在本发明实施例中, 所述第二消息与实施例二、 实施例三中公开的第二 消息相同, 在此不再复述。 In the embodiment of the present invention, the second message is the same as the second message disclosed in the second embodiment and the third embodiment, and is not repeatedly described herein.
进一步地, 如前述的例子, 当节点 D接收到节点 G根据 SF消息通过高阶 业务发送的 RR消息时, 节点 D建立交叉。 Further, as in the foregoing example, when the node D receives the RR message sent by the node G through the high-order service according to the SF message, the node D establishes an intersection.
可选地, 在本发明实施例步骤 840之后还包括中间节点通过高阶业务开 销向上游相邻节点发送第二消息的步骤, 通过该步骤, 可使上游相邻节点根 据第二消息建立交叉, 进而缩短倒换时间, 提高节点的工作效率, 同时, 各 节点可同时接收多种粒度开销的消息, 也解决了无法同时支持多种粒度开销 的消息进行传输的问题。 具体步骤如下: Optionally, after the step 840 of the embodiment of the present invention, the step of transmitting, by the intermediate node, the second message by using the high-order service overhead to the upstream neighboring node, by using the step, the upstream neighboring node may establish a cross according to the second message, thereby shortening The switching time improves the working efficiency of the node. At the same time, each node can receive messages with multiple granularity overheads at the same time, and also solves the problem that messages that cannot support multiple granularity overheads can be transmitted at the same time. Specific steps are as follows:
所述中间节点通过所述高阶业务开销向所述上游相邻节点发送所述第二 消息, 以使得所述上游相邻节点根据所述第二消息建立交叉。 And the intermediate node sends the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
具体地, 中间节点将与上游相邻节点的接收端口适配为高阶粒度后, 中 间节点通过高阶业务开销向上游相邻节点发送第二消息, 以使得上游相邻节 点根据第二消息建立交叉。 Specifically, after the intermediate node adapts the receiving port of the upstream neighboring node to the high-order granularity, the intermediate node sends the second message to the upstream neighboring node through the high-order service overhead, so that the upstream neighboring node establishes the intersection according to the second message.
如前述的例子,节点 D将与节点 C的接收端口适配为高阶粒度后,节点 D 通过高阶业务开销向节点 C发送 RR消息, 以使得节点 C根据 RR消息建立交 叉。 As in the previous example, after node D adapts the receiving port of node C to a higher-order granularity, node D sends an RR message to node C through high-order service overhead, so that node C establishes a cross according to the RR message.
可选地, 在本发明实施例中还包括中间节点未接收到下游相邻节点发送 的第二消息时, 中间节点通过低阶业务开销向下游相邻节点再次发送第一消 息的步骤, 进而再次建立交叉。 具体步骤如下:
当所述中间节点未接收到所述下游相邻节点发送的所述第二消息时, 所 述中间节点通过所述高阶业务开销向所述下游相邻节点发送所述第一消息。 Optionally, in the embodiment of the present invention, when the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node sends the first message to the downstream neighboring node by using the low-order service overhead, and then Establish a cross. Specific steps are as follows: When the intermediate node does not receive the second message sent by the downstream neighboring node, the intermediate node sends the first message to the downstream neighboring node by using the high-order service overhead.
具体地, 当在预设的时间内 (例如, 5 s ) , 中间节点未接收到下游相邻 节点发送的第二消息时, 中间节点确定与下游相邻节点未适配成功, 则中间 节点再次通过低阶业务开销向下游相邻节点发送第一消息, 进而再次建立交 叉。 Specifically, when the intermediate node does not receive the second message sent by the downstream neighboring node within a preset time (for example, 5 s), the intermediate node determines that the downstream neighboring node is not successfully adapted, and the intermediate node again The first message is sent to the downstream neighboring node through the low-order service overhead, and the crossover is established again.
如前述的例子, 当节点 D未接收到节点 G发送的 RR消息时, 节点 D再次 通过低阶业务开销向节点 G发送 SF消息, 进而再次建立交叉。 As in the foregoing example, when the node D does not receive the RR message sent by the node G, the node D sends the SF message to the node G again through the low-order service overhead, and then establishes the cross again.
因此, 通过应用本发明实施例提供的支持混合粒度业务共享资源的倒换 方法, 当高阶业务工作路径故障时, 中间节点接收上游相邻节点通过低阶业 务开销发送的第一消息, 当高阶业务保护路径可用时, 通过高阶业务开销向 下游相邻节点发送第一消息, 并将与下游相邻节点的接收端口适配为高阶粒 度, 当接收到下游相邻节点通过高阶业务发送的第二消息时, 建立交叉。 解 决了现有技术中, 中间节点无法同时支持多种粒度开销的消息进行传输, 降 低中间节点的工作效率的问题。 本发明实施例提供的支持混合粒度业务共享 资源的处理方法与处理节点, 提高了中间节点的工作效率。 Therefore, by applying the switching method of the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the intermediate node receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the high-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity, and the downstream neighboring node is sent through the high-order service. The second message is when the cross is established. In the prior art, the intermediate node cannot simultaneously support the message with multiple granularity overheads, and reduces the work efficiency of the intermediate node. The processing method and the processing node for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention improve the working efficiency of the intermediate node.
进一步地, 如图 6所示的信令图为高阶业务工作路径故障时, 高阶业务 保护路径上的各个节点进行倒换的过程, 图 6 所示的信令图中的各个中间节 点均可按照前述实施例二、 实施例三、 实施例四描述的过程执行, 在此不再 复述。 Further, when the signaling diagram shown in FIG. 6 is a high-order service working path failure, each node on the high-order service protection path performs a switching process, and each intermediate node in the signaling diagram shown in FIG. 6 may be The process described in the foregoing Embodiment 2, Embodiment 3, and Embodiment 4 is performed, and will not be repeated herein.
实施例五 Embodiment 5
相应地, 本发明实施例五还提供了一种支持混合粒度业务共享资源的保 护节点, 用以实现前述实施例一提供的支持混合粒度业务共享资源的保护方 法, 高阶业务保护路径与低阶业务保护路径共用多个所述保护节点, 且每个 所述保护节点支持多种粒度业务的处理, 如图 9 所示, 所述保护节点包括: 接收单元 91 0以及发送单元 920。
所述保护节点包括的接收单元 91 0 ,用于当所述高阶业务保护路径所保护 的高阶业务工作路径正常时, 接收处于所述高阶业务保护路径中的上游相邻 节点通过低阶业务开销发送的第一消息; Correspondingly, the fifth embodiment of the present invention further provides a protection node that supports the hybrid granularity service shared resource, and is used to implement the protection method for supporting the hybrid granularity service shared resource provided by the foregoing first embodiment, the high-order service protection path and the low-order The service protection path shares a plurality of the protection nodes, and each of the protection nodes supports processing of multiple granular services. As shown in FIG. 9, the protection node includes: a receiving unit 91 0 and a sending unit 920. The receiving node, which is included in the protection node, is configured to: when the high-order service working path protected by the high-order service protection path is normal, receive the upstream neighboring node in the high-order service protection path to pass the low-order The first message sent by the service overhead;
发送单元 920 ,用于通过所述低阶业务开销向处于所述高阶业务保护路径 中的下游相邻节点发送所述第一消息, 所述第一消息用于使处于所述高阶业 务保护路径中的各个节点对所述高阶业务保护路径进行维护。 The sending unit 920 is configured to send, by using the low-order service overhead, the first message to a downstream neighboring node in the high-order service protection path, where the first message is used to enable the high-order service protection Each node in the path maintains the high-order service protection path.
进一步地, 所述接收单元接收处于所述高阶业务保护路径中的上游相邻 节点通过低阶业务开销发送的第一消息之前, 所述保护节点还包括: Further, before the receiving unit receives the first message sent by the upstream neighboring node in the high-order service protection path by using the low-order service overhead, the protection node further includes:
所述接收单元 91 0还用于, 当所述高阶业务工作路径已从故障恢复为正 常时, 接收处于所述高阶业务保护路径的所述上游相邻节点通过高阶业务开 销发送的第二消息; The receiving unit 91 0 is further configured to: when the high-order service working path has recovered from a fault to a normal state, receive, by using the high-order service overhead, the upstream neighboring node that is in the high-order service protection path Second message
所述发送单元 920还用于, 通过所述高阶业务开销向处于所述高阶业务 保护路径的所述下游相邻节点发送所述第二消息; The sending unit 920 is further configured to send, by using the high-order service overhead, the second message to the downstream neighboring node that is in the high-order service protection path;
所述接收单元 91 0还用于, 接收所述下游相邻节点通过所述高阶业务开 销发送的第三消息; The receiving unit 910 is further configured to receive a third message that is sent by the downstream neighboring node by the high-order service.
适配拆除单元 930 , 用于根据所述第三消息, 将与所述下游相邻节点之间 的所述高阶业务保护路径的粒度适配为低阶业务开销, 并拆除与所述下游相 邻节点建立的交叉; The adaptation removal unit 930 is configured to adapt, according to the third message, the granularity of the high-order service protection path with the downstream neighboring node to a low-order service cost, and remove the downstream phase The intersection established by the neighboring nodes;
所述发送单元 920还用于, 通过所述高阶业务开销向所述上游相邻节点 发送所述第三消息, 以使得所述上游相邻节点根据所述第三消息, 将与所述 保护节点之间的所述高阶业务保护路径的粒度适配为低阶业务开销, 并拆除 与所述保护节点建立的交叉。 The sending unit 920 is further configured to send the third message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node performs the protection according to the third message. The granularity of the high-order service protection path between the nodes is adapted to a low-order service overhead, and the intersection established with the protection node is removed.
所述接收单元 91 0接收的所述第一消息包括所述消息类型、 所述高阶业 务工作路径的标识、 所述高阶业务工作路径的粒度和当所述高阶业务工作路 径故障后进行保护倒换所需的时隙。 The first message received by the receiving unit 910 includes the message type, the identifier of the high-order service working path, the granularity of the high-order service working path, and the failure of the high-order service working path. Protect the time slots required for switching.
因此,通过应用本发明实施例提供的支持混合粒度共享资源的保护节点,
当高阶业务工作路径正常时, 保护节点接收处于高阶业务保护路径中的上游 相邻节点通过低阶业务开销发送的第一消息, 并将该第一消息向处于高阶业 务保护路径中的下游相邻节点发送, 以使得处于高阶业务保护路径中的各个 节点对高阶业务保护路径进行维护。 解决了现有技术中, 在工作路径正常的 情况下, 保护节点无法同时支持保护路径上多种粒度开销的消息进行传输, 导致无法及时感知保护路径故障的问题。 本发明实施例提供的支持混合粒度 业务共享资源的保护节点, 克服了现有技术方案的局限性, 提高了中间节点 的工作效率。 Therefore, by applying the protection node that supports the hybrid granular shared resource provided by the embodiment of the present invention, When the high-order service working path is normal, the protection node receives the first message sent by the upstream neighboring node in the high-order service protection path by using the low-order service overhead, and the first message is in the high-order service protection path. The downstream neighboring nodes send, so that each node in the high-order service protection path maintains the high-order service protection path. In the prior art, in the case that the working path is normal, the protection node cannot simultaneously support the message with multiple granularity overheads on the protection path, and the problem that the protection path is faulty cannot be sensed in time. The protection node supporting the hybrid granularity service shared resource provided by the embodiment of the present invention overcomes the limitations of the prior art solution and improves the working efficiency of the intermediate node.
实施例六 Embodiment 6
相应地, 本发明实施例六还提供了一种支持混合粒度业务共享资源的倒 换节点, 用以实现前述实施例二提供的支持混合粒度业务共享资源的倒换方 法, 高阶业务保护路径与低阶业务保护路径共用多个所述倒换节点, 且每个 所述倒换节点支持多种粒度业务的处理, 如图 10所示, 所述倒换节点包括: 接收单元 1010、 判断单元 1 020、 发送单元 1 030、 适配单元 1040以及建立单 元 1 050。 Correspondingly, the sixth embodiment of the present invention further provides a switching node that supports the mixed-grain service sharing resource, and implements the switching method for supporting the hybrid granularity service shared resource provided by the foregoing Embodiment 2, the high-order service protection path and the low-order The service protection path shares a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services. As shown in FIG. 10, the switching node includes: a receiving unit 1010, a determining unit 1 020, and a sending unit 1 030, an adaptation unit 1040, and an establishment unit 1 050.
所述倒换节点包括的接收单元 1010 , 用于当所述高阶业务保护路径所保 护的高阶业务工作路径故障时, 接收同处于所述高阶业务保护路径中的上游 相邻节点通过高阶业务开销发送的第一消息; The receiving unit 1010 is configured to receive, when the high-order service working path protected by the high-order service protection path is faulty, receive an upstream neighbor node that is in the high-order service protection path, and pass the high-order The first message sent by the service overhead;
判断单元 1020 , 用于根据所述第一消息, 判断所述高阶业务保护路径是 否为可用路径; The determining unit 1020 is configured to determine, according to the first message, whether the high-order service protection path is an available path.
发送单元 1030 , 用于当所述高阶业务保护路径为可用路径时, 通过低阶 业务开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消 息; The sending unit 1030 is configured to: when the high-order service protection path is an available path, send the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead;
适配单元 1040 , 用于当所述高阶业务保护路径为可用路径时, 将与所述 下游相邻节点的接收端口适配为高阶粒度; The adapting unit 1040 is configured to: when the high-order service protection path is an available path, adapt the receiving port of the downstream neighboring node to a high-order granularity;
建立单元 1050 , 用于当所述接收单元接收到所述下游相邻节点根据所述
第一消息通过所述高阶业务开销发送的第二消息时, 建立交叉。 The establishing unit 1050 is configured to: when the receiving unit receives the downstream neighboring node, according to the The cross is established when the first message is sent by the high-order service overhead.
进一步地, 所述发送单元 1 030还用于, 当所述高阶业务保护路径为可用 路径时, 通过低阶业务开销向同处于所述高阶业务保护路径中的下游相邻节 点发送所述第一消息之前, 通过所述高阶业务开销向所述上游相邻节点发送 所述第二消息, 以使得所述上游相邻节点根据所述第二消息建立交叉。 Further, the sending unit 1 030 is further configured to send, when the high-order service protection path is an available path, to the downstream neighboring node that is in the high-order service protection path by using a low-order service overhead. Before the first message, sending the second message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node establishes an intersection according to the second message.
进一步地, 所述适配单元 1 040还用于, 当所述接收单元未接收到所述下 游相邻节点发送的所述第二消息时, 将与所述下游相邻节点的接收端口适配 为低阶粒度; Further, the adapting unit 1 040 is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, adapt the receiving port of the downstream neighboring node Low-order granularity;
所述发送单元 1030还用于, 当所述接收单元 1 010未接收到所述下游相 邻节点发送的所述第二消息时, 通过所述低阶业务开销向所述下游相邻节点 发送所述第一消息。 The sending unit 1030 is further configured to: when the receiving unit 1 010 does not receive the second message sent by the downstream neighboring node, send the location to the downstream neighboring node by using the low-order service overhead. Said the first message.
因此, 通过应用本发明实施例提供的支持混合粒度业务共享资源的倒换 节点, 当高阶业务工作路径故障时, 倒换节点接收上游相邻节点通过高阶业 务开销发送的第一消息, 当高阶业务保护路径可用时, 通过低阶业务开销向 下游相邻节点发送第 ―消息, 并将与下游相邻节点的接收端口适配为高阶粒 度, 当接收到下游相邻节点通过高阶业务开销发送的第二消息时, 建立交叉。 解决了现有技术中, 中间节点无法同时支持多种粒度开销的消息进行传输, 降低中间节点的工作效率的问题。 本发明实施例提供的支持混合粒度业务共 享资源的倒换节点, 提高了中间节点的工作效率。 Therefore, by applying the switching node that supports the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the high-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity, and the downstream neighboring node receives the high-order service overhead. When the second message is sent, a cross is established. In the prior art, the problem that the intermediate node cannot simultaneously support multiple granularity overhead messages to transmit and reduce the working efficiency of the intermediate node is solved. The switching node supporting the mixed granularity service shared resource provided by the embodiment of the present invention improves the working efficiency of the intermediate node.
实施例七 Example 7
相应地, 本发明实施例七还提供了一种支持混合粒度业务共享资源的倒 换节点, 用以实现前述实施例三提供的支持混合粒度业务共享资源的倒换方 法, 高阶业务保护路径与低阶业务保护路径共用多个所述倒换节点, 且每个 所述倒换节点支持多种粒度业务的处理, 如图 11所示, 所述倒换节点包括: 接收单元 1110、 判断单元 1 120、 发送单元 1 1 30、 适配单元 1140以及建立单 元 1 150。
所述倒换节点包括的接收单元 1110 , 用于当所述高阶业务保护路径所保 护的高阶业务工作路径故障时, 接收同处于所述高阶业务保护路径中的上游 相邻节点通过低阶业务开销发送的第一消息; Correspondingly, the seventh embodiment of the present invention further provides a switching node that supports the hybrid granularity service shared resource, and implements the switching method for supporting the hybrid granularity service shared resource provided in the foregoing third embodiment, the high-order service protection path and the low-order The service protection path shares a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services. As shown in FIG. 11, the switching node includes: a receiving unit 1110, a determining unit 1120, and a sending unit 1. 1 30, an adaptation unit 1140 and an establishment unit 1 150. The receiving unit 1110 includes: a receiving unit 1110, configured to: when the high-order service working path protected by the high-order service protection path is faulty, receive an upstream neighboring node that is in the high-order service protection path and pass the low-order The first message sent by the service overhead;
判断单元 1120 , 用于根据所述第一消息, 判断所述高阶业务保护路径是 否为可用路径; The determining unit 1120 is configured to determine, according to the first message, whether the high-order service protection path is an available path;
发送单元 11 30 , 用于当所述高阶业务保护路径为可用路径时, 通过低阶 业务开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消 息; The sending unit 11 30 is configured to: when the high-order service protection path is an available path, send the first message to a downstream neighboring node that is in the high-order service protection path by using a low-order service overhead;
适配单元 1140 , 用于当所述高阶业务保护路径为可用路径时, 分别将与 所述上游相邻节点和所述下游相邻节点的接收端口适配为高阶粒度; The adapting unit 1140 is configured to: when the high-order service protection path is an available path, respectively adapt the receiving ports of the upstream neighboring node and the downstream neighboring node to a high-order granularity;
建立单元 1150 , 用于当所述接收单元接收到所述下游相邻节点根据所述 第一消息通过所述高阶业务开销发送的第二消息时, 建立交叉。 The establishing unit 1150 is configured to establish an intersection when the receiving unit receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead.
进一步地, 所述发送单元 11 30还用于, 所述适配单元 1140分别将与所 述上游相邻节点和所述下游相邻节点的接收端口适配为高阶粒度之后, 通过 所述高阶业务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游 相邻节点根据所述第二消息建立交叉。 Further, the sending unit 117 is further configured to: after the adapting unit 1140 respectively adapts the receiving ports of the upstream neighboring node and the downstream neighboring node to a high-order granularity, pass the high The order service overhead sends the second message to the upstream neighboring node, such that the upstream neighboring node establishes an intersection according to the second message.
进一步地, 所述适配单元 1 140还用于, 当所述接收单元未接收到所述下 游相邻节点发送的所述第二消息时, 将与所述下游相邻节点的接收端口适配 为低阶粒度; Further, the adapting unit 1140 is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, adapt the receiving port of the downstream neighboring node Low-order granularity;
所述发送单元 11 30还用于, 当所述接收单元 1 110未接收到所述下游相 邻节点发送的所述第二消息时, 通过所述低阶业务开销向所述下游相邻节点 发送所述第一消息。 The sending unit 117 is further configured to send, when the receiving unit 1 110 does not receive the second message sent by the downstream neighboring node, to the downstream neighboring node by using the low-order service overhead. The first message.
因此, 通过应用本发明实施例提供的支持混合粒度业务共享资源的倒换 节点, 当高阶业务工作路径故障时, 倒换节点接收上游相邻节点通过低阶业 务开销发送的第一消息, 当高阶业务保护路径可用时, 通过低阶业务开销向 下游相邻节点发送第一消息, 并将与下游相邻节点的接收端口适配为高阶粒
度, 当接收到下游相邻节点通过高阶业务发送的第二消息时, 建立交叉。 解 决了现有技术中, 中间节点无法同时支持多种粒度开销的消息进行传输, 降 低中间节点的工作效率的问题。 本发明实施例提供的支持混合粒度业务共享 资源的倒换节点, 提高了中间节点的工作效率。 Therefore, by applying the switching node of the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity. Degree, when a second message sent by a downstream neighbor node through a high-order service is received, an intersection is established. In the prior art, the problem that the intermediate node cannot simultaneously support multiple granularity overhead messages to transmit and reduce the working efficiency of the intermediate node is solved. The switching node supporting the mixed granularity service shared resource provided by the embodiment of the present invention improves the working efficiency of the intermediate node.
实施例八 Example eight
相应地, 本发明实施例八还提供了一种支持混合粒度业务共享资源的倒 换节点, 用以实现前述实施例四提供的支持混合粒度业务共享资源的倒换方 法, 高阶业务保护路径与低阶业务保护路径共用多个所述倒换节点, 且每个 所述倒换节点支持多种粒度业务的处理, 如图 12所示, 所述倒换节点包括: 接收单元 1210、 判断单元 1220、 发送单元 1230、 适配单元 1240以及建立单 元 1250。 Correspondingly, the embodiment 8 of the present invention further provides an switching node that supports the hybrid granularity service sharing resource, and implements the switching method for supporting the hybrid granularity service shared resource provided in the foregoing fourth embodiment, the high-order service protection path and the low-order The service protection path shares a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services. As shown in FIG. 12, the switching node includes: a receiving unit 1210, a determining unit 1220, and a sending unit 1230. The adaptation unit 1240 and the establishment unit 1250.
所述倒换节点包括的接收单元 1210 , 用于当所述高阶业务保护路径所保 护的高阶业务工作路径故障时, 接收同处于所述高阶业务保护路径中的上游 相邻节点通过低阶业务开销发送的第一消息; The receiving unit 1210 is configured to receive, when the high-order service working path protected by the high-order service protection path is faulty, receive the upstream neighboring node that is in the high-order service protection path, and pass the low-order The first message sent by the service overhead;
判断单元 1220 , 用于根据所述第一消息, 判断所述高阶业务保护路径是 否为可用路径; The determining unit 1220 is configured to determine, according to the first message, whether the high-order service protection path is an available path;
发送单元 1230 , 用于当所述高阶业务保护路径为可用路径时, 通过高阶 业务开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消 息; The sending unit 1230 is configured to: when the high-order service protection path is an available path, send the first message to a downstream neighboring node that is in the high-order service protection path by using a high-order service overhead;
适配单元 1240 , 用于当所述高阶业务保护路径为可用路径时, 将与所述 上游相邻节点的接收端口适配为高阶粒度; The adapting unit 1240 is configured to: when the high-order service protection path is an available path, adapt the receiving port of the upstream neighboring node to a high-order granularity;
建立单元 1250 , 用于当所述接收单元接收到所述下游相邻节点根据所述 第一消息通过所述高阶业务开销发送的第二消息时, 建立交叉。 The establishing unit 1250 is configured to establish an intersection when the receiving unit receives the second message sent by the downstream neighboring node according to the first message by using the high-order service overhead.
进一步地, 所述发送单元 1230还用于, 所述适配单元将与所述上游相邻 节点的接收端口适配为高阶粒度之后, 通过所述高阶业务开销向所述上游相 邻节点发送所述第二消息, 以使得所述上游相邻节点根据所述第二消息建立
交叉。 Further, the sending unit 1230 is further configured to: after the adapting unit adapts the receiving port of the upstream neighboring node to a high-order granularity, to the upstream neighboring node by using the high-order service overhead Sending the second message, so that the upstream neighboring node establishes according to the second message Cross.
进一步地, 所述发送单元 1230还用于, 当所述接收单元未接收到所述下 游相邻节点发送的所述第二消息时, 通过所述高阶业务开销向所述下游相邻 节点发送所述第一消息。 Further, the sending unit 1230 is further configured to: when the receiving unit does not receive the second message sent by the downstream neighboring node, send, by using the high-order service overhead, to the downstream neighboring node. The first message.
因此,通过应用本发明实施例提供的支持混合粒度共享资源的倒换节点, 当高阶业务工作路径故障时, 倒换节点接收上游相邻节点通过低阶业务开销 发送的第一消息, 当高阶业务保护路径可用时, 通过高阶业务开销向下游相 邻节点发送第一消息, 并将与下游相邻节点的接收端口适配为高阶粒度, 当 接收到下游相邻节点通过高阶业务发送的第二消息时, 建立交叉。 解决了现 有技术中, 中间节点无法同时支持多种粒度开销的消息进行传输, 降低中间 节点的工作效率的问题。 本发明实施例提供的支持混合粒度业务共享资源的 倒换节点, 提高了中间节点的工作效率。 Therefore, by applying the switching node that supports the hybrid granularity shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order service is sent. When the protection path is available, the first message is sent to the downstream neighboring node through the high-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity, and the downstream neighboring node is sent through the high-order service. When the second message is reached, a cross is established. In the prior art, the problem that the intermediate node cannot simultaneously support multiple granularity overhead messages to transmit and reduce the working efficiency of the intermediate node is solved. The switching node supporting the mixed granularity service shared resource provided by the embodiment of the present invention improves the working efficiency of the intermediate node.
实施例九 Example nine
另外, 本发明实施例五提供的支持混合粒度业务共享资源的保护节点还 可以釆用的实现方式如下, 用以实现前述本发明实施例一中的支持混合粒度 业务共享资源的保护方法, 高阶业务保护路径与低阶业务保护路径共用多个 所述保护节点,且每个所述保护节点支持多种粒度业务的处理,如图 1 3所示, 所述保护节点包括: 处理器 1 310和存储器 1 320。 系统总线 1 330用于连接处 理器 1 310和存储器 1 320。 In addition, the protection node that supports the hybrid granularity service shared resource provided by the fifth embodiment of the present invention can also be implemented as follows to implement the protection method for supporting the hybrid granularity service shared resource in the foregoing first embodiment of the present invention. The service protection path and the low-order service protection path share a plurality of the protection nodes, and each of the protection nodes supports processing of multiple granular services. As shown in FIG. 13 , the protection node includes: a processor 1 310 and Memory 1 320. System bus 1 330 is used to connect processor 1 310 and memory 1 320.
存储器 1 320可以是永久存储器, 例如硬盘驱动器和闪存, 存储器 1 320 用于存储应用程序, 所述应用程序包括可用于使处理器 1 310访问并执行如下 指令: Memory 1 320 can be a persistent storage, such as a hard drive and flash memory, and memory 1 320 is used to store applications, the application including instructions that can be used to cause processor 1 310 to access and execute the following instructions:
当所述高阶业务保护路径所保护的高阶业务工作路径正常时, 接收处于 所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一消 息; When the high-order service working path protected by the high-order service protection path is normal, receiving, by the upstream neighboring node in the high-order service protection path, the first message sent by the low-order service overhead;
通过所述低阶业务开销向处于所述高阶业务保护路径中的下游相邻节点
发送所述第一消息, 所述第一消息用于使处于所述高阶业务保护路径中的各 个节点对所述高阶业务保护路径进行维护。 Passing the low-order service overhead to the downstream neighboring node in the high-order service protection path Sending the first message, where the first message is used to maintain the high-order service protection path by each node in the high-order service protection path.
进一步地,所述应用程序还包括可用于使所述处理器 1 310执行以下过程 的指令: Further, the application further includes instructions operable to cause the processor 1 310 to perform the following process:
接收处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发 送的第一消息之前, 当所述高阶业务工作路径已从故障恢复为正常时, 接收 处于所述高阶业务保护路径的所述上游相邻节点通过高阶业务开销发送的第 二消息; Before receiving the first message sent by the upstream neighboring node in the high-order service protection path by using the low-order service overhead, when the high-order service working path has recovered from the fault to normal, receiving the high-order service a second message sent by the upstream neighboring node of the protection path by a high-order service overhead;
通过所述高阶业务开销向处于所述高阶业务保护路径的所述下游相邻节 点发送所述第二消息; Transmitting, by the high-order service overhead, the second message to the downstream neighboring node in the high-order service protection path;
接收所述下游相邻节点通过所述高阶业务开销发送的第三消息; 根据所述第三消息, 将与所述下游相邻节点之间的所述高阶业务保护路 径的粒度适配为低阶业务开销, 并拆除与所述下游相邻节点建立的交叉; 通过所述高阶业务开销向所述上游相邻节点发送所述第三消息, 以使得 所述上游相邻节点根据所述第三消息, 将与所述保护节点之间的所述高阶业 务保护路径的粒度适配为低阶业务开销, 并拆除与所述保护节点建立的交叉。 Receiving a third message that is sent by the downstream neighboring node by using the high-order service overhead; and, according to the third message, adapting a granularity of the high-order service protection path between the downstream neighboring node to Lower-order service overhead, and tearing off the intersection established with the downstream neighboring node; transmitting the third message to the upstream neighboring node by using the high-order service overhead, so that the upstream neighboring node is according to the And a third message, the granularity of the high-order service protection path between the protection node is adapted to a low-order service overhead, and the intersection established with the protection node is removed.
进一步地, 所述第一消息包括所述消息类型、 所述高阶业务工作路径的 标识、 所述高阶业务工作路径的粒度和当所述高阶业务工作路径故障后进行 保护倒换所需的时隙。 Further, the first message includes the message type, the identifier of the high-order service working path, the granularity of the high-order service working path, and a required protection switching after the high-order service working path fails. Time slot.
因此,通过应用本发明实施例提供的支持混合粒度共享资源的保护节点, 当高阶业务工作路径正常时, 保护节点接收处于高阶业务保护路径中的上游 相邻节点通过低阶业务开销发送的第一消息, 并将该第一消息向处于高阶业 务保护路径中的下游相邻节点发送, 以使得处于高阶业务保护路径中的各个 节点对高阶业务保护路径进行维护。 解决了现有技术中, 在工作路径正常的 情况下, 中间节点无法同时支持保护路径上多种粒度开销的消息进行传输, 导致无法及时感知保护路径故障的问题。 本发明实施例提供的支持混合粒度
业务共享资源的保护节点, 克服了现有技术方案的局限性, 提高了中间节点 的工作效率。 Therefore, by applying the protection node supporting the hybrid granularity shared resource provided by the embodiment of the present invention, when the high-order service working path is normal, the protection node receives the upstream neighboring node in the high-order service protection path and sends the low-order service overhead. The first message is sent to the downstream neighboring node in the high-order service protection path, so that each node in the high-order service protection path maintains the high-order service protection path. In the prior art, in the case that the working path is normal, the intermediate node cannot simultaneously support the message with multiple granularity overheads on the protection path, and the problem that the protection path is faulty cannot be sensed in time. Supporting hybrid granularity provided by embodiments of the present invention The protection node of the service shared resource overcomes the limitations of the prior art solution and improves the working efficiency of the intermediate node.
实施例十 Example ten
另外, 本发明实施例六提供的支持混合粒度业务共享资源的倒换节点还 可以釆用的实现方式如下, 用以实现前述本发明实施例二中的支持混合粒度 业务共享资源的倒换方法, 高阶业务保护路径与低阶业务保护路径共用多个 所述倒换节点,且每个所述倒换节点支持多种粒度业务的处理,如图 14所示, 所述倒换节点包括: 处理器 1410和存储器 1420。 系统总线 1430用于连接处 理器 1410和存储器 1420。 In addition, the switching node that supports the hybrid granularity service shared resource provided by the sixth embodiment of the present invention can also be implemented as follows, to implement the switching method for supporting the hybrid granularity service shared resource in the foregoing second embodiment of the present invention, The service protection path and the low-order service protection path share a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services. As shown in FIG. 14, the switching node includes: a processor 1410 and a memory 1420. . System bus 1430 is used to connect processor 1410 and memory 1420.
存储器 1420可以是永久存储器, 例如硬盘驱动器和闪存, 存储器 1420 用于存储应用程序, 所述应用程序包括可用于使处理器 1410访问并执行如下 指令: The memory 1420 can be a persistent storage, such as a hard drive and flash memory, and the memory 1420 is for storing applications, the application including instructions for enabling the processor 1410 to access and execute the following instructions:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 接收同处 于所述高阶业务保护路径中的上游相邻节点通过高阶业务开销发送的第一消 息; When the high-order service working path protected by the high-order service protection path is faulty, receiving, by the upstream neighboring node in the high-order service protection path, the first message sent by the high-order service overhead;
根据所述第一消息, 判断所述高阶业务保护路径是否为可用路径; 当所述高阶业务保护路径为可用路径时, 通过低阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息; Determining, according to the first message, whether the high-order service protection path is an available path; when the high-order service protection path is an available path, the low-order service overhead is in the same high-order service protection path Sending, by the downstream neighbor node, the first message;
将与所述下游相邻节点的接收端口适配为高阶粒度; Adapting the receiving port of the downstream neighboring node to a high-order granularity;
当接收到所述下游相邻节点根据所述第一消息通过所述高阶业务开销发 送的第二消息时, 建立交叉。 And when the second neighboring node receives the second message sent by the high-order service overhead according to the first message, establishing an intersection.
进一步地,所述应用程序还包括可用于使所述处理器 1410执行以下过程 的指令: Further, the application further includes instructions operable to cause the processor 1410 to perform the following process:
当所述高阶业务保护路径为可用路径时, 通过低阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息之前, 通过所述高 阶业务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节
点根据所述第二消息建立交叉。 When the high-order service protection path is an available path, the high-order service overhead is used before the first message is sent to the downstream neighboring node in the high-order service protection path by the low-order service overhead. Sending, by the upstream neighbor node, the second message, so that the upstream adjacent node The point establishes an intersection according to the second message.
进一步地,所述应用程序还包括可用于使所述处理器 1420执行以下过程 的指令: Further, the application further includes instructions operable to cause the processor 1420 to perform the following process:
当未接收到所述下游相邻节点发送的所述第二消息时, 将与所述下游相 邻节点的接收端口适配为低阶粒度, 通过所述低阶业务开销向所述下游相邻 节点发送所述第一消息。 When the second message sent by the downstream neighboring node is not received, the receiving port of the downstream neighboring node is adapted to a low-order granularity, and the downstream neighboring is adjacent to the low-order service overhead. The node sends the first message.
因此, 通过应用本发明实施例提供的支持混合粒度业务共享资源的倒换 节点, 当高阶业务工作路径故障时, 倒换节点接收上游相邻节点通过高阶业 务开销发送的第一消息, 当高阶业务保护路径可用时, 通过低阶业务开销向 下游相邻节点发送第一消息, 并将与下游相邻节点的接收端口适配为高阶粒 度, 当接收到下游相邻节点通过高阶业务开销发送的第二消息时, 建立交叉。 解决了现有技术中, 中间节点无法同时支持多种粒度开销的消息进行传输, 降低中间节点的工作效率的问题。 本发明实施例提供的支持混合粒度业务共 享资源的倒换节点, 提高了中间节点的工作效率。 Therefore, by applying the switching node that supports the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the high-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order service overhead, and the receiving port of the downstream neighboring node is adapted to a high-order granularity, and the downstream neighboring node receives the high-order service overhead. When the second message is sent, a cross is established. In the prior art, the problem that the intermediate node cannot simultaneously support multiple granularity overhead messages to transmit and reduce the working efficiency of the intermediate node is solved. The switching node supporting the mixed granularity service shared resource provided by the embodiment of the present invention improves the working efficiency of the intermediate node.
实施例十一 Embodiment 11
另外, 本发明实施例六提供的支持混合粒度业务共享资源的倒换节点还 可以釆用的实现方式如下, 用以实现前述本发明实施例三中的支持混合粒度 业务共享资源的倒换方法, 高阶业务保护路径与低阶业务保护路径共用多个 所述倒换节点,且每个所述倒换节点支持多种粒度业务的处理,如图 15所示, 所述倒换节点包括: 处理器 1510和存储器 1520。 系统总线 1530用于连接处 理器 1510和存储器 1520。 In addition, the switching node that supports the hybrid granularity service shared resource provided by the sixth embodiment of the present invention can also be implemented as follows, and is used to implement the switching method for supporting the hybrid granularity service shared resource in the foregoing third embodiment of the present invention. The service protection path and the low-order service protection path share a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services. As shown in FIG. 15, the switching node includes: a processor 1510 and a memory 1520. . System bus 1530 is used to connect processor 1510 and memory 1520.
存储器 1520可以是永久存储器, 例如硬盘驱动器和闪存, 存储器 1520 用于存储应用程序, 所述应用程序包括可用于使处理器 1510访问并执行如下 指令: The memory 1520 can be a persistent storage, such as a hard drive and flash memory, and the memory 1520 is for storing applications, the application including instructions for enabling the processor 1510 to access and execute the following instructions:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 接收同处 于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一消
息; When the high-order service working path protected by the high-order service protection path is faulty, receiving the first cancellation sent by the upstream neighboring node in the high-order service protection path by using a low-order service overhead Interest rate
根据所述第一消息, 判断所述高阶业务保护路径是否为可用路径; 当所述高阶业务保护路径为可用路径时, 通过低阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息; Determining, according to the first message, whether the high-order service protection path is an available path; when the high-order service protection path is an available path, the low-order service overhead is in the same high-order service protection path Sending, by the downstream neighbor node, the first message;
分别将与所述上游相邻节点和所述下游相邻节点的接收端口适配为高阶 粒度; Adapting the receiving ports of the upstream neighboring node and the downstream neighboring node to a higher-order granularity, respectively;
当接收到所述下游相邻节点根据所述第一消息通过所述高阶相邻开销发 送的第二消息时, 建立交叉。 An intersection is established when receiving the second message sent by the downstream neighboring node according to the first message through the high-order neighboring overhead.
进一步地,所述应用程序还包括可用于使所述处理器 1510执行以下过程 的指令: Further, the application further includes instructions operable to cause the processor 1510 to perform the following process:
分别将与所述上游相邻节点和所述下游相邻节点的接收端口适配为高阶 粒度之后, 通过所述高阶业务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节点才艮据所述第二消息建立交叉。 After the receiving ports of the upstream neighboring node and the downstream neighboring node are respectively adapted to a high-order granularity, the second message is sent to the upstream neighboring node by the high-order traffic overhead, so that The upstream neighboring node establishes an intersection according to the second message.
进一步地,所述应用程序还包括可用于使所述处理器 1520执行以下过程 的指令: Further, the application further includes instructions operable to cause the processor 1520 to perform the following process:
当未接收到所述下游相邻节点发送的所述第二消息时, 将与所述下游相 邻节点的接收端口适配为低阶粒度, 通过所述低阶业务开销向所述下游相邻 节点发送所述第一消息。 When the second message sent by the downstream neighboring node is not received, the receiving port of the downstream neighboring node is adapted to a low-order granularity, and the downstream neighboring is adjacent to the low-order service overhead. The node sends the first message.
因此, 通过应用本发明实施例提供的支持混合粒度业务共享资源的倒换 节点, 当高阶业务工作路径故障时, 倒换节点接收上游相邻节点通过低阶业 务开销发送的第一消息, 当高阶业务保护路径可用时, 通过低阶开销向下游 相邻节点发送第一消息, 并将与下游相邻节点的接收端口适配为高阶粒度, 当接收到下游相邻节点通过高阶业务开销发送的第二消息时, 建立交叉。 解 决了现有技术中, 中间节点无法同时支持多种粒度开销的消息进行传输, 降 低中间节点的工作效率的问题。 本发明实施例提供的支持混合粒度业务共享 资源的处理方法与处理节点, 提高了中间节点的工作效率。
实施例十二 Therefore, by applying the switching node of the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the low-order overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity, and the downstream neighboring node is sent through the high-order service overhead. The second message is when the cross is established. In the prior art, the problem that the intermediate node cannot simultaneously support multiple granularity overhead messages to transmit and reduce the working efficiency of the intermediate node is solved. The processing method and the processing node for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention improve the working efficiency of the intermediate node. Example twelve
另外, 本发明实施例八提供的支持混合粒度业务共享资源的倒换节点还 可以釆用的实现方式如下, 用以实现前述本发明实施例四中的支持混合粒度 业务共享资源的倒换方法, 高阶业务保护路径与低阶业务保护路径共用多个 所述倒换节点,且每个所述倒换节点支持多种粒度业务的处理,如图 16所示, 所述倒换节点包括: 处理器 1610和存储器 1620。 系统总线 1640用于连接处 理器 1610和存储器 1620。 In addition, the switching node that supports the hybrid granularity service shared resource provided by the embodiment 8 of the present invention can also be implemented as follows, and is used to implement the switching method for supporting the hybrid granularity service shared resource in the foregoing fourth embodiment of the present invention. The service protection path and the low-order service protection path share a plurality of the switching nodes, and each of the switching nodes supports processing of multiple granular services. As shown in FIG. 16, the switching node includes: a processor 1610 and a memory 1620. . System bus 1640 is used to connect processor 1610 and memory 1620.
存储器 1620可以是永久存储器, 例如硬盘驱动器和闪存, 存储器 1620 用于存储应用程序, 所述应用程序包括可用于使处理器 1610访问并执行如下 指令: The memory 1620 can be a persistent storage, such as a hard drive and flash memory, and the memory 1620 is for storing applications, the application including instructions for enabling the processor 1610 to access and execute the following instructions:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 接收同处 于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一消 息; When the high-order service working path protected by the high-order service protection path is faulty, receiving, by the upstream neighboring node in the high-order service protection path, the first message sent by the low-order service overhead;
根据所述第一消息, 判断所述高阶业务保护路径是否为可用路径; 当所述高阶业务保护路径为可用路径时, 通过高阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息; Determining, according to the first message, whether the high-order service protection path is an available path; when the high-order service protection path is an available path, the high-order service overhead is in the same high-order service protection path Sending, by the downstream neighbor node, the first message;
将与所述上游相邻节点的接收端口适配为高阶粒度; Adapting the receiving port of the upstream neighboring node to a high-order granularity;
当接收到所述下游相邻节点根据所述第一消息通过所述高阶相邻开销发 送的第二消息时, 建立交叉。 An intersection is established when receiving the second message sent by the downstream neighboring node according to the first message through the high-order neighboring overhead.
进一步地,所述应用程序还包括可用于使所述处理器 1610执行以下过程 的指令: Further, the application further includes instructions operable to cause the processor 1610 to perform the following process:
将与所述上游相邻节点的接收端口适配为高阶粒度之后, 通过所述高阶 业务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节点 根据所述第二消息建立交叉。 After the receiving port of the upstream neighboring node is adapted to a high-order granularity, the second message is sent to the upstream neighboring node by the high-order traffic overhead, so that the upstream neighboring node is configured according to the The second message is established to cross.
进一步地,所述应用程序还包括可用于使所述处理器 1620执行以下过程 的指令:
当未接收到所述下游相邻节点发送的所述第二消息时, 通过所述高阶业 务开销向所述下游相邻节点发送所述第一消息。 Further, the application further includes instructions operable to cause the processor 1620 to perform the following process: And when the second message sent by the downstream neighboring node is not received, sending the first message to the downstream neighboring node by using the high-order service overhead.
因此, 通过应用本发明实施例提供的支持混合粒度业务共享资源的倒换 节点, 当高阶业务工作路径故障时, 倒换节点接收上游相邻节点通过低阶业 务开销发送的第一消息, 当高阶业务保护路径可用时, 通过高阶业务开销向 下游相邻节点发送第一消息, 并将与下游相邻节点的接收端口适配为高阶粒 度, 当接收到下游相邻节点通过高阶业务发送的第二消息时, 建立交叉。 解 决了现有技术中, 中间节点无法同时支持多种粒度开销的消息进行传输, 降 低中间节点的工作效率的问题。 本发明实施例提供的支持混合粒度业务共享 资源的处理方法与处理节点, 提高了中间节点的工作效率。 Therefore, by applying the switching node of the hybrid granularity service shared resource provided by the embodiment of the present invention, when the high-order service working path is faulty, the switching node receives the first message sent by the upstream neighboring node through the low-order service overhead, when the high-order When the service protection path is available, the first message is sent to the downstream neighboring node through the high-order service overhead, and the receiving port of the downstream neighboring node is adapted to the high-order granularity, and the downstream neighboring node is sent through the high-order service. The second message is when the cross is established. In the prior art, the intermediate node cannot simultaneously support the message with multiple granularity overheads, and reduces the work efficiency of the intermediate node. The processing method and the processing node for supporting the hybrid granularity service shared resource provided by the embodiment of the present invention improve the working efficiency of the intermediate node.
专业人员应该还可以进一步意识到, 结合本文中所公开的实施例描述的 各示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来 实现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能 一般性地描述了各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来 执行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每 个特定的应用来使用不同方法来实现所描述的功能, 但是这种实现不应认为 超出本发明的范围。 A person skilled in the art should further appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、 处理 器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存储器 ( RAM ) 、 内存、 只读存储器(ROM ) 、 电可编程 R0M、 电可擦除可编程 R0M、 寄存器、 硬盘、 可移动磁盘、 CD-R0M、 或技术领域内所公知的任意其它形式 的存储介质中。 The steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. Software modules can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.
以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进行 了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方式而 已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做 的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。
The above described embodiments of the present invention are further described in detail, and the embodiments of the present invention are intended to be illustrative only. The scope of the protection, any modifications, equivalents, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.
Claims
1、 一种支持混合粒度业务共享资源的倒换方法, 高阶业务保护路径与低 阶业务保护路径共用多个中间节点, 且每个所述中间节点支持所述高阶业务 和所述低阶业务, 其特征在于, 所述方法包括: 1. A switching method that supports mixed-granularity service sharing resources. The high-order service protection path and the low-order service protection path share multiple intermediate nodes, and each of the intermediate nodes supports the high-order service and the low-order service. , characterized in that the method includes:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 处于所述 高阶业务保护路径中的所述中间节点接收同处于所述高阶业务保护路径中的 上游相邻节点通过高阶业务开销发送的第一消息; When the high-order service working path protected by the high-order service protection path fails, the intermediate node in the high-order service protection path receives the upstream adjacent node in the high-order service protection path. The first message sent by high-level business overhead;
根据所述第一消息, 所述中间节点判断所述高阶业务保护路径是否为可 用路径; According to the first message, the intermediate node determines whether the high-order service protection path is an available path;
当所述高阶业务保护路径为可用路径时, 所述中间节点通过低阶业务开 销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 所述中间节点将与所述下游相邻节点的接收端口适配为高阶粒度; 当所述中间节点接收到所述下游相邻节点根据所述第一消息通过所述高 阶业务开销发送的第二消息时, 所述中间节点建立交叉。 When the high-order service protection path is an available path, the intermediate node sends the first message to the downstream adjacent node that is also in the high-order service protection path through the low-order service overhead; the intermediate node will The receiving port of the downstream adjacent node is adapted to a high-order granularity; when the intermediate node receives the second message sent by the downstream adjacent node through the high-order service overhead according to the first message, The intermediate nodes establish crossovers.
2、 根据权利要求 1所述的倒换方法, 其特征在于, 所述中间节点通过低 阶业务开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一 消息之前还包括: 2. The switching method according to claim 1, characterized in that, before the intermediate node sends the first message to the downstream adjacent node that is also in the high-order service protection path through the low-order service overhead, it further includes: :
当所述高阶业务保护路径为可用路径时, 所述中间节点通过所述高阶业 务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节点根 据所述第二消息建立交叉。 When the high-order service protection path is an available path, the intermediate node sends the second message to the upstream neighboring node through the high-order service overhead, so that the upstream neighboring node performs the processing according to the first The two messages create a crossover.
3、 根据权利要求 1所述的倒换方法, 其特征在于, 所述方法还包括: 当所述中间节点未接收到所述下游相邻节点发送的所述第二消息时 , 所 述中间节点将与所述下游相邻节点的接收端口适配为低阶粒度, 所述中间节 点通过所述低阶业务开销向所述下游相邻节点发送所述第一消息。 3. The switching method according to claim 1, characterized in that, the method further includes: when the intermediate node does not receive the second message sent by the downstream adjacent node, the intermediate node will The receiving port of the downstream adjacent node is adapted to a low-order granularity, and the intermediate node sends the first message to the downstream adjacent node through the low-order service overhead.
4、 一种支持混合粒度业务共享资源的倒换方法, 高阶业务保护路径与低 阶业务保护路径共用多个中间节点, 且每个所述中间节点支持所述高阶业务
和所述低阶业务, 其特征在于, 所述方法包括: 4. A switching method that supports shared resources for mixed-granularity services. A high-order service protection path and a low-order service protection path share multiple intermediate nodes, and each of the intermediate nodes supports the high-order service. and the low-level business, characterized in that the method includes:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 处于所述 高阶业务保护路径中的所述中间节点接收同处于所述高阶业务保护路径中的 上游相邻节点通过低阶业务开销发送的第一消息; When the high-order service working path protected by the high-order service protection path fails, the intermediate node in the high-order service protection path receives the upstream adjacent node in the high-order service protection path. The first message sent by low-level business overhead;
根据所述第一消息, 所述中间节点判断所述高阶业务保护路径是否为可 用路径; According to the first message, the intermediate node determines whether the high-order service protection path is an available path;
当所述高阶业务保护路径为可用路径时, 所述中间节点通过低阶业务开 销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 所述中间节点分别将与所述上游相邻节点和所述下游相邻节点的接收端 口适配为高阶粒度; When the high-order service protection path is an available path, the intermediate node sends the first message to downstream adjacent nodes that are also in the high-order service protection path through low-order service overhead; the intermediate nodes respectively adapting receive ports to the upstream neighbor node and the downstream neighbor node to a higher order of granularity;
当所述中间节点接收到所述下游相邻节点根据所述第一消息通过所述高 阶业务开销发送的第二消息时, 所述中间节点建立交叉。 When the intermediate node receives the second message sent by the downstream adjacent node through the high-order service overhead according to the first message, the intermediate node establishes a cross-connection.
5、 根据权利要求 4所述的倒换方法, 其特征在于, 所述中间节点分别将 与所述上游相邻节点和所述下游相邻节点的接收端口适配为高阶粒度之后还 包括: 5. The switching method according to claim 4, characterized in that, after the intermediate node respectively adapts the receiving ports of the upstream adjacent node and the downstream adjacent node to high-order granularity, it further includes:
所述中间节点通过所述高阶业务开销向所述上游相邻节点发送所述第二 消息, 以使得所述上游相邻节点根据所述第二消息建立交叉。 The intermediate node sends the second message to the upstream neighboring node through the high-order service overhead, so that the upstream neighboring node establishes a cross-connection according to the second message.
6、 根据权利要求 4所述的倒换方法, 其特征在于, 所述方法还包括: 当所述中间节点未接收到所述下游相邻节点发送的所述第二消息时 , 所 述中间节点将与所述下游相邻节点的接收端口适配为低阶粒度, 所述中间节 点通过所述低阶业务开销向所述下游相邻节点发送所述第一消息。 6. The switching method according to claim 4, wherein the method further includes: when the intermediate node does not receive the second message sent by the downstream adjacent node, the intermediate node will The receiving port of the downstream adjacent node is adapted to a low-order granularity, and the intermediate node sends the first message to the downstream adjacent node through the low-order service overhead.
7、 一种支持混合粒度业务共享资源的倒换方法, 高阶业务保护路径与低 阶业务保护路径共用多个中间节点, 且每个所述中间节点支持所述高阶业务 和所述低阶业务, 其特征在于, 所述方法包括: 7. A switching method that supports mixed-granularity service sharing resources. The high-order service protection path and the low-order service protection path share multiple intermediate nodes, and each of the intermediate nodes supports the high-order service and the low-order service. , characterized in that the method includes:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 处于所述 高阶业务保护路径中的所述中间节点接收同处于所述高阶业务保护路径中的
上游相邻节点通过低阶业务开销发送的第一消息; When the high-order service working path protected by the high-order service protection path fails, the intermediate node in the high-order service protection path receives the message that is also in the high-order service protection path. The first message sent by the upstream neighbor node through low-order service overhead;
根据所述第一消息, 所述中间节点判断所述高阶业务保护路径是否为可 用路径; According to the first message, the intermediate node determines whether the high-order service protection path is an available path;
当所述高阶业务保护路径为可用路径时, 所述中间节点通过高阶业务开 销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 所述中间节点将与所述上游相邻节点的接收端口适配为高阶粒度; 当所述中间节点接收到所述下游相邻节点根据所述第一消息通过所述高 阶业务开销发送的第二消息时, 所述中间节点建立交叉。 When the high-order service protection path is an available path, the intermediate node sends the first message to the downstream adjacent node that is also in the high-order service protection path through the high-order service overhead; the intermediate node will The receiving port of the upstream neighboring node is adapted to a high-order granularity; when the intermediate node receives the second message sent by the downstream neighboring node according to the first message through the high-order service overhead, The intermediate nodes establish crossovers.
8、 根据权利要求 7所述的倒换方法, 其特征在于, 所述中间节点将与所 述上游相邻节点的接收端口适配为高阶粒度之后还包括: 8. The switching method according to claim 7, characterized in that after the intermediate node adapts the receiving port with the upstream adjacent node to a high-order granularity, it further includes:
所述中间节点通过所述高阶业务开销向所述上游相邻节点发送所述第二 消息, 以使得所述上游相邻节点根据所述第二消息建立交叉。 The intermediate node sends the second message to the upstream neighboring node through the high-order service overhead, so that the upstream neighboring node establishes a cross-connection according to the second message.
9、 根据权利要求 7所述的倒换方法, 其特征在于, 所述方法还包括: 当所述中间节点未接收到所述下游相邻节点发送的所述第二消息时 , 所 述中间节点通过所述高阶业务开销向所述下游相邻节点发送所述第一消息。 9. The switching method according to claim 7, wherein the method further includes: when the intermediate node does not receive the second message sent by the downstream adjacent node, the intermediate node passes The high-order service overhead sends the first message to the downstream adjacent node.
10、 一种支持混合粒度业务共享资源的保护方法, 高阶业务保护路径与 低阶业务保护路径共用多个中间节点, 且每个所述中间节点支持所述高阶业 务和所述低阶业务, 其特征在于, 所述方法包括: 10. A protection method that supports mixed-granularity service sharing resources. The high-order service protection path and the low-order service protection path share multiple intermediate nodes, and each of the intermediate nodes supports the high-order service and the low-order service. , characterized in that the method includes:
当所述高阶业务保护路径所保护的高阶业务工作路径正常时, 所述中间 节点接收处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发 送的第一消息; When the high-order service working path protected by the high-order service protection path is normal, the intermediate node receives the first message sent by the upstream adjacent node in the high-order service protection path through the low-order service overhead;
所述中间节点通过所述低阶业务开销向处于所述高阶业务保护路径中的 下游相邻节点发送所述第一消息, 所述第一消息用于使处于所述高阶业务保 护路径中的各个节点对所述高阶业务保护路径进行维护。 The intermediate node sends the first message to the downstream adjacent node in the high-order service protection path through the low-order service overhead, and the first message is used to cause the node in the high-order service protection path to Each node maintains the high-order service protection path.
11、 根据权利要求 10所述的保护方法, 其特征在于, 所述中间节点接收 处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一
消息之前还包括: 11. The protection method according to claim 10, characterized in that, the intermediate node receives the first message sent by the upstream adjacent node in the high-order service protection path through the low-order service overhead. The message also previously included:
当所述高阶业务工作路径已从故障恢复为正常时, 所述中间节点接收处 于所述高阶业务保护路径的所述上游相邻节点通过高阶业务开销发送的第二 消息; When the high-order service working path has recovered from the fault to normal, the intermediate node receives the second message sent by the upstream adjacent node on the high-order service protection path through high-order service overhead;
所述中间节点通过所述高阶业务开销向处于所述高阶业务保护路径的所 述下游相邻节点发送所述第二消息; The intermediate node sends the second message to the downstream adjacent node in the high-order service protection path through the high-order service overhead;
所述中间节点接收所述下游相邻节点通过所述高阶业务开销发送的第三 消息; The intermediate node receives the third message sent by the downstream adjacent node through the high-order service overhead;
根据所述第三消息, 所述中间节点将与所述下游相邻节点之间的所述高 阶业务保护路径的粒度适配为低阶业务开销, 并拆除与所述下游相邻节点建 立的交叉; According to the third message, the intermediate node adapts the granularity of the high-order service protection path with the downstream adjacent node to a low-order service overhead, and dismantles the link established with the downstream adjacent node. cross; cross
所述中间节点通过所述高阶业务开销向所述上游相邻节点发送所述第三 消息, 以使得所述上游相邻节点根据所述第三消息, 将与所述中间节点之间 的所述高阶业务保护路径的粒度适配为低阶业务开销, 并拆除与所述中间节 点建立的交叉。 The intermediate node sends the third message to the upstream adjacent node through the high-order service overhead, so that the upstream adjacent node transfers all connections between the intermediate node and the intermediate node according to the third message. The granularity of the high-order service protection path is adapted to the low-order service overhead, and the intersection established with the intermediate node is removed.
12、 根据权利要求 10或 11任一项所述的保护方法, 其特征在于, 所述 第一消息包括所述消息类型、 所述高阶业务工作路径的标识、 所述高阶业务 工作路径的粒度和当所述高阶业务工作路径故障后进行保护倒换所需的时 隙。 12. The protection method according to claim 10 or 11, characterized in that the first message includes the message type, the identification of the high-order service working path, and the identification of the high-order service working path. Granularity and time slots required for protection switching when the high-order service working path fails.
13、 一种支持混合粒度业务共享资源的倒换节点, 高阶业务保护路径与 低阶业务保护路径共用多个所述倒换节点, 且每个所述倒换节点支持所述高 阶业务和所述低阶业务, 其特征在于, 所述倒换节点包括: 13. A switching node that supports mixed-granularity service sharing resources. A high-order service protection path and a low-order service protection path share multiple switching nodes, and each of the switching nodes supports the high-order service and the low-order service. order service, characterized in that the switching node includes:
接收单元, 用于当所述高阶业务保护路径所保护的高阶业务工作路径故 障时, 接收同处于所述高阶业务保护路径中的上游相邻节点通过高阶业务开 销发送的第一消息; A receiving unit, configured to receive a first message sent by an upstream adjacent node that is also in the high-order service protection path through the high-order service overhead when the high-order service working path protected by the high-order service protection path fails. ;
判断单元, 用于根据所述第一消息, 判断所述高阶业务保护路径是否为
可用路径; A judging unit, configured to judge whether the high-order service protection path is available paths;
发送单元, 用于当所述高阶业务保护路径为可用路径时, 通过低阶业务 开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 适配单元, 用于当所述高阶业务保护路径为可用路径时, 将与所述下游 相邻节点的接收端口适配为高阶粒度; A sending unit, configured to send the first message to downstream adjacent nodes that are also in the high-order service protection path through low-order service overhead when the high-order service protection path is an available path; an adaptation unit, Used to adapt the receiving port with the downstream adjacent node to a high-order granularity when the high-order service protection path is an available path;
建立单元, 用于当所述接收单元接收到所述下游相邻节点根据所述第一 消息通过所述高阶业务开销发送的第二消息时, 建立交叉。 An establishing unit, configured to establish a cross-connection when the receiving unit receives the second message sent by the downstream adjacent node through the high-order service overhead according to the first message.
14、 根据权利要求 1 3所述的倒换节点, 其特征在于, 所述发送单元还用 于, 当所述高阶业务保护路径为可用路径时, 通过低阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息之前, 通过所述高 阶业务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节 点根据所述第二消息建立交叉。 14. The switching node according to claim 13, characterized in that, the sending unit is further configured to: when the high-order service protection path is an available path, send the low-order service overhead to the same person in the high-order service. Before the downstream adjacent node in the service protection path sends the first message, the second message is sent to the upstream adjacent node through the high-order service overhead, so that the upstream adjacent node sends the second message according to the first message. The two messages create a crossover.
15、 根据权利要求 1 3所述的倒换节点, 其特征在于, 所述适配单元还用 于, 当所述接收单元未接收到所述下游相邻节点发送的所述第二消息时, 将 与所述下游相邻节点的接收端口适配为低阶粒度; 15. The switching node according to claim 13, wherein the adaptation unit is further configured to: when the receiving unit does not receive the second message sent by the downstream adjacent node, Adapt to a low-order granularity with the receiving port of the downstream adjacent node;
所述发送单元还用于, 当所述接收单元未接收到所述下游相邻节点发送 的所述第二消息时, 通过所述低阶业务开销向所述下游相邻节点发送所述第 一消息。 The sending unit is also configured to: when the receiving unit does not receive the second message sent by the downstream adjacent node, send the first message to the downstream adjacent node through the low-order service overhead. information.
16、 一种支持混合粒度业务共享资源的倒换节点, 高阶业务保护路径与 低阶业务保护路径共用多个所述倒换节点, 且每个所述倒换节点支持所述高 阶业务和所述低阶业务, 其特征在于, 所述倒换节点包括: 16. A switching node that supports mixed-granularity service sharing resources. A high-order service protection path and a low-order service protection path share multiple switching nodes, and each of the switching nodes supports the high-order service and the low-order service. order service, characterized in that the switching node includes:
接收单元, 用于当所述高阶业务保护路径所保护的高阶业务工作路径故 障时, 接收同处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开 销发送的第一消息; A receiving unit, configured to receive a first message sent by an upstream adjacent node in the high-order service protection path through low-order service overhead when the high-order service working path protected by the high-order service protection path fails. ;
判断单元, 用于根据所述第一消息, 判断所述高阶业务保护路径是否为 可用路径;
发送单元, 用于当所述高阶业务保护路径为可用路径时, 通过低阶业务 开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息; 适配单元, 用于当所述高阶业务保护路径为可用路径时, 分别将与所述 上游相邻节点和所述下游相邻节点的接收端口适配为高阶粒度; A judging unit, configured to judge whether the high-order service protection path is an available path according to the first message; A sending unit, configured to send the first message to downstream adjacent nodes that are also in the high-order service protection path through low-order service overhead when the high-order service protection path is an available path; an adaptation unit, Used to adapt the receiving ports to the upstream adjacent node and the downstream adjacent node to high-order granularity when the high-order service protection path is an available path;
建立单元, 用于当所述接收单元接收到所述下游相邻节点根据所述第一 消息通过所述高阶业务开销发送的第二消息时, 建立交叉。 An establishing unit, configured to establish a cross-connection when the receiving unit receives the second message sent by the downstream adjacent node through the high-order service overhead according to the first message.
17、 根据权利要求 16所述的倒换节点, 其特征在于, 所述发送单元还用 于, 所述适配单元分别将与所述上游相邻节点和所述下游相邻节点的接收端 口适配为高阶粒度之后, 通过所述高阶业务开销向所述上游相邻节点发送所 述第二消息, 以使得所述上游相邻节点根据所述第二消息建立交叉。 17. The switching node according to claim 16, wherein the sending unit is further configured to: the adapting unit adapts the receiving ports of the upstream adjacent node and the downstream adjacent node respectively. After reaching the high-order granularity, the second message is sent to the upstream neighboring node through the high-order service overhead, so that the upstream neighboring node establishes a cross-connection according to the second message.
18、 根据权利要求 16所述的倒换节点, 其特征在于, 所述适配单元还用 于, 当所述接收单元未接收到所述下游相邻节点发送的所述第二消息时, 将 与所述下游相邻节点的接收端口适配为低阶粒度; 18. The switching node according to claim 16, wherein the adaptation unit is further configured to: when the receiving unit does not receive the second message sent by the downstream adjacent node, The receiving port of the downstream adjacent node is adapted to a low-order granularity;
所述发送单元还用于, 当所述接收单元未接收到所述下游相邻节点发送 的所述第二消息时, 通过所述低阶业务开销向所述下游相邻节点发送所述第 一消息。 The sending unit is also configured to: when the receiving unit does not receive the second message sent by the downstream adjacent node, send the first message to the downstream adjacent node through the low-order service overhead. information.
19、 一种支持混合粒度业务共享资源的倒换节点, 高阶业务保护路径与 低阶业务保护路径共用多个所述倒换节点, 且每个所述倒换节点支持所述高 阶业务和所述低阶业务, 其特征在于, 所述倒换节点包括: 19. A switching node that supports mixed-granularity service sharing resources. A high-order service protection path and a low-order service protection path share multiple switching nodes, and each of the switching nodes supports the high-order service and the low-order service. order service, characterized in that the switching node includes:
接收单元, 用于当所述高阶业务保护路径所保护的高阶业务工作路径故 障时, 接收同处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开 销发送的第一消息; A receiving unit, configured to receive a first message sent by an upstream adjacent node in the high-order service protection path through low-order service overhead when the high-order service working path protected by the high-order service protection path fails. ;
判断单元, 用于根据所述第一消息, 判断所述高阶业务保护路径是否为 可用路径; A judging unit, configured to judge whether the high-order service protection path is an available path according to the first message;
发送单元, 用于当所述高阶业务保护路径为可用路径时, 通过高阶业务 开销向同处于所述高阶业务保护路径中的下游相邻节点发送所述第一消息;
适配单元, 用于当所述高阶业务保护路径为可用路径时, 将与所述上游 相邻节点的接收端口适配为高阶粒度; A sending unit, configured to send the first message to downstream adjacent nodes that are also in the high-order service protection path through high-order service overhead when the high-order service protection path is an available path; An adaptation unit configured to adapt the receiving port of the upstream adjacent node to a high-order granularity when the high-order service protection path is an available path;
建立单元, 用于当所述接收单元接收到所述下游相邻节点根据所述第一 消息通过所述高阶业务开销发送的第二消息时, 建立交叉。 An establishing unit, configured to establish a cross-connection when the receiving unit receives the second message sent by the downstream adjacent node through the high-order service overhead according to the first message.
20、 根据权利要求 19所述的倒换节点, 其特征在于, 所述发送单元还用 于, 所述适配单元将与所述上游相邻节点的接收端口适配为高阶粒度之后, 通过所述高阶业务开销向所述上游相邻节点发送所述第二消息, 以使得所述 上游相邻节点才艮据所述第二消息建立交叉。 20. The switching node according to claim 19, characterized in that: the sending unit is further configured to: after the adapting unit adapts the receiving port with the upstream adjacent node to a high-order granularity, through the The high-order service overhead sends the second message to the upstream neighboring node, so that the upstream neighboring node establishes a cross-connection according to the second message.
21、 根据权利要求 19所述的倒换节点, 其特征在于, 所述发送单元还用 于, 当所述接收单元未接收到所述下游相邻节点发送的所述第二消息时, 通 过所述高阶业务开销向所述下游相邻节点发送所述第一消息。 21. The switching node according to claim 19, wherein the sending unit is further configured to: when the receiving unit does not receive the second message sent by the downstream adjacent node, through the The high-order service overhead sends the first message to the downstream neighboring node.
22、 一种支持混合粒度业务共享资源的保护节点, 高阶业务保护路径与 低阶业务保护路径共用多个所述保护节点, 且每个所述保护节点支持所述高 阶业务和所述低阶业务, 其特征在于, 所述保护节点包括: 22. A protection node that supports shared resources for mixed-granularity services. A high-order service protection path and a low-order service protection path share multiple protection nodes, and each of the protection nodes supports the high-order service and the low-order service. level service, characterized in that the protection nodes include:
接收单元, 用于当所述高阶业务保护路径所保护的高阶业务工作路径正 常时, 接收处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销 发送的第一消息; A receiving unit configured to receive the first message sent by the upstream adjacent node in the high-order service protection path through the low-order service overhead when the high-order service working path protected by the high-order service protection path is normal;
发送单元, 用于通过所述低阶业务开销向处于所述高阶业务保护路径中 的下游相邻节点发送所述第一消息, 所述第一消息用于使处于所述高阶业务 保护路径中的各个节点对所述高阶业务保护路径进行维护。 A sending unit, configured to send the first message to the downstream adjacent node in the high-order service protection path through the low-order service overhead, where the first message is used to cause the node in the high-order service protection path to Each node in the system maintains the high-order service protection path.
23、 根据权利要求 22所述的保护节点, 其特征在于, 所述接收单元接收 处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一 消息之前, 所述保护节点还包括: 23. The protection node according to claim 22, characterized in that, before the receiving unit receives the first message sent by the upstream neighboring node in the high-order service protection path through the low-order service overhead, the protection Nodes also include:
所述接收单元还用于, 当所述高阶业务工作路径已从故障恢复为正常时, 接收处于所述高阶业务保护路径的所述上游相邻节点通过高阶业务开销发送 的第二消息;
所述发送单元还用于, 通过所述高阶业务开销向处于所述高阶业务保护 路径的所述下游相邻节点发送所述第二消息; The receiving unit is also configured to receive a second message sent by the upstream adjacent node on the high-order service protection path through the high-order service overhead when the high-order service working path has recovered from a fault. ; The sending unit is further configured to send the second message to the downstream adjacent node on the high-order service protection path through the high-order service overhead;
所述接收单元还用于, 接收所述下游相邻节点通过所述高阶业务开销发 送的第三消息; The receiving unit is also configured to receive the third message sent by the downstream adjacent node through the high-order service overhead;
适配拆除单元, 用于根据所述第三消息, 将与所述下游相邻节点之间的 所述高阶业务保护路径的粒度适配为低阶业务开销, 并拆除与所述下游相邻 节点建立的交叉; An adaptation and removal unit configured to adapt the granularity of the high-order service protection path with the downstream adjacent node to the low-order service overhead according to the third message, and remove the high-order service protection path with the downstream adjacent node. Node established intersection;
所述发送单元还用于, 通过所述高阶业务开销向所述上游相邻节点发送 所述第三消息, 以使得所述上游相邻节点根据所述第三消息, 将与所述保护 节点之间的所述高阶业务保护路径的粒度适配为低阶业务开销, 并拆除与所 述保护节点建立的交叉。 The sending unit is further configured to send the third message to the upstream neighboring node through the high-order service overhead, so that the upstream neighboring node will communicate with the protection node according to the third message. The granularity of the high-order service protection path between them is adapted to the low-order service overhead, and the intersection established with the protection node is removed.
24、 根据权利要求 22或 23任一项所述的保护节点, 其特征在于, 所述 接收单元接收的所述第一消息包括所述消息类型、 所述高阶业务工作路径的 标识、 所述高阶业务工作路径的粒度和当所述高阶业务工作路径故障后进行 保护倒换所需的时隙。 24. The protection node according to claim 22 or 23, wherein the first message received by the receiving unit includes the message type, the identifier of the high-order service working path, the The granularity of the high-order service working path and the time slots required for protection switching when the high-order service working path fails.
25、 一种支持混合粒度业务共享资源的倒换节点, 高阶业务保护路径与 低阶业务保护路径共用多个所述倒换节点, 且每个所述倒换节点支持所述高 阶业务和所述低阶业务, 其特征在于, 所述倒换节点包括: 25. A switching node that supports mixed-granularity service sharing resources. A high-order service protection path and a low-order service protection path share multiple switching nodes, and each of the switching nodes supports the high-order service and the low-order service. order service, characterized in that the switching node includes:
处理器; processor;
存储器; memory;
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器执行以下过程的指令: An application program physically stored in the memory, the application program including instructions that may be used to cause the processor to perform the following processes:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 接收同处 于所述高阶业务保护路径中的上游相邻节点通过高阶业务开销发送的第一消 息; When the high-order service working path protected by the high-order service protection path fails, receive the first message sent by the upstream adjacent node that is also in the high-order service protection path through the high-order service overhead;
根据所述第一消息, 判断所述高阶业务保护路径是否为可用路径;
当所述高阶业务保护路径为可用路径时, 通过低阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息; According to the first message, determine whether the high-order service protection path is an available path; When the high-order service protection path is an available path, sending the first message to downstream adjacent nodes that are also in the high-order service protection path through low-order service overhead;
将与所述下游相邻节点的接收端口适配为高阶粒度; Adapt the receive port to the downstream adjacent node to a higher order of granularity;
当接收到所述下游相邻节点根据所述第一消息通过所述高阶业务开销发 送的第二消息时, 建立交叉。 When the second message sent by the downstream adjacent node through the high-order service overhead according to the first message is received, a cross-connection is established.
26、 根据权利要求 25所述的倒换节点, 其特征在于, 所述应用程序还包 括可用于使所述处理器执行以下过程的指令: 26. The switching node according to claim 25, wherein the application program further includes instructions that can be used to cause the processor to perform the following process:
当所述高阶业务保护路径为可用路径时, 通过低阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息之前, 通过所述高 阶业务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节 点根据所述第二消息建立交叉。 When the high-order service protection path is an available path, before sending the first message to the downstream adjacent node that is also in the high-order service protection path through the low-order service overhead, The upstream neighboring node sends the second message, so that the upstream neighboring node establishes a cross-connection according to the second message.
27、 根据权利要求 25所述的倒换节点, 其特征在于, 所述应用程序还包 括可用于使所述处理器执行以下过程的指令: 27. The switching node according to claim 25, wherein the application program further includes instructions that can be used to cause the processor to perform the following process:
当未接收到所述下游相邻节点发送的所述第二消息时, 将与所述下游相 邻节点的接收端口适配为低阶粒度, 通过所述低阶业务开销向所述下游相邻 节点发送所述第一消息。 When the second message sent by the downstream neighboring node is not received, the receiving port with the downstream neighboring node is adapted to a low-order granularity, and the low-order service overhead is used to send the message to the downstream neighboring node. The node sends the first message.
28、 一种支持混合粒度业务共享资源的倒换节点, 高阶业务保护路径与 低阶业务保护路径共用多个所述倒换节点, 且每个所述倒换节点支持所述高 阶业务和所述低阶业务, 其特征在于, 所述倒换节点包括: 28. A switching node that supports mixed-granularity service sharing resources. A high-order service protection path and a low-order service protection path share multiple switching nodes, and each of the switching nodes supports the high-order service and the low-order service. order service, characterized in that the switching node includes:
处理器; processor;
存储器; memory;
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器执行以下过程的指令: An application program physically stored in the memory, the application program including instructions that may be used to cause the processor to perform the following processes:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 接收同处 于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一消 息;
根据所述第一消息, 判断所述高阶业务保护路径是否为可用路径; 当所述高阶业务保护路径为可用路径时, 通过低阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息; When the high-order service working path protected by the high-order service protection path fails, receive the first message sent by the upstream adjacent node in the high-order service protection path through the low-order service overhead; According to the first message, it is judged whether the high-order service protection path is an available path; when the high-order service protection path is an available path, the low-order service overhead is used to send information to the user in the high-order service protection path. The downstream adjacent node sends the first message;
分别将与所述上游相邻节点和所述下游相邻节点的接收端口适配为高阶 粒度; Adapt the receiving ports to the upstream adjacent node and the downstream adjacent node to high-order granularity respectively;
当接收到所述下游相邻节点根据所述第一消息通过所述高阶业务开销发 送的第二消息时, 建立交叉。 When the second message sent by the downstream adjacent node through the high-order service overhead according to the first message is received, a cross-connection is established.
29、 根据权利要求 28所述的倒换节点, 其特征在于, 所述应用程序还包 括可用于使所述处理器执行以下过程的指令: 29. The switching node according to claim 28, wherein the application program further includes instructions that can be used to cause the processor to perform the following process:
分别将与所述上游相邻节点和所述下游相邻节点的接收端口适配为高阶 粒度之后, 通过所述高阶业务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节点才艮据所述第二消息建立交叉。 After respectively adapting the receiving ports of the upstream neighboring node and the downstream neighboring node to high-order granularity, the second message is sent to the upstream neighboring node through the high-order service overhead, so that The upstream neighboring node establishes the intersection according to the second message.
30、 根据权利要求 28所述的倒换节点, 其特征在于, 所述应用程序还包 括可用于使所述处理器执行以下过程的指令: 30. The switching node according to claim 28, wherein the application program further includes instructions that can be used to cause the processor to perform the following process:
当未接收到所述下游相邻节点发送的所述第二消息时, 将与所述下游相 邻节点的接收端口适配为低阶粒度, 通过所述低阶业务开销向所述下游相邻 节点发送所述第一消息。 When the second message sent by the downstream neighboring node is not received, the receiving port with the downstream neighboring node is adapted to a low-order granularity, and the low-order service overhead is used to send the message to the downstream neighboring node. The node sends the first message.
31、 一种支持混合粒度业务共享资源的倒换节点, 高阶业务保护路径与 低阶业务保护路径共用多个所述倒换节点, 且每个所述倒换节点支持所述高 阶业务和所述低阶业务, 其特征在于, 所述倒换节点包括: 31. A switching node that supports mixed-granularity service sharing resources. A high-order service protection path and a low-order service protection path share multiple switching nodes, and each of the switching nodes supports the high-order service and the low-order service. order service, characterized in that the switching node includes:
处理器; processor;
存储器; memory;
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器执行以下过程的指令: An application program physically stored in the memory, the application program including instructions that may be used to cause the processor to perform the following processes:
当所述高阶业务保护路径所保护的高阶业务工作路径故障时, 接收同处 于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一消
息; When the high-order service working path protected by the high-order service protection path fails, the first message sent by the upstream adjacent node in the high-order service protection path through the low-order service overhead is received. interest;
根据所述第一消息, 判断所述高阶业务保护路径是否为可用路径; 当所述高阶业务保护路径为可用路径时, 通过高阶业务开销向同处于所 述高阶业务保护路径中的下游相邻节点发送所述第一消息; According to the first message, it is judged whether the high-order service protection path is an available path; when the high-order service protection path is an available path, the high-order service protection path is used to send information to the high-order service protection path through the high-order service overhead. The downstream adjacent node sends the first message;
将与所述上游相邻节点的接收端口适配为高阶粒度; Adapt the receiving port to the upstream neighboring node to a higher order of granularity;
当接收到所述下游相邻节点根据所述第一消息通过所述高阶业务开销发 送的第二消息时, 建立交叉。 When the second message sent by the downstream adjacent node through the high-order service overhead according to the first message is received, a cross-connection is established.
32、 根据权利要求 31所述的倒换节点, 其特征在于, 所述应用程序还包 括可用于使所述处理器执行以下过程的指令: 32. The switching node according to claim 31, wherein the application program further includes instructions that can be used to cause the processor to perform the following process:
将与所述上游相邻节点的接收端口适配为高阶粒度之后, 通过所述高阶 业务开销向所述上游相邻节点发送所述第二消息, 以使得所述上游相邻节点 根据所述第二消息建立交叉。 After adapting the receiving port with the upstream neighboring node to a high-order granularity, the second message is sent to the upstream neighboring node through the high-order service overhead, so that the upstream neighboring node can The second message establishes the intersection.
33、 根据权利要求 31所述的倒换节点, 其特征在于, 所述应用程序还包 括可用于使所述处理器执行以下过程的指令: 33. The switching node according to claim 31, wherein the application program further includes instructions that can be used to cause the processor to perform the following process:
当未接收到所述下游相邻节点发送的所述第二消息时, 通过所述高阶业 务开销向所述下游相邻节点发送所述第一消息。 When the second message sent by the downstream adjacent node is not received, the first message is sent to the downstream adjacent node through the high-order service overhead.
34、 一种支持混合粒度业务共享资源的保护节点, 高阶业务保护路径与 低阶业务保护路径共用多个所述保护节点, 且每个所述保护节点支持所述高 阶业务和所述低阶业务, 其特征在于, 所述保护节点包括: 34. A protection node that supports mixed-granularity service sharing resources. A high-order service protection path and a low-order service protection path share multiple protection nodes, and each of the protection nodes supports the high-order service and the low-order service. level service, characterized in that the protection nodes include:
处理器; processor;
存储器; memory;
物理存储在所述存储器中的应用程序, 所述应用程序包括可用于使所述 处理器执行以下过程的指令: An application program physically stored in the memory, the application program including instructions that may be used to cause the processor to perform the following processes:
当所述高阶业务保护路径所保护的高阶业务工作路径正常时, 接收处于 所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发送的第一消 息;
通过所述低阶业务开销向处于所述高阶业务保护路径中的下游相邻节点 发送所述第一消息, 所述第一消息用于使处于所述高阶业务保护路径中的各 个节点对所述高阶业务保护路径进行维护。 When the high-order service working path protected by the high-order service protection path is normal, receive the first message sent by the upstream adjacent node in the high-order service protection path through the low-order service overhead; The first message is sent to downstream adjacent nodes in the high-order service protection path through the low-order service overhead, and the first message is used to enable each node in the high-order service protection path to The high-order service protection path is maintained.
35、 根据权利要求 34所述的保护节点, 其特征在于, 所述应用程序还包 括可用于使所述处理器执行以下过程的指令: 35. The protection node according to claim 34, wherein the application program further includes instructions that can be used to cause the processor to perform the following process:
接收处于所述高阶业务保护路径中的上游相邻节点通过低阶业务开销发 送的第一消息之前, 当所述高阶业务工作路径已从故障恢复为正常时, 接收 处于所述高阶业务保护路径的所述上游相邻节点通过高阶业务开销发送的第 二消息; Before receiving the first message sent by the upstream adjacent node in the high-order service protection path through the low-order service overhead, when the high-order service working path has recovered from the fault to normal, receiving the high-order service The second message sent by the upstream adjacent node of the protection path through high-order service overhead;
通过所述高阶业务开销向处于所述高阶业务保护路径的所述下游相邻节 点发送所述第二消息; Send the second message to the downstream adjacent node on the high-order service protection path through the high-order service overhead;
接收所述下游相邻节点通过所述高阶业务开销发送的第三消息; 根据所述第三消息, 将与所述下游相邻节点之间的所述高阶业务保护路 径的粒度适配为低阶业务开销, 并拆除与所述下游相邻节点建立的交叉; 通过所述高阶业务开销向所述上游相邻节点发送所述第三消息, 以使得 所述上游相邻节点根据所述第三消息, 将与所述保护节点之间的所述高阶业 务保护路径的粒度适配为低阶业务开销, 并拆除与所述保护节点建立的交叉。 Receive a third message sent by the downstream adjacent node through the high-order service overhead; according to the third message, adapt the granularity of the high-order service protection path with the downstream adjacent node to low-order service overhead, and remove the intersection established with the downstream neighboring node; send the third message to the upstream neighboring node through the high-order service overhead, so that the upstream neighboring node can The third message is to adapt the granularity of the high-order service protection path with the protection node to the low-order service overhead, and remove the intersection established with the protection node.
36、 根据权利要求 34或 35任一项所述的保护节点, 其特征在于, 所述 第一消息包括所述消息类型、 所述高阶业务工作路径的标识、 所述高阶业务 工作路径的粒度和当所述高阶业务工作路径故障后进行保护倒换所需的时 隙。
36. The protection node according to any one of claims 34 or 35, characterized in that the first message includes the message type, the identification of the high-order service working path, and the identification of the high-order service working path. Granularity and time slots required for protection switching when the high-order service working path fails.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/076463 WO2015165033A1 (en) | 2014-04-29 | 2014-04-29 | Processing method for supporting resource sharing by services with mixed granularities, and nodes |
CN201480000379.4A CN104067539B (en) | 2014-04-29 | 2014-04-29 | Support that combination grain business shares processing method and the node of resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/076463 WO2015165033A1 (en) | 2014-04-29 | 2014-04-29 | Processing method for supporting resource sharing by services with mixed granularities, and nodes |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015165033A1 true WO2015165033A1 (en) | 2015-11-05 |
Family
ID=51553780
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/076463 WO2015165033A1 (en) | 2014-04-29 | 2014-04-29 | Processing method for supporting resource sharing by services with mixed granularities, and nodes |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104067539B (en) |
WO (1) | WO2015165033A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3499813A4 (en) * | 2016-09-21 | 2019-06-19 | Huawei Technologies Co., Ltd. | PROTECTIVE SWITCHING METHOD AND NODE |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721045B (en) | 2016-01-19 | 2018-08-21 | 华为技术有限公司 | A kind of method and node of pretection switch |
CN115412784B (en) * | 2022-08-30 | 2024-08-09 | 武汉烽火技术服务有限公司 | Low-order service bearing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1713591A (en) * | 2004-06-22 | 2005-12-28 | 中兴通讯股份有限公司 | Alarm correlation analysis of light synchronous transmitting net |
CN102036132A (en) * | 2009-09-30 | 2011-04-27 | 华为技术有限公司 | Method, device and system for allocating time slot port number |
CN102136865A (en) * | 2010-08-09 | 2011-07-27 | 华为技术有限公司 | Service recovering method, system and node device |
CN102630384A (en) * | 2011-12-07 | 2012-08-08 | 华为技术有限公司 | Method of realizing service transport over optical transport network, device and system for implementing method thereof |
CN103141036A (en) * | 2012-07-26 | 2013-06-05 | 华为技术有限公司 | Method for sharing protection in optical transmission network, first node device and system thereof |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102017521B (en) * | 2009-06-04 | 2012-09-05 | 华为技术有限公司 | Method and apparatus for realizing optical channel data unit shared protection ring |
US8965198B2 (en) * | 2012-04-13 | 2015-02-24 | Fujitsu Limited | System and method for shared mesh restoration in optical networks |
WO2014131156A1 (en) * | 2013-02-27 | 2014-09-04 | 华为技术有限公司 | Protection switching method, system and node |
-
2014
- 2014-04-29 WO PCT/CN2014/076463 patent/WO2015165033A1/en active Application Filing
- 2014-04-29 CN CN201480000379.4A patent/CN104067539B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1713591A (en) * | 2004-06-22 | 2005-12-28 | 中兴通讯股份有限公司 | Alarm correlation analysis of light synchronous transmitting net |
CN102036132A (en) * | 2009-09-30 | 2011-04-27 | 华为技术有限公司 | Method, device and system for allocating time slot port number |
CN102136865A (en) * | 2010-08-09 | 2011-07-27 | 华为技术有限公司 | Service recovering method, system and node device |
CN102630384A (en) * | 2011-12-07 | 2012-08-08 | 华为技术有限公司 | Method of realizing service transport over optical transport network, device and system for implementing method thereof |
CN103141036A (en) * | 2012-07-26 | 2013-06-05 | 华为技术有限公司 | Method for sharing protection in optical transmission network, first node device and system thereof |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3499813A4 (en) * | 2016-09-21 | 2019-06-19 | Huawei Technologies Co., Ltd. | PROTECTIVE SWITCHING METHOD AND NODE |
US10735090B2 (en) | 2016-09-21 | 2020-08-04 | Huawei Technologies Co., Ltd. | Protection switching method and node |
US11251863B2 (en) | 2016-09-21 | 2022-02-15 | Huawei Technologies Co., Ltd. | Protection switching method and node |
Also Published As
Publication number | Publication date |
---|---|
CN104067539A (en) | 2014-09-24 |
CN104067539B (en) | 2016-09-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10554542B2 (en) | Label distribution method and device | |
US9769067B2 (en) | Multiprotocol label switching traffic engineering tunnel establishing method and device | |
EP3691185A1 (en) | Method for processing message, device, and system | |
US10992570B2 (en) | Packet forwarding method and device for a virtual private wire service (VPWS) pseudo wire (PW) network using traffic balancing | |
CN103684951B (en) | A kind of ring network protection method and system | |
US10735090B2 (en) | Protection switching method and node | |
CN108243114B (en) | Method, equipment and system for forwarding message | |
US9647878B2 (en) | Announcement method, device and system | |
JP2015136023A (en) | Redundant path provision method and transmission apparatus | |
CN105490937B (en) | Ether virtual network gateway switching method and service provider's edge node devices | |
CN102668474B (en) | Overlapping trees recovery scheme | |
WO2015165033A1 (en) | Processing method for supporting resource sharing by services with mixed granularities, and nodes | |
US11595119B2 (en) | Protection switching based on exchange of protection information | |
EP3139527B1 (en) | Protection switching method, node and control device | |
EP2953299B1 (en) | Protection switching method, system and node | |
CN106464524A (en) | Route calculation method and apparatus in ASON | |
EP2953294B1 (en) | Protection switching method, system, and node | |
US9893930B2 (en) | Method and device for processing data forwarding | |
WO2016177186A1 (en) | Bandwidth protection method and device |
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: 14891064 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: 14891064 Country of ref document: EP Kind code of ref document: A1 |