Bandwidth adjustment method and apparatus
Patent Information
- Application Number
- CN202210337131.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-03-31
AI Technical Summary
[0057]上述方案中,先对备用链路的带宽进行调整,若在预设延迟时间内,对备用链路的带宽调整完成,再对主用链路的带宽进行调整;若在预设延迟时间内,对备用链路的带宽调整未完成,将备用链路的带宽回退至调整前的带宽。这样在整个带宽调整过程中,如果网络正常,业务可以在主用链路上正常执行链路带宽无损调整。如果出现网络异常,业务在主用链路上的带宽调整进程会中断,此时执行网络保护倒换后,业务倒换至备用链路上,无论此时主用链路带宽是否是原有带宽、或者是中间带宽或者已经调整到目标带宽,此时备用链路已经完成链路带宽调整,满足被倒换业务的带宽需求,倒换完成后只需要直接调整客户接口侧带宽即可,业务此时可以在备用链路上完成带宽调整的过程。与此同时,主用链路网络故障恢复后,带宽调整过程会继续,直至调整过程完毕,整个过程对备用链路业务无影响;主用链路带宽调整结束,业务可由备用链路倒换回主用链路,能够保证带宽无损调整过程的正常运行。
Smart Images

Figure CN116938722B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of transmission technology, and in particular to a bandwidth adjustment method and apparatus. Background Technology
[0002] Currently, optical transport network systems propose lossless bandwidth adjustment mechanisms to ensure that the number of various bearer granules or the size of time slots on the end-to-end path can be dynamically increased or decreased in the optical network to adjust the bandwidth of the carried customer signals without affecting services.
[0003] Throughout the adjustment process, all granularities or time slots maintain the same path from the source to the destination of the network. Lossless bandwidth adjustment requires the cooperation of all network elements along the entire path. To achieve this bandwidth adjustment, all nodes along the entire path must support the bandwidth adjustment function, and all nodes along the entire path must adjust their bandwidth simultaneously to avoid overflow or underflow of node buffers. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a bandwidth adjustment method and apparatus that can ensure the normal operation of the bandwidth adjustment process without loss.
[0005] To address the aforementioned technical problems, embodiments of the present invention provide the following technical solutions:
[0006] On the one hand, a bandwidth adjustment method is provided, applied to a source node, wherein the source node is connected to a destination node via a primary link and a backup link, respectively, comprising:
[0007] Receive bandwidth adjustment requests sent by the network management system;
[0008] The bandwidth of the backup link is adjusted according to the bandwidth adjustment request;
[0009] If the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the primary link is adjusted according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, the bandwidth of the backup link is reverted to the bandwidth before adjustment.
[0010] In some embodiments, adjusting the bandwidth of the backup link according to the bandwidth adjustment request includes:
[0011] On the backup link, bandwidth adjustment request messages are continuously sent to the destination node periodically to start the first timer;
[0012] Receive the bandwidth adjustment response message returned by the destination node and adjust the bandwidth of the backup link;
[0013] Once the bandwidth adjustment of the backup link is completed, the transmission of bandwidth adjustment request messages on the backup link will cease.
[0014] In some embodiments, after stopping the transmission of bandwidth adjustment request messages on the backup link, the method further includes:
[0015] On the backup link, bandwidth adjustment confirmation messages are continuously sent to the destination node periodically.
[0016] Upon receiving the bandwidth adjustment confirmation response message returned by the destination node, stop sending bandwidth adjustment confirmation messages on the backup link and release the first timer;
[0017] Send a bandwidth adjustment completion confirmation message to the network management system.
[0018] In some embodiments, after sending a bandwidth adjustment completion confirmation message to the network management system, the method further includes:
[0019] Send the bandwidth change information of the backup link to the network management system.
[0020] This invention also provides a bandwidth adjustment method applied to a destination node, wherein the destination node is connected to the source node via a primary link and a backup link, respectively, comprising:
[0021] Receive the bandwidth adjustment request message sent by the source node;
[0022] The bandwidth of the backup link is adjusted according to the bandwidth adjustment request message;
[0023] If the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the primary link is adjusted according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, the bandwidth of the backup link is reverted to the bandwidth before adjustment.
[0024] In some embodiments, receiving a bandwidth adjustment request message sent by the source node and adjusting the bandwidth of the backup link according to the bandwidth adjustment request message includes:
[0025] Receive a bandwidth adjustment request message sent by the source node on the backup link;
[0026] The bandwidth of the backup link is adjusted according to the bandwidth adjustment request message;
[0027] On the backup link, a bandwidth adjustment response message is continuously sent to the source node, and a second timer is started.
[0028] In some embodiments, after starting the second timer, the method further includes:
[0029] Upon receiving the bandwidth adjustment confirmation message from the source node on the backup link, stop sending the bandwidth adjustment response message and release the second timer;
[0030] On the backup link, continuously send bandwidth adjustment confirmation response messages to the source node;
[0031] If no bandwidth adjustment confirmation message is detected, the sending of the bandwidth adjustment confirmation response message will stop.
[0032] In some embodiments, after stopping the sending of the bandwidth adjustment confirmation response message, the method further includes:
[0033] Send the bandwidth change information of the backup link to the network management system.
[0034] This invention also provides a bandwidth adjustment device applied to a source node, wherein the source node is connected to a destination node via a primary link and a backup link, and includes a transceiver and a processor.
[0035] The transceiver is used to receive bandwidth adjustment requests sent by the network management system;
[0036] The processor is configured to adjust the bandwidth of the backup link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is completed within a preset delay time, the processor adjusts the bandwidth of the primary link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, the processor reverts the bandwidth of the backup link to its original bandwidth.
[0037] In some embodiments, the transceiver is specifically configured to periodically and continuously send bandwidth adjustment request messages to the destination node on the backup link, start a first timer; receive bandwidth adjustment response messages returned by the destination node, adjust the bandwidth of the backup link; and stop sending bandwidth adjustment request messages on the backup link after the bandwidth adjustment of the backup link is completed.
[0038] In some embodiments, the transceiver is further configured to periodically send bandwidth adjustment confirmation messages to the destination node on the backup link; receive bandwidth adjustment confirmation response messages returned by the destination node, stop sending bandwidth adjustment confirmation messages on the backup link, release the first timer; and send a bandwidth adjustment completion confirmation message to the network management system.
[0039] In some embodiments, the transceiver is also used to send bandwidth change information of the backup link to the network management system.
[0040] This invention also provides a bandwidth adjustment device applied to a destination node, wherein the destination node is connected to the source node via a primary link and a backup link, and includes a transceiver and a processor.
[0041] The transceiver is used to receive the bandwidth adjustment request message sent by the source node;
[0042] The processor is configured to adjust the bandwidth of the backup link according to the bandwidth adjustment request message; if the bandwidth adjustment of the backup link is completed within a preset delay time, the processor adjusts the bandwidth of the primary link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, the processor reverts the bandwidth of the backup link to the bandwidth before adjustment.
[0043] In some embodiments, the transceiver is specifically configured to receive a bandwidth adjustment request message sent by the source node on the backup link; adjust the bandwidth of the backup link according to the bandwidth adjustment request message; continuously send a bandwidth adjustment response message to the source node on the backup link; and start a second timer.
[0044] In some embodiments, the transceiver is further configured to receive a bandwidth adjustment confirmation message sent by the source node on the backup link, stop sending the bandwidth adjustment response message, and release the second timer; continuously send bandwidth adjustment confirmation response messages to the source node on the backup link; and stop sending the bandwidth adjustment confirmation response messages after no bandwidth adjustment confirmation messages are detected.
[0045] In some embodiments, the transceiver is also used to send bandwidth change information of the backup link to the network management system.
[0046] This invention also provides a bandwidth adjustment device, including a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, it implements the bandwidth adjustment method described above.
[0047] In some embodiments, the bandwidth adjustment device is applied to a source node, which is connected to a destination node via a primary link and a backup link, respectively. The processor is used to receive a bandwidth adjustment request sent by the network management system; adjust the bandwidth of the backup link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is completed within a preset delay time, adjust the bandwidth of the primary link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, revert the bandwidth of the backup link to its original value.
[0048] In some embodiments, the processor is specifically configured to periodically and continuously send bandwidth adjustment request messages to the destination node on the backup link, start a first timer; receive a bandwidth adjustment response message returned by the destination node, adjust the bandwidth of the backup link; and stop sending bandwidth adjustment request messages on the backup link after the bandwidth adjustment of the backup link is completed.
[0049] In some embodiments, the processor is further configured to periodically and continuously send bandwidth adjustment confirmation messages to the destination node on the backup link; receive bandwidth adjustment confirmation response messages returned by the destination node, stop sending bandwidth adjustment confirmation messages on the backup link, and release the first timer; and send a bandwidth adjustment completion confirmation message to the network management system.
[0050] In some embodiments, the processor is also configured to send bandwidth change information of the backup link to the network management system.
[0051] In some embodiments, the bandwidth adjustment device is applied to a destination node, which is connected to a source node via a primary link and a backup link, respectively. The processor is used to receive a bandwidth adjustment request message sent by the source node; adjust the bandwidth of the backup link according to the bandwidth adjustment request message; if the bandwidth adjustment of the backup link is completed within a preset delay time, adjust the bandwidth of the primary link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, revert the bandwidth of the backup link to its original value.
[0052] In some embodiments, the processor is specifically configured to receive a bandwidth adjustment request message sent by the source node on the backup link; adjust the bandwidth of the backup link according to the bandwidth adjustment request message; continuously send a bandwidth adjustment response message to the source node on the backup link; and start a second timer.
[0053] In some embodiments, the processor is further configured to receive a bandwidth adjustment confirmation message sent by the source node on the backup link, stop sending the bandwidth adjustment response message, and release the second timer; continuously send bandwidth adjustment confirmation response messages to the source node on the backup link; and stop sending the bandwidth adjustment confirmation response messages after no bandwidth adjustment confirmation messages are detected.
[0054] In some embodiments, the processor is also configured to send bandwidth change information of the backup link to the network management system.
[0055] This invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the bandwidth adjustment method described above.
[0056] The embodiments of the present invention have the following beneficial effects:
[0057] In the above scheme, the bandwidth of the backup link is adjusted first. If the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the primary link is then adjusted. If the bandwidth adjustment of the backup link is not completed within the preset delay time, the bandwidth of the backup link is rolled back to its original value. Thus, during the entire bandwidth adjustment process, if the network is normal, services can perform lossless bandwidth adjustment on the primary link. If a network anomaly occurs, the bandwidth adjustment process on the primary link will be interrupted. At this time, after network protection switching, the service is switched to the backup link. Regardless of whether the bandwidth of the primary link is the original bandwidth, intermediate bandwidth, or has already been adjusted to the target bandwidth, the backup link has already completed its bandwidth adjustment, meeting the bandwidth requirements of the switched-over service. After the switchover is complete, only the bandwidth on the customer interface side needs to be adjusted directly. The service can then complete the bandwidth adjustment process on the backup link. Simultaneously, after the primary link network failure is recovered, the bandwidth adjustment process will continue until it is completed. The entire process has no impact on the backup link service. After the primary link bandwidth adjustment is completed, the service can switch back from the backup link to the primary link, ensuring the normal operation of the lossless bandwidth adjustment process. Attached Figure Description
[0058] Figure 1 A schematic diagram illustrating the application scenario for bandwidth adjustment for G.Hao;
[0059] Figure 2 and Figure 3 This is a flowchart illustrating the bandwidth adjustment method according to an embodiment of the present invention;
[0060] Figure 4 This is a schematic diagram of the bandwidth adjustment device according to an embodiment of the present invention;
[0061] Figure 5 This is a schematic diagram of the bandwidth adjustment device according to an embodiment of the present invention. Detailed Implementation
[0062] To make the technical problems, technical solutions and advantages of the embodiments of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0063] In the current optical network environment, services will pass through more than 10 nodes, with transmission distances exceeding 1000 kilometers. Figure 1 As shown in the diagram. CPE stands for Customer Premises Equipment, GE for Gigabit Ethernet (interface), ODUflex for Flexible Rate Optical Digital Unit, and ODUK for Optical Path Data Unit.
[0064] During lossless bandwidth adjustment, the adjustment process requires bidirectional protocol interaction between all intermediate sites. If communication anomalies such as fiber breakage occur in the network, interruptions will occur due to the involvement of phase-locked loop frequency tracking and bidirectional protocol interaction, preventing simultaneous speed adjustment of the primary and backup paths and hindering protection switching during the adjustment process. Confirmation is required before, during, and after adjustment; any anomalies during this process will result in adjustment failure. Due to the long adjustment time, fiber breakage and other anomalies are more likely to occur during speed adjustment. Furthermore, if a service switches from the primary link to the backup link, and the backup link bandwidth is less than the primary link bandwidth, it will cause significant packet loss or service interruption.
[0065] This invention provides a bandwidth adjustment method and apparatus that can cope with various abnormal events that occur during service adjustment, ensure the normal operation of the bandwidth adjustment process without loss, and not affect the normal implementation of various functions of the existing network.
[0066] This invention provides a bandwidth adjustment method applied to a source node, wherein the source node is connected to a destination node via a primary link and a backup link, respectively. Figure 2 As shown, it includes:
[0067] Step 101: Receive the bandwidth adjustment request sent by the network management system;
[0068] Step 102: Adjust the bandwidth of the backup link according to the bandwidth adjustment request;
[0069] Step 103: If the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the primary link is adjusted according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, the bandwidth of the backup link is reverted to the bandwidth before adjustment.
[0070] In this embodiment, the bandwidth adjustment request can be a bandwidth increase request or a bandwidth decrease request.
[0071] In some embodiments, adjusting the bandwidth of the backup link according to the bandwidth adjustment request includes:
[0072] On the backup link, bandwidth adjustment request messages are continuously sent to the destination node periodically to start the first timer;
[0073] Receive the bandwidth adjustment response message returned by the destination node and adjust the bandwidth of the backup link;
[0074] Once the bandwidth adjustment of the backup link is completed, the transmission of bandwidth adjustment request messages on the backup link will cease.
[0075] In some embodiments, after stopping the transmission of bandwidth adjustment request messages on the backup link, the method further includes:
[0076] On the backup link, bandwidth adjustment confirmation messages are continuously sent to the destination node periodically.
[0077] Upon receiving the bandwidth adjustment confirmation response message returned by the destination node, stop sending bandwidth adjustment confirmation messages on the backup link and release the first timer;
[0078] Send a bandwidth adjustment completion confirmation message to the network management system.
[0079] In some embodiments, after sending a bandwidth adjustment completion confirmation message to the network management system, the method further includes:
[0080] The bandwidth change information of the backup link is sent to the network management system.
[0081] This invention also provides a bandwidth adjustment method applied to a destination node, wherein the destination node is connected to the source node via a primary link and a backup link, respectively. Figure 3 As shown, it includes:
[0082] Step 201: Receive the bandwidth adjustment request message sent by the source node;
[0083] Step 202: Adjust the bandwidth of the backup link according to the bandwidth adjustment request message;
[0084] Step 203: If the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the primary link is adjusted according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, the bandwidth of the backup link is reverted to the bandwidth before adjustment.
[0085] In this embodiment, the bandwidth adjustment request message can be either a bandwidth increase request message or a bandwidth decrease request message.
[0086] In some embodiments, receiving a bandwidth adjustment request message sent by the source node and adjusting the bandwidth of the backup link according to the bandwidth adjustment request message includes:
[0087] Receive a bandwidth adjustment request message sent by the source node on the backup link;
[0088] The bandwidth of the backup link is adjusted according to the bandwidth adjustment request message;
[0089] On the backup link, a bandwidth adjustment response message is continuously sent to the source node, and a second timer is started.
[0090] In some embodiments, after starting the second timer, the method further includes:
[0091] Upon receiving the bandwidth adjustment confirmation message from the source node on the backup link, stop sending the bandwidth adjustment response message and release the second timer;
[0092] On the backup link, continuously send bandwidth adjustment confirmation response messages to the source node;
[0093] If no bandwidth adjustment confirmation message is detected, the sending of the bandwidth adjustment confirmation response message will stop.
[0094] In some embodiments, after stopping the sending of the bandwidth adjustment confirmation response message, the method further includes:
[0095] The bandwidth change information of the backup link is sent to the network management system.
[0096] This embodiment is applied to a network environment with protection features (possessing both primary and backup links). Taking bandwidth increase as an example, when all network nodes and links confirm that they have sufficient resources for bandwidth adjustment (increase), the network management system sends a bandwidth increase adjustment request to all nodes and executes the following steps:
[0097] Step a) The source node continuously sends bandwidth adjustment request messages BW_INC_REQ to the destination node on both the primary and backup links at regular intervals, and starts timers on both the primary and backup links at the same time, but a delay time t must be set when starting the timer on the primary link.
[0098] Step b) Since there is a delay time t in the timer of the primary link, each node in the backup link and the destination node will receive BW_INC_REQ before the primary link and perform bandwidth adjustment on the backup link first. Then the destination node sends a bandwidth adjustment response message BW_INC_ACK to the source end through the backup link and starts the timer at the destination end.
[0099] Step c) When each intermediate node of the backup link receives BW_INC_ACK, it adjusts the backup link bandwidth and continues to back-insert BW_INC_ACK to the upstream node after adjustment, while starting a timer.
[0100] Step d) After the source node receives BW_INC_ACK, it adjusts the bandwidth of the backup link;
[0101] Step e) Once the backup link bandwidth adjustment is complete, the source node stops sending BW_INC_REQ on the backup link; the source node sends BW_INC_CONFIRM to the destination node through the backup link, and the intermediate node continues to send BW_INC_CONFIRM to the destination node through the backup link after receiving the bandwidth adjustment confirmation message BW_INC_CONFIRM.
[0102] Step f) After the destination node detects BW_INC_CONFIRM, it stops sending BW_INC_ACK, releases its own timer, and then continuously sends bandwidth adjustment confirmation response messages BW_INC_CONFIRM_ACK to the source node through the backup link.
[0103] Step g) After each node in the backup link detects BW_INC_CONFIRM_ACK, it directly releases the timer of its own node;
[0104] Step h): After receiving BW_INC_CONFIRM_ACK, the source node stops sending BW_INC_CONFIRM on the backup link and simultaneously releases the timer. Then, it reports an adjustment completion confirmation message to the network management system.
[0105] Step i) After the destination node can no longer detect BW_INC_CONFIRM, it stops sending BW_INC_CONFIRM_ACK;
[0106] Step j) After the adjustment is completed, each node should proactively report the changes in backup link bandwidth and link resources to the network management system.
[0107] In this embodiment, the entire bandwidth adjustment process is automatic. After the backup link bandwidth adjustment (increase) is completed, i.e., within the set delay time t, the primary link bandwidth adjustment mechanism is then activated, and the process is the same as the backup link bandwidth adjustment. If the backup path bandwidth adjustment (increase) is not completed within time t, the backup link reverts to its original bandwidth and reports to the management and control system.
[0108] In this way, during the entire bandwidth adjustment process, if the network is normal, the service can perform lossless bandwidth adjustment (increase) on the primary link. If a network anomaly occurs, the bandwidth adjustment process on the primary link will be interrupted. At this time, after network protection switching is performed, the service is switched to the backup link. Regardless of whether the bandwidth of the primary link is the original bandwidth, intermediate bandwidth, or has been adjusted to the target bandwidth, the backup link has already completed the bandwidth adjustment to meet the bandwidth requirements of the switched service. After the switch is completed, only the bandwidth on the customer interface side needs to be adjusted directly. The service can then complete the bandwidth adjustment (increase) process on the backup link.
[0109] Meanwhile, after the primary link network failure is recovered, the bandwidth adjustment process will continue until it is completed. The entire process has no impact on the backup link services. Once the primary link bandwidth adjustment is finished, services can be switched back to the primary link from the backup link.
[0110] The process of reducing link bandwidth is basically the same as the process of increasing link bandwidth: the bandwidth is reduced on the customer side first, and then the bandwidth is reduced on the link side.
[0111] This embodiment enables lossless bandwidth adjustment in a network environment with protection features. It first ensures that the backup link bandwidth automatically reaches the target bandwidth, and then adjusts the primary link bandwidth. If a network failure occurs during the primary link bandwidth adjustment process, the service can be switched to the backup link to continue the bandwidth adjustment. Once the network failure is resolved, the primary link can continue the bandwidth adjustment process. After adjustment is complete, the service can provide feedback to the primary link. This embodiment uses a method and apparatus that first ensures the backup link reaches the target bandwidth, thus avoiding service interruptions caused by the primary link bandwidth being less than the backup link bandwidth.
[0112] This invention also provides a bandwidth adjustment device applied to a source node, wherein the source node is connected to a destination node via a primary link and a backup link, respectively. Figure 4 As shown, it includes a transceiver 21 and a processor 22.
[0113] The transceiver 21 is used to receive bandwidth adjustment requests sent by the network management system;
[0114] The processor 22 is configured to adjust the bandwidth of the backup link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is completed within a preset delay time, the processor adjusts the bandwidth of the primary link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, the processor reverts the bandwidth of the backup link to the bandwidth before the adjustment.
[0115] In some embodiments, the transceiver 21 is specifically configured to periodically and continuously send bandwidth adjustment request messages to the destination node on the backup link, start a first timer; receive bandwidth adjustment response messages returned by the destination node, adjust the bandwidth of the backup link; and stop sending bandwidth adjustment request messages on the backup link after the bandwidth adjustment of the backup link is completed.
[0116] In some embodiments, the transceiver 21 is further configured to periodically send bandwidth adjustment confirmation messages to the destination node on the backup link; receive bandwidth adjustment confirmation response messages returned by the destination node, stop sending bandwidth adjustment confirmation messages on the backup link, release the first timer; and send a bandwidth adjustment completion confirmation message to the network management system.
[0117] In some embodiments, the transceiver 21 is also used to send bandwidth change information of the backup link to the network management system.
[0118] This invention also provides a bandwidth adjustment device applied to a destination node, wherein the destination node is connected to the source node via a primary link and a backup link, respectively. Figure 4 As shown, it includes a transceiver 21 and a processor 22.
[0119] The transceiver 21 is used to receive the bandwidth adjustment request message sent by the source node;
[0120] The processor 22 is configured to adjust the bandwidth of the backup link according to the bandwidth adjustment request message; if the bandwidth adjustment of the backup link is completed within a preset delay time, the bandwidth of the primary link is adjusted according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, the bandwidth of the backup link is reverted to the bandwidth before adjustment.
[0121] In some embodiments, the transceiver 21 is specifically configured to receive a bandwidth adjustment request message sent by the source node on the backup link; adjust the bandwidth of the backup link according to the bandwidth adjustment request message; continuously send a bandwidth adjustment response message to the source node on the backup link; and start a second timer.
[0122] In some embodiments, the transceiver 21 is further configured to receive a bandwidth adjustment confirmation message sent by the source node on the backup link, stop sending the bandwidth adjustment response message, and release the second timer; continuously send bandwidth adjustment confirmation response messages to the source node on the backup link; and stop sending the bandwidth adjustment confirmation response messages after no bandwidth adjustment confirmation messages are detected.
[0123] In some embodiments, the transceiver 21 is also used to send bandwidth change information of the backup link to the network management system.
[0124] This invention also provides a bandwidth adjustment device, such as... Figure 5 As shown, it includes a memory 31, a processor 32, and a computer program stored in the memory 31 and executable on the processor 32; when the processor 32 executes the program, it implements the bandwidth adjustment method as described above.
[0125] In some embodiments, the bandwidth adjustment device is applied to a source node, which is connected to a destination node via a primary link and a backup link, respectively. The processor 32 is used to receive a bandwidth adjustment request sent by the network management system; adjust the bandwidth of the backup link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is completed within a preset delay time, adjust the bandwidth of the primary link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, revert the bandwidth of the backup link to its original value.
[0126] In some embodiments, the processor 32 is specifically configured to periodically and continuously send bandwidth adjustment request messages to the destination node on the backup link, start a first timer; receive a bandwidth adjustment response message returned by the destination node, adjust the bandwidth of the backup link; and stop sending bandwidth adjustment request messages on the backup link after the bandwidth adjustment of the backup link is completed.
[0127] In some embodiments, the processor 32 is further configured to periodically send bandwidth adjustment confirmation messages to the destination node on the backup link; receive bandwidth adjustment confirmation response messages returned by the destination node, stop sending bandwidth adjustment confirmation messages on the backup link, release the first timer; and send a bandwidth adjustment completion confirmation message to the network management system.
[0128] In some embodiments, the processor 32 is also configured to send bandwidth change information of the backup link to the network management system.
[0129] In some embodiments, the bandwidth adjustment device is applied to a destination node, which is connected to a source node via a primary link and a backup link, respectively. The processor 32 is used to receive a bandwidth adjustment request message sent by the source node; adjust the bandwidth of the backup link according to the bandwidth adjustment request message; if the bandwidth adjustment of the backup link is completed within a preset delay time, adjust the bandwidth of the primary link according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, revert the bandwidth of the backup link to its original value.
[0130] In some embodiments, the processor 32 is specifically configured to receive a bandwidth adjustment request message sent by the source node on the backup link; adjust the bandwidth of the backup link according to the bandwidth adjustment request message; continuously send a bandwidth adjustment response message to the source node on the backup link; and start a second timer.
[0131] In some embodiments, the processor 32 is further configured to receive a bandwidth adjustment confirmation message sent by the source node on the backup link, stop sending the bandwidth adjustment response message, and release the second timer; continuously send bandwidth adjustment confirmation response messages to the source node on the backup link; and stop sending the bandwidth adjustment confirmation response messages after no bandwidth adjustment confirmation messages are detected.
[0132] In some embodiments, the processor 32 is also configured to send bandwidth change information of the backup link to the network management system.
[0133] This invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the bandwidth adjustment method described above.
[0134] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage, or any other non-transferable medium that can be used to store information accessible to the computer-readable terminal device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0135] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A bandwidth adjustment method, characterized in that, Applied to a source node, wherein the source node is connected to the destination node via a primary link and a backup link respectively, including: Receive bandwidth adjustment requests sent by the network management system; The bandwidth of the backup link is adjusted according to the bandwidth adjustment request so that the bandwidth of the backup link reaches the target bandwidth. If the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the primary link is adjusted according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, the bandwidth of the backup link is rolled back to the bandwidth before the adjustment. Adjusting the bandwidth of the backup link according to the bandwidth adjustment request includes: On the backup link, bandwidth adjustment request messages are continuously sent to the destination node periodically to start the first timer; Receive the bandwidth adjustment response message returned by the destination node and adjust the bandwidth of the backup link; After the bandwidth adjustment of the backup link is completed, stop sending bandwidth adjustment request messages on the backup link; After ceasing the transmission of bandwidth adjustment request messages on the backup link, the method further includes: On the backup link, bandwidth adjustment confirmation messages are continuously sent to the destination node periodically. Upon receiving the bandwidth adjustment confirmation response message returned by the destination node, stop sending bandwidth adjustment confirmation messages on the backup link and release the first timer; Send a bandwidth adjustment completion confirmation message to the network management system.
2. The bandwidth adjustment method according to claim 1, characterized in that, After sending a bandwidth adjustment completion confirmation message to the network management system, the method further includes: The bandwidth change information of the backup link is sent to the network management system.
3. A bandwidth adjustment method, characterized in that, Applied to the destination node, the destination node is connected to the source node via a primary link and a backup link, respectively, including: Receive the bandwidth adjustment request message sent by the source node; The bandwidth of the backup link is adjusted according to the bandwidth adjustment request message so that the bandwidth of the backup link reaches the target bandwidth. If the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the primary link is adjusted according to the bandwidth adjustment request; if the bandwidth adjustment of the backup link is not completed within the preset delay time, the bandwidth of the backup link is rolled back to the bandwidth before the adjustment. Receiving a bandwidth adjustment request message sent by the source node, and adjusting the bandwidth of the backup link according to the bandwidth adjustment request message includes: Receive a bandwidth adjustment request message sent by the source node on the backup link; The bandwidth of the backup link is adjusted according to the bandwidth adjustment request message; On the backup link, a bandwidth adjustment response message is continuously sent to the source node, and a second timer is started; After starting the second timer, the method further includes: Upon receiving the bandwidth adjustment confirmation message from the source node on the backup link, stop sending the bandwidth adjustment response message and release the second timer; On the backup link, continuously send bandwidth adjustment confirmation response messages to the source node; If no bandwidth adjustment confirmation message is detected, the sending of the bandwidth adjustment confirmation response message will stop.
4. The bandwidth adjustment method according to claim 3, characterized in that, After stopping the sending of the bandwidth adjustment confirmation response message, the method further includes: Send the bandwidth change information of the backup link to the network management system.
5. A bandwidth adjustment device, characterized in that, Applied to a source node, which is connected to a destination node via a primary link and a backup link, and includes a transceiver and a processor. The transceiver is used to receive bandwidth adjustment requests sent by the network management system; The processor is used to adjust the bandwidth of the backup link according to the bandwidth adjustment request, so that the bandwidth of the backup link reaches the target bandwidth. If the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the primary link is adjusted according to the bandwidth adjustment request; If the bandwidth adjustment of the backup link is not completed within the preset delay time, the bandwidth of the backup link will be reverted to the bandwidth before the adjustment. The adjustment of the bandwidth of the backup link according to the bandwidth adjustment request includes: On the backup link, bandwidth adjustment request messages are continuously sent to the destination node periodically to start the first timer; Receive the bandwidth adjustment response message returned by the destination node and adjust the bandwidth of the backup link; After the bandwidth adjustment of the backup link is completed, stop sending bandwidth adjustment request messages on the backup link; After ceasing to send bandwidth adjustment request messages on the backup link, bandwidth adjustment confirmation messages are continuously sent to the destination node on the backup link periodically. Upon receiving the bandwidth adjustment confirmation response message returned by the destination node, stop sending bandwidth adjustment confirmation messages on the backup link and release the first timer; Send a bandwidth adjustment completion confirmation message to the network management system.
6. A bandwidth adjustment device, characterized in that, Applied to the destination node, which is connected to the source node via a primary link and a backup link respectively, and includes a transceiver and a processor. The transceiver is used to receive the bandwidth adjustment request message sent by the source node; The processor is used to adjust the bandwidth of the backup link according to the bandwidth adjustment request message, so that the bandwidth of the backup link reaches the target bandwidth; If the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the primary link is adjusted according to the bandwidth adjustment request; If the bandwidth adjustment of the backup link is not completed within the preset delay time, the bandwidth of the backup link will be reverted to the bandwidth before the adjustment. The process of receiving a bandwidth adjustment request message from the source node and adjusting the bandwidth of the backup link according to the bandwidth adjustment request message includes: Receive a bandwidth adjustment request message sent by the source node on the backup link; The bandwidth of the backup link is adjusted according to the bandwidth adjustment request message; On the backup link, a bandwidth adjustment response message is continuously sent to the source node, and a second timer is started; After starting the second timer, receive the bandwidth adjustment confirmation message sent by the source node on the backup link, stop sending the bandwidth adjustment response message, and release the second timer; On the backup link, continuously send bandwidth adjustment confirmation response messages to the source node; If no bandwidth adjustment confirmation message is detected, the sending of the bandwidth adjustment confirmation response message will stop.
7. A bandwidth adjustment device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor; characterized in that, When the processor executes the program, it implements the bandwidth adjustment method as described in any one of claims 1-4.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps in the bandwidth adjustment method as described in any one of claims 1-4.
Citation Information
Patent Citations
Path protection method and system of service transport network
CN101686151A
Dynamic lossless bandwidth adjustment method and device for M-OTN system
CN112752173A
