Segment routing bandwidth reservation method, apparatus and system

CN117041178BActive Publication Date: 2026-11-03CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311067137.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-23
Publication Date
2026-11-03
Estimated Expiration
2043-08-23

AI Technical Summary

Technical Problem

In segmented routing, existing technologies cannot reliably guarantee the quality of SRv6 Policy tunnel networks, leading to packet loss and affecting service stability.

Method used

By receiving the bandwidth reservation instruction in the tunnel status detection message, and using the tunnel status detection message to transmit data packets, a method for handling tunnel status detection messages is implemented. This method instructs each node device in the target message forwarding path to perform message reservation processing, thereby implementing the method for handling tunnel status detection messages and setting bandwidth reservation processing.

Benefits of technology

A method for detecting tunnel status messages was implemented, which solved the problem of setting bandwidth reservation flags in tunnel status detection messages, improved service stability, and alleviated packet loss problems caused by poor tunnel network quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117041178B_ABST
    Figure CN117041178B_ABST
Patent Text Reader

Abstract

The application relates to a segment routing bandwidth reservation method and device, a routing device, a storage medium and a computer program product. The method comprises the following steps: receiving a bandwidth reservation starting instruction; and according to the bandwidth reservation starting instruction, using a tunnel state detection packet to instruct each node device in a target packet forwarding path to perform packet reservation processing. The method can realize bandwidth reservation in segment routing, and can improve service stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a segmented routing bandwidth reservation method, apparatus, system, routing device, storage medium, and computer program product. Background Technology

[0002] Segment routing is a source routing protocol with network programmability. Segment routing based on the IPv6 data plane is SRv6.

[0003] SRv6 Policy (tunneling technology) guides traffic forwarding through a path list encapsulated in the SRH (Segment Routing Header). Due to its advantages such as flexible routing, many high-value services choose SRv6 Policy for transport.

[0004] However, if the existing path becomes congested and cannot meet the business needs, the quality of the SRv6 Policy tunnel network cannot be reliably guaranteed, resulting in packet loss and affecting the stability of the business. Summary of the Invention

[0005] Therefore, it is necessary to provide a segmented routing bandwidth reservation method, apparatus, routing device, computer-readable storage medium, and computer program product that can improve service stability in response to the above-mentioned technical problems.

[0006] Firstly, this application provides a segmented routing bandwidth reservation method, the method comprising:

[0007] Receive bandwidth reservation enable command;

[0008] According to the bandwidth reservation enable instruction, the tunnel status detection message is used to instruct each node device in the target packet forwarding path to perform packet reservation processing.

[0009] In one embodiment, the step of instructing each node device in the target packet forwarding path to perform packet reservation processing based on the bandwidth reservation enable instruction includes:

[0010] The tunnel detection function is activated according to the bandwidth reservation activation command, and a corresponding tunnel status detection message is constructed.

[0011] A bandwidth reservation flag is set in the tunnel status detection message to obtain a bandwidth reservation message;

[0012] A bandwidth reservation identifier is set in the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path, so that each node device in the target message forwarding path can perform message reservation processing when it recognizes that the bandwidth reservation identifier is carried in the tunnel status detection message.

[0013] In one embodiment, the bandwidth reservation enable command includes a bandwidth reservation value, and setting the bandwidth reservation identifier in the tunnel status detection message includes:

[0014] A bandwidth reservation identifier is set in the tunnel status detection message, and the bandwidth reservation value is set in the tunnel status detection message.

[0015] In one embodiment, setting a bandwidth reservation identifier in the tunnel status detection message includes:

[0016] A bandwidth reservation identifier is set in the diagnostic field of the tunnel status detection message, and the bandwidth reservation identifier includes a preset value.

[0017] In one embodiment, setting the bandwidth reservation value in the tunnel status detection message includes:

[0018] In the parameter field of the segment list in the tunnel status detection message, set the bandwidth reservation value.

[0019] In one embodiment, the bandwidth reservation enable instruction includes a tunnel identifier and a service identifier. The step of enabling the tunnel detection function according to the bandwidth reservation enable instruction and constructing a corresponding tunnel status detection message includes:

[0020] The target packet forwarding path is determined based on the tunnel identifier and the service identifier;

[0021] The tunnel detection function is enabled according to the bandwidth reservation enable command, and a tunnel status detection message is constructed based on the target message forwarding path.

[0022] In one embodiment, the tunnel status detection message includes a list of segments corresponding to each node device in the target message forwarding path, excluding the head node device.

[0023] The parameter field in the segment list of the tunnel status detection message, setting the bandwidth reservation value, includes:

[0024] In the tunnel status detection message, the bandwidth reservation value is set in the parameter field of the segment list corresponding to each node.

[0025] In one embodiment, the bandwidth reservation enable instruction includes a bandwidth reservation value corresponding to each of the nodes, and the parameter fields of the segment list corresponding to each of the nodes in the tunnel status detection message are respectively set to the bandwidth reservation values, including:

[0026] Obtain the bandwidth reservation value corresponding to each node from the bandwidth reservation enable instruction;

[0027] For any of the nodes, in the parameter field of the segment list corresponding to the node in the tunnel status detection message, set the bandwidth reservation value corresponding to the node.

[0028] In one embodiment, the step of activating the tunnel detection function according to the bandwidth reservation activation command and constructing a corresponding tunnel status detection message includes:

[0029] The tunnel detection function is activated according to the bandwidth reservation activation command to determine the tunnel status;

[0030] When the tunnel status is normal, the tunnel detection function is restarted, and the corresponding tunnel status detection message is constructed.

[0031] In one embodiment, the method further includes:

[0032] The bandwidth reservation process is performed according to the bandwidth reservation value in the bandwidth reservation enable command.

[0033] Secondly, this application also provides a segmented routing bandwidth reservation method, the method comprising:

[0034] Receive tunnel status detection messages sent by the previous node device;

[0035] Bandwidth reservation is performed based on the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path.

[0036] In one embodiment, the bandwidth reservation process based on the tunnel status detection message includes:

[0037] When the tunnel status detection message carries a bandwidth reservation identifier, bandwidth reservation processing is performed according to the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path.

[0038] In one embodiment, when the tunnel status detection message carries a bandwidth reservation identifier, the bandwidth reservation processing based on the tunnel status detection message includes:

[0039] Parse the diagnostic fields of the message;

[0040] When the value carried in the diagnostic field is a preset value, bandwidth reservation processing is performed according to the tunnel status detection message.

[0041] In one embodiment, the message reservation process based on the tunnel status detection message includes:

[0042] Obtain the target segment list from the tunnel status detection message;

[0043] Parse the parameter fields of the target segment list to obtain the bandwidth reservation value;

[0044] Bandwidth reservation is performed based on the bandwidth reservation value.

[0045] Thirdly, this application also provides a segmented routing bandwidth reservation system, the system comprising a head node device and at least one node device, wherein...

[0046] The head node device is used to receive a bandwidth reservation enable instruction and, according to the bandwidth reservation enable instruction, instruct each node device in the target packet forwarding path to perform packet reservation processing using a tunnel status detection message.

[0047] The node device is configured to perform message reservation processing based on the tunnel status detection message after receiving the tunnel status detection message sent by the previous node device.

[0048] Fourthly, this application also provides a segmented routing bandwidth reservation device, the device comprising:

[0049] The receiving module is used to receive the bandwidth reservation activation command;

[0050] The instruction module is used to instruct each node device in the target packet forwarding path to perform packet reservation processing based on the bandwidth reservation enable instruction and the tunnel status detection message.

[0051] In one embodiment, the indicating module is further configured to:

[0052] The tunnel detection function is activated according to the bandwidth reservation activation command, and a corresponding tunnel status detection message is constructed.

[0053] A bandwidth reservation identifier is set in the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path, so that each node device in the target message forwarding path can perform message reservation processing when it recognizes that the bandwidth reservation identifier is carried in the tunnel status detection message.

[0054] In one embodiment, the bandwidth reservation enable command includes a bandwidth reservation value, and the indication module is further configured to:

[0055] A bandwidth reservation identifier is set in the tunnel status detection message, and the bandwidth reservation value is set in the tunnel status detection message.

[0056] In one embodiment, the indicating module is further configured to:

[0057] A bandwidth reservation identifier is set in the diagnostic field of the tunnel status detection message, and the bandwidth reservation identifier includes a preset value.

[0058] In one embodiment, the indicating module is further configured to:

[0059] In the parameter field of the segment list in the tunnel status detection message, set the bandwidth reservation value.

[0060] In one embodiment, the bandwidth reservation activation instruction includes a tunnel identifier and a service identifier, and the indication module is further configured to:

[0061] The target packet forwarding path is determined based on the tunnel identifier and the service identifier;

[0062] The tunnel detection function is enabled according to the bandwidth reservation enable command, and a tunnel status detection message is constructed based on the target message forwarding path.

[0063] In one embodiment, the tunnel status detection message includes a segment list corresponding to each node device in the target message forwarding path, excluding the head node device, and the indication module is further configured to:

[0064] In the tunnel status detection message, the bandwidth reservation value is set in the parameter field of the segment list corresponding to each node.

[0065] In one embodiment, the bandwidth reservation enable instruction includes a bandwidth reservation value corresponding to each node, and the indication module is further configured to:

[0066] Obtain the bandwidth reservation value corresponding to each node from the bandwidth reservation enable instruction;

[0067] For any of the nodes, in the parameter field of the segment list corresponding to the node in the tunnel status detection message, set the bandwidth reservation value corresponding to the node.

[0068] In one embodiment, the indicating module is further configured to:

[0069] The tunnel detection function is activated according to the bandwidth reservation activation command to determine the tunnel status;

[0070] When the tunnel status is normal, the tunnel detection function is restarted, and the corresponding tunnel status detection message is constructed.

[0071] In one embodiment, the device further includes:

[0072] The reservation module is used to perform bandwidth reservation processing according to the bandwidth reservation value in the bandwidth reservation enable command.

[0073] Fifthly, this application also provides a segmented routing bandwidth reservation device, the device comprising:

[0074] The receiving module is used to receive tunnel status detection messages sent by the previous node device;

[0075] The reservation module is used to perform bandwidth reservation processing based on the tunnel status detection message, and send the tunnel status detection message to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path.

[0076] In one embodiment, the reserved module is further configured to:

[0077] When the tunnel status detection message carries a bandwidth reservation identifier, bandwidth reservation processing is performed according to the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path.

[0078] In one embodiment, the reserved module is further configured to:

[0079] Parse the diagnostic fields of the message;

[0080] When the value carried in the diagnostic field is a preset value, bandwidth reservation processing is performed according to the tunnel status detection message.

[0081] In one embodiment, the reserved module is further configured to:

[0082] Obtain the target segment list from the tunnel status detection message;

[0083] Parse the parameter fields of the target segment list to obtain the bandwidth reservation value;

[0084] Bandwidth reservation is performed based on the bandwidth reservation value.

[0085] Sixthly, this application also provides a routing device. The routing device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement any of the methods described above.

[0086] In a seventh aspect, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements any one of the methods described above.

[0087] Eighthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements any of the methods described above.

[0088] The aforementioned segmented routing bandwidth reservation method, apparatus, routing device, storage medium, and computer program product involve the head node receiving a bandwidth reservation enable command and, based on this command, using tunnel state detection messages to instruct each node device in the target packet forwarding path to perform packet reservation processing. The segmented routing bandwidth reservation method, apparatus, routing device, storage medium, and computer program product provided in this disclosure can utilize existing tunnel state detection messages to instruct each node device in the packet forwarding path to reserve bandwidth for services, mitigating packet loss issues caused by poor tunnel network quality, improving service stability, and achieving bandwidth reservation using existing functions, making implementation simple and resource-saving. Attached Figure Description

[0089] Figure 1 This is a flowchart illustrating a segmented routing bandwidth reservation method in one embodiment;

[0090] Figure 2 This is a schematic diagram of the Diag field in a tunnel status detection message in one embodiment;

[0091] Figure 3 This is a flowchart illustrating the segmented routing bandwidth reservation method in another embodiment;

[0092] Figure 4 This is a block diagram of a segmented routing bandwidth reservation system in one embodiment;

[0093] Figure 5This is a schematic diagram of a segmented routing bandwidth reservation method in another embodiment;

[0094] Figure 6 This is a structural block diagram of a segmented routing bandwidth reservation device in one embodiment;

[0095] Figure 7 This is a structural block diagram of the segmented routing bandwidth reservation device in another embodiment;

[0096] Figure 8 This is an internal structure diagram of a routing device in one embodiment. Detailed Implementation

[0097] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0098] In one embodiment, such as Figure 1 As shown, a segmented routing bandwidth reservation method is provided. This embodiment illustrates the application of this method to a routing device. In this embodiment, the method includes the following steps:

[0099] In step 102, a bandwidth reservation enable command is received.

[0100] In this embodiment of the disclosure, a bandwidth reservation enable command can be sent to the routing device (hereinafter referred to as the routing device) that acts as the head node through an SDN (Software Defined Network) controller or command line. The bandwidth reservation enable command is used to instruct the routing device to enable the bandwidth reservation function.

[0101] In step 104, according to the bandwidth reservation enable instruction, the tunnel status detection message is used to instruct each node device in the target message forwarding path to perform message reservation processing.

[0102] In this embodiment of the disclosure, after receiving the bandwidth reservation enable command, the tunnel status detection message sent by the existing tunnel detection function (exemplarily, the tunnel detection function can be selected as SBFD (Seamless Bidirectional Forwarding Detection)) can be used to instruct each node device in the target packet forwarding path to perform packet reservation processing. For example, the identifier in the tunnel status detection message used to indicate the tunnel status detection function can be modified to an identifier used to indicate bandwidth reservation, so as to instruct the node device receiving the tunnel status detection message to perform bandwidth reservation processing.

[0103] The segmented routing bandwidth reservation method provided in this disclosure involves the head node receiving a bandwidth reservation enable command and, based on this command, using tunnel state detection messages to instruct each node device in the target packet forwarding path to perform packet reservation processing. This segmented routing bandwidth reservation method can utilize existing tunnel state detection messages to instruct each node device in the packet forwarding path to reserve bandwidth for services, mitigating packet loss issues caused by poor tunnel network quality, improving service stability, and simplifying implementation by using existing functionalities, thus saving resources.

[0104] In an exemplary embodiment, step 104, according to the bandwidth reservation enable instruction, instructs each node device in the target packet forwarding path to perform packet reservation processing using a tunnel status detection message, including:

[0105] The tunnel detection function is activated according to the bandwidth reservation activation command, and the corresponding tunnel status detection message is constructed.

[0106] A bandwidth reservation flag is set in the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the end until it is sent to the tail node device in the target message forwarding path, so that each node device in the target message forwarding path can perform message reservation processing when it recognizes that the tunnel status detection message carries the bandwidth reservation flag.

[0107] In this embodiment of the disclosure, after receiving the bandwidth reservation enable command, the tunnel detection function can be enabled in response to the bandwidth reservation enable command (for example, the tunnel detection function can be selected as SBFD (Seamless Bidirectional Forwarding Detection) function). After the tunnel detection function is enabled, a corresponding tunnel status detection message will be constructed. This tunnel status detection message is the message for performing tunnel status detection.

[0108] By modifying the tunnel status detection message obtained from the tunnel detection function, a bandwidth reservation flag is set in the tunnel status detection message. This bandwidth reservation flag is used to change the function of the tunnel status detection message from tunnel status detection to bandwidth reservation function, so as to obtain a tunnel status detection message that realizes the bandwidth reservation function.

[0109] For example, if the tunnel status detection message does not include a bandwidth reservation identifier, the tunnel status detection message is a message used for tunnel status detection; if the tunnel status detection message includes a bandwidth reservation identifier, the tunnel status detection message is a message used for bandwidth reservation.

[0110] After modifying the tunnel status detection message, the head node route sends the tunnel status detection message to the next node device in the target packet forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target packet forwarding path, so that each node device in the target packet forwarding path can perform packet reservation processing when it recognizes that the tunnel status detection message carries a bandwidth reservation identifier.

[0111] In this embodiment of the disclosure, the head node route, as the head node of the target packet forwarding path, after receiving the tunnel status detection message, can send the tunnel status detection message to the next node device of the head node route in the target packet forwarding path. This allows the next node device to continue to pass the tunnel status detection message to the next node device after receiving it, thereby enabling the tunnel status detection message to be passed sequentially from the head node route of the target packet path to the tail node route. All node devices that receive the bandwidth reservation message respond to the reservation identifier in the tunnel status detection message and perform bandwidth reservation processing.

[0112] The segmented routing bandwidth reservation method provided in this disclosure involves the head node receiving a bandwidth reservation enable command and activating tunnel detection functionality accordingly. A corresponding tunnel status detection message is constructed, and after setting a bandwidth reservation identifier in the message, it is sent to the next node in the target packet forwarding path. This process continues sequentially from the next node until the message reaches the tail node in the target packet forwarding path, enabling each node in the path to perform bandwidth reservation based on the tunnel status detection message. This segmented routing bandwidth reservation method can construct a message instructing bandwidth reservation based on the tunnel status detection message, allowing each node in the packet forwarding path to respond to the message and reserve bandwidth for services. This alleviates packet loss issues caused by poor tunnel network quality and improves service stability.

[0113] In one exemplary embodiment, the bandwidth reservation enable command includes a bandwidth reservation value, and the aforementioned setting of the bandwidth reservation identifier in the tunnel status detection message includes:

[0114] Set a bandwidth reservation flag in the tunnel status detection message and set a bandwidth reservation value in the tunnel status detection message.

[0115] In this embodiment of the disclosure, the bandwidth reservation enable command may include a bandwidth reservation value, which is a bandwidth value reserved in advance for services. When modifying the tunnel status detection message, a bandwidth reservation identifier can be set in the tunnel status detection message, and the bandwidth reservation value can be set in the tunnel status detection message at the same time, so that after each node device in the target message forwarding path receives the tunnel status detection message, it can perform bandwidth reservation processing according to the bandwidth reservation value carried in the tunnel status detection message.

[0116] In one exemplary embodiment, setting a bandwidth reservation flag in the tunnel status detection message includes:

[0117] Set a bandwidth reservation flag in the diagnostic field of the tunnel status detection message. The bandwidth reservation flag includes a preset value.

[0118] In this embodiment of the disclosure, refer to the following Figure 2 As shown, a preset value can be set in the Diag field (hereinafter referred to as Diag field) of the tunnel state detection message as a bandwidth reservation identifier. For example, the Diag field values ​​0-8 in the header of the tunnel state detection message (SBFD message) all have clear meanings and uses. Therefore, the bandwidth reservation identifier can be set to 9 to indicate a message used for segmented routing bandwidth guarantee. When the bandwidth reservation identifier is 9, if the Diag field value is not 9, it is a normal SBFD message.

[0119] It should be noted that the value of 9 for the bandwidth reservation identifier is only an example of this embodiment. In fact, this embodiment does not specifically limit the value of the bandwidth reservation identifier. Any value other than 0-8 can be applied to this embodiment, such as 10, 11, etc.

[0120] The segmented routing bandwidth reservation method provided in this embodiment can change the tunnel state detection message to a bandwidth reservation function by setting a preset value in the Diag field of the message header. This allows the tunnel state detection message to be passed sequentially between each node device in the target message forwarding path, thereby realizing bandwidth reservation for each node device.

[0121] In one exemplary embodiment, setting a bandwidth reservation value in the tunnel status detection message includes:

[0122] In the parameter field of the segment list in the tunnel status detection message, set the bandwidth reservation value.

[0123] In this embodiment of the disclosure, the Segment List (a segment list is an ordered list of one or more SIDs, including the Segment ID, or SID for short, used to identify a segment, generally an MPLS (Multi-Protocol Label Switching) label) carried in the SRH of the SBFD message can be used. For example, the lower 18 bits of the Arguments field in the Segment List are used to define the bandwidth that needs to be reserved for nodes along the path, that is, the lower 18 bits are used to set the bandwidth reservation value.

[0124] For example, a new Flag field can be defined in the SRH header carried by the SBFD message. This Flag field is used to mark the reserved bandwidth. For instance, when the last bit of the Flag field is 1, it means that the lower 18 bits of the Segment List field are used to define the bandwidth value that needs to be reserved for the nodes through which the tunnel passes.

[0125] In one exemplary embodiment, the tunnel status detection message includes a list of segments corresponding to each node device in the target packet forwarding path, excluding the head node device.

[0126] In the segment list parameter field of the tunnel status detection message, set the bandwidth reservation value, including:

[0127] In the tunnel status detection message, set the bandwidth reservation value in the parameter field of the segment list corresponding to each node.

[0128] In this embodiment of the disclosure, bandwidth reservation values ​​can be set in the parameter fields of the segment list in the tunnel state detection message. For example, in the parameter fields of the segment list corresponding to each node device in the tunnel state detection message, corresponding bandwidth reservation values ​​can be set for each node device. For instance, if the target packet forwarding path includes R1-R2-R3-R4-R5, then the head node route is R1. R1 can have bandwidth reservation values ​​set for R2, R3, R4, and R5 respectively in the parameter fields of the segment list of each node device, as shown in Table 1 below. The segment list of the tunnel state detection message consists of fields such as Next Header, Hdr Ext Len, Routing Type, Segments Left, Last Entry (index of the last element in the list, starting from zero), Flags, Tag (marks the packet as a packet class or part of a packet), Locator, Function, and Argument. Argument(Segment List[0]) represents the parameter field of R2, and its lower 18 bits can be used to set the bandwidth reservation value of R2. Argument(Segment List[1]) represents the parameter field of R3, and its lower 18 bits can be used to set the bandwidth reservation value of R3. Argument(Segment List[2]) represents the parameter field of R4, and its lower 18 bits can be used to set the bandwidth reservation value of R4. List[3]) represents the parameter field of R5, and its lower 18 bits can be used to set the bandwidth reservation value of R5.

[0129] Table 1

[0130]

[0131] The segmented routing bandwidth reservation method provided in this embodiment can set the bandwidth reservation value of each node device in the parameter field of the segment list of the tunnel state detection message, so that after the tunnel state detection message is passed sequentially between each node device in the target message forwarding path, each node device can reserve bandwidth according to the corresponding bandwidth reservation value.

[0132] In an exemplary embodiment, the bandwidth reservation enable command includes a bandwidth reservation value corresponding to each node. The bandwidth reservation value is set in the parameter field of the segment list corresponding to each node in the tunnel status detection message, including:

[0133] Obtain the bandwidth reservation value for each node from the bandwidth reservation enable command;

[0134] For any given node, set the bandwidth reservation value corresponding to the node in the parameter field of the segment list corresponding to the node in the tunnel status detection message.

[0135] In this embodiment of the disclosure, the bandwidth reservation enable command may carry the bandwidth reservation value corresponding to each node. The bandwidth reservation values ​​corresponding to each node may be the same or different, and this embodiment of the disclosure does not specifically limit this. The bandwidth reservation value corresponding to each node can be obtained from the bandwidth reservation enable command, and the bandwidth reservation value corresponding to each node can be set in the parameter field of the segment list corresponding to each node in the tunnel status detection message.

[0136] The segmented routing bandwidth reservation method provided in this embodiment allows for the specification of bandwidth reservation values ​​for each node during the bandwidth reservation process. This enables the reasonable utilization of device resources, ensuring the stability of high-demand services while minimizing the impact on other services.

[0137] In an exemplary embodiment, the bandwidth reservation enable command includes a tunnel identifier and a service identifier. The aforementioned activation of the tunnel detection function based on the bandwidth reservation enable command, and the construction of the corresponding tunnel status detection message, includes:

[0138] Determine the target message forwarding path based on the tunnel identifier and service identifier;

[0139] The tunnel detection function is enabled according to the bandwidth reservation enable command, and a tunnel status detection message is constructed based on the target packet forwarding path.

[0140] In this embodiment of the disclosure, the bandwidth reservation enable command may include a tunnel identifier and a service identifier. The head node device can determine the corresponding target packet forwarding path based on the tunnel identifier and the service identifier. The target packet forwarding path is the path in the tunnel corresponding to the tunnel identifier used to transmit the relevant service data of the service corresponding to the service identifier. After determining the target packet forwarding path, the tunnel detection function can be enabled in response to the bandwidth reservation enable command. After enabling the tunnel status detection function, a tunnel status detection message is constructed based on the tunnel status detection function to perform tunnel status detection on the target packet forwarding path. The tunnel status detection message is transmitted sequentially from the head node device to the tail node device in the target packet forwarding path.

[0141] In this embodiment of the disclosure, bandwidth reservation can be achieved by using tunnel status detection messages constructed with tunnel detection function. The tunnel status detection messages can be passed sequentially in the target message forwarding path, so that each node device can respond to the tunnel status detection messages to reserve bandwidth.

[0142] In an exemplary embodiment, the above-mentioned activation of the tunnel detection function according to the bandwidth reservation activation command, and the construction of the corresponding tunnel status detection message, includes:

[0143] The tunnel detection function is activated according to the bandwidth reservation activation command to determine the tunnel status;

[0144] When the tunnel status is normal, the tunnel detection function is restarted, and the corresponding tunnel status detection message is constructed.

[0145] In this embodiment, after receiving a bandwidth reservation enable command, the head node device can activate the tunnel detection function to perform tunnel status detection. If the tunnel status is detected to be normal, the tunnel detection function is activated again. The device then constructs and modifies the tunnel status detection message to obtain a tunnel status detection message that implements the bandwidth reservation function. This approach, performing bandwidth reservation after tunnel status detection, avoids consuming the tunnel status detection function and improves the efficiency of bandwidth reservation.

[0146] In one exemplary embodiment, the method further includes:

[0147] The bandwidth reservation process is performed based on the bandwidth reservation value in the bandwidth reservation enable command.

[0148] In this embodiment of the disclosure, after receiving a bandwidth reservation enable command, the head node device can perform bandwidth reservation processing based on the bandwidth reservation value in the bandwidth reservation enable command. This bandwidth reservation processing may include setting a bandwidth reservation value at the port receiving service data corresponding to the service identifier.

[0149] In one embodiment, such as Figure 3 As shown, a segmented routing bandwidth reservation method is provided. This embodiment illustrates the application of this method to a routing device. In this embodiment, the method includes the following steps:

[0150] Step 302: Receive the tunnel status detection message sent by the previous node device;

[0151] Step 304: Perform bandwidth reservation processing based on the tunnel status detection message, and send the tunnel status detection message to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the end until it is sent to the tail node device in the target message forwarding path.

[0152] In this embodiment of the disclosure, the routing device can be an intermediate node or a tail node in the target packet forwarding path. When the tunnel state detection message indicates that bandwidth reservation should be performed, bandwidth reservation can be performed based on the tunnel state detection message, and the tunnel state detection message can continue to be sent to the next node device, so that the next node device repeats the operation of the routing device until the next node device is the tail node device, and the bandwidth reservation message is no longer passed down.

[0153] The segmented routing bandwidth reservation method provided in this embodiment can reserve bandwidth for services by utilizing the existing tunnel state detection message indication message forwarding path node devices, thereby alleviating the problem of packet loss caused by poor tunnel network quality, improving service stability, and making bandwidth reservation simple and resource-saving by using existing functions.

[0154] In one exemplary embodiment, bandwidth reservation processing based on tunnel status detection messages includes:

[0155] When the tunnel status detection message carries a bandwidth reservation identifier, bandwidth reservation is performed according to the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the end until it is sent to the tail node device in the target message forwarding path.

[0156] In this embodiment of the disclosure, after receiving the tunnel status detection message sent by the preceding node device, the routing device can parse the tunnel status detection message. If the parsed tunnel status detection message carries a bandwidth reservation identifier, it can be determined that the message is a tunnel status detection message that implements the bandwidth reservation function. The tunnel status detection message is a message obtained by the head node device in response to the bandwidth reservation enable command to modify the function of the tunnel status detection message, which is used to instruct the routing device to perform bandwidth reservation processing. The specific process can be referred to the relevant description of the foregoing embodiment, and will not be repeated here.

[0157] The routing device can perform bandwidth reservation processing based on the tunnel status detection message and continue to send the tunnel status detection message to the next node device, so that the next node device repeats the operation of the routing device until the next node device becomes the tail node device and no longer continues to pass the bandwidth reservation message down.

[0158] The segmented routing bandwidth reservation method provided in this embodiment receives a bandwidth reservation enable command and enables tunnel detection according to the command. It then constructs a corresponding tunnel status detection message, sets a bandwidth reservation identifier in the message, and sends the message to the next node in the target packet forwarding path. This message is sent sequentially from the next node until it reaches the last node in the path, enabling each node in the forwarding path to perform packet reservation based on the message. This segmented routing bandwidth reservation method can construct a bandwidth reservation message based on the tunnel status detection message, allowing each node in the forwarding path to respond to the message and reserve bandwidth for services. This alleviates packet loss issues caused by poor tunnel network quality and improves service stability.

[0159] In an exemplary embodiment, when the tunnel status detection message carries a bandwidth reservation identifier, bandwidth reservation processing is performed based on the tunnel status detection message, including:

[0160] Parse the diagnostic fields of the message;

[0161] When the value carried in the diagnostic field is a preset value, bandwidth reservation processing is performed based on the tunnel status detection message.

[0162] In this embodiment of the disclosure, the bandwidth reservation identifier can be a preset value carried in the diagnostic field (diag field) of the message (refer to the relevant description in the foregoing embodiment for details, which will not be repeated here). When the preset value is obtained by parsing the diagnostic field of the tunnel status detection message, it can be determined that the tunnel status detection message is a message that implements the bandwidth reservation function.

[0163] In one exemplary embodiment, message reservation processing based on tunnel status detection messages includes:

[0164] Obtain the target segment list from the tunnel status detection message;

[0165] Parse the parameter fields of the target segment list to obtain the bandwidth reservation value;

[0166] Bandwidth reservation is performed based on the bandwidth reservation value.

[0167] In this embodiment of the disclosure, the parameter fields of the segment list corresponding to each node in the tunnel status detection message carry the bandwidth reservation value corresponding to each node. After determining that the bandwidth reservation identifier is carried, the tunnel status detection message can be parsed to obtain the target segment list, which is the segment list corresponding to the routing device in the tunnel status detection message. The target segment list is further parsed to obtain the bandwidth reservation value from the parameter fields of the target segment list, and bandwidth reservation processing is performed based on the bandwidth reservation value.

[0168] The segmented routing bandwidth reservation method provided in this embodiment allows for the specification of bandwidth reservation values ​​for each node during the bandwidth reservation process. This enables the reasonable utilization of device resources, ensuring the stability of high-demand services while minimizing the impact on other services.

[0169] In one embodiment, refer to Figure 4 As shown, a segmented routing bandwidth reservation system 400 is provided. The system includes a head node device 402 and at least one node device 404, wherein...

[0170] Head node device 402 is used to instruct each node device in the target packet forwarding path to perform packet reservation processing according to the bandwidth reservation enable instruction after receiving the bandwidth reservation enable instruction and using the tunnel status detection message.

[0171] Node device 404 is used to perform message reservation processing based on the tunnel status detection message after receiving the tunnel status detection message sent by the previous node device.

[0172] In this embodiment, after receiving a bandwidth reservation enable command, the head node device 402 can enable the tunnel detection function and use the tunnel status detection message sent by the tunnel detection function to instruct each node device to reserve bandwidth, which is then sent to the next node device 404, so that the tunnel status detection message can be passed sequentially among each node device 404. After receiving the tunnel status detection message, the node device 404 can perform bandwidth reservation processing in response to the tunnel status detection message.

[0173] The specific operations performed by the head node device 402 and the node device 404 can be referred to the relevant descriptions in the foregoing embodiments, and will not be repeated here in this disclosure.

[0174] The segmented routing bandwidth reservation system provided in this embodiment can reserve bandwidth based on tunnel status detection messages, so that each node device in the packet forwarding path can respond to the tunnel status detection messages to reserve bandwidth for services, thereby alleviating the problem of packet loss caused by poor tunnel network quality and improving service stability.

[0175] To enable those skilled in the art to better understand the embodiments of this disclosure, the embodiments of this disclosure are described below through specific examples.

[0176] In this embodiment, the protocol reservation value of the Diag field in the SBFD header is defined to mark the segmented routing bandwidth reservation function. The values ​​0-8 of the Diag field in the SBFD header all have clearly defined meanings and uses; therefore, this embodiment uses a value of 9, indicating a message used for segmented routing bandwidth reservation. The last bit of the Flag field in the SRH of the SBFD protocol message is defined to mark the reserved bandwidth. When the last bit of the Flag field is 1, it indicates that the lower 18 bits of the Segment List field are used to define the bandwidth value that needs to be reserved for the nodes through which the tunnel passes.

[0177] Reference Figure 5 As shown, in this embodiment, the routing device may include an acquisition / storage module, a message processing module, and a message sending module. The SBFD function module, the acquisition / storage module, the message processing module, and the message sending module communicate with each other through an internal connection path to transmit internal system signaling. After receiving a bandwidth reservation enable command, the routing device activates the SBFD module. After the SBFD module is activated, it performs Rv6 Policy tunnel detection and sends the SRv6 Policy tunnel detection status to the acquisition / storage module after completing the SRv6 Policy tunnel detection. The acquisition / storage module is mainly used to receive the SRv6 Policy tunnel detection status and the bandwidth reservation enable command to determine whether the system has the conditions for enabling bandwidth reservation. The message processing module processes the SBFD message based on the relevant information of the bandwidth reservation enable command, including operations such as retrieving the protocol reservation value of the Diag field in the SBFD message header, setting the last bit of the Flag field in the SRH header to 1, and processing the lower 18 bits of the Segment List field. The message sending module is used to send tunnel status detection messages customized by the message processing module.

[0178] Once the tunnel status detection message sent by the message sending module reaches the tail node from the head node, an SRv6 Policy tunnel with bandwidth reservation is also deployed.

[0179] Specifically, the head node device is R1. After receiving the bandwidth reservation enable command, R1 enables the SRv6 Policy bandwidth reservation function. The SRv6 Policy path selection is R1-R2-R3-R4-R5. Based on the estimated SRv6 Policy service traffic from R1 to R5, 100M bandwidth needs to be reserved. The bandwidth reservation value can be obtained by the head node device based on the service traffic, or it can be included in the bandwidth reservation enable command.

[0180] After R1 activates the SBFD module, it first performs tunnel status detection on the SRv6 Policy. When the SRv6 Policy status is normal, it sends the SRv6 Policy tunnel detection status and bandwidth reservation enable command to the acquisition / storage module. The SRv6 Policy tunnel detection status indicates that the SRv6 Policy tunnel status is normal, so it is determined that the system has the conditions to enable bandwidth guarantee, and the bandwidth reservation value of 100M is transmitted to the message processing module.

[0181] The message processing module customizes the tunnel status detection message based on the SBFD ordinary message, so that the tunnel status detection message can inform each node along the way of the corresponding reserved bandwidth value. After the message processing module completes the message customization, it sends the tunnel status detection message with the set value to the message sending module through internal communication, and the message sending module sends the tunnel status detection message.

[0182] When the tunnel status detection message arrives at node R2, node R2 detects that the Flags field is set to 1 based on the SBFD message. It then reads the last 18 bits of Segment List 2::A1 to obtain the bandwidth reservation value A1 (100M) and loads 100M as the bandwidth reservation value required by this node. When the bandwidth reservation message is forwarded to R5, R5 also loads the bandwidth reservation value into its own node.

[0183] When the link between nodes R2 and R3 experiences a sudden surge in traffic, causing a sharp increase in bandwidth usage, the SRv6Policy service traffic from R1 to R5 remains unaffected due to bandwidth reserves.

[0184] This disclosure addresses the issue that current SRv6 Policy tunnels cannot reserve bandwidth for nodes along a specified path, leading to increased forwarding latency and even significant packet loss due to sudden congestion at some network nodes. A proactive segmented routing bandwidth guarantee method and apparatus for SRv6 Policy is proposed. This method includes: defining a bandwidth guarantee identifier in the Diag field of the SBFD packet header; if the SBFD packet contains this identifier, it is for bandwidth reservation; and defining a new Flag field in the SRH header carried by the SBFD protocol packet, which determines the lower 18 bits of the Arguments field in the Segment List of the SRH, used to define the bandwidth that needs to be reserved for nodes along the route. The segmented routing bandwidth guarantee apparatus executes the bandwidth guarantee method, decoupling the SBFD conventional tunnel state detection function from the bandwidth guarantee. The method proposed in this disclosure effectively avoids packet loss and increased latency caused by link congestion in service traffic forwarded via SRv6 Policy, and effectively addresses the degradation impact of dynamically changing networks on services.

[0185] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0186] Based on the same inventive concept, this application also provides a segmented routing bandwidth reservation device for implementing the segmented routing bandwidth reservation method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more segmented routing bandwidth reservation device embodiments provided below can be found in the limitations of the segmented routing bandwidth reservation method described above, and will not be repeated here.

[0187] In one embodiment, such as Figure 6 As shown, a segmented routing bandwidth reservation device 600 is provided, comprising: a receiving module 602 and an indicating module 604, wherein,

[0188] Receiver module 602 is used to receive bandwidth reservation enable command;

[0189] The instruction module 604 is used to instruct each node device in the target packet forwarding path to perform packet reservation processing based on the bandwidth reservation enable instruction and the tunnel status detection message.

[0190] The segmented routing bandwidth reservation device provided in this embodiment can reserve bandwidth for services by utilizing the existing node devices in the tunnel state detection message indication message forwarding path, thereby alleviating the problem of packet loss caused by poor tunnel network quality, improving service stability, and realizing bandwidth reservation using existing functions, which is simple to implement and saves resources.

[0191] In one embodiment, the indicating module 604 is further configured to:

[0192] The tunnel detection function is activated according to the bandwidth reservation activation command, and a corresponding tunnel status detection message is constructed.

[0193] A bandwidth reservation identifier is set in the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path, so that each node device in the target message forwarding path can perform message reservation processing when it recognizes that the bandwidth reservation identifier is carried in the tunnel status detection message.

[0194] In one embodiment, the bandwidth reservation enable command includes a bandwidth reservation value, and the indication module 604 is further configured to:

[0195] A bandwidth reservation identifier is set in the tunnel status detection message, and the bandwidth reservation value is set in the tunnel status detection message.

[0196] In one embodiment, the indicating module 604 is further configured to:

[0197] A bandwidth reservation identifier is set in the diagnostic field of the tunnel status detection message, and the bandwidth reservation identifier includes a preset value.

[0198] In one embodiment, the indicating module 604 is further configured to:

[0199] In the parameter field of the segment list in the tunnel status detection message, set the bandwidth reservation value.

[0200] In one embodiment, the bandwidth reservation activation instruction includes a tunnel identifier and a service identifier, and the indication module 604 is further configured to:

[0201] The target packet forwarding path is determined based on the tunnel identifier and the service identifier;

[0202] The tunnel detection function is enabled according to the bandwidth reservation enable command, and a tunnel status detection message is constructed based on the target message forwarding path.

[0203] In one embodiment, the tunnel status detection message includes a segment list corresponding to each node device in the target message forwarding path, excluding the head node device, and the indication module 604 is further configured to:

[0204] In the tunnel status detection message, the bandwidth reservation value is set in the parameter field of the segment list corresponding to each node.

[0205] In one embodiment, the bandwidth reservation enable instruction includes a bandwidth reservation value corresponding to each node, and the indication module 604 is further configured to:

[0206] Obtain the bandwidth reservation value corresponding to each node from the bandwidth reservation enable instruction;

[0207] For any of the nodes, in the parameter field of the segment list corresponding to the node in the tunnel status detection message, set the bandwidth reservation value corresponding to the node.

[0208] In one embodiment, the indicating module 604 is further configured to:

[0209] The tunnel detection function is activated according to the bandwidth reservation activation command to determine the tunnel status;

[0210] When the tunnel status is normal, the tunnel detection function is restarted, and the corresponding tunnel status detection message is constructed.

[0211] In one embodiment, the device further includes:

[0212] The reservation module is used to perform bandwidth reservation processing according to the bandwidth reservation value in the bandwidth reservation enable command.

[0213] In one embodiment, such as Figure 7 As shown, a segmented routing bandwidth reservation device 700 is provided, including: a receiving module 702 and a reservation module 704, wherein,

[0214] The receiving module 702 is used to receive tunnel status detection messages sent by the previous node device;

[0215] The reservation module 704 is used to perform bandwidth reservation processing based on the tunnel status detection message, and send the tunnel status detection message to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path.

[0216] The segmented routing bandwidth reservation device provided in this disclosure can reserve bandwidth for services by utilizing the node devices in the existing tunnel state detection message indication message forwarding path. This alleviates the problem of packet loss caused by poor tunnel network quality, improves service stability, and allows for bandwidth reservation using existing functions, making it simple to implement and resource-saving. In one embodiment, the reservation module 704 is further used for:

[0217] When the tunnel status detection message carries a bandwidth reservation identifier, bandwidth reservation processing is performed according to the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path.

[0218] In one embodiment, the reserved module 704 is further configured to:

[0219] Parse the diagnostic fields of the message;

[0220] When the value carried in the diagnostic field is a preset value, bandwidth reservation processing is performed according to the tunnel status detection message.

[0221] In one embodiment, the reserved module 704 is further configured to:

[0222] Obtain the target segment list from the tunnel status detection message;

[0223] Parse the parameter fields of the target segment list to obtain the bandwidth reservation value;

[0224] Bandwidth reservation is performed based on the bandwidth reservation value.

[0225] Each module in the aforementioned segmented routing bandwidth reservation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0226] In one embodiment, a routing device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8As shown, the routing device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data related to segmented routing bandwidth reservation. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a segmented routing bandwidth reservation method.

[0227] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0228] In one embodiment, a routing device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0229] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0230] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0231] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0232] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0233] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0234] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A segmented routing bandwidth reservation method, characterized in that, The method includes: Receive bandwidth reservation enable command; The tunnel detection function is activated according to the bandwidth reservation activation command, and a corresponding tunnel status detection message is constructed. The tunnel status detection message is used to instruct each node device in the target message forwarding path to perform message reservation processing. Wherein, if the tunnel status detection message does not include the bandwidth reservation identifier, the tunnel status detection message is a message used for tunnel status detection. If the tunnel status detection message includes the bandwidth reservation identifier, the tunnel status detection message is a message used for bandwidth reservation.

2. The method according to claim 1, characterized in that, The step of using tunnel status detection messages to instruct each node device in the target message forwarding path to perform message reservation processing includes: A bandwidth reservation identifier is set in the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path, so that each node device in the target message forwarding path can perform message reservation processing when it recognizes that the bandwidth reservation identifier is carried in the tunnel status detection message.

3. The method according to claim 2, characterized in that, The bandwidth reservation enable command includes a bandwidth reservation value, and the setting of the bandwidth reservation identifier in the tunnel status detection message includes: A bandwidth reservation identifier is set in the tunnel status detection message, and the bandwidth reservation value is set in the tunnel status detection message.

4. The method according to claim 2 or 3, characterized in that, Setting a bandwidth reservation flag in the tunnel status detection message includes: A bandwidth reservation identifier is set in the diagnostic field of the tunnel status detection message, and the bandwidth reservation identifier includes a preset value.

5. The method according to claim 3, characterized in that, Setting the bandwidth reservation value in the tunnel status detection message includes: In the parameter field of the segment list in the tunnel status detection message, set the bandwidth reservation value.

6. The method according to claim 5, characterized in that, The bandwidth reservation enable command includes a tunnel identifier and a service identifier. The step of enabling the tunnel detection function according to the bandwidth reservation enable command and constructing a corresponding tunnel status detection message includes: The target packet forwarding path is determined based on the tunnel identifier and the service identifier; The tunnel detection function is enabled according to the bandwidth reservation enable command, and a tunnel status detection message is constructed based on the target message forwarding path.

7. The method according to claim 6, characterized in that, The tunnel status detection message includes a list of segments corresponding to each node device in the target message forwarding path, excluding the head node device. The parameter field in the segment list of the tunnel status detection message, setting the bandwidth reservation value, includes: In the tunnel status detection message, the bandwidth reservation value is set in the parameter field of the segment list corresponding to each node.

8. The method according to claim 7, characterized in that, The bandwidth reservation enable command includes a bandwidth reservation value corresponding to each node. The parameter fields of the segment list corresponding to each node in the tunnel status detection message are used to set the bandwidth reservation value, including: Obtain the bandwidth reservation value corresponding to each node from the bandwidth reservation enable instruction; For any of the nodes, in the parameter field of the segment list corresponding to the node in the tunnel status detection message, set the bandwidth reservation value corresponding to the node.

9. The method according to claim 2, characterized in that, The step of activating the tunnel detection function according to the bandwidth reservation activation command and constructing the corresponding tunnel status detection message includes: The tunnel detection function is activated according to the bandwidth reservation activation command to determine the tunnel status; When the tunnel status is normal, the tunnel detection function is restarted, and the corresponding tunnel status detection message is constructed.

10. The method according to claim 3, characterized in that, The method further includes: The bandwidth reservation process is performed according to the bandwidth reservation value in the bandwidth reservation enable command.

11. A segmented routing bandwidth reservation method, characterized in that, The method includes: Receive a tunnel status detection message sent by the previous node device, wherein, if the tunnel status detection message does not include a bandwidth reservation identifier, the tunnel status detection message is a message used for tunnel status detection; if the tunnel status detection message includes the bandwidth reservation identifier, the tunnel status detection message is a message used for bandwidth reservation. When the tunnel status detection message carries a bandwidth reservation identifier, bandwidth reservation processing is performed according to the tunnel status detection message, and the tunnel status detection message is sent to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path.

12. The method according to claim 11, characterized in that, When the tunnel status detection message carries a bandwidth reservation identifier, bandwidth reservation processing is performed based on the tunnel status detection message, including: Parse the diagnostic fields of the message; When the value carried in the diagnostic field is a preset value, bandwidth reservation processing is performed according to the tunnel status detection message.

13. The method according to claim 11 or 12, characterized in that, The message reservation process based on the tunnel status detection message includes: Obtain the target segment list from the tunnel status detection message; Parse the parameter fields of the target segment list to obtain the bandwidth reservation value; Bandwidth reservation is performed based on the bandwidth reservation value.

14. A segmented routing bandwidth reservation system, characterized in that, The system includes a head node device and at least one node device, wherein... The head node device is configured to receive a bandwidth reservation enable command, enable the tunnel detection function according to the bandwidth reservation enable command, construct a corresponding tunnel status detection message, and use the tunnel status detection message to instruct each node device in the target message forwarding path to perform message reservation processing. Wherein, if the tunnel status detection message does not include a bandwidth reservation identifier, the tunnel status detection message is a message used for tunnel status detection; if the tunnel status detection message includes the bandwidth reservation identifier, the tunnel status detection message is a message used for bandwidth reservation. The node device is configured to perform packet reservation processing based on the tunnel status detection message when it receives the tunnel status detection message sent by the previous node device and the tunnel status detection message carries a bandwidth reservation identifier.

15. A segmented routing bandwidth reservation device, characterized in that, The device includes: The receiving module is used to receive the bandwidth reservation activation command; The instruction module is used to enable the tunnel detection function according to the bandwidth reservation enable command, construct the corresponding tunnel status detection message, and use the tunnel status detection message to instruct each node device in the target message forwarding path to perform message reservation processing. Wherein, if the tunnel status detection message does not include the bandwidth reservation identifier, the tunnel status detection message is a message used for tunnel status detection; if the tunnel status detection message includes the bandwidth reservation identifier, the tunnel status detection message is a message used for bandwidth reservation.

16. A segmented routing bandwidth reservation device, characterized in that, The device includes: The receiving module is used to receive tunnel status detection messages sent by the previous node device. Wherein, if the tunnel status detection message does not include a bandwidth reservation identifier, the tunnel status detection message is a message used for tunnel status detection. If the tunnel status detection message includes the bandwidth reservation identifier, the tunnel status detection message is a message used for bandwidth reservation. The reservation module is used to perform bandwidth reservation processing according to the tunnel status detection message when the tunnel status detection message carries a bandwidth reservation identifier, and send the tunnel status detection message to the next node device in the target message forwarding path. The tunnel status detection message is sent sequentially from the next node device to the tail node device in the target message forwarding path.

17. A routing device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 13.

18. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 13.

19. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Message transmission method, system and equipment

    CN114915518A