Service protection method and network node
AssigneeHuawei Technologies Co., Ltd.
InventorsHao Li, Gang Xie, Timing Fu
Life of this patent
Estimating the term…
Abstract
A service protection method includes a first node that determines that a fault has occurred on a first working path, and generates a service switching message based on the fault on the first working path. The first node sends the service switching message on a first protection path, where the service switching message indicates to adjust a bandwidth of a service from a guard bandwidth to a target bandwidth, where the guard bandwidth represents a pre-occupied bandwidth of the first protection path before the service is transmitted, where the target bandwidth represents an occupied bandwidth for transmitting the service on the first protection path, and where the guard bandwidth is less than the target bandwidth.
Claims20
A method implemented by a first node of a communication system, wherein the method comprises:
- determining that a fault has occurred on a first working path, wherein the first node is a common head node of the first working path, wherein the first working path is a current communication path of a service, wherein the service is a layer 3 (L3) service;
- generating, in response to determining that the fault has occurred on the first working path, a service switching message instructing to adjust a bandwidth of the service from a guard bandwidth to a target bandwidth, wherein the guard bandwidth represents a pre-occupied bandwidth of a first protection path before the service is transmitted, wherein the target bandwidth represents an actually occupied bandwidth for transmitting the service on the first protection path, wherein the guard bandwidth is less than the target bandwidth, wherein the first node is the common head node of the first protection path, and wherein the first protection path is a backup path of the first working path;
- determining, based on the first protection path and a correspondence between the first protection path and routing protection groups, a first routing protection group, wherein the correspondence is preconfigured on the first node and a sink node of the first working path, wherein the first routing protection group comprises a primary route and a secondary route, wherein the primary route is for use when the first node transmits the service on the first working path, and wherein the secondary route is for use when the first node transmits the service on the first protection path;
- sending, on the first protection path, the service switching message to a second node;
- and
- switching from the primary route to the secondary route.
A service protection method implemented by a third node of a communication system, wherein the service protection method comprises:
- receiving a first data frame on a first protection path, wherein the third node is a sink node of the first protection path, wherein the first protection path is a backup path of a first working path of a service, and wherein the service is a layer 3 (L3) service;
- obtaining, from the first data frame, a service switching message instructing the third node to adjust a bandwidth of the service from a guard bandwidth to a target bandwidth, wherein the guard bandwidth represents a pre-occupied bandwidth of the first protection path before the service is transmitted, wherein the target bandwidth represents an occupied bandwidth for transmitting the service on the first protection path, and wherein the guard bandwidth is less than the target bandwidth;
- determining, based on the first protection path and a correspondence between the first protection path and routing protection groups, a first routing protection group, wherein the correspondence is preconfigured on the third node and a common head node of the first working path, wherein the first routing protection group comprises a primary route and a secondary route, wherein the primary route is for transmitting the service on the first working path, and wherein the secondary route is for transmitting the service on the first protection path;
- and
- adjusting, based on the service switching message, the bandwidth from the guard bandwidth to the target bandwidth and switching the service to a working route corresponding to the first protection path.
A communication device comprising:
- a memory configured to store instructions;
- and
- one or more processors coupled to the memory and configured to execute the instructions to cause the communication device to:
- determine that a fault has occurred on a first working path of a layer 3 (L3) service, wherein the communication device is a common head node of the first working path, wherein the first working path is a current communication path of the L3 service;
- generate, in response to determining that the fault has occurred on the first working path, a service switching message instructing to adjust a bandwidth of the L3 service from a guard bandwidth to a target bandwidth, wherein the guard bandwidth represents a pre-occupied bandwidth of a first protection path before the L3 service is transmitted, wherein the target bandwidth represents an actually occupied bandwidth for transmitting the L3 service on the first protection path, wherein the guard bandwidth is less than the target bandwidth, wherein the communication device is the common head node of the first protection path, and wherein the first protection path is a backup path of the first working path;
- determine, based on the first protection path and a correspondence between the first protection path and routing protection groups, a first routing protection group, wherein the correspondence is preconfigured on the communication device and a sink node of the first working path, wherein the first routing protection group comprises a primary route and a secondary route, wherein the primary route is for use when the communication device transmits the service on the first working path, and wherein the secondary route is for use when the communication device transmits the service on the first protection path;
- send, on the first protection path, the service switching message to a second node;
- and
- switch from the primary route to the secondary route.
Dependencies are inferred from the claim text.