WO2023185977A1 - Bandwidth adjustment method and device - Google Patents
Bandwidth adjustment method and device Download PDFInfo
- Publication number
- WO2023185977A1 WO2023185977A1 PCT/CN2023/084953 CN2023084953W WO2023185977A1 WO 2023185977 A1 WO2023185977 A1 WO 2023185977A1 CN 2023084953 W CN2023084953 W CN 2023084953W WO 2023185977 A1 WO2023185977 A1 WO 2023185977A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- bandwidth
- bandwidth adjustment
- backup link
- link
- adjustment
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 238000012790 confirmation Methods 0.000 claims description 67
- 230000004044 response Effects 0.000 claims description 47
- 230000008859 change Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 abstract description 4
- 230000008569 process Effects 0.000 description 27
- 230000003287 optical effect Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 230000005856 abnormality Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 3
- 239000000835 fiber Substances 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 239000002245 particle Substances 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 description 1
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 1
- YTAHJIFKAKIKAV-XNMGPUDCSA-N [(1R)-3-morpholin-4-yl-1-phenylpropyl] N-[(3S)-2-oxo-5-phenyl-1,3-dihydro-1,4-benzodiazepin-3-yl]carbamate Chemical compound O=C1[C@H](N=C(C2=C(N1)C=CC=C2)C1=CC=CC=C1)NC(O[C@H](CCN1CCOCC1)C1=CC=CC=C1)=O YTAHJIFKAKIKAV-XNMGPUDCSA-N 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/20—Negotiating bandwidth
Definitions
- the present disclosure relates to the field of transmission technology, and in particular, to a bandwidth adjustment method and device.
- the optical transport network system proposes a lossless bandwidth adjustment mechanism to ensure that the number or time slot size of various bearer particles on the end-to-end path can be dynamically increased or reduced in the optical network to adjust the bandwidth of the client signals carried without affecting the business.
- Lossless bandwidth adjustment requires the cooperation of all network elements on the entire path.
- all nodes on the entire path must support the bandwidth adjustment function, and all nodes on the entire path must adjust the bandwidth simultaneously to avoid overflow or underflow of the node buffer.
- the technical problem to be solved by this disclosure is to provide a bandwidth adjustment method and device that can ensure the normal operation of the bandwidth lossless adjustment process.
- a bandwidth adjustment method is provided, which is applied to a source node.
- the source node is connected to a sink node through a main link and a backup link respectively, including:
- the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the active link is adjusted according to the bandwidth adjustment request; if within the preset delay time, the bandwidth adjustment of the backup link is completed. If the bandwidth adjustment of the link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
- adjusting the bandwidth of the backup link according to the bandwidth adjustment request includes:
- the method further includes:
- the method further includes:
- Embodiments of the present disclosure also provide a bandwidth adjustment method, which is applied to a sink node.
- the sink node is connected to the source node through a main link and a backup link respectively, including:
- the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth of the active link is adjusted according to the bandwidth adjustment request; if within the preset delay time, the bandwidth adjustment of the backup link is completed. If the bandwidth adjustment of the link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before 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:
- the method further includes:
- the method further includes:
- the embodiment of the present disclosure also provides a bandwidth adjustment device, which is applied to a source node.
- the source node is connected to the sink node through a main link and a backup link respectively, and includes a transceiver and a processor.
- the transceiver is used to receive a bandwidth adjustment request sent by the network management system
- 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 the preset delay time, adjust the bandwidth of the backup link according to the bandwidth adjustment request.
- the bandwidth of the active link is 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 the bandwidth before adjustment.
- the transceiver is specifically configured to continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, start a first timer, and receive the bandwidth adjustment returned by the sink node. In response to the message, 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.
- the transceiver is further configured to continuously send bandwidth adjustment confirmation messages to the sink node on a periodic basis on the backup link; receive a bandwidth adjustment confirmation response message returned by the sink node, and stop at Send a bandwidth adjustment confirmation message on the backup link to cancel the first timer; send a bandwidth adjustment completion confirmation message to the network management system.
- the transceiver is further configured to send bandwidth change information of the backup link to the network management system.
- the embodiment of the present disclosure also provides a bandwidth adjustment device, which is applied to a sink node.
- the sink node is connected to the source node through a main link and a backup link respectively, and includes a transceiver and a processor.
- the transceiver is configured to receive a bandwidth adjustment request message sent by the source node
- 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 the preset delay time, adjust the bandwidth of the backup link according to the bandwidth adjustment request.
- the bandwidth of the main link is 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 the bandwidth before adjustment.
- the transceiver is specifically configured to receive a bandwidth adjustment request message sent by a source end node on the backup link; adjust the bandwidth of the backup link according to the bandwidth adjustment request message; in the Continue to send bandwidth adjustment response messages to the source node on the backup link, and start a second timer.
- 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 cancel the second timer; in the Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link; after the bandwidth adjustment confirmation message cannot be detected, stop sending the bandwidth adjustment confirmation response messages.
- the transceiver is further configured to send bandwidth change information of the backup link to the network management system.
- Embodiments of the present disclosure also provide a bandwidth adjustment device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the above is implemented.
- a bandwidth adjustment device which includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the above is implemented. The bandwidth adjustment method described above.
- the bandwidth adjustment device is applied to the source node, which is connected to the sink node through a main link and a backup link respectively, and the processor is used to receive a bandwidth adjustment request sent by the network management system; according to The bandwidth adjustment request adjusts the bandwidth of the backup link; if the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth adjustment of the active link is performed according to the bandwidth adjustment request. Make adjustments; if the bandwidth adjustment of the backup link is not completed within the preset delay time, roll back the bandwidth of the backup link to the bandwidth before adjustment.
- the processor is specifically configured to continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, start a first timer, and receive the bandwidth adjustment returned by the sink node. In response to the message, 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.
- the processor is further configured to continuously send messages to the backup link periodically on the backup link.
- the sink node sends a bandwidth adjustment confirmation message; receives the bandwidth adjustment confirmation response message returned by the sink node, stops sending the bandwidth adjustment confirmation message on the backup link, cancels the first timer; and sends a message to the network management system Send a bandwidth adjustment completion confirmation message.
- the processor is further configured to send bandwidth change information of the backup link to the network management system.
- the bandwidth adjustment device is applied to a sink node, which is connected to the source node through a primary link and a backup link respectively, and the processor is configured to receive the bandwidth adjustment sent by the source node. request message; 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 the preset delay time, adjust the bandwidth of the primary link according to the bandwidth adjustment request The bandwidth of the link is used for adjustment; 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 adjustment.
- the processor is specifically configured to receive a bandwidth adjustment request message sent by the source end node on the backup link; adjust the bandwidth of the backup link according to the bandwidth adjustment request message; Continue to send bandwidth adjustment response messages to the source node on the backup link, and start a second timer.
- 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 cancel the second timer; in the Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link; after the bandwidth adjustment confirmation message cannot be detected, stop sending the bandwidth adjustment confirmation response messages.
- the processor is further configured to send bandwidth change information of the backup link to the network management system.
- Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the bandwidth adjustment method as described above are implemented.
- the bandwidth of the backup link is adjusted first. If the bandwidth adjustment of the backup link is completed within the preset delay time, then the bandwidth of the active link is adjusted; if within the preset delay time, the bandwidth of the backup link is adjusted. The bandwidth adjustment of the backup link is not completed, and the bandwidth of the backup link is rolled back to the bandwidth before adjustment. In this way, during the entire bandwidth adjustment process, if the network is normal, services can run normally on the active link. Lossless adjustment of link bandwidth is often performed. If a network abnormality occurs, the bandwidth adjustment process of the service on the active link will be interrupted.
- the service is switched to the backup link, regardless of whether the bandwidth of the active link is the original bandwidth at this time, or It is the intermediate bandwidth or has been adjusted to the target bandwidth.
- the backup link has completed the link bandwidth adjustment to meet the bandwidth requirements of the switched service.
- the service can be on the backup at this time.
- the process of bandwidth adjustment is completed on the link.
- the bandwidth adjustment process will continue until the adjustment process is completed. The entire process has no impact on the standby link services; after the active link bandwidth adjustment is completed, the service can be switched back to the standby link.
- the active link can ensure the normal operation of the bandwidth lossless adjustment process.
- Figure 1 is a schematic diagram of G.Hao bandwidth adjustment application scenario
- FIGS. 2 and 3 are flowcharts of a bandwidth adjustment method according to an embodiment of the present disclosure
- Figure 4 is a schematic structural diagram of a bandwidth adjustment device according to an embodiment of the present disclosure.
- Figure 5 is a schematic diagram of the composition of a bandwidth adjustment device according to an embodiment of the present disclosure.
- CPE Customer Premise Equipment
- GE Gigabit Ethernet
- ODUflex Flexible Optical Channel Data Unit
- ODUK Optical Path Data Unit (Optical Channel Data Unit).
- the adjustment process requires two-way protocol interaction between all stations. If communication abnormalities such as fiber breakage occur in the network, it will cause interruptions due to phase-locked loop frequency tracking and two-way protocol interaction.
- the main and backup paths cannot adjust speed at the same time. Adjustment The switching cannot be protected during the process; any abnormalities during the pre-adjustment confirmation, adjustment process and post-adjustment confirmation will cause the adjustment to fail. Due to the long adjustment time, there is a higher probability of fiber breakage and other abnormalities during the speed adjustment period.
- Embodiments of the present disclosure provide a bandwidth adjustment method and device that can cope with various abnormal events that occur during the service adjustment process, ensure the normal operation of the bandwidth adjustment process without affecting the normal implementation of various functions of the existing network.
- Embodiments of the present disclosure provide a bandwidth adjustment method, applied to a source node, which is connected to a sink node through a main link and a backup link respectively, as shown in Figure 2, including:
- Step 101 Receive the bandwidth adjustment request sent by the network management system
- Step 102 Adjust the bandwidth of the backup link according to the bandwidth adjustment request
- Step 103 If the bandwidth adjustment of the backup link is completed within the preset delay time, adjust the bandwidth of the active link according to the bandwidth adjustment request; if within the preset delay time, the bandwidth adjustment of all backup links is completed. If the bandwidth adjustment of the backup link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
- the bandwidth adjustment request may be a bandwidth increase request, or a bandwidth reduction request.
- adjusting the bandwidth of the backup link according to the bandwidth adjustment request includes:
- the method further includes:
- the method further includes:
- the embodiment of the present disclosure also provides a bandwidth adjustment method, which is applied to a sink node.
- the sink node is connected to the source node through a main link and a backup link respectively, as shown in Figure 3, including:
- Step 201 Receive the bandwidth adjustment request message sent by the source node
- Step 202 Adjust the bandwidth of the backup link according to the bandwidth adjustment request message
- Step 203 If the bandwidth adjustment of the backup link is completed within the preset delay time, adjust the bandwidth of the active link according to the bandwidth adjustment request; if within the preset delay time, the bandwidth adjustment of all backup links is completed. If the bandwidth adjustment of the backup link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
- the bandwidth adjustment request message may be a bandwidth increase request message, or a bandwidth decrease request message.
- 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:
- the method further includes:
- the method further includes:
- This embodiment is applied in a network environment configured with a protection function (with both active link and backup link). (using link), taking bandwidth increase as an example.
- a protection function with both active link and backup link. (using link), taking bandwidth increase as an example.
- the network management system sends a bandwidth increase adjustment request to all nodes and performs the following steps:
- Step b) Since there is a delay time t in the active link timer, each node in the backup link and the sink node will receive BW_INC_REQ before the active link and adjust the bandwidth on the backup link first, and then the sink node will The end node sends the bandwidth adjustment response message BW_INC_ACK to the source through the backup link, and starts the timer at the sink;
- Step e) the bandwidth adjustment of the backup link is completed, the source node stops sending BW_INC_REQ on the backup link; the source node sends BW_INC_CONFIRM to the sink node through the backup link, and the intermediate node continues to pass the backup after receiving the bandwidth adjustment confirmation message BW_INC_CONFIRM.
- the link sends BW_INC_CONFIRM to the sink node;
- Step f) after the sink node detects BW_INC_CONFIRM, it stops sending BW_INC_ACK, cancels the timer of this node, and then continuously sends bandwidth adjustment confirmation response message BW_INC_CONFIRM_ACK to the source node through the backup link;
- Step j After the adjustment is completed, each node should proactively report the backup link bandwidth and link resource changes to the network management system.
- the entire bandwidth adjustment process is an automatic process. After the backup link bandwidth is adjusted (increased), the adjustment is completed within the set delay time t. At this time, the active link bandwidth adjustment mechanism is enabled. The process Like backup link bandwidth adjustment. If the backup path bandwidth adjustment (increase) cannot be completed within t time, the backup link will fall back to the original bandwidth and report to the management and control system.
- the bandwidth adjustment process will continue until the adjustment process is completed, and the entire process will have no impact on the backup link business.
- the bandwidth adjustment of the active link is completed and services can be switched from the backup link back to the active link.
- the link bandwidth reduction adjustment process is basically the same as the link bandwidth increase adjustment process.
- the client side reduces the bandwidth first, and then the link side reduces the bandwidth.
- the bandwidth lossless adjustment function is enabled in a network environment with protection functions. It first ensures that the backup link bandwidth automatically reaches the target bandwidth, and then adjusts the active link bandwidth. If a network failure occurs during the active link bandwidth adjustment process, Services can be switched to the backup link to continue performing bandwidth adjustment functions. After the network fault is eliminated, the active link can continue to perform the bandwidth adjustment process. After the adjustment is completed, the service can be fed back to the active link.
- This embodiment adopts the method and device of first ensuring that the backup link reaches the target bandwidth, which can avoid service interruption caused by the bandwidth of the active link being smaller than the bandwidth of the backup link.
- the embodiment of the present disclosure also provides a bandwidth adjustment device, which is applied to the source node.
- the source node is connected to the sink node through a main link and a backup link respectively. As shown in Figure 4, it includes a transceiver 21 and processor 22,
- the transceiver 21 is used to receive a bandwidth adjustment request sent by the network management system
- 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 the preset delay time, adjust the bandwidth of the backup link according to the bandwidth adjustment request.
- the bandwidth of the active link is adjusted; if within the preset delay time, the If the bandwidth adjustment of the backup link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
- the transceiver 21 is specifically configured to continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, start a first timer, and receive the bandwidth returned by the sink node. Adjust the response message to adjust the bandwidth of the backup link; after the bandwidth adjustment of the backup link is completed, stop sending the bandwidth adjustment request message on the backup link.
- the transceiver 21 is also configured to continuously send bandwidth adjustment confirmation messages to the sink node on a periodic basis on the backup link; receive the bandwidth adjustment confirmation response message returned by the sink node, and stop. Send a bandwidth adjustment confirmation message on the backup link to cancel the first timer; send a bandwidth adjustment completion confirmation message to the network management system.
- the transceiver 21 is also configured to send bandwidth change information of the backup link to the network management system.
- the embodiment of the present disclosure also provides a bandwidth adjustment device, which is applied to a sink node.
- the sink node is connected to the source node through a main link and a backup link respectively. As shown in Figure 4, it includes a transceiver 21 and processor 22,
- the transceiver 21 is configured to receive the bandwidth adjustment request message sent by the source node;
- 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 the preset delay time, the processor 22 adjusts the bandwidth adjustment request according to the bandwidth adjustment request. Adjust the bandwidth of the active link; if the bandwidth adjustment of the backup link is not completed within the preset delay time, roll back the bandwidth of the backup link to the bandwidth before adjustment.
- 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; Bandwidth adjustment response messages are continuously sent to the source node on the backup link, and a second timer is started.
- the transceiver 21 is also 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 cancel the second timer; Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link; after the bandwidth adjustment confirmation message cannot be detected, stop sending the bandwidth adjustment confirmation response messages.
- the transceiver 21 is also used to send the backup link to the network management system. bandwidth change information.
- the embodiment of the present disclosure also provides a bandwidth adjustment device, as shown in Figure 5, including a memory 31, a processor 32, and a computer program stored on the memory 31 and executable on the processor 32; When the processor 32 executes the program, the bandwidth adjustment method as described above is implemented.
- the bandwidth adjustment device is applied to the source node, which is connected to the sink node through a main link and a backup link respectively, and 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 the preset delay time, adjust the bandwidth of the active link according to the bandwidth adjustment request The bandwidth of the backup link is 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 the bandwidth before adjustment.
- the processor 32 is specifically configured to continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, start a first timer, and receive the bandwidth returned by the sink node. Adjust the response message to adjust the bandwidth of the backup link; after the bandwidth adjustment of the backup link is completed, stop sending the bandwidth adjustment request message on the backup link.
- the processor 32 is further configured to continuously send bandwidth adjustment confirmation messages to the sink node on a periodic basis on the backup link; receive the bandwidth adjustment confirmation response message returned by the sink node, and stop. Send a bandwidth adjustment confirmation message on the backup link to cancel the first timer; send a bandwidth adjustment completion confirmation message to the network management system.
- the processor 32 is also configured to send bandwidth change information of the backup link to the network management system.
- the bandwidth adjustment device is applied to a sink node, which is connected to a source node through a primary link and a backup link respectively, and the processor 32 is configured to receive the bandwidth sent by the source node.
- Bandwidth adjustment request message 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 the preset delay time, adjust the bandwidth adjustment of the backup link according to the bandwidth adjustment request.
- the bandwidth of the main link is 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 the bandwidth before adjustment.
- the processor 32 is specifically configured to receive a bandwidth adjustment request message sent by the source end node on the backup link; and adjust the bandwidth of the backup link according to the bandwidth adjustment request message. adjust the width; continue to send bandwidth adjustment response messages to the source node on the backup link, and start the second timer.
- 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 cancel the second timer; Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link; after the bandwidth adjustment confirmation message cannot be detected, stop sending the bandwidth adjustment confirmation response messages.
- the processor 32 is also configured to send bandwidth change information of the backup link to the network management system.
- Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the bandwidth adjustment method as described above are implemented.
- Computer-readable media includes both persistent and non-volatile, removable and non-removable media that can be implemented by any method or technology for storage of information.
- Information may be computer-readable instructions, data structures, modules of programs, or other data.
- Examples of computer storage media include, but are not limited to, Phase-Change Memory (PRAM), Static Random-Access Memory (Static Random-Access Memory, SRAM), Dynamic Random Access Memory (Dynamic Random Access Memory, DRAM) ), other types of random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read Only Memory, EEPROM), fast Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Video Disc (DVD) or other optical storage, magnetic tape cassette, magnetic tape Disk storage or other magnetic storage of the terminal device to be detected, or any other non-transmission medium, may be used to store information that can be accessed
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention relates to the technical field of transmission, and provides a bandwidth adjustment method and device. The bandwidth adjustment method is applied to a source end node. The source end node is connected to a sink end node by means of a main link and a standby link, respectively. The method comprises: receiving a bandwidth adjustment request sent by a network management system; adjusting bandwidth of the standby link according to the bandwidth adjustment request; if the bandwidth adjustment of the standby link is completed within a preset delay time, adjusting bandwidth of the main link according to the bandwidth adjustment request; and if the bandwidth adjustment of the standby link is not completed within the preset delay time, returning the bandwidth of the standby link to the bandwidth before adjustment.
Description
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年3月31日在中国提交的中国专利申请号No.202210337131.3的优先权,其全部内容通过引用包含于此。This application claims priority from Chinese Patent Application No. 202210337131.3 filed in China on March 31, 2022, the entire content of which is incorporated herein by reference.
本公开涉及传输技术领域,特别是指一种带宽调整方法及装置。The present disclosure relates to the field of transmission technology, and in particular, to a bandwidth adjustment method and device.
目前光传送网***提出无损带宽调整机制,保证在光网络中动态增加或减少端到端路径上各种承载颗粒的数量或时隙大小以调整所承载客户信号的带宽而不影响业务。At present, the optical transport network system proposes a lossless bandwidth adjustment mechanism to ensure that the number or time slot size of various bearer particles on the end-to-end path can be dynamically increased or reduced in the optical network to adjust the bandwidth of the client signals carried without affecting the business.
在整个调整过程中,各种颗粒或时隙在从网络的源端到宿端的路径上保持相同的路径,无损带宽调整需要整个路径上所有的网元参与配合。为了实现这种带宽调整,整个路径上的所有节点都必须支持带宽调整功能,并且整个路径上所有节点同时调整带宽来避免节点缓冲区的上溢出或者下溢出。During the entire adjustment process, various particles or time slots maintain the same path from the source end of the network to the sink end. Lossless bandwidth adjustment requires the cooperation of all network elements on the entire path. In order to achieve this bandwidth adjustment, all nodes on the entire path must support the bandwidth adjustment function, and all nodes on the entire path must adjust the bandwidth simultaneously to avoid overflow or underflow of the node buffer.
发明内容Contents of the invention
本公开要解决的技术问题是提供一种带宽调整方法及装置,能够保证带宽无损调整过程的正常运行。The technical problem to be solved by this disclosure is to provide a bandwidth adjustment method and device that can ensure the normal operation of the bandwidth lossless adjustment process.
为解决上述技术问题,本公开的实施例提供技术方案如下:In order to solve the above technical problems, embodiments of the present disclosure provide the following technical solutions:
一方面,提供一种带宽调整方法,应用于源端节点,所述源端节点通过主用链路和备用链路分别与宿端节点连接,包括:On the one hand, a bandwidth adjustment method is provided, which is applied to a source node. The source node is connected to a sink node through a main link and a backup link respectively, including:
接收网管***发送的带宽调整请求;Receive the 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 the preset delay time, the bandwidth of the active link is adjusted according to the bandwidth adjustment request; if within the preset delay time, the bandwidth adjustment of the backup link is completed. If the bandwidth adjustment of the link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
一些实施例中,根据所述带宽调整请求对所述备用链路的带宽进行调整包括:In some embodiments, adjusting the bandwidth of the backup link according to the bandwidth adjustment request includes:
在所述备用链路上按周期持续向所述宿端节点发送带宽调整请求消息,启动第一定时器;Continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, and start the first timer;
接收所述宿端节点返回的带宽调整响应消息,对所述备用链路的带宽进行调整;Receive the bandwidth adjustment response message returned by the sink 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.
一些实施例中,停止在所述备用链路上发送带宽调整请求消息之后,所述方法还包括:In some embodiments, after stopping sending bandwidth adjustment request messages on the backup link, the method further includes:
在所述备用链路上按周期持续向所述宿端节点发送带宽调整确认消息;Continuously send bandwidth adjustment confirmation messages to the sink node on the backup link periodically;
接收所述宿端节点返回的带宽调整确认响应消息,停止在所述备用链路上发送带宽调整确认消息,解除所述第一定时器;Receive the bandwidth adjustment confirmation response message returned by the sink node, stop sending the bandwidth adjustment confirmation message on the backup link, and cancel the first timer;
向所述网管***发送带宽调整完成确认消息。Send a bandwidth adjustment completion confirmation message to the network management system.
一些实施例中,向所述网管***发送带宽调整完成确认消息之后,所述方法还包括:In some embodiments, after sending a bandwidth adjustment completion confirmation message to the network management system, the method further includes:
向所述网管***发送所述备用链路的带宽变化信息。Send bandwidth change information of the backup link to the network management system.
本公开实施例还提供了一种带宽调整方法,应用于宿端节点,所述宿端节点通过主用链路和备用链路分别与源端节点连接,包括:Embodiments of the present disclosure also provide a bandwidth adjustment method, which is applied to a sink node. The sink node is connected to the source node through a main link and a backup link respectively, including:
接收所述源端节点发送的带宽调整请求消息;Receive the 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 the preset delay time, the bandwidth of the active link is adjusted according to the bandwidth adjustment request; if within the preset delay time, the bandwidth adjustment of the backup link is completed. If the bandwidth adjustment of the link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
一些实施例中,接收所述源端节点发送的带宽调整请求消息,根据所述带宽调整请求消息对所述备用链路的带宽进行调整包括: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:
在所述备用链路上接收源端节点发送的带宽调整请求消息;Receive the 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;
在所述备用链路上持续向所述源端节点发送带宽调整响应消息,并启动
第二定时器。Continue to send bandwidth adjustment response messages to the source node on the backup link, and start Second timer.
一些实施例中,启动第二定时器之后,所述方法还包括:In some embodiments, after starting the second timer, the method further includes:
在所述备用链路上接收源端节点发送的带宽调整确认消息,停止发送所述带宽调整响应消息,解除所述第二定时器;Receive the bandwidth adjustment confirmation message sent by the source node on the backup link, stop sending the bandwidth adjustment response message, and cancel the second timer;
在所述备用链路上持续向所述源端节点发送带宽调整确认响应消息;Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link;
在监测不到所述带宽调整确认消息后,停止发送所述带宽调整确认响应消息。After the bandwidth adjustment confirmation message cannot be detected, the sending of the bandwidth adjustment confirmation response message is stopped.
一些实施例中,停止发送所述带宽调整确认响应消息之后,所述方法还包括:In some embodiments, after stopping sending the bandwidth adjustment confirmation response message, the method further includes:
向所述网管***发送所述备用链路的带宽变化信息。Send bandwidth change information of the backup link to the network management system.
本公开实施例还提供了一种带宽调整装置,应用于源端节点,所述源端节点通过主用链路和备用链路分别与宿端节点连接,包括收发机和处理器,The embodiment of the present disclosure also provides a bandwidth adjustment device, which is applied to a source node. The source node is connected to the sink node through a main link and a backup link respectively, and includes a transceiver and a processor.
所述收发机用于接收网管***发送的带宽调整请求;The transceiver is used to receive a bandwidth adjustment request sent by the network management system;
所述处理器用于根据所述带宽调整请求对所述备用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。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 the preset delay time, adjust the bandwidth of the backup link according to the bandwidth adjustment request. The bandwidth of the active link is 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 the bandwidth before adjustment.
一些实施例中,所述收发机具体用于在所述备用链路上按周期持续向所述宿端节点发送带宽调整请求消息,启动第一定时器;接收所述宿端节点返回的带宽调整响应消息,对所述备用链路的带宽进行调整;所述备用链路的带宽调整完成后,停止在所述备用链路上发送带宽调整请求消息。In some embodiments, the transceiver is specifically configured to continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, start a first timer, and receive the bandwidth adjustment returned by the sink node. In response to the message, 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.
一些实施例中,所述收发机还用于在所述备用链路上按周期持续向所述宿端节点发送带宽调整确认消息;接收所述宿端节点返回的带宽调整确认响应消息,停止在所述备用链路上发送带宽调整确认消息,解除所述第一定时器;向所述网管***发送带宽调整完成确认消息。In some embodiments, the transceiver is further configured to continuously send bandwidth adjustment confirmation messages to the sink node on a periodic basis on the backup link; receive a bandwidth adjustment confirmation response message returned by the sink node, and stop at Send a bandwidth adjustment confirmation message on the backup link to cancel the first timer; send a bandwidth adjustment completion confirmation message to the network management system.
一些实施例中,所述收发机还用于向所述网管***发送所述备用链路的带宽变化信息。In some embodiments, the transceiver is further configured to send bandwidth change information of the backup link to the network management system.
本公开实施例还提供了一种带宽调整装置,应用于宿端节点,所述宿端节点通过主用链路和备用链路分别与源端节点连接,包括收发机和处理器,
The embodiment of the present disclosure also provides a bandwidth adjustment device, which is applied to a sink node. The sink node is connected to the source node through a main link and a backup link respectively, and includes a transceiver and a processor.
所述收发机用于接收所述源端节点发送的带宽调整请求消息;The transceiver is configured to receive a bandwidth adjustment request message sent by the source node;
所述处理器用于根据所述带宽调整请求消息对所述备用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。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 the preset delay time, adjust the bandwidth of the backup link according to the bandwidth adjustment request. The bandwidth of the main link is 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 the bandwidth before adjustment.
一些实施例中,所述收发机具体用于在所述备用链路上接收源端节点发送的带宽调整请求消息;根据所述带宽调整请求消息对所述备用链路的带宽进行调整;在所述备用链路上持续向所述源端节点发送带宽调整响应消息,并启动第二定时器。In some embodiments, the transceiver is specifically configured to receive a bandwidth adjustment request message sent by a source end node on the backup link; adjust the bandwidth of the backup link according to the bandwidth adjustment request message; in the Continue to send bandwidth adjustment response messages to the source node on the backup link, and start a second timer.
一些实施例中,所述收发机还用于在所述备用链路上接收源端节点发送的带宽调整确认消息,停止发送所述带宽调整响应消息,解除所述第二定时器;在所述备用链路上持续向所述源端节点发送带宽调整确认响应消息;在监测不到所述带宽调整确认消息后,停止发送所述带宽调整确认响应消息。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 cancel the second timer; in the Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link; after the bandwidth adjustment confirmation message cannot be detected, stop sending the bandwidth adjustment confirmation response messages.
一些实施例中,所述收发机还用于向所述网管***发送所述备用链路的带宽变化信息。In some embodiments, the transceiver is further configured to send bandwidth change information of the backup link to the network management system.
本公开实施例还提供了一种带宽调整装置,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;所述处理器执行所述程序时实现如上所述的带宽调整方法。Embodiments of the present disclosure also provide a bandwidth adjustment device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the program, the above is implemented. The bandwidth adjustment method described above.
一些实施例中,带宽调整装置应用于源端节点,所述源端节点通过主用链路和备用链路分别与宿端节点连接,所述处理器用于接收网管***发送的带宽调整请求;根据所述带宽调整请求对所述备用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。In some embodiments, the bandwidth adjustment device is applied to the source node, which is connected to the sink node through a main link and a backup link respectively, and the processor is used to receive a bandwidth adjustment request sent by the network management system; according to The bandwidth adjustment request adjusts the bandwidth of the backup link; if the bandwidth adjustment of the backup link is completed within the preset delay time, the bandwidth adjustment of the active link is performed according to the bandwidth adjustment request. Make adjustments; if the bandwidth adjustment of the backup link is not completed within the preset delay time, roll back the bandwidth of the backup link to the bandwidth before adjustment.
一些实施例中,所述处理器具体用于在所述备用链路上按周期持续向所述宿端节点发送带宽调整请求消息,启动第一定时器;接收所述宿端节点返回的带宽调整响应消息,对所述备用链路的带宽进行调整;所述备用链路的带宽调整完成后,停止在所述备用链路上发送带宽调整请求消息。In some embodiments, the processor is specifically configured to continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, start a first timer, and receive the bandwidth adjustment returned by the sink node. In response to the message, 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.
一些实施例中,所述处理器还用于在所述备用链路上按周期持续向所述
宿端节点发送带宽调整确认消息;接收所述宿端节点返回的带宽调整确认响应消息,停止在所述备用链路上发送带宽调整确认消息,解除所述第一定时器;向所述网管***发送带宽调整完成确认消息。In some embodiments, the processor is further configured to continuously send messages to the backup link periodically on the backup link. The sink node sends a bandwidth adjustment confirmation message; receives the bandwidth adjustment confirmation response message returned by the sink node, stops sending the bandwidth adjustment confirmation message on the backup link, cancels the first timer; and sends a message to the network management system Send a bandwidth adjustment completion confirmation message.
一些实施例中,所述处理器还用于向所述网管***发送所述备用链路的带宽变化信息。In some embodiments, the processor is further configured to send bandwidth change information of the backup link to the network management system.
一些实施例中,带宽调整装置应用于宿端节点,所述宿端节点通过主用链路和备用链路分别与源端节点连接,所述处理器用于接收所述源端节点发送的带宽调整请求消息;根据所述带宽调整请求消息对所述备用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。In some embodiments, the bandwidth adjustment device is applied to a sink node, which is connected to the source node through a primary link and a backup link respectively, and the processor is configured to receive the bandwidth adjustment sent by the source node. request message; 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 the preset delay time, adjust the bandwidth of the primary link according to the bandwidth adjustment request The bandwidth of the link is used for adjustment; 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 adjustment.
一些实施例中,所述处理器具体用于在所述备用链路上接收源端节点发送的带宽调整请求消息;根据所述带宽调整请求消息对所述备用链路的带宽进行调整;在所述备用链路上持续向所述源端节点发送带宽调整响应消息,并启动第二定时器。In some embodiments, the processor is specifically configured to receive a bandwidth adjustment request message sent by the source end node on the backup link; adjust the bandwidth of the backup link according to the bandwidth adjustment request message; Continue to send bandwidth adjustment response messages to the source node on the backup link, and start a second timer.
一些实施例中,所述处理器还用于在所述备用链路上接收源端节点发送的带宽调整确认消息,停止发送所述带宽调整响应消息,解除所述第二定时器;在所述备用链路上持续向所述源端节点发送带宽调整确认响应消息;在监测不到所述带宽调整确认消息后,停止发送所述带宽调整确认响应消息。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 cancel the second timer; in the Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link; after the bandwidth adjustment confirmation message cannot be detected, stop sending the bandwidth adjustment confirmation response messages.
一些实施例中,所述处理器还用于向所述网管***发送所述备用链路的带宽变化信息。In some embodiments, the processor is further configured to send bandwidth change information of the backup link to the network management system.
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的带宽调整方法中的步骤。Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the bandwidth adjustment method as described above are implemented.
本公开的实施例具有以下有益效果:Embodiments of the present disclosure have the following beneficial effects:
上述方案中,先对备用链路的带宽进行调整,若在预设延迟时间内,对备用链路的带宽调整完成,再对主用链路的带宽进行调整;若在预设延迟时间内,对备用链路的带宽调整未完成,将备用链路的带宽回退至调整前的带宽。这样在整个带宽调整过程中,如果网络正常,业务可以在主用链路上正
常执行链路带宽无损调整。如果出现网络异常,业务在主用链路上的带宽调整进程会中断,此时执行网络保护倒换后,业务倒换至备用链路上,无论此时主用链路带宽是否是原有带宽、或者是中间带宽或者已经调整到目标带宽,此时备用链路已经完成链路带宽调整,满足被倒换业务的带宽需求,倒换完成后只需要直接调整客户接口侧带宽即可,业务此时可以在备用链路上完成带宽调整的过程。与此同时,主用链路网络故障恢复后,带宽调整过程会继续,直至调整过程完毕,整个过程对备用链路业务无影响;主用链路带宽调整结束,业务可由备用链路倒换回主用链路,能够保证带宽无损调整过程的正常运行。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, then the bandwidth of the active link is adjusted; if within the preset delay time, the bandwidth of the backup link is adjusted. The bandwidth adjustment of the backup link is not completed, and the bandwidth of the backup link is rolled back to the bandwidth before adjustment. In this way, during the entire bandwidth adjustment process, if the network is normal, services can run normally on the active link. Lossless adjustment of link bandwidth is often performed. If a network abnormality occurs, the bandwidth adjustment process of the service on the active link will be interrupted. At this time, after the network protection switching is performed, the service is switched to the backup link, regardless of whether the bandwidth of the active link is the original bandwidth at this time, or It is the intermediate bandwidth or has been adjusted to the target bandwidth. At this time, the backup link has completed the link bandwidth adjustment to meet the bandwidth requirements of the switched service. After the switch is completed, you only need to directly adjust the customer interface side bandwidth. The service can be on the backup at this time. The process of bandwidth adjustment is completed on the link. At the same time, after the active link network failure is restored, the bandwidth adjustment process will continue until the adjustment process is completed. The entire process has no impact on the standby link services; after the active link bandwidth adjustment is completed, the service can be switched back to the standby link. The active link can ensure the normal operation of the bandwidth lossless adjustment process.
图1为G.Hao带宽调整应用场景示意图;Figure 1 is a schematic diagram of G.Hao bandwidth adjustment application scenario;
图2和图3为本公开实施例带宽调整方法的流程示意图;Figures 2 and 3 are flowcharts of a bandwidth adjustment method according to an embodiment of the present disclosure;
图4为本公开实施例带宽调整装置的结构示意图;Figure 4 is a schematic structural diagram of a bandwidth adjustment device according to an embodiment of the present disclosure;
图5为本公开实施例带宽调整装置的组成示意图。Figure 5 is a schematic diagram of the composition of a bandwidth adjustment device according to an embodiment of the present disclosure.
为使本公开的实施例要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the embodiments of the present disclosure clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
现网光网络组网环境下,业务会经过10个以上的节点,传输距离超过1000公里以上,如图1所示。其中,CPE为客户前置设备(Customer Premise Equipment),GE为千兆以太网(Gigabit Ethernet)(接口),ODUflex为灵活速率光数字单元(Flexible Optical Channel Data Unit),ODUK为光通路数据单元(Optical Channel Data Unit)。In the current optical network networking environment, services will pass through more than 10 nodes, and the transmission distance exceeds 1,000 kilometers, as shown in Figure 1. Among them, CPE is Customer Premise Equipment (Customer Premise Equipment), GE is Gigabit Ethernet (interface), ODUflex is Flexible Optical Channel Data Unit (Flexible Optical Channel Data Unit), and ODUK is Optical Path Data Unit ( Optical Channel Data Unit).
带宽无损调整期间,调整过程需中间所有站点双向协议交互,如果网络中出现断纤等通信异常,会造成由于涉及锁相环频率跟踪及双向协议交互出现中断,主备路径无法同时调速,调节过程中无法保护倒换;调节前确认、调节过程及调节后确认,过程中任何异常都会调节失败,由于调节时间长,调速期间更高概率出现断纤等异常。而出现业务从主用链路倒换到备用链路
上后,如果此时备用链路带宽小于主用链路带宽,会造成大量业务丢包或中断。During the bandwidth lossless adjustment, the adjustment process requires two-way protocol interaction between all stations. If communication abnormalities such as fiber breakage occur in the network, it will cause interruptions due to phase-locked loop frequency tracking and two-way protocol interaction. The main and backup paths cannot adjust speed at the same time. Adjustment The switching cannot be protected during the process; any abnormalities during the pre-adjustment confirmation, adjustment process and post-adjustment confirmation will cause the adjustment to fail. Due to the long adjustment time, there is a higher probability of fiber breakage and other abnormalities during the speed adjustment period. When services are switched from the primary link to the backup link, After being connected, if the bandwidth of the backup link is smaller than the bandwidth of the active link, a large number of service packet losses or interruptions will occur.
本公开实施例提供一种带宽调整方法及装置,能够应对在业务调整过程中出现的各种异常事件,保证带宽无损调整过程的正常运行,且不能影响现网各项功能的正常实施。Embodiments of the present disclosure provide a bandwidth adjustment method and device that can cope with various abnormal events that occur during the service adjustment process, ensure the normal operation of the bandwidth adjustment process without affecting the normal implementation of various functions of the existing network.
本公开实施例提供一种带宽调整方法,应用于源端节点,所述源端节点通过主用链路和备用链路分别与宿端节点连接,如图2所示,包括:Embodiments of the present disclosure provide a bandwidth adjustment method, applied to a source node, which is connected to a sink node through a main link and a backup link respectively, as shown in Figure 2, including:
步骤101:接收网管***发送的带宽调整请求;Step 101: Receive the bandwidth adjustment request sent by the network management system;
步骤102:根据所述带宽调整请求对所述备用链路的带宽进行调整;Step 102: Adjust the bandwidth of the backup link according to the bandwidth adjustment request;
步骤103:若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。Step 103: If the bandwidth adjustment of the backup link is completed within the preset delay time, adjust the bandwidth of the active link according to the bandwidth adjustment request; if within the preset delay time, the bandwidth adjustment of all backup links is completed. If the bandwidth adjustment of the backup link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
本实施例中,带宽调整请求可以为带宽增加请求,或者,为带宽减少请求。In this embodiment, the bandwidth adjustment request may be a bandwidth increase request, or a bandwidth reduction request.
一些实施例中,根据所述带宽调整请求对所述备用链路的带宽进行调整包括:In some embodiments, adjusting the bandwidth of the backup link according to the bandwidth adjustment request includes:
在所述备用链路上按周期持续向所述宿端节点发送带宽调整请求消息,启动第一定时器;Continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, and start the first timer;
接收所述宿端节点返回的带宽调整响应消息,对所述备用链路的带宽进行调整;Receive the bandwidth adjustment response message returned by the sink 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.
一些实施例中,停止在所述备用链路上发送带宽调整请求消息之后,所述方法还包括:In some embodiments, after stopping sending bandwidth adjustment request messages on the backup link, the method further includes:
在所述备用链路上按周期持续向所述宿端节点发送带宽调整确认消息;Continuously send bandwidth adjustment confirmation messages to the sink node on the backup link periodically;
接收所述宿端节点返回的带宽调整确认响应消息,停止在所述备用链路上发送带宽调整确认消息,解除所述第一定时器;Receive the bandwidth adjustment confirmation response message returned by the sink node, stop sending the bandwidth adjustment confirmation message on the backup link, and cancel the first timer;
向所述网管***发送带宽调整完成确认消息。
Send a bandwidth adjustment completion confirmation message to the network management system.
一些实施例中,向所述网管***发送带宽调整完成确认消息之后,所述方法还包括:In some embodiments, after sending a bandwidth adjustment completion confirmation message to the network management system, the method further includes:
向所述网管***发送所述备用链路的带宽变化信息。Send bandwidth change information of the backup link to the network management system.
本公开实施例还提供了一种带宽调整方法,应用于宿端节点,所述宿端节点通过主用链路和备用链路分别与源端节点连接,如图3所示,包括:The embodiment of the present disclosure also provides a bandwidth adjustment method, which is applied to a sink node. The sink node is connected to the source node through a main link and a backup link respectively, as shown in Figure 3, including:
步骤201:接收所述源端节点发送的带宽调整请求消息;Step 201: Receive the bandwidth adjustment request message sent by the source node;
步骤202:根据所述带宽调整请求消息对所述备用链路的带宽进行调整;Step 202: Adjust the bandwidth of the backup link according to the bandwidth adjustment request message;
步骤203:若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。Step 203: If the bandwidth adjustment of the backup link is completed within the preset delay time, adjust the bandwidth of the active link according to the bandwidth adjustment request; if within the preset delay time, the bandwidth adjustment of all backup links is completed. If the bandwidth adjustment of the backup link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
本实施例中,带宽调整请求消息可以为带宽增加请求消息,或者,为带宽减少请求消息。In this embodiment, the bandwidth adjustment request message may be a bandwidth increase request message, or a bandwidth decrease request message.
一些实施例中,接收所述源端节点发送的带宽调整请求消息,根据所述带宽调整请求消息对所述备用链路的带宽进行调整包括: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:
在所述备用链路上接收源端节点发送的带宽调整请求消息;Receive the 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;
在所述备用链路上持续向所述源端节点发送带宽调整响应消息,并启动第二定时器。Continue to send bandwidth adjustment response messages to the source node on the backup link, and start a second timer.
一些实施例中,启动第二定时器之后,所述方法还包括:In some embodiments, after starting the second timer, the method further includes:
在所述备用链路上接收源端节点发送的带宽调整确认消息,停止发送所述带宽调整响应消息,解除所述第二定时器;Receive the bandwidth adjustment confirmation message sent by the source node on the backup link, stop sending the bandwidth adjustment response message, and cancel the second timer;
在所述备用链路上持续向所述源端节点发送带宽调整确认响应消息;Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link;
在监测不到所述带宽调整确认消息后,停止发送所述带宽调整确认响应消息。After the bandwidth adjustment confirmation message cannot be detected, the sending of the bandwidth adjustment confirmation response message is stopped.
一些实施例中,停止发送所述带宽调整确认响应消息之后,所述方法还包括:In some embodiments, after stopping sending the bandwidth adjustment confirmation response message, the method further includes:
向所述网管***发送所述备用链路的带宽变化信息。Send bandwidth change information of the backup link to the network management system.
本实施例应用于配置有保护功能的网络环境中(同时具备主用链路和备
用链路),以带宽增加为例,在网络所有节点和链路都确认有足够资源用于带宽调整(增加)时,网管***发送带宽增加调整请求给所有节点,执行以下步骤:This embodiment is applied in a network environment configured with a protection function (with both active link and backup link). (using link), taking bandwidth increase as an example. When all nodes and links in the network confirm that there are sufficient resources for bandwidth adjustment (increase), the network management system sends a bandwidth increase adjustment request to all nodes and performs the following steps:
步骤a)、源端节点向宿端节点同时在主用链路和备用链路上持续按周期发送带宽调整请求消息BW_INC_REQ,同时在主用链路和备用链路同时启动定时器,但是主用链路启动计时器要设置一个延迟时间t;Step a): The source node continues to periodically send bandwidth adjustment request messages BW_INC_REQ to the sink node on both the active link and the standby link. At the same time, the timer is started on the active link and the standby link. However, the active link The link startup timer needs to set a delay time t;
步骤b)、由于主用链路计时器存在一个延迟时间t,备用链路中间每个节点和宿端节点会先于主用链路收到BW_INC_REQ并先在备用链路进行带宽调整,然后宿端节点通过备用链路向源端方向发送带宽调整响应消息BW_INC_ACK,并启动宿端的计时器;Step b). Since there is a delay time t in the active link timer, each node in the backup link and the sink node will receive BW_INC_REQ before the active link and adjust the bandwidth on the backup link first, and then the sink node will The end node sends the bandwidth adjustment response message BW_INC_ACK to the source through the backup link, and starts the timer at the sink;
步骤c)、备用链路每个中间节点收到BW_INC_ACK,进行备用链路带宽调整,调整后继续向上游节点反插BW_INC_ACK,同时启动定时器;Step c): Each intermediate node of the backup link receives BW_INC_ACK, adjusts the bandwidth of the backup link, and continues to insert BW_INC_ACK to the upstream node after adjustment, and starts the timer at the same time;
步骤d)、源端节点收到BW_INC_ACK后,调整备用链路的带宽;Step d): After receiving the BW_INC_ACK, the source node adjusts the bandwidth of the backup link;
步骤e)、备用链路带宽调整完成,源端节点停止在备用链路上发送BW_INC_REQ;源端节点通过备用链路向宿端节点发送BW_INC_CONFIRM,中间节点收到带宽调整确认消息BW_INC_CONFIRM后继续通过备用链路向宿端节点发送BW_INC_CONFIRM;Step e), the bandwidth adjustment of the backup link is completed, the source node stops sending BW_INC_REQ on the backup link; the source node sends BW_INC_CONFIRM to the sink node through the backup link, and the intermediate node continues to pass the backup after receiving the bandwidth adjustment confirmation message BW_INC_CONFIRM. The link sends BW_INC_CONFIRM to the sink node;
步骤f)、宿端节点监测到BW_INC_CONFIRM后,停止发送BW_INC_ACK,解除本节点定时器,然后通过备用链路向源端节点连续发送带宽调整确认响应消息BW_INC_CONFIRM_ACK;Step f), after the sink node detects BW_INC_CONFIRM, it stops sending BW_INC_ACK, cancels the timer of this node, and then continuously sends bandwidth adjustment confirmation response message BW_INC_CONFIRM_ACK to the source node through the backup link;
步骤g)、备用链路中间各节点监测到BW_INC_CONFIRM_ACK后,直接解除本节点定时器;Step g): After each node in the middle of the backup link detects BW_INC_CONFIRM_ACK, it directly cancels the timer of this node;
步骤h)、源端节点收到BW_INC_CONFIRM_ACK后,停止在备用链路发送BW_INC_CONFIRM,同时解除定时器。然后向网管***上报调整完成确认消息;Step h): After receiving BW_INC_CONFIRM_ACK, the source node stops sending BW_INC_CONFIRM on the backup link and cancels the timer. Then report the adjustment completion confirmation message to the network management system;
步骤i)、宿端节点监测不到BW_INC_CONFIRM后,停止发送BW_INC_CONFIRM_ACK;Step i): After the sink node cannot detect BW_INC_CONFIRM, it stops sending BW_INC_CONFIRM_ACK;
步骤j)、调整完成后,各节点应主动向网管***上报备用链路带宽和链路资源变化情况。
Step j). After the adjustment is completed, each node should proactively report the backup link bandwidth and link resource changes to the network management system.
本实施例中,整个带宽调整过程为自动过程,在备用链路带宽调整(增加)完毕后,即在设定的延迟时间t内完成调整,此时再启用主用链路带宽调整机制,过程如同备用链路带宽调整。如果在t时间内未能完成备用路径带宽调整(增加),备用链路则回退至原始带宽并上报管控***。In this embodiment, the entire bandwidth adjustment process is an automatic process. After the backup link bandwidth is adjusted (increased), the adjustment is completed within the set delay time t. At this time, the active link bandwidth adjustment mechanism is enabled. The process Like backup link bandwidth adjustment. If the backup path bandwidth adjustment (increase) cannot be completed within t time, the backup link will fall back to the original bandwidth and report to the management and control system.
这样在整个带宽调整过程中,如果网络正常,业务可以在主用链路上正常执行链路带宽无损调整(增加)。如果出现网络异常,业务在主用链路上的带宽调整进程会中断,此时执行网络保护倒换后,业务倒换至备用链路上,无论此时主用链路带宽是否是原有带宽、或者是中间带宽或者已经调整到目标带宽,此时备用链路已经完成链路带宽调整,满足被倒换业务的带宽需求,倒换完成后只需要直接调整客户接口侧带宽即可,业务此时可以在备用链路上完成带宽调整(增加)的过程。In this way, during the entire bandwidth adjustment process, if the network is normal, services can normally perform lossless adjustment (increase) of link bandwidth on the active link. If a network abnormality occurs, the bandwidth adjustment process of the service on the active link will be interrupted. At this time, after the network protection switching is performed, the service is switched to the backup link, regardless of whether the bandwidth of the active link is the original bandwidth at this time, or It is the intermediate bandwidth or has been adjusted to the target bandwidth. At this time, the backup link has completed the link bandwidth adjustment to meet the bandwidth requirements of the switched service. After the switch is completed, you only need to directly adjust the customer interface side bandwidth. The service can be on the backup at this time. The process of bandwidth adjustment (increase) is completed on the link.
与此同时,主用链路网络故障恢复后,带宽调整过程会继续,直至调整过程完毕,整个过程对备用链路业务无影响。主用链路带宽调整结束,业务可由备用链路倒换回主用链路。At the same time, after the active link network failure is restored, the bandwidth adjustment process will continue until the adjustment process is completed, and the entire process will have no impact on the backup link business. The bandwidth adjustment of the active link is completed and services can be switched from the backup link back to the active link.
链路带宽减少调整过程与链路带宽增加调整过程基本一致,客户侧先减带宽,链路侧再减带宽。The link bandwidth reduction adjustment process is basically the same as the link bandwidth increase adjustment process. The client side reduces the bandwidth first, and then the link side reduces the bandwidth.
本实施例在具备保护功能的网络环境下启用带宽无损调整功能,先保证备用链路带宽自动达到目标带宽,然后再调整主用链路带宽,如果主用链路带宽调整过程中出现网络故障,业务可以倒换到备用链路继续执行带宽调整功能。待网络故障消除,主用链路可继续执行带宽调整进程,调整完毕,业务可以反馈主用链路。本实施例采用先保证备用链路达到目标带宽的方法装置,可以避免因主用链路带宽小于备用链路带宽导致业务的中断。In this embodiment, the bandwidth lossless adjustment function is enabled in a network environment with protection functions. It first ensures that the backup link bandwidth automatically reaches the target bandwidth, and then adjusts the active link bandwidth. If a network failure occurs during the active link bandwidth adjustment process, Services can be switched to the backup link to continue performing bandwidth adjustment functions. After the network fault is eliminated, the active link can continue to perform the bandwidth adjustment process. After the adjustment is completed, the service can be fed back to the active link. This embodiment adopts the method and device of first ensuring that the backup link reaches the target bandwidth, which can avoid service interruption caused by the bandwidth of the active link being smaller than the bandwidth of the backup link.
本公开实施例还提供了一种带宽调整装置,应用于源端节点,所述源端节点通过主用链路和备用链路分别与宿端节点连接,如图4所示,包括收发机21和处理器22,The embodiment of the present disclosure also provides a bandwidth adjustment device, which is applied to the source node. The source node is connected to the sink node through a main link and a backup link respectively. As shown in Figure 4, it includes a transceiver 21 and processor 22,
所述收发机21用于接收网管***发送的带宽调整请求;The transceiver 21 is used to receive a bandwidth adjustment request sent by the network management system;
所述处理器22用于根据所述带宽调整请求对所述备用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述
备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。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 the preset delay time, adjust the bandwidth of the backup link according to the bandwidth adjustment request. The bandwidth of the active link is adjusted; if within the preset delay time, the If the bandwidth adjustment of the backup link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
一些实施例中,所述收发机21具体用于在所述备用链路上按周期持续向所述宿端节点发送带宽调整请求消息,启动第一定时器;接收所述宿端节点返回的带宽调整响应消息,对所述备用链路的带宽进行调整;所述备用链路的带宽调整完成后,停止在所述备用链路上发送带宽调整请求消息。In some embodiments, the transceiver 21 is specifically configured to continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, start a first timer, and receive the bandwidth returned by the sink node. Adjust the response message to adjust the bandwidth of the backup link; after the bandwidth adjustment of the backup link is completed, stop sending the bandwidth adjustment request message on the backup link.
一些实施例中,所述收发机21还用于在所述备用链路上按周期持续向所述宿端节点发送带宽调整确认消息;接收所述宿端节点返回的带宽调整确认响应消息,停止在所述备用链路上发送带宽调整确认消息,解除所述第一定时器;向所述网管***发送带宽调整完成确认消息。In some embodiments, the transceiver 21 is also configured to continuously send bandwidth adjustment confirmation messages to the sink node on a periodic basis on the backup link; receive the bandwidth adjustment confirmation response message returned by the sink node, and stop. Send a bandwidth adjustment confirmation message on the backup link to cancel the first timer; send a bandwidth adjustment completion confirmation message to the network management system.
一些实施例中,所述收发机21还用于向所述网管***发送所述备用链路的带宽变化信息。In some embodiments, the transceiver 21 is also configured to send bandwidth change information of the backup link to the network management system.
本公开实施例还提供了一种带宽调整装置,应用于宿端节点,所述宿端节点通过主用链路和备用链路分别与源端节点连接,如图4所示,包括收发机21和处理器22,The embodiment of the present disclosure also provides a bandwidth adjustment device, which is applied to a sink node. The sink node is connected to the source node through a main link and a backup link respectively. As shown in Figure 4, it includes a transceiver 21 and processor 22,
所述收发机21用于接收所述源端节点发送的带宽调整请求消息;The transceiver 21 is configured to receive the bandwidth adjustment request message sent by the source node;
所述处理器22用于根据所述带宽调整请求消息对所述备用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。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 the preset delay time, the processor 22 adjusts the bandwidth adjustment request according to the bandwidth adjustment request. Adjust the bandwidth of the active link; if the bandwidth adjustment of the backup link is not completed within the preset delay time, roll back the bandwidth of the backup link to the bandwidth before adjustment.
一些实施例中,所述收发机21具体用于在所述备用链路上接收源端节点发送的带宽调整请求消息;根据所述带宽调整请求消息对所述备用链路的带宽进行调整;在所述备用链路上持续向所述源端节点发送带宽调整响应消息,并启动第二定时器。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; Bandwidth adjustment response messages are continuously sent to the source node on the backup link, and a second timer is started.
一些实施例中,所述收发机21还用于在所述备用链路上接收源端节点发送的带宽调整确认消息,停止发送所述带宽调整响应消息,解除所述第二定时器;在所述备用链路上持续向所述源端节点发送带宽调整确认响应消息;在监测不到所述带宽调整确认消息后,停止发送所述带宽调整确认响应消息。In some embodiments, the transceiver 21 is also 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 cancel the second timer; Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link; after the bandwidth adjustment confirmation message cannot be detected, stop sending the bandwidth adjustment confirmation response messages.
一些实施例中,所述收发机21还用于向所述网管***发送所述备用链路
的带宽变化信息。In some embodiments, the transceiver 21 is also used to send the backup link to the network management system. bandwidth change information.
本公开实施例还提供了一种带宽调整装置,如图5所示,包括存储器31、处理器32及存储在所述存储器31上并可在所述处理器32上运行的计算机程序;所述处理器32执行所述程序时实现如上所述的带宽调整方法。The embodiment of the present disclosure also provides a bandwidth adjustment device, as shown in Figure 5, including a memory 31, a processor 32, and a computer program stored on the memory 31 and executable on the processor 32; When the processor 32 executes the program, the bandwidth adjustment method as described above is implemented.
一些实施例中,带宽调整装置应用于源端节点,所述源端节点通过主用链路和备用链路分别与宿端节点连接,所述处理器32用于接收网管***发送的带宽调整请求;根据所述带宽调整请求对所述备用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。In some embodiments, the bandwidth adjustment device is applied to the source node, which is connected to the sink node through a main link and a backup link respectively, and 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 the preset delay time, adjust the bandwidth of the active link according to the bandwidth adjustment request The bandwidth of the backup link is 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 the bandwidth before adjustment.
一些实施例中,所述处理器32具体用于在所述备用链路上按周期持续向所述宿端节点发送带宽调整请求消息,启动第一定时器;接收所述宿端节点返回的带宽调整响应消息,对所述备用链路的带宽进行调整;所述备用链路的带宽调整完成后,停止在所述备用链路上发送带宽调整请求消息。In some embodiments, the processor 32 is specifically configured to continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, start a first timer, and receive the bandwidth returned by the sink node. Adjust the response message to adjust the bandwidth of the backup link; after the bandwidth adjustment of the backup link is completed, stop sending the bandwidth adjustment request message on the backup link.
一些实施例中,所述处理器32还用于在所述备用链路上按周期持续向所述宿端节点发送带宽调整确认消息;接收所述宿端节点返回的带宽调整确认响应消息,停止在所述备用链路上发送带宽调整确认消息,解除所述第一定时器;向所述网管***发送带宽调整完成确认消息。In some embodiments, the processor 32 is further configured to continuously send bandwidth adjustment confirmation messages to the sink node on a periodic basis on the backup link; receive the bandwidth adjustment confirmation response message returned by the sink node, and stop. Send a bandwidth adjustment confirmation message on the backup link to cancel the first timer; send a bandwidth adjustment completion confirmation message to the network management system.
一些实施例中,所述处理器32还用于向所述网管***发送所述备用链路的带宽变化信息。In some embodiments, the processor 32 is also configured to send bandwidth change information of the backup link to the network management system.
一些实施例中,带宽调整装置应用于宿端节点,所述宿端节点通过主用链路和备用链路分别与源端节点连接,所述处理器32用于接收所述源端节点发送的带宽调整请求消息;根据所述带宽调整请求消息对所述备用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。In some embodiments, the bandwidth adjustment device is applied to a sink node, which is connected to a source node through a primary link and a backup link respectively, and the processor 32 is configured to receive the bandwidth sent by the source node. Bandwidth adjustment request message; 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 the preset delay time, adjust the bandwidth adjustment of the backup link according to the bandwidth adjustment request The bandwidth of the main link is 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 the bandwidth before adjustment.
一些实施例中,所述处理器32具体用于在所述备用链路上接收源端节点发送的带宽调整请求消息;根据所述带宽调整请求消息对所述备用链路的带
宽进行调整;在所述备用链路上持续向所述源端节点发送带宽调整响应消息,并启动第二定时器。In some embodiments, the processor 32 is specifically configured to receive a bandwidth adjustment request message sent by the source end node on the backup link; and adjust the bandwidth of the backup link according to the bandwidth adjustment request message. adjust the width; continue to send bandwidth adjustment response messages to the source node on the backup link, and start the second timer.
一些实施例中,所述处理器32还用于在所述备用链路上接收源端节点发送的带宽调整确认消息,停止发送所述带宽调整响应消息,解除所述第二定时器;在所述备用链路上持续向所述源端节点发送带宽调整确认响应消息;在监测不到所述带宽调整确认消息后,停止发送所述带宽调整确认响应消息。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 cancel the second timer; Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link; after the bandwidth adjustment confirmation message cannot be detected, stop sending the bandwidth adjustment confirmation response messages.
一些实施例中,所述处理器32还用于向所述网管***发送所述备用链路的带宽变化信息。In some embodiments, the processor 32 is also configured to send bandwidth change information of the backup link to the network management system.
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上所述的带宽调整方法中的步骤。Embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the bandwidth adjustment method as described above are implemented.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(Phase-Change Memory,PRAM)、静态随机存取存储器(Static Random-Access Memory,SRAM)、动态随机存取存储器(Dynamic Random Access Memory,DRAM)、其他类型的随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read Only Memory,EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能光盘(Digital Video Disc,DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储待检测终端设备或任何其他非传输介质,可用于存储可以被计算待检测终端设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-volatile, removable and non-removable media that can be implemented by any method or technology for storage of information. Information may be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PRAM), Static Random-Access Memory (Static Random-Access Memory, SRAM), Dynamic Random Access Memory (Dynamic Random Access Memory, DRAM) ), other types of random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read Only Memory, EEPROM), fast Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Video Disc (DVD) or other optical storage, magnetic tape cassette, magnetic tape Disk storage or other magnetic storage of the terminal device to be detected, or any other non-transmission medium, may be used to store information that can be accessed by the computing terminal device to be detected. As defined in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
以上所述是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。
The above are the preferred embodiments of the present disclosure. It should be noted that for those of ordinary skill in the art, several improvements and modifications can be made without departing from the principles described in the present disclosure. These improvements and modifications can also be made. should be regarded as the scope of protection of this disclosure.
Claims (12)
- 一种带宽调整方法,应用于源端节点,所述源端节点通过主用链路和备用链路分别与宿端节点连接,所述方法包括:A bandwidth adjustment method applied to a source node, which is connected to a sink node through a main link and a backup link respectively. The method includes:接收网管***发送的带宽调整请求;Receive the 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 the preset delay time, the bandwidth of the active link is adjusted according to the bandwidth adjustment request; if within the preset delay time, the bandwidth adjustment of the backup link is completed. If the bandwidth adjustment of the link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
- 根据权利要求1所述的带宽调整方法,其中,根据所述带宽调整请求对所述备用链路的带宽进行调整,包括:The bandwidth adjustment method according to claim 1, wherein adjusting the bandwidth of the backup link according to the bandwidth adjustment request includes:在所述备用链路上按周期持续向所述宿端节点发送带宽调整请求消息,启动第一定时器;Continuously send bandwidth adjustment request messages to the sink node on the backup link periodically, and start the first timer;接收所述宿端节点返回的带宽调整响应消息,对所述备用链路的带宽进行调整;Receive the bandwidth adjustment response message returned by the sink 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.
- 根据权利要求2所述的带宽调整方法,其中,停止在所述备用链路上发送带宽调整请求消息之后,所述方法还包括:The bandwidth adjustment method according to claim 2, wherein after stopping sending bandwidth adjustment request messages on the backup link, the method further includes:在所述备用链路上按周期持续向所述宿端节点发送带宽调整确认消息;Continuously send bandwidth adjustment confirmation messages to the sink node on the backup link periodically;接收所述宿端节点返回的带宽调整确认响应消息,停止在所述备用链路上发送带宽调整确认消息,解除所述第一定时器;Receive the bandwidth adjustment confirmation response message returned by the sink node, stop sending the bandwidth adjustment confirmation message on the backup link, and cancel the first timer;向所述网管***发送带宽调整完成确认消息。Send a bandwidth adjustment completion confirmation message to the network management system.
- 根据权利要求3所述的带宽调整方法,其中,向所述网管***发送带宽调整完成确认消息之后,所述方法还包括:The bandwidth adjustment method according to claim 3, wherein after sending a bandwidth adjustment completion confirmation message to the network management system, the method further includes:向所述网管***发送所述备用链路的带宽变化信息。Send bandwidth change information of the backup link to the network management system.
- 一种带宽调整方法,应用于宿端节点,所述宿端节点通过主用链路和备用链路分别与源端节点连接,所述方法包括:A bandwidth adjustment method applied to a sink node, which is connected to a source node through a primary link and a backup link respectively. The method includes:接收所述源端节点发送的带宽调整请求消息; Receive the 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 the preset delay time, the bandwidth of the active link is adjusted according to the bandwidth adjustment request; if within the preset delay time, the bandwidth adjustment of the backup link is completed. If the bandwidth adjustment of the link is not completed, the bandwidth of the backup link is rolled back to the bandwidth before adjustment.
- 根据权利要求5所述的带宽调整方法,其中,接收所述源端节点发送的带宽调整请求消息,根据所述带宽调整请求消息对所述备用链路的带宽进行调整,包括:The bandwidth adjustment method according to claim 5, wherein 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 the 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;在所述备用链路上持续向所述源端节点发送带宽调整响应消息,并启动第二定时器。Continue to send bandwidth adjustment response messages to the source node on the backup link, and start a second timer.
- 根据权利要求6所述的带宽调整方法,其中,启动第二定时器之后,所述方法还包括:The bandwidth adjustment method according to claim 6, wherein after starting the second timer, the method further includes:在所述备用链路上接收源端节点发送的带宽调整确认消息,停止发送所述带宽调整响应消息,解除所述第二定时器;Receive the bandwidth adjustment confirmation message sent by the source node on the backup link, stop sending the bandwidth adjustment response message, and cancel the second timer;在所述备用链路上持续向所述源端节点发送带宽调整确认响应消息;Continue to send bandwidth adjustment confirmation response messages to the source node on the backup link;在监测不到所述带宽调整确认消息后,停止发送所述带宽调整确认响应消息。After the bandwidth adjustment confirmation message cannot be detected, the sending of the bandwidth adjustment confirmation response message is stopped.
- 根据权利要求7所述的带宽调整方法,其中,停止发送所述带宽调整确认响应消息之后,所述方法还包括:The bandwidth adjustment method according to claim 7, wherein after stopping sending the bandwidth adjustment confirmation response message, the method further includes:向网管***发送所述备用链路的带宽变化信息。Send the bandwidth change information of the backup link to the network management system.
- 一种带宽调整装置,应用于源端节点,所述源端节点通过主用链路和备用链路分别与宿端节点连接,所述装置包括收发机和处理器,其中,A bandwidth adjustment device applied to a source node, which is connected to a sink node through a primary link and a backup link respectively. The device includes a transceiver and a processor, wherein,所述收发机用于接收网管***发送的带宽调整请求;The transceiver is used to receive a bandwidth adjustment request sent by the network management system;所述处理器用于根据所述带宽调整请求对所述备用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。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 the preset delay time, adjust the bandwidth of the backup link according to the bandwidth adjustment request. The bandwidth of the active link is 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 the bandwidth before adjustment.
- 一种带宽调整装置,应用于宿端节点,所述宿端节点通过主用链路 和备用链路分别与源端节点连接,所述装置包括收发机和处理器,其中,A bandwidth adjustment device is applied to a sink node, and the sink node passes an active link and backup links are respectively connected to the source node, and the device includes a transceiver and a processor, wherein,所述收发机用于接收所述源端节点发送的带宽调整请求消息;The transceiver is configured to receive a bandwidth adjustment request message sent by the source node;所述处理器用于根据所述带宽调整请求消息对所述备用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整完成,根据所述带宽调整请求对所述主用链路的带宽进行调整;若在预设延迟时间内,对所述备用链路的带宽调整未完成,将所述备用链路的带宽回退至调整前的带宽。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 the preset delay time, adjust the bandwidth of the backup link according to the bandwidth adjustment request. The bandwidth of the main link is 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 the bandwidth before adjustment.
- 一种带宽调整装置,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序;其中,所述处理器执行所述程序时实现如权利要求1-8中任一项所述的带宽调整方法。A bandwidth adjustment device, including a memory, a processor, and a computer program stored in the memory and executable on the processor; wherein when the processor executes the program, the processor implements claims 1-8 The bandwidth adjustment method described in any one of the above.
- 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1-8中任一项所述的带宽调整方法中的步骤。 A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the steps in the bandwidth adjustment method according to any one of claims 1-8 are implemented.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210337131.3 | 2022-03-31 | ||
CN202210337131.3A CN116938722A (en) | 2022-03-31 | 2022-03-31 | Bandwidth adjustment method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023185977A1 true WO2023185977A1 (en) | 2023-10-05 |
Family
ID=88199427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/084953 WO2023185977A1 (en) | 2022-03-31 | 2023-03-30 | Bandwidth adjustment method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116938722A (en) |
WO (1) | WO2023185977A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468408A (en) * | 2013-09-22 | 2015-03-25 | 中国电信股份有限公司 | Method for adjusting dynamically service bandwidth and control center server |
WO2018086552A1 (en) * | 2016-11-11 | 2018-05-17 | 中兴通讯股份有限公司 | Method and device for adjusting planned bandwidth |
CN112312483A (en) * | 2019-08-01 | 2021-02-02 | 中兴通讯股份有限公司 | Bandwidth increasing and reducing method and device, storage medium and electronic device |
CN113453097A (en) * | 2021-06-23 | 2021-09-28 | 烽火通信科技股份有限公司 | Service recovery method, device, equipment and readable storage medium |
CN114173383A (en) * | 2020-09-11 | 2022-03-11 | ***通信有限公司研究院 | Channel bandwidth adjusting method, device and node |
-
2022
- 2022-03-31 CN CN202210337131.3A patent/CN116938722A/en active Pending
-
2023
- 2023-03-30 WO PCT/CN2023/084953 patent/WO2023185977A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468408A (en) * | 2013-09-22 | 2015-03-25 | 中国电信股份有限公司 | Method for adjusting dynamically service bandwidth and control center server |
WO2018086552A1 (en) * | 2016-11-11 | 2018-05-17 | 中兴通讯股份有限公司 | Method and device for adjusting planned bandwidth |
CN112312483A (en) * | 2019-08-01 | 2021-02-02 | 中兴通讯股份有限公司 | Bandwidth increasing and reducing method and device, storage medium and electronic device |
CN114173383A (en) * | 2020-09-11 | 2022-03-11 | ***通信有限公司研究院 | Channel bandwidth adjusting method, device and node |
CN113453097A (en) * | 2021-06-23 | 2021-09-28 | 烽火通信科技股份有限公司 | Service recovery method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116938722A (en) | 2023-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5790770A (en) | Method and apparatus for reducing information loss in a communications network | |
CA2817178C (en) | Lossless bandwidth adjustment method, device and system | |
US9866497B2 (en) | Lossless adjustment method of ODUflex channel bandwidth and ODUflex channel | |
US7765307B1 (en) | Bulk network transmissions using multiple connections primed to optimize transfer parameters | |
US7477594B2 (en) | Method for restoring a virtual path in an optical network using 1:N protection | |
US20070211623A1 (en) | Failure recovery method, network device, and program | |
EP2878105A1 (en) | System and method using rsvp hello suppression for graceful restart capable neighbors | |
JP2004533142A (en) | Reuse of bandwidth reservation in protection and restoration techniques for dynamically allocated rings | |
US10911295B2 (en) | Server apparatus, cluster system, cluster control method and program | |
EP3900282B1 (en) | Method and apparatus for packet delay management in ecpri network | |
US20230319445A1 (en) | Bandwidth adjustment method, apparatus and system, electronic device, and readable storage medium | |
WO2023185977A1 (en) | Bandwidth adjustment method and device | |
KR20070091068A (en) | Apparatus and method for processing data in an wireless network | |
WO1997004546A1 (en) | Method and apparatus for reducing information loss in a communications network | |
WO2023236874A1 (en) | Communication link detection method and apparatus | |
EP2874353B1 (en) | Service protection method and system for composite link | |
CN102724599A (en) | Bandwidth adjustment processing method for control platform | |
WO2022135083A1 (en) | Fault processing method, transmission path adjustment method, network element and storage medium | |
WO2022247490A1 (en) | Bandwidth adjustment method and apparatus, storage medium, and electronic device | |
WO2016095351A1 (en) | Bandwidth adjustment method, device, and computer storage medium | |
WO2023221736A1 (en) | Fault processing method in lossless bandwidth adjustment process, and electronic device and medium | |
CN114430362B (en) | Link switching method, FPGA chip, equipment and storage medium | |
WO2021129809A1 (en) | Otn detection, path determining, and data transmission method and apparatus, and readable storage medium | |
US11777842B2 (en) | Method and apparatus for controlling transmission for lossless packet forwarding | |
WO2023005738A1 (en) | Flexible ethernet time slot negotiation method, receive end, transmit end, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23778342 Country of ref document: EP Kind code of ref document: A1 |