Bandwidth adjustment method, device and system, electronic device, and readable storage medium
Through the coordinated adjustment of source nodes, intermediate nodes and sink nodes, the in-band overhead mechanism is used to adjust the forward transmission bandwidth parameters of the optical service unit step by step, solving the problem of waste of small and medium-sized OTN services, and achieving efficient bandwidth utilization and lossless transmission.
Patent Information
- Application Number
- CN202011087703.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-12
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2040-10-12
AI Technical Summary
In OTN, the prior art is seriously wasted when carrying services below 1.25G, and an efficient bandwidth adjustment method is needed to optimize the transmission of small-particle services.
Through the coordinated adjustment of source nodes, intermediate nodes and sink nodes, the in-band overhead mechanism is used to adjust the forward transmission bandwidth parameters of the optical service unit step by step, and synchronous adjustment of all nodes on the path is achieved, simplifying the bandwidth adjustment process.
It realizes efficient transmission of OTN small and medium-sized particle services, reduces bandwidth waste, simplifies bandwidth adjustment process, and ensures lossless transmission of customer services.
Smart Images

Figure CN114422319B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of optical communications, and in particular to a bandwidth adjustment method, device and system, electronic device, and computer-readable storage medium. Background Art
[0002] In the definition of Optical Transport Network (OTN), the method of carrying multiple service signals in the payload of the OTN signal is to divide the payload of the OTN signal into n time slots, and then carry the service signals in one or more time slots in the payload of the OTN signal, and the time slots are implemented in a byte-interleaved manner.
[0003] According to the OTN standard G.709, the minimum timeslot granularity for OTN technology is 1.25G. This timeslot granularity results in significant bandwidth waste when carrying services below 1.25G, such as Fast Ethernet (FE), Synchronous Transfer Module (STM)-1, and E1 services. For example, an E1 service with a bandwidth of 2 megabits (Mbps) is carried in a 1.25G timeslot, resulting in a bandwidth waste of up to 99%. Therefore, a transmission technology is needed to efficiently carry small-granularity services in OTN. A hot topic in the industry is the use of Optical Service Units (OSUs) to carry small-granularity services. The payload area of an OTN frame is divided into payload blocks (PBs), with OSUs mapped to PBs.
[0004] The current bandwidth adjustment process for OTN is rather complicated. Summary of the Invention
[0005] Embodiments of the present application provide a bandwidth adjustment method, apparatus and system, electronic device, and computer-readable storage medium.
[0006] In a first aspect, an embodiment of the present application provides a bandwidth adjustment method, including:
[0007] The source node receives the adjustment command sent by the network management server, enters the adjustment mode corresponding to the optical service unit, performs a first adjustment process on the forward transmission bandwidth parameter of the optical service unit, and sends a first message to the downstream node of the source node if the first adjustment process is successful;
[0008] The intermediate node receives the first message, enters the adjustment mode corresponding to the optical service unit, performs a second adjustment process on the forward transmission bandwidth parameter of the optical service unit, and forwards the first message to the downstream node of the intermediate node if the second adjustment process is successful;
[0009] The sink node receives the first message, enters the adjustment mode corresponding to the optical service unit, performs a third adjustment process on the forward transmission bandwidth parameter of the optical service unit, and returns a second message to the upstream node of the sink node if the third adjustment process is successful;
[0010] The intermediate node receives the second message and sends the second message back to the upstream node of the intermediate node;
[0011] The source node receives the second message and exits the adjustment mode corresponding to the optical service unit;
[0012] The intermediate node exits the adjustment mode corresponding to the optical service unit;
[0013] The sink node exits the adjustment mode corresponding to the optical service unit.
[0014] In a second aspect, an embodiment of the present application provides a bandwidth adjustment system, including:
[0015] The source node is configured to receive an adjustment command issued by the network management server, enter an adjustment mode corresponding to the optical service unit, perform a first adjustment process on the forward transmission bandwidth parameter of the optical service unit, and send a first message to a downstream node of the source node if the first adjustment process is successful;
[0016] The intermediate node is configured to, upon receiving the first message, enter an adjustment mode corresponding to the optical service unit, perform a second adjustment process on the forward transmission bandwidth parameter of the optical service unit, and forward the first message to a downstream node of the intermediate node if the second adjustment process is successful;
[0017] The sink node is configured to, upon receiving the first message, enter an adjustment mode corresponding to the optical service unit, perform a third adjustment process on the forward transmission bandwidth parameter of the optical service unit, and return a second message to the upstream node of the sink node if the third adjustment process is successful;
[0018] The intermediate node is further configured to: upon receiving the second message, send the second message back to the upstream node of the intermediate node;
[0019] The source node is further configured to: upon receiving the second message, exit the adjustment mode corresponding to the optical service unit;
[0020] The intermediate node is further used to: exit the adjustment mode corresponding to the optical service unit;
[0021] The sink node is further used to exit the adjustment mode corresponding to the optical service unit.
[0022] The bandwidth adjustment method of the present application triggers each node on the path to adjust the forward transmission bandwidth parameters of the optical service unit separately when the source node receives an adjustment command issued by the network management server, without the need for the network management server to issue an adjustment command to each node on the path, thereby simplifying the bandwidth adjustment process. In addition, the source node enters the adjustment mode corresponding to the optical service unit and sends a first message to the downstream nodes in sequence until the destination node, so that each node on the path enters the adjustment mode corresponding to the optical service unit and exits the adjustment mode corresponding to the optical service unit after making corresponding adjustments to the forward transmission bandwidth parameters of the optical service unit, thereby achieving synchronous adjustment of all nodes on the path based on the adjustment mode of the optical service unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 This is a schematic diagram of the nodes included in the path in the embodiment of the present application;
[0024] Figure 2 A flowchart of a bandwidth adjustment method on the system side provided in one embodiment of the present application;
[0025] Figure 3 Schematic diagram of the conversion between the adjustment mode and the non-adjustment mode in the embodiment of the present application;
[0026] Figure 4 A flowchart of a bandwidth adjustment method on a source node side provided in another embodiment of the present application;
[0027] Figure 5 A flowchart of a bandwidth adjustment method on an intermediate node side provided in another embodiment of the present application;
[0028] Figure 6 A flowchart of a bandwidth adjustment method on a sink node side provided in another embodiment of the present application;
[0029] Figure 7 This is an interactive schematic diagram of the bandwidth adjustment method of Example 1 of the embodiment of the present application;
[0030] Figure 8 This is an interactive diagram of the bandwidth adjustment method of Example 2 of the embodiment of the present application;
[0031] Figure 9 This is an interactive schematic diagram of the bandwidth adjustment method of Example 3 of the embodiment of the present application;
[0032] Figure 10 This is an interactive schematic diagram of the bandwidth adjustment method of Example 4 of the embodiment of the present application;
[0033] Figure 11 This is an interactive schematic diagram of the bandwidth adjustment method of Example 5 of the embodiment of the present application;
[0034] Figure 12 This is an interactive schematic diagram of the bandwidth adjustment method of Example 6 of the embodiment of the present application;
[0035] Figure 13 A block diagram of a source node according to another embodiment of the present application;
[0036] Figure 14 A block diagram of the composition of an intermediate node provided in another embodiment of the present application;
[0037] Figure 15 A block diagram of the composition of a sink node provided in another embodiment of the present application. DETAILED DESCRIPTION
[0038] To enable those skilled in the art to better understand the technical solution of the present application, the bandwidth adjustment method, device and system, electronic device, and computer-readable storage medium provided in the present application are described in detail below with reference to the accompanying drawings.
[0039] Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thorough and complete and will fully convey the scope of this application to those skilled in the art.
[0040] In the absence of conflict, the various embodiments of the present application and the various features therein may be combined with each other.
[0041] As used herein, the term "and / or" includes any and all combinations of at least one of the associated listed items.
[0042] The terms used herein are used only to describe specific embodiments and are not intended to limit this application. As used herein, the singular forms "a," "an," and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It will also be understood that when the terms "comprising" and / or "made of" are used in this specification, the presence of the features, wholes, steps, operations, elements, and / or components is specified, but the presence or addition of at least one other feature, whole, step, operation, element, component, and / or group thereof is not excluded.
[0043] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and this application, and will not be interpreted as having an idealized or overly formal meaning unless expressly defined as such herein.
[0044] In the embodiments of this application, Figure 1As shown in Figure 1, each path starts at a source node and ends at a sink node, passing through at least one intermediate node. Due to the bidirectional nature of path transmission, customer service data packets (PKT, PacKeT) can be transmitted from the source node to the sink node, or from the sink node to the source node.
[0045] The following describes the process of transmitting customer service data packets from the source node to the sink node.
[0046] When the source node has customer services to send, the customer-side module 1 in the source node maps the customer service data packet into the OSU, and the line-side module 1 in the source node maps the OSU into an optical data unit (ODU) k, which is then sent to the downstream node (i.e., an intermediate node adjacent to the source node and close to the sink node on the path).
[0047] The intermediate node receives the ODUk, obtains the OSU from the ODUk through the line-side module 1 of the intermediate node, remaps the OSU into the ODUk through the line-side module 2 of the intermediate node, and sends the ODUk to the downstream node (i.e., the intermediate node adjacent to the intermediate node on the path and close to the sink node; or the sink node);
[0048] The sink node receives the ODUk, obtains the OSU from the ODUk through the line side module 1 of the sink node, and obtains the client service data packet from the OSU through the client side module 1 of the sink node.
[0049] The following describes the process of transmitting customer service data packets from the sink node to the source node.
[0050] When the sink node has customer services to send, the client-side module 2 in the sink node maps the customer service data packets into the OSU, and the line-side module 2 in the sink node maps the OSU into the ODUk, which is then sent to the upstream node (i.e., the intermediate node adjacent to the sink node and close to the source node on the path);
[0051] The intermediate node receives the ODUk, obtains the OSU from the ODUk through the line-side module 3 of the intermediate node, remaps the OSU into the ODUk through the line-side module 4 of the intermediate node, and sends the ODUk to the upstream node (i.e., the intermediate node adjacent to the intermediate node on the path and close to the source node; or the source node);
[0052] The source node receives the ODUk, obtains the OSU from the ODUk through the line-side module 2 of the source node, and obtains the client service data packet from the OSU through the client-side module 2 of the source node.
[0053] In an embodiment of the present application, the upstream node of a node on the path refers to a node that is adjacent to a node on the path and close to the source node (it can be a source node or an intermediate node); the downstream node of a node on the path refers to a node that is adjacent to a node on the path and close to the destination node (it can be a destination node or an intermediate node).
[0054] For example, assuming that the path includes: a source node, intermediate node 1, intermediate node 2, and a destination node, then the downstream node of the source node is intermediate node 1, the upstream node of intermediate node 1 is the source node, the downstream node of intermediate node 1 is intermediate node 2, the upstream node of intermediate node 2 is intermediate node 1, the downstream node of intermediate node 2 is the destination node, and the upstream node of the destination node is intermediate node 2.
[0055] The following describes the system side (i.e., multi-side interaction), source node side, intermediate node side, and sink node side respectively.
[0056] Figure 2 A flowchart of a bandwidth adjustment method on the system side provided in one embodiment of the present application.
[0057] First, refer to Figure 2 An embodiment of the present application provides a bandwidth adjustment method, including:
[0058] Step 200: The source node receives the adjustment command sent by the network management server, enters the adjustment mode corresponding to the OSU, performs a first adjustment process on the forward transmission bandwidth parameter of the OSU, and sends a first message to the downstream node of the source node if the first adjustment process is successful.
[0059] In some exemplary embodiments, the first message is used to request adjustment of a forward transmission bandwidth parameter of the OSU.
[0060] In some exemplary embodiments, if there is at least one intermediate node between the source node and the destination node, the downstream node of the source node is the intermediate node adjacent to the source node on the path and close to the destination node; if there is no intermediate node between the source node and the destination node, the downstream node of the source node is the destination node.
[0061] In some exemplary embodiments, the first message is used to request an increase in the forward transmission bandwidth parameter of the OSU. In other exemplary embodiments, the first message is used to request a decrease in the forward transmission bandwidth parameter of the OSU. That is, the adjustment can be an increase or a decrease.
[0062] In some exemplary embodiments, different command names may be used to distinguish whether a request is made to increase or decrease the forward transmission bandwidth parameter of the OSU. For example, INC_REQ (i.e., a bandwidth increase request message) may be used to indicate a request to increase the forward transmission bandwidth parameter of the OSU, and DEC_REQ (i.e., a bandwidth decrease request command) may be used to indicate a request to decrease the forward transmission bandwidth parameter of the OSU. In other exemplary embodiments, the same command name may be used to indicate a request to increase or decrease the forward transmission bandwidth parameter of the OSU, and a command parameter may be defined to indicate whether a request is made to increase or decrease the forward transmission bandwidth parameter of the OSU. For example, ADJ_REQ is used to indicate a request to adjust the forward transmission bandwidth parameter of the OSU, and the command parameter A is used in the ADJ_REQ to indicate whether a request is made to increase the forward transmission bandwidth parameter of the OSU or to decrease the forward transmission bandwidth parameter of the OSU. For example, when the command parameter A takes a first value (such as 1), it indicates a request to increase the forward transmission bandwidth parameter of the OSU; and when the command parameter A takes a second value (such as 2), it indicates a request to decrease the forward transmission bandwidth parameter of the OSU.
[0063] Of course, other methods may also be used to distinguish between a request to increase the forward transmission bandwidth parameter of the OSU and a request to decrease the forward transmission bandwidth parameter of the OSU. The specific implementation method is not intended to limit the protection scope of the embodiments of the present application.
[0064] In some exemplary embodiments, the first message may include: the forward transmission target bandwidth of the OSU.
[0065] In some exemplary embodiments, if the first message does not include the forward transmission target bandwidth of the OSU, the forward transmission target bandwidth of the OSU may be preset or obtained in advance using other methods.
[0066] In some exemplary embodiments, the first message may further include: the original forward transmission bandwidth of the OSU, that is, the current forward transmission bandwidth of the OSU.
[0067] In some exemplary embodiments, the first message can be sent to a downstream node of the source node via in-band path overhead. That is, the first message is carried in the overhead of an OSU frame being transmitted in the forward direction. The OSU frame can be an OSU data frame that carries customer service data packets, or an OSU management frame that does not carry customer service data packets. The specific carrying method is not intended to limit the scope of protection of the embodiments of this application. By sending the first message to a downstream node on the path via in-band path overhead, lossless bandwidth adjustment can be achieved, that is, bandwidth parameter adjustment can be achieved without affecting customer service transmission.
[0068] It should be noted that the first message can be mapped to the overhead of the OSU frame before mapping the customer service data packet to the OSU frame, or can be mapped to the overhead of the OSU frame during the process of mapping the customer service data packet to the OSU frame, or can be mapped to the overhead of the OSU frame after mapping the customer service data packet to the OSU frame. The embodiments of the present application do not limit this. The embodiments of the present application emphasize that the first message is carried in the overhead of the OSU frame.
[0069] It should be noted that, in the embodiment of the present application, messages between any two adjacent nodes can be transmitted via in-band path overhead.
[0070] In some exemplary embodiments, the source node performing the first adjustment process on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following:
[0071] The source node verifies the parameters of the adjustment command;
[0072] The source node detects whether the forward link bandwidth resources are sufficient;
[0073] The source node determines whether it is in the enabled state of forward adjustment;
[0074] The source node adjusts the number of payload blocks corresponding to the OSU in a single forward transmission cycle;
[0075] The source node reserves the adjusted number of payload blocks;
[0076] The source node adjusts the forward transmission bandwidth of the OSU.
[0077] In some exemplary embodiments, the first adjustment process being successful includes at least one of the following:
[0078] The source node verifies the parameters of the adjustment command and passes them;
[0079] The source node detects that the forward link bandwidth resources are sufficient;
[0080] The source node determines that it is in the enabled state of forward adjustment;
[0081] The source node successfully adjusts the number of payload blocks corresponding to the OSU in a single forward transmission cycle;
[0082] The source node successfully reserves the adjusted number of payload blocks;
[0083] The source node successfully adjusts the forward transmission bandwidth of the OSU.
[0084] In some exemplary embodiments, the parameter of the adjustment command may refer to the forward transmission target bandwidth, the forward transmission original bandwidth, etc.
[0085] In some exemplary embodiments, when verifying the parameters of the adjustment command, it can be verified whether the values of the parameters of the adjustment command are within a reasonable range. If the values of the parameters of the adjustment command are within a preset value range, the parameter verification of the adjustment command passes; if the values of the parameters of the adjustment command are outside the preset value range, the parameter verification of the adjustment command fails.
[0086] In some exemplary embodiments, whether link bandwidth resources are sufficient can be determined based on the forward transmission target bandwidth of the OSU. Specifically, if the increment of the forward transmission bandwidth parameter of the OSU is greater than the remaining amount of link bandwidth, it indicates that the link bandwidth resources are insufficient; if the increment of the forward transmission bandwidth parameter of the OSU is less than or equal to the remaining amount of link bandwidth, it indicates that the link bandwidth resources are sufficient.
[0087] In some exemplary embodiments, the number of PBs corresponding to an OSU within a single transmission cycle can be adjusted based on the OSU's target forward transmission bandwidth. Specifically, the target forward transmission bandwidth can be divided by the bandwidth of a single PB to obtain the adjusted number of PBs required. The amount of adjustment to the number of PBs can then be determined based on the adjusted number of PBs required and the current number of PBs.
[0088] Step 201: The intermediate node receives a first message, enters an adjustment mode corresponding to the optical service unit, performs a second adjustment process on the forward transmission bandwidth parameter of the optical service unit, and forwards the first message to a downstream node of the intermediate node if the second adjustment process is successful.
[0089] In some exemplary embodiments, if there is at least one intermediate node between the source node and the intermediate node, the upstream node of the intermediate node is the intermediate node adjacent to the intermediate node on the path and close to the source node; if there is no intermediate node between the source node and the intermediate node, the upstream node of the intermediate node is the source node.
[0090] In some exemplary embodiments, if there is at least one intermediate node between the intermediate node and the destination node, the downstream node of the intermediate node is the intermediate node adjacent to the intermediate node on the path and close to the destination node; if there is no intermediate node between the intermediate node and the destination node, the downstream node of the intermediate node is the destination node.
[0091] In some exemplary embodiments, the intermediate node performing the second adjustment process on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following:
[0092] The intermediate node verifies the parameters of the first message;
[0093] The intermediate node detects whether the forward link bandwidth resources are sufficient;
[0094] The intermediate node determines whether it is in the enabled state of forward adjustment;
[0095] The intermediate node adjusts the number of payload blocks corresponding to the OSU in a single forward transmission cycle;
[0096] The intermediate nodes reserve the adjusted number of load blocks.
[0097] In some exemplary embodiments, the second adjustment process being successful includes at least one of the following:
[0098] The intermediate node verifies the parameters of the first message;
[0099] The intermediate node detects that the forward link bandwidth resources are sufficient;
[0100] The intermediate node determines that it is in the enabled state of forward adjustment;
[0101] The intermediate node successfully adjusts the number of payload blocks corresponding to the OSU in a single forward transmission cycle;
[0102] The intermediate node successfully reserves the adjusted number of load blocks.
[0103] In some exemplary embodiments, the parameter of the first message may refer to a forward transmission target bandwidth, a forward transmission original bandwidth, and the like.
[0104] In some exemplary embodiments, when verifying the parameters of the first message, it can be verified whether the values of the parameters of the first message are within a reasonable range. If the values of the parameters of the first message are within a preset value range, the parameter verification of the first message passes; if the values of the parameters of the first message are outside the preset value range, the parameter verification of the first message fails. In some exemplary embodiments, since a certain delay will be generated when the intermediate node enters the adjustment mode corresponding to the optical service unit and performs the second adjustment processing on the forward transmission bandwidth parameters of the optical service unit, in order to ensure the normal transmission of customer services, after receiving the first message, the intermediate node needs to terminate the first message first, and then enter the adjustment mode corresponding to the optical service unit, perform the second adjustment processing on the forward transmission bandwidth parameters of the optical service unit, and then send the first message to the downstream node.
[0105] In some exemplary embodiments, since the first message is transmitted from destination node to destination node in sequence by means of in-band overhead, the intermediate node terminates the first message, that is, deletes the first message carried in the overhead of the OSU frame, and then reinserts the first message into the overhead of the next OSU frame after the intermediate node adjusts the forward transmission bandwidth parameters of the OSU. In this way, the transmission of customer services is ensured not to be affected by the bandwidth adjustment.
[0106] Step 202: The sink node receives the first message, enters the adjustment mode corresponding to the optical service unit, and performs a third adjustment process on the forward transmission bandwidth parameter of the optical service unit. If the third adjustment process is successful, a second message is sent back to the upstream node of the sink node.
[0107] In some exemplary embodiments, the first message is used to confirm adjustment of a forward transmission bandwidth parameter of the OSU.
[0108] In some exemplary embodiments, the sink node performing the third adjustment process on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following:
[0109] The sink node verifies the parameters of the first message;
[0110] The sink node determines whether it is in a forward adjustment enabled state;
[0111] The sink node adjusts the bandwidth limit of the forward sending interface.
[0112] In some exemplary embodiments, the third adjustment process being successful includes at least one of the following:
[0113] The sink node verifies the parameters of the first message and passes the verification;
[0114] The sink node determines that it is in the enabled state of forward adjustment;
[0115] The sink node successfully adjusts the bandwidth limit of the forward sending interface.
[0116] In some exemplary embodiments, adjusting the bandwidth limit of the forward transmission interface of the OSU is to adjust the bandwidth limit of the forward transmission interface of the OSU to the forward transmission target bandwidth of the OSU.
[0117] In some exemplary embodiments, the forward transmission interface of the OSU refers to an interface through which the sink node transmits the OSU to the client.
[0118] In some exemplary embodiments, if there is at least one intermediate node between the source node and the destination node, the upstream node of the destination node is the intermediate node that is adjacent to the destination node on the path and close to the source node; if there is no intermediate node between the source node and the destination node, the upstream node of the destination node is the source node.
[0119] In some exemplary embodiments, the second message is used to confirm an increase in a forward transmission bandwidth parameter of the OSU. In other exemplary embodiments, the second message is used to confirm a decrease in a forward transmission bandwidth parameter of the OSU.
[0120] In some exemplary embodiments, different command names may be used to distinguish between confirmation of increasing the forward transmission bandwidth parameter of the OSU and confirmation of decreasing the forward transmission bandwidth parameter of the OSU. For example, INC_ACK (i.e., bandwidth increase confirmation command) is used to indicate confirmation of increasing the forward transmission bandwidth parameter of the OSU, and DEC_ACK (i.e., bandwidth decrease confirmation command) is used to indicate confirmation of decreasing the forward transmission bandwidth parameter of the OSU. In other exemplary embodiments, the same command name may be used to indicate confirmation of increasing the forward transmission bandwidth parameter of the OSU and confirmation of decreasing the forward transmission bandwidth parameter of the OSU, and a command parameter may be defined to indicate whether the confirmation is for increasing the forward transmission bandwidth parameter of the OSU or for decreasing the forward transmission bandwidth parameter of the OSU. For example, ADJ_ACK is used to indicate confirmation of adjustment of the forward transmission bandwidth parameter of the OSU, and the command parameter B is used in ADJ_ACK to indicate whether to confirm increasing the forward transmission bandwidth parameter of the OSU or confirming decreasing the forward transmission bandwidth parameter of the OSU. For example, when the command parameter B takes the third value (such as 1), it indicates confirmation of increasing the forward transmission bandwidth parameter of the OSU; and when the command parameter B takes the fourth value (such as 2), it indicates confirmation of decreasing the forward transmission bandwidth parameter of the OSU.
[0121] Of course, other methods may also be used to distinguish between confirmation of increasing the forward transmission bandwidth parameter of the OSU and confirmation of decreasing the forward transmission bandwidth parameter of the OSU. The specific implementation method is not intended to limit the protection scope of the embodiments of the present application.
[0122] In some exemplary embodiments, the second message can be returned to the upstream node via in-band overhead. That is, the second message is carried in the overhead of the reversely transmitted OSU frame. The OSU frame can be an OSU data frame that carries customer service data packets or an OSU management frame that does not carry customer service data. The specific carrying method does not limit the scope of protection of the embodiments of this application. Returning the second message to the upstream node via in-band overhead enables lossless bandwidth adjustment, that is, bandwidth adjustment without affecting customer service transmission.
[0123] It should be noted that the second message can be mapped to the overhead of the OSU frame before mapping the customer service data packet to the OSU frame, or can be mapped to the overhead of the OSU frame during the process of mapping the customer service data packet to the OSU frame, or can be mapped to the overhead of the OSU frame after mapping the customer service data packet to the OSU frame. The embodiments of the present application do not limit this. The embodiments of the present application emphasize that the second message is carried in the overhead of the OSU frame.
[0124] In some exemplary embodiments, since a certain delay will be generated when the destination node enters the adjustment mode corresponding to the optical service unit and performs the third adjustment processing on the forward transmission bandwidth parameters of the optical service unit, in order to ensure the normal transmission of customer services, the destination node needs to terminate the first message after receiving the first message, and then enter the adjustment mode corresponding to the optical service unit, perform the third adjustment processing on the forward transmission bandwidth parameters of the optical service unit, and then return the second message to the upstream node.
[0125] In some exemplary embodiments, since the first message is transmitted from the source node to the destination node in sequence by means of in-band overhead, the destination node terminates the first message, that is, deletes the first message carried in the overhead of the OSU frame, and then enters the adjustment mode corresponding to the optical service unit at the destination node, performs the third adjustment processing on the forward transmission bandwidth parameters of the optical service unit, and then reinserts the second message into the overhead of the next OSU frame. In this way, the transmission of customer services is ensured not to be affected by the bandwidth parameter adjustment.
[0126] Step 203: The intermediate node receives the second message and returns the second message to the upstream node of the intermediate node.
[0127] Step 204: The source node receives the second message and exits the adjustment mode corresponding to the optical service unit.
[0128] Step 205: The intermediate node exits the adjustment mode corresponding to the optical service unit.
[0129] Step 206: The sink node exits the adjustment mode corresponding to the optical service unit.
[0130] The bandwidth adjustment method of the present application triggers each node on the path to adjust the forward transmission bandwidth parameters of the optical service unit separately when the source node receives an adjustment command issued by the network management server, without the need for the network management server to issue an adjustment command to each node on the path, thereby simplifying the bandwidth adjustment process. In addition, the source node enters the adjustment mode corresponding to the optical service unit and sends a first message to the downstream nodes in sequence until the destination node, so that each node on the path enters the adjustment mode corresponding to the optical service unit and exits the adjustment mode corresponding to the optical service unit after making corresponding adjustments to the forward transmission bandwidth parameters of the optical service unit, thereby achieving synchronous adjustment of all nodes on the path based on the adjustment mode of the optical service unit.
[0131] In some exemplary embodiments, after the intermediate node receives the second message, before sending the second message back to the upstream node of the intermediate node, the method further includes:
[0132] The intermediate node performs a fourth adjustment process on the forward transmission bandwidth parameter of the optical service unit, and if the fourth adjustment process is successful, continues to execute the step of sending the second message back to the upstream node of the intermediate node;
[0133] After the source node receives the second message, before exiting the adjustment mode corresponding to the optical service unit, the method further includes:
[0134] The source node performs a fifth adjustment process on the forward transmission bandwidth parameter of the optical service unit. If the fifth adjustment process is successful, the source node continues to execute the step of exiting the adjustment mode corresponding to the optical service unit.
[0135] In some exemplary embodiments, the intermediate node performing the fourth adjustment process on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following:
[0136] The intermediate node verifies the parameters of the second message;
[0137] The intermediate node detects whether the forward link bandwidth resources are sufficient;
[0138] The intermediate node determines whether the forward transmission bandwidth adjustment is enabled;
[0139] The intermediate node adjusts the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle.
[0140] In some exemplary embodiments, the fourth adjustment process being successful includes at least one of the following:
[0141] The intermediate node verifies the parameters of the second message and passes them;
[0142] The intermediate node detects that the forward link bandwidth resources are sufficient;
[0143] The intermediate node determines that the forward transmission bandwidth adjustment is enabled;
[0144] The intermediate node successfully adjusts the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle.
[0145] In some exemplary embodiments, the source node performing the fifth adjustment process on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following:
[0146] The source node verifies the parameters of the second message;
[0147] The source node detects whether the forward link bandwidth resources are sufficient;
[0148] The source node determines whether it is in an enabled state for forward transmission bandwidth adjustment;
[0149] The source node adjusts the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0150] The source node adjusts the forward transmission bandwidth of the optical service unit.
[0151] In some exemplary embodiments, the fifth adjustment process being successful includes at least one of the following:
[0152] The source node verifies the parameters of the second message and passes the verification;
[0153] The source node detects that the forward link bandwidth resources are sufficient;
[0154] The source node determines that the forward transmission bandwidth adjustment is enabled;
[0155] The source node successfully adjusts the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0156] The source node successfully adjusted the forward transmission bandwidth of the optical service unit.
[0157] In some exemplary embodiments, sending the first message to the downstream node of the source node includes: periodically sending the first message to the downstream node of the source node;
[0158] Sending back the second message to the upstream node of the sink node includes: periodically sending back the second message to the upstream node of the sink node;
[0159] After the source node exits the adjustment mode, the method further includes: the source node stops sending the first message;
[0160] After the sink node returns the second message to the upstream node of the sink node, the method further includes: if the sink node does not receive the first message within a preset time, the sink node stops returning the second message to the downstream node of the sink node and exits the adjustment mode;
[0161] After the intermediate node sends the second message back to the upstream node of the intermediate node, the method further includes: if the intermediate node does not receive the second message within a preset time, the intermediate node exits the adjustment mode.
[0162] It should be noted that the purpose of the source node periodically sending the first message is to inform other nodes on the path that the current adjustment has not been completed, so that other nodes will not exit the adjustment mode, thereby keeping the status of all nodes on the path consistent and preventing confusion in the adjustment status; similarly, the purpose of the destination node periodically sending the second message is also to inform other nodes on the path that the current adjustment has not been completed, so that other nodes will not exit the adjustment mode, thereby keeping the status of all nodes on the path consistent and preventing confusion in the adjustment status.
[0163] It should be noted that, although the source node periodically sends the first message, the intermediate node performs the second adjustment process only when it receives the first message for the first time, and the destination node performs the third adjustment process only when it receives the first message for the first time.
[0164] It should be noted that, although the destination node periodically sends the second message, the intermediate node performs the fourth adjustment process only when it receives the second message for the first time, and the source node performs the fifth adjustment process only when it receives the second message for the first time.
[0165] In some exemplary embodiments, if the first adjustment process fails or the fifth adjustment process fails, the method further includes:
[0166] The source node reports the adjustment result to the network management server and exits the adjustment mode corresponding to the optical service unit; wherein the adjustment result is used to indicate adjustment failure.
[0167] In some exemplary embodiments, the adjustment result may include the failure reason, or may not include any information.
[0168] For example, if the parameter verification of the adjustment command fails, the failure reason included in the adjustment result reported by the source node to the network management server may be an error in the adjustment command parameters; if the link bandwidth resources are insufficient, the failure reason included in the adjustment result reported by the source node to the network management server may be insufficient link bandwidth resources.
[0169] In some exemplary embodiments, if the second adjustment process or the fourth adjustment process fails, the method further includes:
[0170] The intermediate node reports the adjustment result to the network management server; wherein the adjustment result is used to indicate adjustment failure;
[0171] The intermediate node sends a third message to the source node; wherein the third message is used to indicate that an error occurs in the bandwidth adjustment process;
[0172] The source node receives the third message, performs a first adjustment and rollback operation on the forward transmission bandwidth parameter of the optical service unit, and sends a fourth message to a downstream node of the source node;
[0173] The intermediate node receives the fourth message and sends the fourth message to the downstream node of the intermediate node;
[0174] The sink node receives the fourth message and returns a fifth message to the upstream node of the sink node;
[0175] The intermediate node receives the fifth message and sends the fifth message back to the upstream node of the intermediate node;
[0176] The source node receives the fifth message and exits the adjustment mode corresponding to the optical service unit;
[0177] The intermediate node exits the adjustment mode corresponding to the optical service unit;
[0178] The sink node exits the adjustment mode corresponding to the optical service unit.
[0179] In some exemplary embodiments, the fourth message is used to instruct to perform an adjustment rollback operation, and the fifth message is used to confirm the adjustment rollback operation.
[0180] In some exemplary embodiments, if the third adjustment process fails, the method further includes:
[0181] The sink node reports the adjustment result to the network management server; wherein the adjustment result is used to indicate that the adjustment failed;
[0182] The sink node sends a third message to the source node; wherein the third message is used to indicate that an adjustment process error occurs;
[0183] The source node receives the third message, performs a first adjustment and rollback operation on the forward transmission bandwidth parameter of the optical service unit, and sends a fourth message to a downstream node of the source node;
[0184] The intermediate node receives the fourth message, performs a second adjustment and fallback operation on the forward transmission bandwidth parameter of the optical service unit, and sends the fourth message to a downstream node of the intermediate node;
[0185] The sink node receives the fourth message and returns a fifth message to the upstream node of the sink node;
[0186] The intermediate node receives the fifth message and sends the fifth message back to the upstream node of the intermediate node;
[0187] The source node receives the fifth message and exits the adjustment mode corresponding to the optical service unit;
[0188] The intermediate node exits the adjustment mode corresponding to the optical service unit;
[0189] The sink node exits the adjustment mode corresponding to the optical service unit.
[0190] In some exemplary embodiments, sending the fourth message to the downstream node of the source node includes: periodically sending the fourth message to the downstream node of the source node;
[0191] Sending back the fifth message to the upstream node of the sink node includes: periodically sending back the fifth message to the upstream node of the sink node;
[0192] After the intermediate node sends back the fifth message to the upstream node of the intermediate node, the method further includes: if the fifth message is not received within a preset time, exiting the adjustment mode corresponding to the OSU;
[0193] After the sink node sends the fifth message back to the upstream node of the sink node, the method further includes: if no fourth message is received within a preset time, exiting the adjustment mode corresponding to the OSU.
[0194] It should be noted that the purpose of the source node periodically sending the fourth message is to inform other nodes on the path that the current adjustment rollback has not ended, so that other nodes will not exit the adjustment mode, thereby keeping the status of all nodes on the path consistent and preventing confusion in the adjustment status; similarly, the purpose of the destination node periodically sending the fifth message is also to inform other nodes on the path that the current adjustment rollback has not ended, so that other nodes will not exit the adjustment mode, thereby keeping the status of all nodes on the path consistent and preventing confusion in the adjustment status.
[0195] It should be noted that although the source node periodically sends the fourth message, the intermediate node only performs the second adjustment fallback operation when it receives the fourth message for the first time, and the destination node only performs the third adjustment fallback operation when it receives the fourth message for the first time.
[0196] It should be noted that if the source node receives the third message sent by the downstream node of the source node, the source node will not receive the second message returned by the downstream node of the source node; similarly, if the source node receives the second message returned by the downstream node of the source node, the source node will not receive the third message sent by the downstream node of the source node.
[0197] In some exemplary embodiments, the third message may be a fault indication command (such as ERR) or other names. The specific name is not used to limit the protection scope of the embodiments of the present application.
[0198] In some exemplary embodiments, the third message includes at least one of the following:
[0199] Status indicating that adjustment processing failed;
[0200] Indicates the type of adjustment processing failure;
[0201] Indicates the node information where the adjustment process failed.
[0202] In some exemplary embodiments, the type indicating that the adjustment process failed includes at least one of the following:
[0203] Parameter verification failed. Link bandwidth resources are insufficient. Forward transmission bandwidth adjustment is disabled. The number of payload blocks cannot be adjusted. The bandwidth limit of the forward transmission interface cannot be adjusted.
[0204] In some exemplary embodiments, the fourth message may be a bandwidth rollback request command (such as ROLLBACK_REQ) or other names. The specific name is not used to limit the protection scope of the embodiments of the present application.
[0205] In some exemplary embodiments, the fifth message may be a bandwidth rollback confirmation command (such as ROLLBACK_ACK) or other names. The specific name is not used to limit the protection scope of the embodiments of the present application.
[0206] In some exemplary embodiments, the fourth message can be sent to the downstream node via in-band associated overhead. That is, the fourth message is carried in the overhead of the forward-transmitted OSU frame. The OSU frame can be an OSU data frame that carries customer service data packets or an OSU management frame that does not carry customer service data. The specific carrying method does not limit the scope of protection of the embodiments of this application. Sending the fourth message to the downstream node via in-band associated overhead can achieve lossless bandwidth adjustment, that is, bandwidth adjustment can be achieved without affecting customer service transmission.
[0207] It should be noted that the fourth message can be mapped to the overhead of the OSU frame before mapping the customer service data packet to the OSU frame, or can be mapped to the overhead of the OSU frame during the process of mapping the customer service data packet to the OSU frame, or can be mapped to the overhead of the OSU frame after mapping the customer service data packet to the OSU frame. The embodiment of the present application does not limit this. The embodiment of the present application emphasizes that the fourth message is carried in the overhead of the OSU frame.
[0208] In some exemplary embodiments, the fifth message may be returned to the upstream node via in-band overhead. That is, the fifth message is carried in the overhead of the reversely transmitted OSU frame. The OSU frame may be an OSU data frame that carries customer service data packets or an OSU management frame that does not carry customer service data packets. The specific carrying method does not limit the scope of protection of the embodiments of this application. Returning the fifth message to the upstream node via in-band overhead enables lossless bandwidth adjustment, i.e., bandwidth adjustment without affecting customer service transmission.
[0209] It should be noted that the fifth message can be mapped to the overhead of the OSU frame before mapping the customer service data packet to the OSU frame, or can be mapped to the overhead of the OSU frame during the process of mapping the customer service data packet to the OSU frame, or can be mapped to the overhead of the OSU frame after mapping the customer service data packet to the OSU frame. The embodiments of the present application do not limit this. The embodiments of the present application emphasize that the fifth message is carried in the overhead of the OSU frame.
[0210] In some exemplary embodiments, the method further comprises:
[0211] After entering the adjustment mode and before exiting the adjustment mode, the source node determines that a link fault exists and exits the adjustment mode corresponding to the optical service unit;
[0212] After entering the adjustment mode and before exiting the adjustment mode, the intermediate node determines that a link fault exists and exits the adjustment mode corresponding to the optical service unit;
[0213] The sink node determines that a link failure exists after entering the adjustment mode and before exiting the adjustment mode, and exits the adjustment mode corresponding to the optical service unit.
[0214] In some exemplary embodiments, a link failure includes a forward link failure and a reverse link failure.
[0215] In some exemplary embodiments, whether a link failure exists can be determined based on whether a failure alarm is received. Specifically, if a failure alarm is received, it is determined that a link failure exists; if no failure alarm is received, it is determined that no link failure exists.
[0216] In some exemplary embodiments, before the source node exits the adjustment mode corresponding to the optical service unit, the method further includes: the source node performing a first adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit;
[0217] Before the intermediate node exits the adjustment mode corresponding to the optical service unit, the method further includes: the intermediate node performing a second adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit;
[0218] Before the sink node exits the adjustment mode corresponding to the optical service unit, the method further includes: the sink node performing a third adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit.
[0219] In some exemplary embodiments, performing a first adjustment fallback operation on a forward transmission bandwidth parameter of an optical service unit includes at least one of the following:
[0220] The source node recovers the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0221] The source node restores the forward transmission bandwidth of the optical service unit.
[0222] In some exemplary embodiments, performing a second adjustment fallback operation on a forward transmission bandwidth parameter of an optical service unit includes:
[0223] The intermediate node recovers the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle.
[0224] In some exemplary embodiments, performing a third adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit includes: the sink node restoring the bandwidth limit of the forward transmission interface.
[0225] In some exemplary embodiments, after the source node receives the adjustment command sent by the network management server, the method further includes: the source node determines whether to enter the adjustment mode; if not, enters the adjustment mode; if already entered the adjustment mode, continues to be in the adjustment mode; Figure 3 As shown;
[0226] After the intermediate node receives the first message sent by the upstream node of the intermediate node, the method further includes: determining whether to enter the adjustment mode; if not, entering the adjustment mode; if already entered the adjustment mode, continuing to be in the adjustment mode;
[0227] After the sink node receives the first message sent by the upstream node of the sink node, the method further includes: determining whether to enter the adjustment mode; if not, entering the adjustment mode; if already entered the adjustment mode, continuing to stay in the adjustment mode.
[0228] In some exemplary embodiments, if the first adjustment process is successful or the fifth adjustment process is successful, the method further includes:
[0229] The source node reports the adjustment result to the network management server; wherein the adjustment result is used to indicate that the bandwidth adjustment is successful;
[0230] If the second adjustment process is successful or the fourth adjustment process is successful, the method further includes:
[0231] The intermediate node reports the adjustment result to the network management server; wherein the adjustment result is used to indicate that the bandwidth adjustment is successful;
[0232] If the third adjustment process is successful, the method further includes:
[0233] Report the adjustment result to the network management server; the adjustment result is used to indicate that the bandwidth adjustment is successful.
[0234] In some exemplary embodiments, the adjustment result includes at least one of the following: an adjusted forward transmission bandwidth parameter of the OSU; and a change in the forward transmission bandwidth parameter of the OSU.
[0235] In some exemplary embodiments, the change condition of the forward transmission bandwidth parameter of the OSU may refer to the change amount of the forward transmission bandwidth parameter of the OSU.
[0236] In some exemplary embodiments, after the sink node receives the first message, the method further includes:
[0237] The sink node sends a sixth message to an upstream node of the sink node, where the sixth message is used to trigger adjustment of a reverse transmission parameter of the optical service unit.
[0238] It should be noted that the content of the sixth message is consistent with that of the first message, but the transmission direction is opposite. The reverse adjustment process can be actively started without waiting for the network management server to issue an adjustment command.
[0239] In some exemplary embodiments, after the sink node sends the sixth message to the upstream node of the sink node, the method further includes:
[0240] The sink node performs a sixth adjustment process on the reverse transmission bandwidth parameter of the OSU, and if the sixth adjustment process is successful, sends a sixth message to the upstream node of the sink node;
[0241] The intermediate node receives the sixth message, performs a seventh adjustment process on the reverse transmission bandwidth parameter of the OSU, and sends the sixth message to the upstream node of the intermediate node if the seventh adjustment process is successful;
[0242] The source node receives the sixth message, performs an eighth adjustment process on the reverse transmission bandwidth parameter of the OSU, and if the eighth adjustment process is successful, sends a seventh message back to the downstream node of the source node;
[0243] The intermediate node receives the seventh message and sends the seventh message back to the downstream node of the intermediate node;
[0244] The sink node receives the seventh message and exits the adjustment mode corresponding to the OSU;
[0245] The intermediate node exits the adjustment mode corresponding to the OSU;
[0246] The source node exits the adjustment mode corresponding to the OSU.
[0247] In some exemplary embodiments, the sink node performing the sixth adjustment process on the reverse transmission bandwidth parameter of the OSU includes at least one of the following:
[0248] The sink node detects whether the reverse link bandwidth resources are sufficient;
[0249] The sink node determines whether it is in a reverse adjustment enabled state;
[0250] The sink node adjusts the number of payload blocks corresponding to the optical service unit in a single reverse transmission cycle;
[0251] The sink node reserves the adjusted number of payload blocks;
[0252] The sink node adjusts the reverse transmission bandwidth of the optical service unit.
[0253] In some exemplary embodiments, the intermediate node performing the seventh adjustment process on the reverse transmission bandwidth parameter of the OSU includes at least one of the following:
[0254] The intermediate node verifies the parameters of the sixth message;
[0255] The intermediate node detects whether the reverse link bandwidth resources are sufficient;
[0256] The intermediate node determines whether it is in the reverse adjustment enabling state;
[0257] The intermediate node adjusts the number of payload blocks corresponding to the optical service unit in a single reverse transmission cycle;
[0258] The intermediate nodes reserve the adjusted number of load blocks.
[0259] In some exemplary embodiments, the source node performing the eighth adjustment process on the reverse transmission bandwidth parameter of the OSU includes at least one of the following:
[0260] The source node verifies the parameters of the sixth message;
[0261] The source node determines whether it is in the reverse adjustment enabled state;
[0262] The source node adjusts the bandwidth limit of the reverse sending interface.
[0263] In some exemplary embodiments, after the intermediate node receives the seventh message and before sending the seventh message back to the downstream node of the intermediate node, the method further includes:
[0264] The intermediate node performs a ninth adjustment process on the reverse transmission bandwidth parameter of the OSU. If the ninth adjustment process is successful, the intermediate node continues to execute the step of sending the seventh message back to the downstream node of the intermediate node.
[0265] After the sink node receives the seventh message, and before exiting the adjustment mode corresponding to the OSU, the method further includes:
[0266] The sink node performs a tenth adjustment process on the reverse transmission bandwidth parameter of the OSU. If the tenth adjustment process is successful, the sink node continues to execute the step of exiting the adjustment mode corresponding to the optical service unit.
[0267] In some exemplary embodiments, the intermediate node performing the ninth adjustment process on the reverse transmission bandwidth parameter of the OSU includes at least one of the following:
[0268] The intermediate node verifies the parameters of the seventh message;
[0269] The intermediate node detects whether the reverse link bandwidth resources are sufficient;
[0270] The intermediate node determines whether reverse bandwidth adjustment is enabled.
[0271] The intermediate node adjusts the number of payload blocks corresponding to the optical service unit in a single reverse transmission cycle.
[0272] In some exemplary embodiments, the sink node performing a tenth adjustment process on the reverse transmission bandwidth parameter of the OSU includes at least one of the following:
[0273] The sink node verifies the parameters of the seventh message;
[0274] The sink node detects whether the reverse link bandwidth resources are sufficient;
[0275] The sink node determines whether forward transmission bandwidth adjustment is enabled;
[0276] The sink node adjusts the number of payload blocks corresponding to the optical service unit in a single reverse transmission cycle;
[0277] The sink node adjusts the reverse transmission bandwidth of the optical service unit.
[0278] In some exemplary embodiments, sending the sixth message to the upstream node of the sink node includes: periodically sending the sixth message to the upstream node of the sink node;
[0279] Sending back the seventh message to the downstream node of the source node includes: periodically sending back the seventh message to the downstream node of the source node;
[0280] After the sink node exits the adjustment mode, the method further includes: the sink node stops sending the sixth message;
[0281] After the source node sends the seventh message back to the downstream node of the source node, the method further includes: if the source node does not receive the sixth message within a preset time, the source node stops sending the seventh message back to the downstream node of the source node and exits the adjustment mode;
[0282] After the intermediate node sends the seventh message back to the downstream node of the intermediate node, the method further includes: if the intermediate node does not receive the seventh message within a preset time, the intermediate node exits the adjustment mode.
[0283] In some exemplary embodiments, if the sixth adjustment process fails or the tenth adjustment process fails, the method further includes:
[0284] The sink node reports the adjustment result to the network management server and exits the adjustment mode corresponding to the optical service unit; wherein the adjustment result is used to indicate adjustment failure.
[0285] In some exemplary embodiments, if the seventh adjustment process or the ninth adjustment process fails, the method further includes:
[0286] The intermediate node reports the adjustment result to the network management server; wherein the adjustment result is used to indicate adjustment failure;
[0287] The intermediate node sends an eighth message to the sink node; wherein the eighth message is used to indicate that an error occurs in the bandwidth adjustment process;
[0288] The sink node receives the eighth message, performs a fourth adjustment and rollback operation on the reverse transmission bandwidth parameter of the optical service unit, and sends a ninth message to the upstream node of the sink node;
[0289] The intermediate node receives the ninth message and sends the ninth message to the upstream node of the intermediate node;
[0290] The source node receives the ninth message and sends the tenth message back to the downstream node of the source node;
[0291] The intermediate node receives the tenth message and sends the tenth message back to the downstream node of the intermediate node;
[0292] The sink node receives the tenth message and exits the adjustment mode corresponding to the optical service unit;
[0293] The intermediate node exits the adjustment mode corresponding to the optical service unit;
[0294] The sink node exits the adjustment mode corresponding to the optical service unit.
[0295] In some exemplary embodiments, if the eighth adjustment process fails, the method further includes:
[0296] The source node reports the adjustment result to the network management server; wherein the adjustment result is used to indicate that the adjustment failed;
[0297] The source node sends an eighth message to the sink node; wherein the eighth message is used to indicate that an adjustment process error occurs;
[0298] The sink node receives the eighth message, performs a fourth adjustment and rollback operation on the reverse transmission bandwidth parameter of the optical service unit, and sends a ninth message to the upstream node of the sink node;
[0299] The intermediate node receives the ninth message, performs the fifth adjustment and rollback operation on the reverse transmission bandwidth parameter of the optical service unit, and sends the ninth message to the upstream node of the intermediate node;
[0300] The source node receives the ninth message and sends the tenth message back to the downstream node of the source node;
[0301] The intermediate node receives the tenth message and sends the tenth message back to the downstream node of the intermediate node;
[0302] The sink node receives the tenth message and exits the adjustment mode corresponding to the optical service unit;
[0303] The intermediate node exits the adjustment mode corresponding to the optical service unit;
[0304] The sink node exits the adjustment mode corresponding to the optical service unit.
[0305] In some exemplary embodiments, the eighth message includes at least one of the following:
[0306] Status indicating that adjustment processing failed;
[0307] Indicates the type of adjustment processing failure;
[0308] Indicates the node information where the adjustment process failed.
[0309] In some exemplary embodiments, the method further comprises:
[0310] The sink node determines that a link failure exists before exiting the adjustment mode, performs a fourth adjustment fallback operation on the reverse transmission bandwidth parameter of the optical service unit, and exits the adjustment mode corresponding to the optical service unit;
[0311] Before exiting the adjustment mode, the intermediate node determines that a link failure exists, performs a fifth adjustment rollback operation on the reverse transmission bandwidth parameter of the optical service unit, and exits the adjustment mode corresponding to the optical service unit;
[0312] Before exiting the adjustment mode, the source node determines that a link failure exists, performs a sixth adjustment rollback operation on the reverse transmission bandwidth parameter of the optical service unit, and exits the adjustment mode corresponding to the optical service unit.
[0313] In some exemplary embodiments, performing a fourth adjustment fallback operation on the reverse transmission bandwidth parameter of the optical service unit includes at least one of the following:
[0314] The sink node recovers the number of payload blocks corresponding to the optical service unit in a single reverse transmission cycle;
[0315] The sink node restores the reverse transmission bandwidth of the optical service unit.
[0316] In some exemplary embodiments, performing a fifth adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit includes:
[0317] The intermediate node recovers the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle.
[0318] In some exemplary embodiments, performing a sixth adjustment fallback operation on the reverse transmission bandwidth parameter of the optical service unit includes: the source node restoring the bandwidth limit of the reverse transmission interface.
[0319] It should be noted that the adjustment process of the reverse transmission bandwidth parameter is similar to the adjustment process of the forward transmission parameter, and will not be described in detail here.
[0320] Figure 4A flowchart of a bandwidth adjustment method on the source node side provided in another embodiment of the present application.
[0321] Secondly, refer to Figure 4 Another embodiment of the present application provides a bandwidth adjustment method, applied to a source node, comprising:
[0322] Step 400: Receive an adjustment command sent by the network management server, enter an adjustment mode corresponding to the OSU, perform a first adjustment process on the forward transmission bandwidth parameter of the OSU, and if the first adjustment process is successful, send a first message to the downstream node of the source node.
[0323] The specific implementation process of step 400 is the same as that of step 200 in the aforementioned embodiment, and will not be repeated here.
[0324] Step 401: The source node receives the second message and exits the adjustment mode corresponding to the optical service unit.
[0325] The specific implementation process of step 401 is the same as that of step 204 in the above embodiment, and will not be repeated here.
[0326] The specific implementation process of the bandwidth adjustment method applied to the source node side is the same as the specific implementation process of the source node in the bandwidth adjustment method of the aforementioned embodiment, and will not be repeated here.
[0327] Figure 5 This is a flowchart of a bandwidth adjustment method on an intermediate node side provided in another embodiment of the present application.
[0328] Thirdly, refer to Figure 5 Another embodiment of the present application provides a bandwidth adjustment method, applied to an intermediate node, comprising:
[0329] Step 500: upon receiving the first message, enter the adjustment mode corresponding to the optical service unit, perform a second adjustment process on the forward transmission bandwidth parameter of the optical service unit, and if the second adjustment process is successful, forward the first message to the downstream node of the intermediate node.
[0330] The specific implementation process of step 500 is the same as that of step 201 in the aforementioned embodiment, and will not be repeated here.
[0331] Step 501: After receiving the second message, the second message is sent back to the upstream node of the intermediate node.
[0332] The specific implementation process of step 501 is the same as that of step 203 in the aforementioned embodiment, and will not be repeated here.
[0333] Step 502: Exit the adjustment mode corresponding to the optical service unit.
[0334] The specific implementation process of step 502 is the same as that of step 205 in the aforementioned embodiment, and will not be repeated here.
[0335] The specific implementation process of the bandwidth adjustment method applied to the intermediate node side is the same as the specific implementation process of the intermediate node in the bandwidth adjustment method of the aforementioned embodiment, and will not be repeated here.
[0336] Figure 6 This is a flowchart of a bandwidth adjustment method on the sink node side provided by another embodiment of the present application.
[0337] Fourthly, refer to Figure 6 Another embodiment of the present application provides a bandwidth adjustment method, applied to a sink node, comprising:
[0338] Step 600: upon receiving the first message, enter the adjustment mode corresponding to the optical service unit, perform a third adjustment process on the forward transmission bandwidth parameter of the optical service unit, and if the third adjustment process is successful, return a second message to the upstream node of the sink node.
[0339] The specific implementation process of step 600 is the same as that of step 202 in the aforementioned embodiment, and will not be repeated here.
[0340] Step 601: Exit the adjustment mode corresponding to the optical service unit.
[0341] The specific implementation process of step 601 is the same as that of step 206 in the aforementioned embodiment, and will not be repeated here.
[0342] The specific implementation process of the bandwidth adjustment method applied to the sink node side is the same as the specific implementation process of the sink node in the bandwidth adjustment method of the aforementioned embodiment, and will not be repeated here.
[0343] The specific implementation process of the embodiments of the present application is described in detail below through several examples. The examples listed are only for convenience of explanation and are not used to limit the scope of protection of the embodiments of the present application.
[0344] To simplify the description, in the following examples, it is assumed that there is only one intermediate node between the source node and the sink node. That is, the path only includes: the source node, the intermediate node, and the sink node.
[0345] Example 1
[0346] This example describes the process of increasing the forward transmission bandwidth parameter of an OSU. Figure 7 As shown, the method includes:
[0347] 1. The network management server sends an adjustment command to the source node. The adjustment command is used to request an increase in the forward transmission bandwidth parameter of the OSU. The adjustment command includes the forward transmission target bandwidth of the OSU.
[0348] 2. The source node receives the adjustment command sent by the network management server, enters the adjustment mode, and verifies the parameters of the adjustment command. If the verification passes, it continues to step 3. If the verification fails, the source node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment failed. The adjustment result includes: the failure reason, which is the parameter error of the adjustment command.
[0349] In this step, the parameters of the adjustment command are checked, that is, whether the forward transmission target bandwidth of the OSU is within a reasonable range is determined. If it is within a reasonable range, the check passes; if it is outside the reasonable range, the check fails.
[0350] 3. The source node determines whether the forward link bandwidth resources are sufficient. If the forward link bandwidth resources are sufficient, step 4 is executed. If the forward link bandwidth resources are insufficient, the source node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment failed. The adjustment result includes: the failure reason, which is insufficient forward link bandwidth resources.
[0351] 4. The source node periodically sends a first message to the intermediate node through an in-band associated overhead, where the first message includes: the forward transmission target bandwidth of the OSU.
[0352] 5. The intermediate node receives the first message sent by the source node for the first time, terminates the first message, enters the adjustment mode, and verifies the parameters of the first message. If the verification passes, proceed to step 6.
[0353] In this step, the parameters of the first message are checked, that is, whether the forward transmission target bandwidth of the OSU is within a reasonable range is determined. If it is within a reasonable range, the check passes; if it is outside the reasonable range, the check fails.
[0354] 6. The intermediate node determines whether the forward link bandwidth resources are sufficient. If the forward link bandwidth resources are sufficient, step 7 is executed.
[0355] 7. The intermediate node sends the first message to the destination node via in-band path overhead.
[0356] 8. The destination node receives the first message sent by the intermediate node, terminates the first message, enters the adjustment mode, and verifies the parameters of the first message. If the verification passes, proceed to step 9.
[0357] In this step, the parameters of the first message are checked, that is, whether the forward transmission target bandwidth of the OSU is within a reasonable range is determined. If it is within a reasonable range, the check passes; if it is outside the reasonable range, the check fails.
[0358] 9. The sink node determines whether the forward link bandwidth resources are sufficient. If the forward link bandwidth resources are sufficient, step 10 is executed.
[0359] 10. The sink node increases the bandwidth limit of the forward transmission interface of the OSU and periodically sends a second message back to the intermediate node through the in-band associated overhead. The second message is used to confirm the increase of the forward transmission bandwidth parameter of the OSU.
[0360] 11. The intermediate node receives the second message sent back by the destination node for the first time, terminates the second message, increases the number of payload blocks corresponding to the OSU in a single forward transmission cycle, and sends the second message back to the source node via in-band path overhead.
[0361] 12. The source node receives the second message sent back by the intermediate node for the first time, terminates the second message, adjusts the number of payload blocks corresponding to the OSU in a single forward transmission cycle, adjusts the forward transmission bandwidth of the OSU, exits the adjustment mode, and stops sending the first message.
[0362] 13. After the intermediate node sends the second message back to the source node via the in-band associated overhead, if it does not receive the first message and the second message within a preset time, it exits the adjustment mode.
[0363] 14. After the sink node increases the bandwidth limit of the forward transmission interface of the OSU, if it does not receive the first message within a preset time, it exits the adjustment mode.
[0364] Example 2
[0365] This example describes the process of increasing the forward transmission bandwidth parameter of the OSU, in which the intermediate node fails to perform parameter verification on the first message. Figure 8 As shown, the method includes:
[0366] 1. The network management server sends an adjustment command to the source node. The adjustment command is used to request an increase in the forward transmission bandwidth parameter of the OSU. The adjustment command includes the forward transmission target bandwidth of the OSU.
[0367] 2. The source node receives the adjustment command sent by the network management server, enters the adjustment mode, and verifies the parameters of the adjustment command. If the verification passes, it continues to step 3. If the verification fails, the source node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment failed. The adjustment result includes: the failure reason, which is the parameter error of the adjustment command.
[0368] In this step, the parameters of the adjustment command are checked, that is, whether the forward transmission target bandwidth of the OSU is within a reasonable range is determined. If it is within a reasonable range, the check passes; if it is outside the reasonable range, the check fails.
[0369] 3. The source node determines whether the forward link bandwidth resources are sufficient. If the forward link bandwidth resources are sufficient, step 4 is executed. If the forward link bandwidth resources are insufficient, the source node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment failed. The adjustment result includes: the failure reason, which is insufficient forward link bandwidth resources.
[0370] 4. The source node periodically sends a first message to the intermediate node through an in-band associated overhead, where the first message includes: the forward transmission target bandwidth of the OSU.
[0371] 5. When the intermediate node receives the first message sent by the source node for the first time, it terminates the first message, enters the adjustment mode, and verifies the parameters of the first message. If the verification fails, it proceeds to step 6.
[0372] 6. The intermediate node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment has failed. The adjustment result includes: a failure reason, which is that the parameters of the first message are incorrect.
[0373] 7. The intermediate node sends a third message to the source node via in-band path overhead. The third message is used to indicate that an adjustment process error occurred.
[0374] 8. The source node receives the third message and terminates the third message.
[0375] 9. The source node periodically sends a fourth message to the intermediate node via in-band associated path overhead. The fourth message is used to instruct an adjustment and fallback operation.
[0376] 10. The intermediate node receives the fourth message and sends the fourth message to the destination node via in-band associated overhead.
[0377] 11. The destination node receives the fourth message and periodically sends a fifth message back to the intermediate node via in-band path overhead. The fifth message is used to confirm the adjustment and rollback operation.
[0378] 12. The intermediate node receives the fifth message and returns the fifth message to the source node via in-band path overhead.
[0379] 13. The source node receives the fifth message, exits the adjustment mode, and stops sending the fourth message.
[0380] 14. If the intermediate node does not receive the fourth message and the fifth message within the preset time, it exits the adjustment mode.
[0381] 15. If the sink node does not receive the fourth message within the preset time, it stops sending back the fifth message.
[0382] Example 3
[0383] This example describes the process of increasing the forward transmission bandwidth parameter of the OSU, and the process of processing when the sink node fails to pass the parameter check of the first message, such as Figure 9 As shown, the method includes:
[0384] 1. The network management server sends an adjustment command to the source node. The adjustment command is used to request an increase in the forward transmission bandwidth parameter of the OSU. The adjustment command includes the forward transmission target bandwidth of the OSU.
[0385] 2. The source node receives the adjustment command sent by the network management server, enters the adjustment mode, and verifies the parameters of the adjustment command. If the verification passes, it continues to step 3. If the verification fails, the source node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment failed. The adjustment result includes: the failure reason, which is the parameter error of the adjustment command.
[0386] In this step, the parameters of the adjustment command are checked, that is, whether the forward transmission target bandwidth of the OSU is within a reasonable range is determined. If it is within a reasonable range, the check passes; if it is outside the reasonable range, the check fails.
[0387] 3. The source node determines whether the forward link bandwidth resources are sufficient. If the forward link bandwidth resources are sufficient, step 4 is executed. If the forward link bandwidth resources are insufficient, the source node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment failed. The adjustment result includes: the failure reason, which is insufficient forward link bandwidth resources.
[0388] 4. The source node periodically sends a first message to the intermediate node through an in-band associated overhead, where the first message includes: the forward transmission target bandwidth of the OSU.
[0389] 5. The intermediate node receives the first message sent by the source node for the first time, terminates the first message, enters the adjustment mode, and verifies the parameters of the first message. If the verification passes, proceed to step 6.
[0390] In this step, the parameters of the first message are checked, that is, whether the forward transmission target bandwidth of the OSU is within a reasonable range is determined. If it is within a reasonable range, the check passes; if it is outside the reasonable range, the check fails.
[0391] 6. The intermediate node determines whether the forward link bandwidth resources are sufficient. If the forward link bandwidth resources are sufficient, step 7 is executed.
[0392] 7. The intermediate node sends the first message to the destination node via in-band path overhead.
[0393] 8. The destination node receives the first message sent by the intermediate node, terminates the first message, enters the adjustment mode, and verifies the parameters of the first message. If the verification fails, the process proceeds to step 9.
[0394] In this step, the parameters of the first message are checked, that is, whether the forward transmission target bandwidth of the OSU is within a reasonable range is determined. If it is within a reasonable range, the check passes; if it is outside the reasonable range, the check fails.
[0395] 9. The sink node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment has failed. The adjustment result includes: a failure reason, which is that the parameters of the first message are incorrect.
[0396] 10. The sink node sends a third message to the source node via an in-band associated path overhead. The third message is used to indicate a bandwidth adjustment error.
[0397] 11. The source node receives the third message and terminates the third message.
[0398] 12. The source node periodically sends a fourth message to the intermediate node through in-band associated path overhead, where the fourth message is used to instruct a wide adjustment fallback operation.
[0399] 13. The intermediate node receives the fourth message and sends the fourth message to the destination node via in-band associated overhead.
[0400] 14. The destination node receives the fourth message and periodically sends a fifth message back to the intermediate node via in-band path overhead. The fifth message is used to confirm the adjustment and rollback operation.
[0401] 15. The intermediate node receives the fifth message and returns the fifth message to the source node via in-band path overhead.
[0402] 16. The source node receives the fifth message, exits the adjustment mode, and stops sending the fourth message.
[0403] 17. If the intermediate node does not receive the fourth message and the fifth message within the preset time, it exits the adjustment mode.
[0404] 18. If the sink node does not receive the fourth message within the preset time, it exits the adjustment mode and stops sending back the fifth message.
[0405] Example 4
[0406] This example describes the process of reducing the forward transmission bandwidth parameter of the OSU, such as Figure 10 As shown, the method includes:
[0407] 1. The network management server sends an adjustment command to the source node. The adjustment command is used to request a reduction in the forward transmission bandwidth parameter of the OSU. The adjustment command includes the forward transmission target bandwidth of the OSU.
[0408] 2. The source node receives the adjustment command sent by the network management server, enters the adjustment mode, and verifies the parameters of the adjustment command. If the verification passes, it continues to step 3. If the verification fails, the source node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment failed. The adjustment result includes: the failure reason, which is the parameter error of the adjustment command.
[0409] 3. The source node reduces the number of payload blocks corresponding to the OSU in a single forward transmission cycle, and periodically sends a first message to the intermediate node via an in-band associated overhead to reserve resources for the adjustment amount of the number of payload blocks.
[0410] 4. The intermediate node receives the first message sent by the source node for the first time, terminates the first message, enters the adjustment mode, verifies the parameters of the first message, and proceeds to step 5 if the verification passes.
[0411] 5. The intermediate node reduces the number of payload blocks corresponding to the OSU in a single forward transmission cycle. The intermediate node sends a first message to the sink node via an in-band associated overhead, and reserves resources for the adjusted amount of the payload blocks.
[0412] 6. The destination node receives the first message sent by the intermediate node, terminates the first message, enters the adjustment mode, and verifies the parameters of the first message. If the verification passes, the process proceeds to step 9.
[0413] 7. The sink node reduces the bandwidth limit of the forward transmission interface of the OSU and periodically sends a second message back to the intermediate node through the in-band associated overhead. The second message is used to confirm the reduction of the forward transmission bandwidth parameter of the OSU.
[0414] 8. The intermediate node receives the second message sent back by the destination node, terminates the second message, and sends the second message back to the source node via in-band associated overhead.
[0415] 9. The source node receives the second message, terminates the second message, exits the adjustment mode, releases the reserved bandwidth resources, and stops sending the first message.
[0416] 10. After the intermediate node sends the second message back to the source node via in-band associated overhead, if it does not receive the first message and the second message within a preset time, it exits the adjustment mode and releases the reserved bandwidth resources.
[0417] 11. After the sink node reduces the bandwidth limit of the forward transmission interface of the OSU, if it does not receive the first message within a preset time, it exits the adjustment mode and stops sending back the second message.
[0418] Example 5
[0419] This example describes the process of reducing the forward transmission bandwidth parameter of the OSU, in which the intermediate node fails to perform parameter verification on the first message. Figure 11 As shown, the method includes:
[0420] 1. The network management server sends an adjustment command to the source node. The adjustment command is used to request a reduction in the forward transmission bandwidth parameter of the OSU. The adjustment command includes the forward transmission target bandwidth of the OSU.
[0421] 2. The source node receives the adjustment command sent by the network management server, enters the adjustment mode, and verifies the parameters of the adjustment command. If the verification passes, it continues to step 3. If the verification fails, the source node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment failed. The adjustment result includes: the failure reason, which is the parameter error of the adjustment command.
[0422] 3. The source node reduces the number of payload blocks corresponding to the OSU in a single forward transmission cycle, and periodically sends a first message to the intermediate node via an in-band associated overhead to reserve resources for the adjustment amount of the number of payload blocks.
[0423] 4. The intermediate node receives the first message sent by the source node for the first time, terminates the first message, enters the adjustment mode, and verifies the parameters of the first message. If the verification fails, it proceeds to step 5.
[0424] 5. The intermediate node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment has failed. The adjustment result includes: a failure reason, which is that the parameters of the first message are incorrect.
[0425] 6. The intermediate node sends a third message to the source node via in-band associated overhead. The third message is used to indicate a bandwidth adjustment error.
[0426] 7. The source node receives the third message and terminates the third message.
[0427] 8. The source node restores the number of payload blocks corresponding to the OSU in a single forward transmission cycle, releases the reserved bandwidth resources, and periodically sends a fourth message to the intermediate node via in-band associated overhead. The fourth message is used to instruct an adjustment and fallback operation.
[0428] 9. The intermediate node receives the fourth message for the first time and sends the fourth message to the sink node via in-band associated overhead.
[0429] 10. The destination node receives the fourth message and periodically sends a fifth message back to the intermediate node via in-band path overhead. The fifth message is used to confirm the adjustment and rollback operation.
[0430] 11. The intermediate node receives the fifth message and returns the fifth message to the source node via in-band path overhead.
[0431] 12. The source node receives the fifth message, exits the adjustment mode, and stops sending the fourth message.
[0432] 13. If the intermediate node does not receive the fourth message and the fifth message within the preset time, it exits the adjustment mode.
[0433] 14. If the sink node does not receive the fourth message within a preset time, it stops sending the fifth message.
[0434] Example 6
[0435] This example describes the process of reducing the forward transmission bandwidth parameter of the OSU, when the sink node fails to pass the parameter check of the first message. Figure 12 As shown, the method includes:
[0436] 1. The network management server sends an adjustment command to the source node. The adjustment command is used to request a reduction in the forward transmission bandwidth parameter of the OSU. The adjustment command includes the forward transmission target bandwidth of the OSU.
[0437] 2. The source node receives the adjustment command sent by the network management server, enters the adjustment mode, and verifies the parameters of the adjustment command. If the verification passes, it continues to step 3. If the verification fails, the source node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment failed. The adjustment result includes: the failure reason, which is the parameter error of the adjustment command.
[0438] 3. The source node reduces the number of payload blocks corresponding to the OSU in a single forward transmission cycle, and periodically sends a first message to the intermediate node via an in-band associated overhead to reserve resources for the adjustment amount of the number of payload blocks.
[0439] 4. The intermediate node receives the first message sent by the source node for the first time, terminates the first message, enters the adjustment mode, verifies the parameters of the first message, and proceeds to step 5 if the verification passes.
[0440] 5. The intermediate node reduces the number of payload blocks corresponding to the OSU in a single forward transmission cycle. The intermediate node sends a first message to the sink node via an in-band associated overhead, and reserves resources for the adjusted amount of the payload blocks.
[0441] 6. The destination node receives the first message sent by the intermediate node, terminates the first message, enters the adjustment mode, and verifies the parameters of the first message. If the verification fails, the process proceeds to step 9.
[0442] 7. The sink node reports the adjustment result to the network management server. The adjustment result is used to indicate that the bandwidth adjustment has failed. The adjustment result includes: the failure reason, which is a command parameter error.
[0443] 8. The sink node sends a third message to the source node via an in-band associated path overhead. The third message is used to indicate a bandwidth adjustment error.
[0444] 9. The source node receives the third message and terminates the third message.
[0445] 10. The source node restores the number of payload blocks corresponding to the OSU in a single forward transmission cycle, releases the reserved bandwidth resources, and periodically sends a fourth message to the intermediate node via in-band associated overhead, where the fourth message is used to instruct an adjustment and fallback operation.
[0446] 11. The intermediate node receives the fourth message for the first time, terminates the fourth message, restores the number of payload blocks corresponding to the OSU in a single forward transmission cycle, releases the reserved bandwidth resources, and sends the fourth message to the destination node via in-band associated overhead.
[0447] 12. The destination node receives the fourth message and periodically returns a fifth message to the intermediate node via in-band path overhead. The fifth message is used to confirm the adjustment and rollback operation.
[0448] 13. The intermediate node receives the fifth message and returns the fifth message to the source node via in-band path overhead.
[0449] 14. The source node receives the fifth message, exits the adjustment mode, and stops sending the fourth message.
[0450] 15. If the intermediate node does not receive the fourth message and the fifth message within the preset time, it exits the adjustment mode.
[0451] 16. If the sink node does not receive the fourth message within a preset time, it exits the adjustment mode and stops sending the fifth message.
[0452] In an eighth aspect, an embodiment of the present application provides an electronic device, including:
[0453] at least one processor;
[0454] A memory, wherein at least one program is stored in the memory, and the at least one program is executed by at least one processor, so that the at least one processor implements any one of the above-mentioned bandwidth adjustment methods.
[0455] Among them, the processor is a device with data processing capabilities, including but not limited to the central processing unit (CPU); the memory is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), and flash memory (FLASH).
[0456] In some embodiments, the processor and memory are connected to each other through a bus, and further connected to other components of the computing device.
[0457] In a ninth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, any one of the above-mentioned bandwidth adjustment methods is implemented.
[0458] Figure 13 A block diagram of the composition of a source node provided in another embodiment of the present application.
[0459] Fifth, refer to Figure 13 Another embodiment of the present application provides a source node, including:
[0460] The first communication module 1301 is configured to receive an adjustment command issued by a network management server; if the first adjustment process is successful, send a first message to a downstream node of the source node; and receive a second message;
[0461] The first bandwidth adjustment module 1302 is used to enter the adjustment mode corresponding to the optical service unit and perform a first adjustment process on the forward transmission bandwidth parameter of the optical service unit when the first communication module 1301 receives an adjustment command issued by the network management server; and exit the adjustment mode corresponding to the optical service unit when the first communication module 1301 receives a second message.
[0462] In some exemplary embodiments, the first bandwidth adjustment module 1302 is specifically configured to implement a first adjustment process on the forward transmission bandwidth parameter of the optical service unit by adopting at least one of the following methods:
[0463] Verify the parameters of the adjustment command;
[0464] Check whether the forward link bandwidth resources are sufficient;
[0465] Determine whether it is in the enabled state of forward adjustment;
[0466] Adjust the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0467] Make a reservation for the adjustment quantity of the load block;
[0468] Adjust the forward transmission bandwidth of the optical service unit.
[0469] In some exemplary embodiments, the first bandwidth adjustment module 1302 is further configured to:
[0470] A fifth adjustment process is performed on the forward transmission bandwidth parameter of the optical service unit. If the fifth adjustment process is successful, the step of exiting the adjustment mode corresponding to the optical service unit is continued.
[0471] In some exemplary embodiments, the first bandwidth adjustment module 1302 is specifically configured to implement the fifth adjustment process on the forward transmission bandwidth parameter of the optical service unit by adopting at least one of the following methods:
[0472] Verifying parameters of the second message;
[0473] Check whether the forward link bandwidth resources are sufficient;
[0474] Determine whether forward transmission bandwidth adjustment is enabled;
[0475] Adjust the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0476] Adjust the forward transmission bandwidth of the optical service unit.
[0477] In some exemplary embodiments, the first communication module 1301 is specifically configured to implement sending the first message to the downstream node of the source node in the following manner: periodically sending the first message to the downstream node of the source node;
[0478] The first communication module 1301 is further configured to stop sending the first message.
[0479] In some exemplary embodiments, the first communication module 1301 is further configured to:
[0480] If the first adjustment process or the fifth adjustment process fails, the adjustment result is reported to the network management server, and the adjustment mode corresponding to the optical service unit is exited; wherein the adjustment result is used to indicate adjustment failure.
[0481] In some exemplary embodiments, the first communication module 1301 is further configured to: upon receiving the third message, send a fourth message to a downstream node of the source node; upon receiving the fifth message;
[0482] The first bandwidth adjustment module 1302 is further configured to: perform a first adjustment rollback operation on the forward transmission bandwidth parameter of the optical service unit; and exit an adjustment mode corresponding to the optical service unit.
[0483] In some exemplary embodiments, the third message includes at least one of the following:
[0484] Status indicating that adjustment processing failed;
[0485] Indicates the type of adjustment processing failure;
[0486] Indicates the node information where the adjustment process failed.
[0487] In some exemplary embodiments, the first bandwidth adjustment module 1302 is further configured to:
[0488] After entering the adjustment mode and before exiting the adjustment mode, it is determined that a link fault exists, and the adjustment mode corresponding to the optical service unit is exited.
[0489] In some exemplary embodiments, the first bandwidth adjustment module 1302 is further configured to: perform a first adjustment fallback operation on a forward transmission bandwidth parameter of the optical service unit.
[0490] In some exemplary embodiments, the first bandwidth adjustment module 1302 is specifically configured to implement a first adjustment fallback operation on a forward transmission bandwidth parameter of the optical service unit in at least one of the following ways:
[0491] The source node recovers the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0492] The source node restores the forward transmission bandwidth of the optical service unit.
[0493] The specific implementation process of the above source node is the same as the specific implementation process of the bandwidth adjustment method on the source node side in the aforementioned embodiment, and will not be repeated here.
[0494] Figure 14 A block diagram of the composition of an intermediate node provided in another embodiment of the present application.
[0495] Sixth aspect, refer to Figure 14 Another embodiment of the present application provides an intermediate node, including:
[0496] The second communication module 1401 is configured to, upon receiving a first message, forward the first message to a node downstream of the intermediate node; and upon receiving a second message, return the second message to a node upstream of the intermediate node.
[0497] The second bandwidth adjustment module 1402 is configured to enter an adjustment mode corresponding to the optical service unit, perform a second adjustment process on the forward transmission bandwidth parameter of the optical service unit, and exit the adjustment mode corresponding to the optical service unit.
[0498] In some exemplary embodiments, the second bandwidth adjustment module 1402 is specifically configured to implement the second adjustment process on the forward transmission bandwidth parameter of the optical service unit by adopting at least one of the following methods:
[0499] Verifying parameters of the first message;
[0500] Check whether the forward link bandwidth resources are sufficient;
[0501] Determine whether it is in the enabled state of forward adjustment;
[0502] Adjust the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0503] Make a reservation for the adjustment quantity of the load block.
[0504] In some exemplary embodiments, the second bandwidth adjustment module 1402 is further configured to:
[0505] A fourth adjustment process is performed on the forward transmission bandwidth parameter of the optical service unit.
[0506] In some exemplary embodiments, the second bandwidth adjustment module 1402 is specifically configured to implement the fourth adjustment process on the forward transmission bandwidth parameter of the optical service unit by adopting at least one of the following methods:
[0507] Verifying parameters of the second message;
[0508] Check whether the forward link bandwidth resources are sufficient;
[0509] Determine whether forward transmission bandwidth adjustment is enabled;
[0510] Adjust the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle.
[0511] In some exemplary embodiments, the second bandwidth adjustment module 1402 is further configured to:
[0512] When the second communication module 1401 does not receive the second message within the preset time, the adjustment mode is exited.
[0513] In some exemplary embodiments, the second communication module 1401 is further configured to:
[0514] If the second adjustment process or the fourth adjustment process fails, reporting the adjustment result to the network management server; wherein the adjustment result is used to indicate the adjustment failure; sending a third message to the source node; wherein the third message is used to indicate that the bandwidth adjustment process failed; receiving the fourth message, sending the fourth message to the downstream node of the intermediate node; receiving the fifth message, sending the fifth message back to the upstream node of the intermediate node;
[0515] The second bandwidth adjustment module 1402 is further configured to exit the adjustment mode corresponding to the optical service unit.
[0516] In some exemplary embodiments, the second communication module 1401 is further configured to:
[0517] Upon receiving the fourth message, sending the fourth message to the downstream node of the intermediate node; upon receiving the fifth message, sending the fifth message back to the upstream node of the intermediate node;
[0518] The second bandwidth adjustment module 1402 is further configured to:
[0519] A second adjustment rollback operation is performed on the forward transmission bandwidth parameter of the optical service unit to exit the adjustment mode corresponding to the optical service unit.
[0520] In some exemplary embodiments, the third message includes at least one of the following:
[0521] Status indicating that adjustment processing failed;
[0522] Indicates the type of adjustment processing failure;
[0523] Indicates the node information where the adjustment process failed.
[0524] In some exemplary embodiments, the second bandwidth adjustment module 1402 is further configured to:
[0525] After entering the adjustment mode and before exiting the adjustment mode, it is determined that a link fault exists, and the adjustment mode corresponding to the optical service unit is exited.
[0526] In some exemplary embodiments, the second bandwidth adjustment module 1402 is further configured to:
[0527] A second adjustment and fallback operation is performed on the forward transmission bandwidth parameter of the optical service unit.
[0528] In some exemplary embodiments, the second bandwidth adjustment module 1402 is specifically configured to implement a second adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit in the following manner: restoring the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle.
[0529] The specific implementation process of the intermediate node is the same as the specific implementation process of the bandwidth adjustment method on the intermediate node side in the aforementioned embodiment, and will not be repeated here.
[0530] Figure 15 A block diagram of the composition of a sink node provided in another embodiment of the present application.
[0531] Seventh aspect, refer to Figure 15 Another embodiment of the present application provides a sink node, including:
[0532] The third communication module 1501 is configured to receive the first message and return a second message to the upstream node of the sink node;
[0533] The third bandwidth adjustment module 1502 is configured to enter an adjustment mode corresponding to the optical service unit, perform a third adjustment process on the forward transmission bandwidth parameter of the optical service unit, and exit the adjustment mode corresponding to the optical service unit.
[0534] In some exemplary embodiments, the third bandwidth adjustment module 1502 is specifically configured to implement a third adjustment process on the forward transmission bandwidth parameter of the optical service unit by adopting at least one of the following methods:
[0535] Verifying parameters of the first message;
[0536] Determine whether it is in the enabled state of forward adjustment;
[0537] Adjust the bandwidth limit of the forward sending interface.
[0538] In some exemplary embodiments, the third communication module 1501 is specifically configured to implement returning the second message to the upstream node of the sink node in the following manner: periodically returning the second message to the upstream node of the sink node; if the first message is not received within a preset time, stopping returning the second message to the upstream node of the sink node;
[0539] The third bandwidth adjustment module 1502 is further configured to exit the adjustment mode.
[0540] In some exemplary embodiments, the third communication module 1501 is further configured to:
[0541] Upon receiving the fourth message, sending a fifth message back to the upstream node of the sink node;
[0542] The third bandwidth adjustment module 1502 is further configured to:
[0543] Exit the adjustment mode corresponding to the optical service unit.
[0544] In some exemplary embodiments, the third communication module 1501 is further configured to:
[0545] If the third adjustment process is successful, reporting the adjustment result to the network management server; wherein the adjustment result is used to indicate that the adjustment failed; sending a third message to the source node; wherein the third message is used to indicate that the adjustment process failed; receiving the fourth message, sending a fifth message back to the upstream node of the sink node;
[0546] The third bandwidth adjustment module 1502 is further configured to exit the adjustment mode corresponding to the optical service unit.
[0547] In some exemplary embodiments, the third message includes at least one of the following:
[0548] Status indicating that adjustment processing failed;
[0549] Indicates the type of adjustment processing failure;
[0550] Indicates the node information where the adjustment process failed.
[0551] In some exemplary embodiments, the third bandwidth adjustment module 1502 is further configured to:
[0552] After entering the adjustment mode and before exiting the adjustment mode, it is determined that a link failure exists, a third adjustment rollback operation is performed on the forward transmission bandwidth parameter of the optical service unit, and the adjustment mode corresponding to the optical service unit is exited.
[0553] In some exemplary embodiments, the third bandwidth adjustment module 1502 is further configured to:
[0554] A third adjustment and fallback operation is performed on the forward transmission bandwidth parameter of the optical service unit.
[0555] In some exemplary embodiments, the third bandwidth adjustment module 1502 is specifically configured to implement a third adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit in the following manner: the sink node restores the bandwidth limit of the forward transmission interface. In some exemplary embodiments, the third communication module 1501 is further configured to:
[0556] A sixth message is sent to an upstream node of the sink node, where the sixth message is used to trigger adjustment of a reverse transmission parameter of the optical service unit.
[0557] The specific implementation process of the above sink node is the same as the specific implementation process of the bandwidth adjustment method on the sink node side in the aforementioned embodiment, and will not be repeated here.
[0558] In an eighth aspect, another embodiment of the present application provides a bandwidth adjustment system, including:
[0559] The source node is configured to receive an adjustment command issued by the network management server, enter an adjustment mode corresponding to the optical service unit, perform a first adjustment process on the forward transmission bandwidth parameter of the optical service unit, and send a first message to a downstream node of the source node if the first adjustment process is successful;
[0560] The intermediate node is configured to, upon receiving the first message, enter an adjustment mode corresponding to the optical service unit, perform a second adjustment process on the forward transmission bandwidth parameter of the optical service unit, and forward the first message to a downstream node of the intermediate node if the second adjustment process is successful;
[0561] The sink node is configured to, upon receiving the first message, enter an adjustment mode corresponding to the optical service unit, perform a third adjustment process on the forward transmission bandwidth parameter of the optical service unit, and return a second message to the upstream node of the sink node if the third adjustment process is successful;
[0562] The intermediate node is further configured to: upon receiving the second message, send the second message back to the upstream node of the intermediate node;
[0563] The source node is further configured to: upon receiving the second message, exit the adjustment mode corresponding to the optical service unit;
[0564] The intermediate node is further used to: exit the adjustment mode corresponding to the optical service unit;
[0565] The sink node is further used to exit the adjustment mode corresponding to the optical service unit.
[0566] In some exemplary embodiments, the intermediate node is further configured to:
[0567] Performing a fourth adjustment process on the forward transmission bandwidth parameter of the optical service unit, and if the fourth adjustment process is successful, continuing to execute the step of sending the second message back to the upstream node of the intermediate node;
[0568] The source node is also used to:
[0569] A fifth adjustment process is performed on the forward transmission bandwidth parameter of the optical service unit. If the fifth adjustment process is successful, the step of exiting the adjustment mode corresponding to the optical service unit is continued.
[0570] In some exemplary embodiments, the source node is specifically configured to implement the first adjustment process on the forward transmission bandwidth parameter of the optical service unit by adopting at least one of the following methods:
[0571] Verify the parameters of the adjustment command;
[0572] Check whether the forward link bandwidth resources are sufficient;
[0573] Determine whether it is in the enabled state of forward adjustment;
[0574] Adjust the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0575] Make a reservation for the adjustment quantity of the load block;
[0576] Adjust the forward transmission bandwidth of the optical service unit.
[0577] In some exemplary embodiments, the intermediate node is specifically configured to implement the second adjustment process on the forward transmission bandwidth parameter of the optical service unit by adopting at least one of the following methods:
[0578] Verifying parameters of the first message;
[0579] Check whether the forward link bandwidth resources are sufficient;
[0580] Determine whether it is in the enabled state of forward adjustment;
[0581] Adjust the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0582] Make a reservation for the adjustment quantity of the load block.
[0583] In some exemplary embodiments, the sink node is specifically configured to implement the third adjustment process on the forward transmission bandwidth parameter of the optical service unit by adopting at least one of the following methods:
[0584] Verifying parameters of the first message;
[0585] Determine whether it is in the enabled state of forward adjustment;
[0586] Adjust the bandwidth limit of the forward sending interface.
[0587] In some exemplary embodiments, the intermediate node is specifically configured to implement the fourth adjustment process on the forward transmission bandwidth parameter of the optical service unit by adopting at least one of the following methods:
[0588] Verifying parameters of the second message;
[0589] Check whether the forward link bandwidth resources are sufficient;
[0590] Determine whether forward transmission bandwidth adjustment is enabled;
[0591] Adjust the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle.
[0592] In some exemplary embodiments, the source node is specifically configured to implement the fifth adjustment process on the forward transmission bandwidth parameter of the optical service unit by adopting at least one of the following methods:
[0593] Verifying parameters of the second message;
[0594] Check whether the forward link bandwidth resources are sufficient;
[0595] Determine whether forward transmission bandwidth adjustment is enabled;
[0596] Adjust the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0597] Adjust the forward transmission bandwidth of the optical service unit.
[0598] In some exemplary embodiments, the source node is specifically configured to implement sending the first message to the downstream node of the source node in the following manner: periodically sending the first message to the downstream node of the source node;
[0599] The sink node is specifically configured to implement returning the second message to the upstream node of the sink node in the following manner: periodically returning the second message to the upstream node of the sink node;
[0600] The source node is further configured to: stop sending the first message; if the first message is not received within a preset time, stop sending the second message back to the upstream node of the sink node and exit the adjustment mode;
[0601] The intermediate node is further configured to exit the adjustment mode if no second message is received within a preset time.
[0602] In some exemplary embodiments, the source node is further configured to:
[0603] If the first adjustment process or the fifth adjustment process fails, the adjustment result is reported to the network management server, and the adjustment mode corresponding to the optical service unit is exited; wherein the adjustment result is used to indicate adjustment failure.
[0604] In some exemplary embodiments, the intermediate node is further configured to:
[0605] If the second adjustment process or the fourth adjustment process fails, reporting the adjustment result to the network management server; wherein the adjustment result is used to indicate the adjustment failure; sending a third message to the source node; wherein the third message is used to indicate that the bandwidth adjustment process has failed;
[0606] The source node is also used to:
[0607] Upon receiving the third message, performing a first adjustment and rollback operation on the forward transmission bandwidth parameter of the optical service unit, and sending a fourth message to a downstream node of the source node;
[0608] Intermediate nodes are also used to:
[0609] Upon receiving the fourth message, sending the fourth message to a downstream node of the intermediate node;
[0610] The sink node is also used to:
[0611] Upon receiving the fourth message, sending a fifth message back to the upstream node of the sink node;
[0612] Intermediate nodes are also used to:
[0613] Upon receiving the fifth message, sending the fifth message back to the upstream node of the intermediate node;
[0614] The source node is further configured to: upon receiving the fifth message, exit the adjustment mode corresponding to the optical service unit;
[0615] The intermediate node is further used to: exit the adjustment mode corresponding to the optical service unit;
[0616] The sink node is further used to exit the adjustment mode corresponding to the optical service unit.
[0617] In some exemplary embodiments, the sink node is further configured to:
[0618] If the third adjustment process is performed, reporting the adjustment result to the network management server; wherein the adjustment result is used to indicate that the adjustment failed; sending a third message to the source node; wherein the third message is used to indicate that the adjustment process failed;
[0619] The source node is also used to:
[0620] Upon receiving the third message, performing a first adjustment and rollback operation on the forward transmission bandwidth parameter of the optical service unit, and sending a fourth message to a downstream node of the source node;
[0621] Intermediate nodes are also used to:
[0622] Upon receiving the fourth message, performing a second adjustment and fallback operation on the forward transmission bandwidth parameter of the optical service unit, and sending the fourth message to a downstream node of the intermediate node;
[0623] The sink node is also used to:
[0624] Upon receiving the fourth message, sending a fifth message back to the upstream node of the sink node;
[0625] The intermediate node receives the fifth message and sends the fifth message back to the upstream node of the intermediate node;
[0626] The source node is further configured to: upon receiving the fifth message, exit the adjustment mode corresponding to the optical service unit;
[0627] The intermediate node is further used to: exit the adjustment mode corresponding to the optical service unit;
[0628] The sink node is further used to exit the adjustment mode corresponding to the optical service unit.
[0629] In some exemplary embodiments, the third message includes at least one of the following:
[0630] Status indicating that adjustment processing failed;
[0631] Indicates the type of adjustment processing failure;
[0632] Indicates the node information where the adjustment process failed.
[0633] In some exemplary embodiments, the source node is further configured to:
[0634] After entering the adjustment mode and before exiting the adjustment mode, it is determined that a link fault exists, and the adjustment mode corresponding to the optical service unit is exited;
[0635] Intermediate nodes are also used to:
[0636] After entering the adjustment mode and before exiting the adjustment mode, it is determined that a link fault exists, and the adjustment mode corresponding to the optical service unit is exited;
[0637] The sink node is also used to:
[0638] After entering the adjustment mode and before exiting the adjustment mode, it is determined that a link fault exists, and the adjustment mode corresponding to the optical service unit is exited.
[0639] In some exemplary embodiments, before the source node exits the adjustment mode corresponding to the optical service unit, the method further includes: the source node performing a first adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit;
[0640] Before the intermediate node exits the adjustment mode corresponding to the optical service unit, the method further includes: the intermediate node performing a second adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit;
[0641] Before the sink node exits the adjustment mode corresponding to the optical service unit, the method further includes: the sink node performing a third adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit.
[0642] In some exemplary embodiments, the source node is specifically configured to implement a first adjustment fallback operation on a forward transmission bandwidth parameter of the optical service unit in at least one of the following manners:
[0643] Recover the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle;
[0644] Restore the forward transmission bandwidth of the optical service unit.
[0645] In some exemplary embodiments, the intermediate node is specifically configured to implement the second adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit in the following manner:
[0646] Recover the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle.
[0647] In some exemplary embodiments, the sink node is specifically configured to implement the third adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit in the following manner: restoring the bandwidth limit of the forward transmission interface.
[0648] In some exemplary embodiments, the sink node is further configured to:
[0649] A sixth message is sent to an upstream node of the sink node, where the sixth message is used to trigger adjustment of a reverse transmission parameter of the optical service unit.
[0650] The specific implementation process of the above bandwidth adjustment system is the same as the specific implementation process of the bandwidth adjustment method on the system side of the above embodiment, and will not be repeated here.
[0651] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable, and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0652] Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted only in a general illustrative sense and not for purposes of limitation. In some instances, it will be apparent to those skilled in the art that, unless otherwise expressly indicated, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the scope of the present application as set forth in the appended claims.
Claims
1. A bandwidth adjustment method, comprising: The source node receives the adjustment command sent by the network management server, enters the adjustment mode corresponding to the optical service unit, performs a first adjustment process on the forward transmission bandwidth parameter of the optical service unit, and sends a first message to the downstream node of the source node if the first adjustment process is successful; The intermediate node receives the first message, enters the adjustment mode corresponding to the optical service unit, performs a second adjustment process on the forward transmission bandwidth parameter of the optical service unit, and forwards the first message to a downstream node of the intermediate node if the second adjustment process is successful; The sink node receives the first message, enters the adjustment mode corresponding to the optical service unit, performs a third adjustment process on the forward transmission bandwidth parameter of the optical service unit, and if the third adjustment process is successful, sends a second message back to the upstream node of the sink node; The intermediate node receives the second message and sends the second message back to the upstream node of the intermediate node; The source node receives the second message and exits the adjustment mode corresponding to the optical service unit; The intermediate node exits the adjustment mode corresponding to the optical service unit; The sink node exits the adjustment mode corresponding to the optical service unit.
2. The bandwidth adjustment method according to claim 1, wherein: The source node performing a first adjustment process on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following: The source node verifies the parameters of the adjustment command; The source node detects whether the forward link bandwidth resources are sufficient; The source node determines whether it is in a forward adjustment enabled state; The source node adjusts the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle; The source node reserves the adjusted number of the payload blocks; The source node adjusts the forward transmission bandwidth of the optical service unit.
3. The bandwidth adjustment method according to claim 1, wherein: The intermediate node performing the second adjustment process on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following: The intermediate node verifies the parameters of the first message; The intermediate node detects whether the forward link bandwidth resources are sufficient; The intermediate node determines whether it is in a forward adjustment enabled state; The intermediate node adjusts the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle; The intermediate node reserves the adjusted number of the load blocks.
4. The bandwidth adjustment method according to claim 1, wherein: The sink node performing a third adjustment process on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following: The sink node verifies the parameters of the first message; Determining, by the sink node, whether it is in a forward adjustment enabled state; The sink node adjusts the bandwidth limit of the forward sending interface.
5. The bandwidth adjustment method according to claim 1, after the intermediate node receives the second message and before sending the second message back to the upstream node of the intermediate node, the method further comprises: The intermediate node performs a fourth adjustment process on the forward transmission bandwidth parameter of the optical service unit, and if the fourth adjustment process is successful, continues to execute the step of sending the second message back to the upstream node of the intermediate node; After the source node receives the second message and before exiting the adjustment mode corresponding to the optical service unit, the method further includes: The source node performs a fifth adjustment process on the forward transmission bandwidth parameter of the optical service unit. If the fifth adjustment process is successful, the step of exiting the adjustment mode corresponding to the optical service unit is continued. The bandwidth adjustment method according to claim 5 , wherein: The intermediate node performing a fourth adjustment process on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following: The intermediate node verifies the parameters of the second message; The intermediate node detects whether the forward link bandwidth resources are sufficient; The intermediate node determines whether it is in an enabled state for forward transmission bandwidth adjustment; The intermediate node adjusts the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle.
7. The bandwidth adjustment method according to claim 5, wherein: The source node performing a fifth adjustment process on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following: The source node verifies the parameters of the second message; The source node detects whether the forward link bandwidth resources are sufficient; The source node determines whether forward transmission bandwidth adjustment is enabled; The source node adjusts the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle; The source node adjusts the forward transmission bandwidth of the optical service unit.
8. The bandwidth adjustment method according to claim 1, wherein sending the first message to the downstream node of the source node comprises: Periodically sending the first message to a downstream node of the source node; The sending back the second message to the upstream node of the sink node includes: periodically sending back the second message to the upstream node of the sink node; After the source node exits the adjustment mode, the method further includes: the source node stops sending the first message; After the sink node returns the second message to the upstream node of the sink node, the method further includes: if the sink node does not receive the first message within a preset time, the sink node stops returning the second message to the upstream node of the sink node and exits the adjustment mode; After the intermediate node sends the second message back to the upstream node of the intermediate node, the method further includes: if the intermediate node does not receive the second message within a preset time, the intermediate node exits the adjustment mode.
9. The bandwidth adjustment method according to claim 1, if the first adjustment process fails or the fifth adjustment process fails, the method further comprises: The source node reports the adjustment result to the network management server and exits the adjustment mode corresponding to the optical service unit; wherein the adjustment result is used to indicate adjustment failure.
10. The bandwidth adjustment method according to claim 1, if the second adjustment process or the fourth adjustment process fails, the method further comprises: The intermediate node reports the adjustment result to the network management server; wherein the adjustment result is used to indicate adjustment failure; The intermediate node sends a third message to the source node; wherein the third message is used to indicate that an error occurs in the bandwidth adjustment process; The source node receives the third message, performs a first adjustment and fallback operation on the forward transmission bandwidth parameter of the optical service unit, and sends a fourth message to a downstream node of the source node; The intermediate node receives the fourth message, and sends the fourth message to a downstream node of the intermediate node; The sink node receives the fourth message and sends a fifth message back to the upstream node of the sink node; The intermediate node receives the fifth message and sends the fifth message back to the upstream node of the intermediate node; The source node receives the fifth message and exits the adjustment mode corresponding to the optical service unit; The intermediate node exits the adjustment mode corresponding to the optical service unit; The sink node exits the adjustment mode corresponding to the optical service unit.
11. The bandwidth adjustment method according to claim 1, wherein if the third adjustment process is performed, the method further comprises: The sink node reports the adjustment result to the network management server; wherein the adjustment result is used to indicate adjustment failure; The sink node sends a third message to the source node; wherein the third message is used to indicate that an adjustment process error occurs; The source node receives the third message, performs a first adjustment and fallback operation on the forward transmission bandwidth parameter of the optical service unit, and sends a fourth message to a downstream node of the source node; The intermediate node receives the fourth message, performs a second adjustment and fallback operation on the forward transmission bandwidth parameter of the optical service unit, and sends the fourth message to a downstream node of the intermediate node; The sink node receives the fourth message and sends a fifth message back to the upstream node of the sink node; The intermediate node receives the fifth message and sends the fifth message back to the upstream node of the intermediate node; The source node receives the fifth message and exits the adjustment mode corresponding to the optical service unit; The intermediate node exits the adjustment mode corresponding to the optical service unit; The sink node exits the adjustment mode corresponding to the optical service unit.
12. The bandwidth adjustment method according to claim 10 or 11, wherein: The third message includes at least one of the following: Status indicating that adjustment processing failed; Indicates the type of adjustment processing failure; Indicates the node information where the adjustment process failed.
13. The bandwidth adjustment method according to claim 1, further comprising: The source node determines that a link failure exists after entering the adjustment mode and before exiting the adjustment mode, and exits the adjustment mode corresponding to the optical service unit; The intermediate node determines that a link failure exists after entering the adjustment mode and before exiting the adjustment mode, and exits the adjustment mode corresponding to the optical service unit; The sink node determines that a link failure exists after entering the adjustment mode and before exiting the adjustment mode, and exits the adjustment mode corresponding to the optical service unit.
14. The bandwidth adjustment method according to claim 13, before the source node exits the adjustment mode corresponding to the optical service unit, the method further comprises: The source node performs a first adjustment and fallback operation on a forward transmission bandwidth parameter of the optical service unit; Before the intermediate node exits the adjustment mode corresponding to the optical service unit, the method further includes: the intermediate node performing a second adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit; Before the sink node exits the adjustment mode corresponding to the optical service unit, the method further includes: the sink node performing a third adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit.
15. The bandwidth adjustment method according to claim 14, wherein: The first adjustment and fallback operation on the forward transmission bandwidth parameter of the optical service unit includes at least one of the following: The source node recovers the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle; The source node restores the forward transmission bandwidth of the optical service unit.
16. The bandwidth adjustment method according to claim 14, wherein: The performing a second adjustment fallback operation on the forward transmission bandwidth parameter of the optical service unit includes: The intermediate node recovers the number of payload blocks corresponding to the optical service unit in a single forward transmission cycle.
17. The bandwidth adjustment method according to claim 14, wherein: The performing a third adjustment and fallback operation on the forward transmission bandwidth parameter of the optical service unit includes: the sink node restoring the bandwidth limit of the forward sending interface.
18. The bandwidth adjustment method according to claim 1 or 2, after the sink node receives the first message, the method further comprises: The sink node sends a sixth message to an upstream node of the sink node, where the sixth message is used to trigger adjustment of a reverse transmission parameter of the optical service unit.
19. A bandwidth adjustment system, comprising: A source node, configured to receive an adjustment command issued by a network management server, enter an adjustment mode corresponding to an optical service unit, perform a first adjustment process on a forward transmission bandwidth parameter of the optical service unit, and send a first message to a downstream node of the source node if the first adjustment process is successful; The intermediate node is configured to, upon receiving the first message, enter an adjustment mode corresponding to the optical service unit, perform a second adjustment process on the forward transmission bandwidth parameter of the optical service unit, and forward the first message to a downstream node of the intermediate node if the second adjustment process is successful; A sink node, configured to, upon receiving the first message, enter an adjustment mode corresponding to the optical service unit, perform a third adjustment process on the forward transmission bandwidth parameter of the optical service unit, and return a second message to an upstream node of the sink node if the third adjustment process is successful; The intermediate node is further configured to: upon receiving the second message, send the second message back to the upstream node of the intermediate node; The source node, the intermediate node and the destination node are also used for: the source node receives the second message and exits the adjustment mode corresponding to the optical service unit; thereafter, the intermediate node exits the adjustment mode corresponding to the optical service unit; thereafter, the destination node exits the adjustment mode corresponding to the optical service unit.
20. The bandwidth adjustment system according to claim 19, wherein the intermediate node is further configured to: Performing a fourth adjustment process on the forward transmission bandwidth parameter of the optical service unit, and if the fourth adjustment process is successful, continuing to execute the step of returning the second message to the upstream node of the intermediate node; The source node is further configured to: Perform a fifth adjustment process on the forward transmission bandwidth parameter of the optical service unit. If the fifth adjustment process is successful, continue to execute the step of exiting the adjustment mode corresponding to the optical service unit.
Citation Information
Patent Citations
Bandwidth control method and communication node
CN102215153A