A bandwidth adjustment method and system for OSU services

By using the two-way identification mechanism of bandwidth adjustment control indication messages in OSU services, the problems of bandwidth adjustment troubles and errors in the two-way service scenarios in the existing technology are solved, and the two-way bandwidth adjustment of OSU services is realized, and the ad hoc network testing is improved. Convenience and accuracy.

CN116192646BActive Publication Date: 2024-11-12RAISECOM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211717012.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-29
Publication Date
2024-11-12
Estimated Expiration
2042-12-29

AI Technical Summary

Technical Problem

The existing OSU technology is troublesome in the bandwidth adjustment process in two-way business scenarios and is prone to errors, which cannot achieve two-way adjustment, resulting in inconvenient and accurate self-organizing network testing.

Method used

By introducing a bandwidth adjustment control indication message in the OSU service, it includes a bandwidth adjustment direction identification. If it is bidirectional, the second end node will send a bandwidth adjustment control indication message carrying a one-way identification, so that the initiator of the bandwidth adjustment can realize bidirectional bandwidth adjustment. It can be either a source node or a sink node.

Benefits of technology

It realizes two-way adjustment of OSU service bandwidth, simplifies the ad hoc network testing process, and improves accuracy and convenience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116192646B_ABST
    Figure CN116192646B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a bandwidth adjustment method and system for an OSU service. The method comprises: a first end node sends a bandwidth adjustment control indication message; when a second end node receives the bandwidth adjustment control indication message and the bandwidth adjustment direction identifier carried in the bandwidth adjustment control indication message is bidirectional, a bandwidth adjustment control indication message carrying a bandwidth adjustment direction identifier of unidirectional is sent to the first end node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of network communications, and in particular to a bandwidth adjustment method and system for an OSU service. Background Art

[0002] OTN (Optical Transport Network) has technical advantages such as large bandwidth, hard pipes, multi-service carrying capacity, and carrier-grade OAM mechanism. It is a widely used bearer technology in the industry and is deployed on a large scale in backbone networks and metropolitan area networks to provide high-quality pipes for customer services with rates above 1Gbps. With the development of informatization and cloud computing, the demand for carrying dedicated lines and video services is becoming more and more vigorous, and traditional OTN technology can no longer provide efficient carrying services for such services. In this context, the communications industry has proposed OSU (Optical Service Unit) technology. OSU changes the characteristics of the traditional OTN frame structure divided by time slots and adopts a more flexible payload block division method. It can achieve efficient carrying of customer services at rates of 2M to 100Gbps, enabling OTN to sink from the backbone core to the access terminal.

[0003] OTN equipment based on OSU is an optimization and extension of traditional OTN equipment. By introducing OSU technology, it can provide a low-cost, low-latency, low-power integrated service bearing solution mainly for metropolitan area applications. When used in the existing network, in order to adapt to the access of Ethernet services and meet the flexible and variable needs of customer service bandwidth, the bandwidth size of OSU can be arbitrarily specified as needed. Specifically, OSU can not only specify the bandwidth when configuring the service, but also adjust the bandwidth losslessly in real time according to the needs of service speed-up and downgrade to meet the needs of access-side service traffic. However, in the prior art, the OSU lossless bandwidth adjustment is usually a one-way adjustment, that is, the bandwidth adjustment is initiated at the source node of the service to meet the needs of the forward access of the source node service. If in some bidirectional service scenarios, such as self-organizing networks, since the service is bidirectional, it is still necessary to initiate a lossless bandwidth adjustment at the source node and the sink node of the service respectively according to the one-way adjustment method, and the implementation process is not only troublesome but also prone to errors. Summary of the invention

[0004] In order to solve any of the above technical problems, an embodiment of the present application provides a bandwidth adjustment method and system for an OSU service.

[0005] In order to achieve the purpose of the embodiment of the present application, the embodiment of the present application provides a bandwidth adjustment method for an OSU service, including:

[0006] The first end node sends a bandwidth adjustment control indication message;

[0007] When the second end node receives the bandwidth adjustment control instruction message and the bandwidth adjustment direction identifier carried in the bandwidth adjustment control instruction message is bidirectional, the second end node sends a bandwidth adjustment control instruction message carrying the bandwidth adjustment direction identifier as unidirectional to the first end node.

[0008] A bandwidth adjustment system for an OSU service includes at least two nodes, wherein:

[0009] At least one node is configured to receive a bandwidth adjustment control indication message, and when the bandwidth adjustment direction identifier carried in the bandwidth adjustment control indication message is bidirectional, send a bandwidth adjustment control indication message carrying the bandwidth adjustment direction identifier as unidirectional.

[0010] The above technical solution has the following advantages or beneficial effects:

[0011] It can realize bidirectional adjustment of OSU service bandwidth, and the initiator of bandwidth adjustment can be either the source node or the sink node, making the test of ad hoc network more convenient and accurate.

[0012] Other features and advantages of the embodiments of the present application will be described in the subsequent description, and partly become apparent from the description, or can be understood by implementing the embodiments of the present application. The purpose and other advantages of the embodiments of the present application can be achieved and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The accompanying drawings are used to provide further understanding of the technical solutions of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the embodiments of the present application, they are used to explain the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.

[0014] Figure 1 This is a schematic diagram of the network structure of the OTN system;

[0015] Figure 2 A flow chart of a bandwidth adjustment method for an OSU service provided in an embodiment of the present application;

[0016] Figure 3 A schematic diagram of the bandwidth adjustment OAM frame format provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the embodiments of the present application more clear, the embodiments of the present application will be described in detail in conjunction with the accompanying drawings. It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily.

[0018] refer to Figure 1 As shown in FIG. 1 , a schematic diagram of the network structure of an OTN system composed of OSU-based OTN equipment is shown. The OTN equipment on each network node includes: a source node and a sink node according to the service flow direction, and may also include one or more intermediate nodes. Figure 1 Only one intermediate node is shown as an example. In actual services, the source node and the sink node complete service access, and when there is an intermediate node, the OSU service is relayed through the intermediate node.

[0019] exist Figure 1 In the OTN system shown, the source node and the sink node are both for the service flow direction, and are two end nodes of the end-to-end service: the first end node and the second end node. In the embodiment of the present application, the first end node can be the source node and the second end node can be the sink node, or the first end node can be the sink node and the second end node can be the source node; the first end node and the second end node can both initiate service bandwidth adjustment; which end node initiates the bandwidth adjustment can be determined by ordinary technicians in this field according to the actual scenario. In the following description of the present application, in order to simplify the description, the source node and the sink node are no longer used as the description objects, but the first end node and the second end node are used for explanation.

[0020] like Figure 2 As shown, a bandwidth adjustment method for an OSU service proposed in the present application can be used to adjust the bidirectional bandwidth, and the method includes:

[0021] Step S100: The first end node sends a bandwidth adjustment control indication message, and determines a corresponding adjustment strategy according to the bandwidth adjustment mode carried in the bandwidth adjustment control indication message to adjust the current service link bandwidth to a target bandwidth value;

[0022] In this step, the bandwidth adjustment control indication message includes: a bandwidth adjustment direction identifier, a bandwidth adjustment mode and bandwidth adjustment information. The bandwidth adjustment direction can be unidirectional or bidirectional to indicate the bandwidth adjustment direction of the line side OSU; the bandwidth adjustment mode indicates whether the bandwidth adjustment is to increase or decrease; the bandwidth adjustment information is: target bandwidth; therefore, the bandwidth control indication information sent by the first end node is intended to instruct the line side OSU how to adjust the service bandwidth in the required bandwidth adjustment direction;

[0023] In this step, the bandwidth adjustment control indication message sent by the first end node is usually triggered by external signaling or when a specific trigger condition is reached, for example, the real-time traffic of the service on the access side is greater than / or less than the set threshold; the bandwidth adjustment direction can be unidirectional or bidirectional, which can be distinguished by different identifiers, and the setting of the bandwidth adjustment direction can be determined and implemented by ordinary technicians in this field according to the actual scenario. The unidirectional adjustment is the adjustment of the link corresponding to the sending direction of the initiator (the first initiator in the embodiment of the present application); the bidirectional adjustment is the adjustment of the link corresponding to the sending direction of the initiator and the link corresponding to the receiving direction.

[0024] In this step, when the bandwidth adjustment direction is marked as unidirectional, it is actually a method in the prior art, and this application will not repeat it below. If the second end node determines that the bandwidth adjustment direction is marked as unidirectional, it can be directly processed in the prior art.

[0025] Step S101: When the second end node receives a bandwidth adjustment control indication message, and the bandwidth adjustment direction identifier carried in the bandwidth adjustment control indication message is bidirectional, the second end node sends a bandwidth adjustment control indication message carrying the bandwidth adjustment direction identifier as unidirectional to the first end node; and determines a corresponding adjustment strategy according to the bandwidth adjustment method carried in the bandwidth adjustment control indication message to adjust the current service link bandwidth to a target bandwidth value.

[0026] Step S102: When the first end node receives the bandwidth adjustment control instruction message, it determines a corresponding adjustment strategy according to the bandwidth adjustment mode carried in the received bandwidth adjustment control instruction message to adjust the current service link bandwidth to the target bandwidth value.

[0027] In the above implementation process, when the first end node and / or the second end node sends and / or receives the bandwidth adjustment control indication message, the first end node and / or the second end node determines the corresponding adjustment strategy according to the bandwidth adjustment method carried in the bandwidth adjustment control indication message to adjust the current service link bandwidth to the target bandwidth value.

[0028] When the first end node sends the bandwidth adjustment control indication message, determining the corresponding adjustment strategy to adjust the current service link bandwidth to the target bandwidth value according to the bandwidth adjustment mode carried in the bandwidth adjustment control indication message includes:

[0029] When the bandwidth adjustment mode is increase, after the first end node sends the bandwidth adjustment control indication message, it confirms that the second end node has completed the bandwidth adjustment according to the bandwidth adjustment control indication message and then adjusts the current service link bandwidth to the target bandwidth value;

[0030] When the bandwidth adjustment mode is reduction, the first end node adjusts the current service link bandwidth to the target bandwidth value when sending the bandwidth adjustment control indication message;

[0031] When the first end node receives the bandwidth adjustment control indication message, determining the corresponding adjustment strategy to adjust the current service link bandwidth to the target bandwidth value according to the bandwidth adjustment mode carried in the bandwidth adjustment control indication message includes:

[0032] When receiving the bandwidth adjustment control indication message, the first end node directly adjusts the current service link bandwidth to the target bandwidth value.

[0033] When the second end node sends the bandwidth adjustment control indication message, determining the corresponding adjustment strategy to adjust the current service link bandwidth to the target bandwidth value according to the bandwidth adjustment mode carried in the bandwidth adjustment control indication message includes:

[0034] When the bandwidth adjustment mode is increase, after the second end node sends the bandwidth adjustment control indication message, it confirms that the first end node has completed the bandwidth adjustment according to the bandwidth adjustment control indication message and then adjusts the current service link bandwidth to the target bandwidth value;

[0035] When the bandwidth adjustment mode is reduction, the second end node adjusts the current service link bandwidth to the target bandwidth value when sending the bandwidth adjustment control indication message;

[0036] When the second end node receives the bandwidth adjustment control indication message, determining the corresponding adjustment strategy to adjust the current service link bandwidth to the target bandwidth value according to the bandwidth adjustment mode carried in the bandwidth adjustment control indication message includes:

[0037] When receiving the bandwidth adjustment control indication message, the second end node directly adjusts the current service link bandwidth to the target bandwidth value.

[0038] In another embodiment of the present application, in the OTN system, in addition to the end node, an intermediate node arranged between the first end node and the second end node may also be included. The intermediate node forwards the bandwidth adjustment control indication message between the first end node and the second end node, and when the bandwidth adjustment direction is identified as bidirectional, the bandwidth adjustment control indication message is forwarded to the other end of the line side only when it is determined that the bidirectional bandwidth adjustment conditions at both ends of the line side are met.

[0039] When the intermediate node receives the bandwidth adjustment control indication message, if the bandwidth adjustment mode is to decrease, the current service link bandwidth is directly adjusted to the target bandwidth value; if the bandwidth adjustment mode is to increase, the current service link bandwidth is adjusted to the target bandwidth value after confirming that the downstream node has completed the bandwidth adjustment.

[0040] One special note here is: when the bandwidth adjustment mode is to increase, the node that initiates the bandwidth adjustment control indication message needs to confirm that the opposite node has completed the adjustment before making adjustments on its own end. The confirmation process can be achieved by setting different states when sending messages, based on state comparison and the opposite end's response. The intermediate node confirming that the downstream node has completed the bandwidth adjustment can also be achieved in a similar way. The downstream node here includes: the end node of the message transmission object and the intermediate nodes therein.

[0041] More preferably, the bandwidth adjustment control indication message in the method of the embodiment of the present application can be implemented by using the bandwidth adjustment OAM frame commonly used for bandwidth adjustment of OSU services. In order to better illustrate the implementation of the present application, the bandwidth adjustment OAM frame is briefly described first. The format of the bandwidth adjustment OAM frame is as follows: Figure 3 As shown:

[0042] The bandwidth adjustment OAM frame format meets the OAM frame overhead definition, OT field (OT = 5'b00001), bandwidth adjustment OAM frame identifier; as the data frame for the bandwidth adjustment OAM frame identification; bandwidth adjustment OAM frame also includes 1 bit request indication (REQ_IND), 1 bit response indication (ACK_IND), 3 bits of bandwidth adjustment request (BW_ADJ_REQ), 3 bits of bandwidth adjustment response (BW_ADJ_ACK), 10 bits of timer (Timer), 16 bits of target bandwidth (CM+N / CM-N) and 16 bits of original bandwidth (CM) information; the specific information meaning is shown in Table 1. Among them, REQ_IND is located in the 2nd bit of the 4th byte of the overhead area, ACK_IND is located in the 3rd bit of the 4th byte of the overhead area, BW_ADJ_REQ is located in the 4th to 6th bits of the 4th byte of the overhead area, BW_ADJ_ACK is located in the 7th to 8th bits of the 4th byte of the overhead area and the 1st bit of the 5th byte, and Timer is located in the 7th and 8th bits and the 6th byte of the 5th byte of the overhead area, which are protected by CRC8 cyclic redundancy check. The 16-bit target bandwidth and 16-bit original bandwidth information are placed in the payload area and transmitted three times respectively. The receiving end selects the valid information by majority decision. The three specific positions where the 16-bit target bandwidth information is placed in the payload area are the 9th and 10th bytes, the 99th and 100th bytes, and the 188th and 189th bytes; the three specific positions where the 16-bit original bandwidth information is placed in the payload area are the 12th and 13th bytes, the 102nd and 103rd bytes, and the 191st and 192nd bytes. The other areas in the bandwidth adjustment OAM frame are reserved bits RES.

[0043]

[0044]

[0045] Table 1

[0046] In an embodiment of the present application, the bandwidth adjustment control indication message can be implemented using the bandwidth adjustment OAM frame format, and the bandwidth adjustment direction identifier is set to a specific bit position of the overhead reserved bit of the bandwidth adjustment OAM frame. For example, the 2nd and 3rd bits of the 5th byte are set to 01 to indicate unidirectional, and set to 11 to indicate bidirectional, but preferably, the 2nd bit of the 5th byte is set to 0 to indicate unidirectional, and set to 1 to indicate bidirectional, thereby being compatible with existing protocols; the bandwidth adjustment method is carried by a 3-bit bandwidth adjustment request (BW_ADJ_REQ), 001 identifies a bandwidth increase request, and 010 identifies a bandwidth reduction request; the bandwidth adjustment information is carried in a 16-bit field target bandwidth (CM+N / CM-N) and a 16-bit segment original bandwidth (CM); thereby, it can be directly used on existing OTN equipment based on OSU services, and in the sending direction, it is written when configuring the content of the sent bandwidth adjustment frame; in the receiving direction, it is read when reading the content of the received frame; and compatibility with existing bandwidth adjustment schemes is retained.

[0047] Application example 1:

[0048] The following is a more detailed description of the process of initiating a bidirectional bandwidth increase adjustment by the first end node based on a network system structure with only one intermediate node. In the following description, the bandwidth adjustment control indication message, bandwidth adjustment response message, bandwidth adjustment confirmation message, and bandwidth adjustment confirmation response message can all be packaged in the bandwidth adjustment OAM frame format. For the fields and applications involved, refer to the above description. The following only references the message without further elaboration.

[0049] Step S1000: The first end node sends a bandwidth adjustment control indication message, wherein the bandwidth adjustment direction carried in the bandwidth adjustment control indication message is bidirectional, indicating that the line-side OSU needs to adjust the bidirectional service bandwidth; the bandwidth adjustment mode carried is increase; the bandwidth adjustment information carried indicates the target bandwidth; and the bandwidth adjustment control state is recorded locally as: forward sent;

[0050] Step S1001: after receiving the bandwidth adjustment control indication message, the intermediate node determines that the current bandwidth adjustment is an increase according to the bandwidth adjustment mode carried in the bandwidth adjustment control indication message, and determines that the current bandwidth adjustment direction is bidirectional according to the bandwidth adjustment direction identifier, and when it is determined that the bidirectional bandwidth adjustment conditions of the OSU at the local end and the other end of the line side are met, the intermediate node forwards the bandwidth adjustment control indication message to the other end of the line side, and locally records the bandwidth adjustment control state as: forwarded;

[0051] Step S1002: After the second end node receives the bandwidth adjustment control indication message from the intermediate node, it determines that the node is not the initiator of the bandwidth adjustment control indication message according to the locally recorded bandwidth adjustment control state being "empty", and determines that the current bandwidth adjustment is to increase according to the bandwidth adjustment mode carried in the bandwidth adjustment control indication message, and determines that the current bandwidth adjustment direction is to be bidirectional according to the bandwidth adjustment direction identifier, configures the OSU forward link bandwidth to the target bandwidth according to the bandwidth adjustment information in the bandwidth adjustment control indication message, and sends a bandwidth adjustment response message at the line side port, the bandwidth adjustment direction identifier carried in the bandwidth adjustment response message is unidirectional; at the same time, sends a bandwidth adjustment control indication message at the line side port, the bandwidth adjustment direction identifier carried in the bandwidth adjustment control indication message sent this time is unidirectional, the bandwidth adjustment mode carried is to increase, and the bandwidth adjustment control state recorded locally is updated to: forward response+reverse sent. At this time, the bandwidth adjustment control indication message sent by the second end node is actually a bandwidth increase adjustment in another direction initiated by the second end node; that is, the second end node not only responds to the bandwidth adjustment control indication message received from the first end node, but also triggers itself to initiate a bandwidth adjustment control indication message;

[0052] Step S1003: The intermediate node processes the bandwidth adjustment control indication message and bandwidth adjustment response message received from the second end node separately. For the bandwidth adjustment response message, it is determined that the node has received the bandwidth adjustment control indication message according to the locally recorded bandwidth adjustment control status of "forward forwarded", and the bandwidth of the OSU forward link is adjusted to the target bandwidth according to the bandwidth adjustment information in the bandwidth control indication message, and then the bandwidth adjustment response message is forwarded to the first end node; it is determined that the bandwidth adjustment is to increase according to the bandwidth adjustment information carried in the bandwidth adjustment control indication, and the direction of the bandwidth adjustment is unidirectional according to the carried bandwidth adjustment direction identifier, and the bandwidth control indication message is forwarded to the other end of the line side, and the bandwidth adjustment control status recorded locally is updated to: forward response + reverse forwarded;

[0053] Step S1004: The first end node processes the received bandwidth adjustment control indication message and bandwidth adjustment response message separately. For the bandwidth adjustment response message, according to the locally recorded bandwidth adjustment control status of "forward sent", it is determined that this node has sent the bandwidth adjustment control instruction, the OSU forward link bandwidth is configured to the target bandwidth, and a bandwidth adjustment confirmation message is sent to the line side OSU; for the bandwidth adjustment control indication message, according to the locally recorded bandwidth adjustment control status of "forward sent" and the carried bandwidth adjustment direction identifier, it is determined that the bandwidth adjustment direction is unidirectional, and it is determined that this node is not the initiating node of the bandwidth control indication message, and the OSU reverse link bandwidth is configured to the target bandwidth according to the bandwidth adjustment information in the bandwidth control indication message, and a bandwidth adjustment response message is sent at the line side port, and the bandwidth adjustment direction identifier carried in the bandwidth adjustment response message is unidirectional; the locally recorded bandwidth adjustment control status is updated to: forward confirmation + reverse response;

[0054] Step S1005: The intermediate node processes the bandwidth adjustment confirmation message and bandwidth adjustment response message received from the first end node separately. For the bandwidth adjustment confirmation message, it is determined that the bandwidth adjustment response message has been forwarded locally according to the locally recorded bandwidth adjustment control state of "forward response", and the bandwidth increase confirmation message is forwarded; for the bandwidth adjustment response message, it is determined that the node has received the bandwidth adjustment control indication message according to the locally recorded bandwidth adjustment control state of "reverse forwarded", and the bandwidth of the OSU reverse link is adjusted to the target bandwidth according to the bandwidth adjustment information in the bandwidth adjustment control indication message, and then the bandwidth adjustment response message is forwarded to the second end node; and the locally recorded bandwidth adjustment control state is set to "forward confirmation + reverse response";

[0055] Step S1006: The second end node processes the received bandwidth adjustment confirmation message and bandwidth adjustment response message separately. For the bandwidth adjustment confirmation message, it is determined that the bandwidth adjustment response message has been sent locally according to the locally recorded bandwidth adjustment control status of "forward response", and a bandwidth adjustment confirmation response message is sent to the intermediate node; it is determined that the bandwidth adjustment control instruction has been sent by this node according to the bandwidth adjustment response message and the locally recorded bandwidth adjustment control status of "reverse sent", and the OSU reverse link bandwidth is configured to the target bandwidth, and a bandwidth adjustment confirmation message is sent to the line side OSU; and the locally recorded bandwidth adjustment control status is updated to "forward confirmation response + reverse confirmation";

[0056] Step S1007: The intermediate node processes the received bandwidth adjustment confirmation response message and bandwidth adjustment confirmation message separately. For the bandwidth adjustment confirmation response message, it is determined that the bandwidth adjustment confirmation message has been sent locally according to the locally recorded bandwidth adjustment control state including "forward confirmation", and the bandwidth adjustment confirmation response message is forwarded to the first end node; for the bandwidth adjustment confirmation message, it is determined that the bandwidth increase response message has been forwarded locally according to the locally recorded bandwidth adjustment control state including "reverse response", and the bandwidth adjustment confirmation message is forwarded, and the locally recorded bandwidth adjustment control state is updated to "reverse confirmation";

[0057] Step S1008: The first end node processes the received bandwidth adjustment confirmation response message and bandwidth adjustment confirmation message separately. Upon receiving the bandwidth adjustment confirmation response message, it is confirmed that the bandwidth adjustment of the first end node is completed, and the bandwidth adjustment control indication message is stopped. For the bandwidth adjustment confirmation message, it is determined that the bandwidth increase response message has been sent locally based on the locally recorded bandwidth adjustment control status being "reverse response", and a bandwidth adjustment confirmation response message is sent to the intermediate node; the locally recorded bandwidth adjustment control status is updated to "reverse confirmation response";

[0058] Step S1009: the intermediate node receives the bandwidth adjustment confirmation response message, determines that the bandwidth adjustment confirmation message has been sent locally according to the locally recorded bandwidth adjustment control state being "reverse confirmation", and forwards the bandwidth adjustment confirmation response message to the second end node; updates the locally recorded bandwidth adjustment control state to "empty".

[0059] Step S1010: After receiving the bandwidth adjustment confirmation response message, the second end node stops sending bandwidth adjustment confirmation response messages according to the locally recorded bandwidth adjustment control state of "forward confirmation response"; according to the bandwidth adjustment confirmation response message, it is confirmed that the reverse bandwidth adjustment of the second end node is completed, and stops sending the bandwidth adjustment confirmation message. The locally recorded bandwidth adjustment control state is updated to "empty".

[0060] Step S1011: the first end node does not receive the bandwidth adjustment confirmation message within the set time, and according to the locally recorded reverse bandwidth adjustment control state being "reverse confirmation response", the first end node stops sending bandwidth adjustment confirmation response messages and updates the locally recorded bandwidth adjustment control state to "empty".

[0061] Application Example 2:

[0062] The following is still based on the network system structure with only one intermediate node, and the process of initiating a bidirectional bandwidth reduction adjustment by the first end node is described in more detail. In the following description, the bandwidth adjustment control indication message, the bandwidth adjustment response message, the bandwidth adjustment confirmation message, and the bandwidth adjustment confirmation response message can all be packaged in the bandwidth adjustment OAM frame format. For the fields and applications involved, refer to the above description. The following only refers to the message without further elaboration.

[0063] Step S2000: The first end node sends a bandwidth adjustment control indication message, wherein the bandwidth adjustment direction carried in the bandwidth adjustment control indication message is bidirectional, indicating that the line-side OSU needs to adjust the bidirectional service bandwidth; the bandwidth adjustment mode carried is reduction; the bandwidth adjustment information carried indicates the target bandwidth; the bandwidth of the OSU forward link is adjusted to the target bandwidth; and the bandwidth adjustment control state is recorded locally as: forward sent;

[0064] Step S2001: After receiving the bandwidth adjustment control indication message, the intermediate node determines that the current bandwidth adjustment is to decrease according to the bandwidth adjustment mode carried in the bandwidth adjustment control indication message, determines that the current bandwidth adjustment direction is bidirectional according to the bandwidth adjustment direction identifier, and forwards the bandwidth adjustment control indication message to the other end of the line side; and adjusts the bandwidth of the OSU forward link to the target bandwidth according to the bandwidth adjustment information in the bandwidth control indication message, and locally records the bandwidth adjustment control state as: forward forwarded;

[0065] Step S2002: After the second end node receives the bandwidth adjustment control indication message from the intermediate node, it determines that the node is not the initiator of the bandwidth adjustment control indication message according to the locally recorded bandwidth adjustment control state being "empty", and determines that the bandwidth adjustment is to decrease according to the bandwidth adjustment mode carried in the bandwidth adjustment control indication message, determines that the bandwidth adjustment direction is bidirectional according to the bandwidth adjustment direction identifier, adjusts the OSU forward link bandwidth to the target bandwidth according to the bandwidth adjustment information in the bandwidth adjustment control indication message, and sends a bandwidth adjustment response message at the line side port, wherein the bandwidth adjustment response message carries the bandwidth adjustment information. The whole direction is marked as unidirectional; at the same time, the bandwidth of the OSU reverse link is adjusted to the target bandwidth, and a bandwidth adjustment control indication message is sent at the line side port. The bandwidth adjustment control indication message sent this time carries the bandwidth adjustment direction mark as unidirectional; the bandwidth adjustment control status recorded locally is updated as: forward response + reverse sent; at this time, the bandwidth adjustment control indication message sent by the second end node is actually a bandwidth reduction adjustment in another direction initiated by the second end node; that is, the second end node not only responds to the bandwidth adjustment control indication message received from the first end node, but also triggers itself to initiate a bandwidth adjustment control indication message;

[0066] Step S2003: The intermediate node processes the bandwidth adjustment control indication message and bandwidth adjustment response message received from the second end node separately. For the bandwidth adjustment response message, according to the locally recorded bandwidth adjustment control status of "forward forwarded", it is determined that the node has received the bandwidth adjustment control indication message, and the bandwidth adjustment response message is forwarded to the first end node; according to the bandwidth adjustment method carried in the bandwidth adjustment control indication, it is determined that the bandwidth adjustment this time is to decrease, and according to the carried bandwidth adjustment direction identifier, it is determined that the bandwidth adjustment direction this time is unidirectional, and the bandwidth adjustment control indication message is forwarded to the other end of the line side; the bandwidth of the OSU reverse link is adjusted to the target bandwidth, and the bandwidth adjustment control status is recorded locally as: forward response + reverse forwarded;

[0067] Step S2004: The first end node processes the received bandwidth adjustment control indication message and bandwidth adjustment response message separately. For the bandwidth adjustment response message, according to the locally recorded bandwidth adjustment control status of "forward sent", it is determined that this node has sent the bandwidth adjustment control indication message, and the local end stops sending the bandwidth adjustment control indication message; according to the bandwidth adjustment mode carried in the bandwidth adjustment control indication message, it is determined that the bandwidth adjustment mode is reduction, and the locally recorded bandwidth adjustment control status is "empty", it is determined that this node is not the initiating node of the received bandwidth control indication message, and according to the bandwidth adjustment direction identifier carried in the bandwidth adjustment control indication, it is determined that the bandwidth adjustment direction is unidirectional, and the bandwidth of the OSU reverse link is adjusted to the target bandwidth according to the bandwidth adjustment information in the bandwidth adjustment control indication message, and a bandwidth adjustment response message is sent at the line side port, and the bandwidth adjustment direction identifier carried in the bandwidth adjustment response message is unidirectional; the bandwidth adjustment control status is recorded locally as: reverse response;

[0068] Step S2005: After receiving the bandwidth adjustment response message from the first end node, the intermediate node determines that the node has received the bandwidth adjustment control indication message according to the locally recorded bandwidth adjustment control state of "reverse forwarded", and then forwards the bandwidth adjustment response message to the second end node; updates the locally recorded bandwidth adjustment control state to "empty".

[0069] Step S2006: the second end node receives the bandwidth adjustment response message, determines that the bandwidth adjustment response message has been sent locally according to the locally recorded bandwidth adjustment control status of "forward response + reverse sent", and stops sending the bandwidth adjustment response message to the intermediate node; determines that the node has sent the bandwidth adjustment control indication message according to the received bandwidth adjustment response message and the locally recorded reverse bandwidth adjustment control status of "forward response + reverse sent", and stops sending the bandwidth adjustment control indication message; and updates the locally recorded bandwidth adjustment control status to "empty";

[0070] Step S2007: the first end node does not receive the bandwidth adjustment control indication message within the set time, determines that the bandwidth adjustment response message has been sent locally according to the locally recorded bandwidth adjustment control state being "reverse response", and stops sending the bandwidth adjustment response message to the intermediate node; and updates the locally recorded bandwidth adjustment control state to "empty".

[0071] The method proposed in the present application can realize bidirectional adjustment of OSU service bandwidth, and the initiator of bandwidth adjustment can be any one of the source node or the sink node, making the test of the ad hoc network more convenient and accurate.

[0072] The embodiment of the present application further provides a bandwidth adjustment system for an OSU service, comprising at least two nodes, wherein:

[0073] At least one node is configured to receive a bandwidth adjustment control indication message, and when the bandwidth adjustment direction identifier carried in the bandwidth adjustment control indication message is bidirectional, send a bandwidth adjustment control indication message carrying the bandwidth adjustment direction identifier as unidirectional.

[0074] Wherein, the at least one node is a source node or a sink node of the line.

[0075] Optionally, the at least one node is also used to forward the bandwidth adjustment control indication message between the source node and the destination node of the line, and when the bandwidth adjustment direction is identified as bidirectional, the bandwidth adjustment control indication message is forwarded to the other end of the line only when it is determined that the bidirectional bandwidth adjustment conditions at both ends of the line are met.

[0076] The system proposed in the present application can realize bidirectional adjustment of OSU service bandwidth, and the initiator of bandwidth adjustment can be any one of the source node or the sink node, making the test of the ad hoc network more convenient and accurate.

[0077] 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 components may be implemented as software executed by a processor, such as 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 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 include, but are 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 tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain 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.

Claims

1. A bandwidth adjustment method for an OSU service, comprising: When the bandwidth adjustment mode of the bandwidth carried is increase, the following steps are performed, including: Step 1000: The first end node sends a bandwidth adjustment control indication message, wherein the bandwidth adjustment direction identifier carried in the bandwidth adjustment control indication message is bidirectional, so as to indicate that the line-side OSU needs to adjust the bidirectional service bandwidth; Step 1002: The second end node receives the bandwidth adjustment control indication message in step 1000, configures the OSU forward link bandwidth to the target bandwidth according to the bandwidth adjustment control indication message in step 1000, and sends a bandwidth adjustment response message carrying a bandwidth adjustment direction identifier as unidirectional and a bandwidth adjustment control indication message carrying a bandwidth adjustment direction identifier as unidirectional; Step 1004: The first end node receives the bandwidth adjustment control indication message in step 1002 and the bandwidth adjustment response message in step 1002, and configures the OSU forward link bandwidth to the target bandwidth according to the bandwidth adjustment response message in step 1002, and sends a bandwidth adjustment confirmation message; configures the OSU reverse link bandwidth to the target bandwidth according to the bandwidth control indication message in step 1002, and sends a bandwidth adjustment response message carrying a bandwidth adjustment direction identifier of unidirectional; Step 1006: The second end node receives the bandwidth adjustment confirmation message in step 1004 and the bandwidth adjustment response message in step 1004, and sends a bandwidth adjustment confirmation response message according to the bandwidth adjustment confirmation message in step 1004; and configures the OSU reverse link bandwidth according to the bandwidth adjustment response message in step 1004; When the bandwidth adjustment mode of the bandwidth carried is reduction, the following steps are performed, including: Step 2000: The first end node sends a bandwidth adjustment control indication message and adjusts the bandwidth of the OSU forward link to the target bandwidth, wherein the bandwidth adjustment direction identifier carried in the bandwidth adjustment control indication message is bidirectional, so as to indicate that the line-side OSU needs to adjust the bidirectional service bandwidth; Step 2002: The second end node receives the bandwidth adjustment control indication message in step 2000, adjusts the OSU forward link bandwidth to the target bandwidth according to the bandwidth adjustment control indication message in step 2000, and sends a bandwidth adjustment response message carrying a bandwidth adjustment direction identifier as unidirectional; and adjusts the bandwidth of the OSU reverse link to the target bandwidth, and sends a bandwidth adjustment control indication message carrying a bandwidth adjustment direction identifier as unidirectional; Step 2004: The first end node receives the bandwidth adjustment control indication message in step 2002 and the bandwidth adjustment response message in step 2002, and stops sending the bandwidth adjustment control indication message in step 2000 according to the bandwidth adjustment response message in step 2002; and configures the OSU reverse link bandwidth to the target bandwidth according to the bandwidth adjustment control indication message in step 2002.

2. The method according to claim 1, characterized in that: Disposing an intermediate node between the first end node and the second end node; When the bandwidth adjustment mode of the bandwidth carrying is increase, the method further includes: After executing step 1000 and before executing step 1002, execute step 1001: The intermediate node receives the bandwidth adjustment control instruction message in step 1000, and when it is determined that the bidirectional bandwidth adjustment conditions of the OSU at the local end and the other end of the line side are met, forwards the bandwidth adjustment control instruction message in step 1000; After executing step 1002 and before executing step 1004, execute step 1003: The intermediate node receives the bandwidth adjustment control indication message in step 1002 and the bandwidth adjustment response message in step 1002, adjusts the bandwidth of the OSU forward link to the target bandwidth according to the bandwidth control indication message in step 1002, and forwards the bandwidth adjustment response message in step 1002; and forwards the bandwidth adjustment control indication message in step 1002; After executing step 1004 and before executing step 1006, execute step 1005: The intermediate node receives the bandwidth adjustment confirmation message in step 1004 and the bandwidth adjustment response message in step 1004, and forwards the bandwidth adjustment confirmation message in step 1004; adjusts the bandwidth of the OSU reverse link according to the bandwidth adjustment information in the bandwidth adjustment control indication message in step 1004, and forwards the bandwidth adjustment response message in step 1004; When the bandwidth adjustment mode of the bandwidth carrying is reduction, the method further includes: After executing step 2000 and before executing step 2002, execute step 2001: The intermediate node receives the bandwidth adjustment control instruction message in step 2000, adjusts the bandwidth of the OSU forward link to the target bandwidth, and forwards the bandwidth adjustment control instruction message in step 2000; After executing step 2002 and before executing step 2004, execute step 2003: The intermediate node receives the bandwidth adjustment control indication message in step 2002 and the bandwidth adjustment response message in step 2002, and forwards the bandwidth adjustment response message in step 2002; and, according to the bandwidth adjustment control indication message in step 2002, adjusts the bandwidth of the OSU reverse link to the target bandwidth, and forwards the bandwidth adjustment control indication message in step 2002.

3. The method according to claim 2, characterized in that: When the bandwidth adjustment mode of the bandwidth carried is increase, the step 1006 further includes: after the second end node configures the OSU reverse link bandwidth, the second end node sends a bandwidth adjustment confirmation message; Wherein, after step 1006, the method further includes: Step 1008: The first end node receives the bandwidth adjustment confirmation response message in step 1006 and the bandwidth adjustment confirmation message in step 1006, and according to the bandwidth adjustment confirmation response message in step 1006, stops sending the bandwidth adjustment confirmation message in step 1006; according to the bandwidth adjustment confirmation message in step 1006, sends a bandwidth adjustment confirmation response message; Step 1010: After receiving the bandwidth adjustment confirmation response message in step 1008, the second end node stops sending the bandwidth adjustment confirmation response message in step 1006; and stops sending the bandwidth adjustment confirmation message in step 1006; Step 1011: If the first end node does not receive the bandwidth adjustment confirmation message in step 1006 within a set time, it stops sending the bandwidth adjustment confirmation response message in step 1006; When the bandwidth adjustment mode of the bandwidth carried is reduction, the step 2004 further includes: after the first end node configures the OSU reverse link bandwidth, the first end node sends a bandwidth adjustment response message; Wherein, after step 2004, the method further includes: Step 2006: the second end node receives the bandwidth adjustment response message in step 2004, stops sending the bandwidth adjustment response message in step 2002, and stops sending the bandwidth adjustment control indication message in step 2002; Step S2007: If the first end node does not receive the bandwidth adjustment control instruction message from the second end node within the set time, the first end node stops sending the bandwidth adjustment response message in step 2004.

4. The method according to claim 3, characterized in that: When the bandwidth adjustment mode of the bandwidth carried is increase, the bandwidth adjustment control states of the first end node and the second end node include: After completing the operation of step 1000, the bandwidth adjustment control state of the first end node is: forward sent; In step 1002, when the bandwidth adjustment control state recorded locally by the second end node is empty, the bandwidth adjustment control indication message in step 1000 is processed; and after completing the operation of step 1002, the bandwidth adjustment control state of the second end node is: forward response + reverse sent; In step 1004, when the bandwidth adjustment control state recorded locally by the first end node is forward sent, the bandwidth adjustment response message in step 1002 is processed; and after completing the operation of step 1004, the bandwidth adjustment control state of the first end node is: forward confirmation + reverse response; In step 1006, when the bandwidth adjustment control state recorded locally by the second end node is a positive response, the bandwidth adjustment confirmation message in step 1004 is processed; when the bandwidth adjustment control state recorded locally is a reverse sent, the bandwidth adjustment response message in step 1004 is processed; and after completing the operation of step 1006, the bandwidth adjustment control state of the second end node is: positive confirmation response + reverse confirmation; In step 1008, when the bandwidth adjustment control state recorded locally by the first end node is a reverse response, the bandwidth adjustment confirmation message in step 1006 is processed; the bandwidth adjustment control state of the first end node is: reverse confirmation response; In step 1010, when the bandwidth adjustment control state recorded locally by the second end node is a positive confirmation response, the second end node stops sending the bandwidth adjustment confirmation response message in step 1006; and after completing the operation of step 1010, the bandwidth adjustment control state of the second end node is empty; In step 1011, the bandwidth adjustment control state recorded locally by the first end node is a reverse confirmation response, and the bandwidth adjustment confirmation response message in step 1006 is stopped from being sent; and after the operation of step 1010 is completed, the bandwidth adjustment control state of the second end node is empty; When the bandwidth adjustment mode of the bandwidth carried is reduction, the bandwidth adjustment control states of the first end node and the second end node include: After completing the operation of step 2000, the bandwidth adjustment control state of the first end node is: forward sent; In step 2002, when the bandwidth adjustment control state recorded locally by the second end node is empty, the bandwidth adjustment control indication message in step 2000 is processed; and after completing the operation of step 2002, the bandwidth adjustment control state of the second end node is: forward response + reverse sent; In step 2004, when the bandwidth adjustment control state recorded locally by the first end node is forward sent, the first end node stops sending the bandwidth adjustment control indication message; and after completing the operation of step 2004, the bandwidth adjustment control state of the first end node is: reverse response; In step 2006, when the bandwidth adjustment control state recorded locally is a forward response, the second end node stops sending the bandwidth adjustment response message in step 2002, and when the bandwidth adjustment control state recorded locally is a reverse sent, the second end node stops sending the bandwidth adjustment control indication message in step 2002; and after completing the operation of step 2006, the bandwidth adjustment control state of the second end node is empty; In step 2007, when the bandwidth adjustment control state recorded locally by the first end node is a reverse response, the first end node stops sending the bandwidth adjustment response message in step 2004; the bandwidth adjustment control state of the first end node is empty.

5. The method according to claim 2, characterized in that: When the bandwidth adjustment mode of the bandwidth carried is increase, the bandwidth adjustment control states of the intermediate nodes include: After completing the operation of step 1001, the bandwidth adjustment control state of the intermediate node is: forwarding; In step 1003, when the bandwidth adjustment control state recorded locally by the intermediate node is forward forwarded, the bandwidth adjustment response message in step 1002 is processed; and after completing the operation of step 1003, the bandwidth adjustment control state of the intermediate node is: forward response + reverse forwarded; In step 1005, when the bandwidth adjustment control state recorded locally by the intermediate node is a forward response, the intermediate node processes the bandwidth adjustment confirmation message in step 1004; when the bandwidth adjustment control state recorded locally is a reverse forwarded state, the intermediate node processes the bandwidth adjustment response message in step 1004; and after completing the operation of step 1005, the bandwidth adjustment control state of the intermediate node is: forward confirmation + reverse response; Wherein, when the intermediate node receives the bandwidth adjustment confirmation response message sent by the first end node, the bandwidth adjustment control state of the intermediate node is empty; When the bandwidth adjustment mode of the bandwidth carried is increase, the bandwidth adjustment control states of the intermediate nodes include: After completing the operation of step 2001, the bandwidth adjustment control state of the intermediate node is: forwarding; In step 2003, when the bandwidth adjustment control state recorded locally by the intermediate node is forward forwarded, the bandwidth adjustment response message in step 2002 is processed; and after completing the operation of step 2003, the bandwidth adjustment control state of the intermediate node is: forward response + reverse forwarded; In step 2005, when the bandwidth adjustment control state recorded locally by the intermediate node is reverse forwarded, the bandwidth adjustment control state of the intermediate node is empty.

6. The method according to claim 1, characterized in that: The first end node is a source node, and the second end node is a sink node; or, The first end node is a sink node, and the second end node is a source node.

7. The method according to claim 1, characterized in that The bandwidth adjustment control indication message is in the bandwidth adjustment OAM frame format, and the bandwidth adjustment direction identifier is set in the bit position of the overhead reserved bit.

8. The method according to claim 7, characterized in that The bandwidth adjustment direction flag is set at the second bit of the fifth byte of the overhead reserved bit, and is set to 0 to indicate unidirectional, and is set to 1 to indicate bidirectional.

9. A bandwidth adjustment system for OSU services, comprising at least three nodes, wherein at least one node is used to execute the execution steps of the first end node in the method as claimed in claim 1, 3 or 4, at least one node is used to execute the execution steps of the second end node in the method as claimed in claim 1, 3 or 4; and at least one node is used to execute the execution steps of the intermediate node in the method as claimed in claim 2 or 5.

10. The system according to claim 9, characterized in that: One of the source node and the sink node of the line is used to execute the execution step of the first end node, and the other is used to execute the execution step of the second end node.

11. The system according to claim 10, characterized in that The system further comprises: An intermediate node located between a source node and a destination node of a line is used to execute the execution steps of the intermediate node.