Information transmission method and related device
By receiving and utilizing the capability information of network nodes, the controller avoids behavioral capabilities that are not supported by nodes when issuing segment lists, solves the problem of forwarding path failure in segment routing protocols, and improves the reliability and efficiency of network transmission.
Patent Information
- Application Number
- PCT/CN2023/136634
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-22
- Filing Date
- 2023-12-06
- Publication Date
- 2024-08-29
AI Technical Summary
In a segment routing protocol, when the controller delivers a segment list to a network node, if the node does not support certain behavioral capabilities, the forwarding path may fail, affecting network transmission efficiency and reliability.
The controller receives the capability information reported by the node and delivers a segment list to the node based on the supported behavioral capabilities to ensure that the segment list does not contain behavioral capabilities that the node does not support, thereby avoiding forwarding path failure. In the specific implementation, the behavioral capabilities supported by nodes include compression, encapsulation and adhesion capabilities. Capability information is transmitted through the TLV structure in the preset communication protocol. The controller and nodes communicate based on different protocols to improve the implementability of the solution.
By determining the behavioral capabilities supported by the node, the controller issues an appropriate segment list to ensure that the forwarding path is effective, improving the reliability and efficiency of network transmission and reducing the consumption of network resources.
Smart Images

Figure CN2023136634_29082024_PF_FP_ABST
Abstract
Description
Information transmission method and related equipment
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on February 22, 2023, with application number CN202310151751.2 and invention name “A method for information transmission and related equipment”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of communications, and in particular to an information transmission method and related equipment. Background Art
[0003] Segment routing (SR) is a protocol designed based on the source routing concept to forward data packets on the network.
[0004] SR divides network paths into segments and assigns segment identifiers (SIDs) to these segments and network nodes. By arranging the SIDs in an ordered manner to form a segment list, a forwarding path is generated, instructing packets to follow the specified forwarding path through network nodes. The SID also carries behavior attributes that instruct network nodes to perform corresponding actions, requiring the network nodes to be capable of supporting the actions.
[0005] However, different network nodes may support different capabilities. If a network node does not support a certain capability, and the SID issued by the controller indicates that the network node must support the capability, the forwarding path will be blocked.
[0006] Summary of the Invention
[0007] The present invention provides an information transmission method and related devices for preventing forwarding path failure when a controller sends a segment list to a network node. The present invention also provides a corresponding controller, a network node, and a computer-readable storage medium.
[0008] The first aspect of the present application provides an information transmission method, which includes: a controller receives capability information reported by a first node, the capability information includes behavioral capabilities supported by the first node; the controller sends a first segment list to the first node based on the capability information, the first segment list includes one or more first segment identifiers.
[0009] In this application, the controller and the network node are used as examples to illustrate the method, but this application does not limit the execution of the interactive diagram. For example, the controller can also be a chip, chip system, or processor that supports the controller implementation method, or a logical node, logic module, or software that can implement all or part of the controller function; the network node can also be a chip, chip system, or processor that supports the network node implementation method, or a logical node, logic module, or software that can implement all or part of the network node function.
[0010] This application uses the example of optimizing network traffic using segment routing (SR) or segment routing policy (SR Policy) as an example. SR Policy divides the network path into segments and assigns segment IDs (SIDs) to these segments and network nodes (referred to as nodes). By arranging the SIDs in an orderly manner to form a segment list, a forwarding path (also known as a candidate path) can be obtained, indicating that the message follows the specified forwarding path to be transmitted in the network node.
[0011] In this application, the network can be a routing network, which includes a controller and multiple network nodes. The controller is an independent controller, which can be a network control engine (NCE) or a computer device. The network node can be regarded as a forwarding device, which can be a router or a switch.
[0012] SR Internet Protocol version 6 in this application refers to segment routing over IPv6 (SRv6). In SRv6, network nodes may support multiple different behavioral capabilities. After receiving capability information containing the behavioral capabilities supported by the first node, the controller will subsequently send a first segment list to the first node based on the capability information, where the first segment list includes one or more first segment identifiers.
[0013] In the first aspect, the controller receives the behavioral capabilities supported by the first node reported by the first node, and sends a first segment list to the first node based on the supported behavioral capabilities, wherein the first segment list includes one or more first segment identifiers, that is, before sending the segment list to the node, the controller will first determine the behavioral capabilities supported by the node. The controller can send the first segment list based on the behavioral capabilities supported by the node and actual needs to ensure that the forwarding path will not fail.
[0014] In a possible implementation manner of the first aspect, the behavior capabilities required by the behavior attributes identified by the one or more first segments do not include behavior capabilities that are not supported by the first node.
[0015] In this possible implementation, before sending a segment list to a node, the controller first determines the behavioral capabilities supported by the node and the behavioral capabilities required by each segment identifier in the segment list. The segment list is only sent when the node has the behavioral capabilities required by each segment identifier, thereby ensuring that the forwarding path will not fail and improving the feasibility of the solution.
[0016] In a possible implementation manner of the first aspect, the behavior capability supported by the first node includes at least one of a compression capability, an encapsulation capability, and a bonding capability.
[0017] In this possible implementation, the first node supports multiple types of behavioral capabilities, and the first node can report to the controller the specific behavioral capabilities it has or does not have, thereby improving the feasibility of the solution.
[0018] In a possible implementation of the first aspect, the controller and the first node communicate based on a preset communication protocol, and the preset communication protocol includes any one of the Intermediate System to Intermediate System ISIS protocol, the Open Shortest Path First version 3 OSPFv3 protocol, the BGP Link State BGP-LS protocol, or the Path Computation Element Communication PCEP protocol.
[0019] In this possible implementation, the controller and the first node can communicate based on a variety of different communication protocols. When communicating based on different communication protocols, the corresponding capability information that needs to be reported can also be adjusted accordingly, thereby improving the feasibility of the solution.
[0020] In a possible implementation manner of the first aspect, the capability information is included in a newly added structured data TLV, sub-TLV, or sub-sub-TLV under the preset communication protocol.
[0021] In this possible implementation, according to the different communication protocols used by the controller and the first node, the capability information can be included in the newly added structured data TLV, sub-TLV or sub-sub-TLV under the preset communication protocol, thereby improving the feasibility of the solution.
[0022] In a possible implementation of the first aspect, the capability information also includes behavioral capabilities supported by the second node, and the behavioral capabilities supported by the second node are sent by the second node to the first node. The method also includes: the controller sends a second segment list to the second node based on the capability information, and the second segment list includes one or more second segment identifiers. The behavioral capabilities required by the behavioral attributes of the one or more second segment identifiers do not include behavioral capabilities that are not supported by the second node.
[0023] In this possible implementation, under certain communication protocols, the first node can also receive the capability information supported by the remote node and report it to the controller. The controller can determine the behavioral capabilities supported by the first node and the second node respectively based on the capability information, and send down different segment lists in a targeted manner, thereby avoiding multiple nodes communicating with the controller multiple times and saving network resources.
[0024] The second aspect of the present application provides an information transmission method, which includes: a first node sends capability information to a controller, the capability information includes behavioral capabilities supported by the first node; the first node receives a first segment list sent by the controller, the first segment list includes one or more first segment identifiers.
[0025] In a possible implementation manner of the second aspect, the behavior capabilities required by the behavior attributes identified by the one or more first segments do not include behavior capabilities that are not supported by the first node.
[0026] In a possible implementation manner of the second aspect, the behavior capability supported by the first node includes at least one of a compression capability, an encapsulation capability, and a bonding capability.
[0027] In a possible implementation of the second aspect, the controller and the first node communicate based on a preset communication protocol, and the preset communication protocol includes any one of the Intermediate System to Intermediate System ISIS protocol, the Open Shortest Path First OSPFv3 version 3 protocol, the BGP Link State BGP-LS protocol, or the Path Computation Element Communication PCEP protocol.
[0028] In a possible implementation manner of the second aspect, the capability information is included in a newly added structured data TLV, sub-TLV, or sub-sub-TLV under the preset communication protocol.
[0029] In a possible implementation of the second aspect, it is characterized in that, in the above-mentioned step: before the first node sends the capability information to the controller, the method also includes: the first node receives the behavioral capabilities supported by the second node sent by the second node, so that the controller sends a second segment list to the second node according to the capability information, the capability information also includes the behavioral capabilities supported by the second node, the second segment list includes one or more second segment identifiers, and the behavioral capabilities required by the behavioral attributes of the one or more second segment identifiers do not include behavioral capabilities not supported by the second node.
[0030] The third aspect of the present application provides a controller, including: a receiving unit, used to receive capability information reported by a first node, the capability information including behavioral capabilities supported by the first node; a sending unit, used to send a first segment list to the first node based on the capability information, the first segment list including one or more first segment identifiers.
[0031] The controller of the third aspect of the present application executes the method of the first aspect of the present application or any possible implementation of the first aspect.
[0032] The fourth aspect of the present application provides a network node, including: a sending unit, used to send capability information to a controller, the capability information including the behavioral capabilities supported by the first node; a receiving unit, used to receive a first segment list sent by the controller, the first segment list including one or more first segment identifiers.
[0033] The network node in the fourth aspect of the present application executes the method in the second aspect of the present application or any possible implementation manner of the second aspect.
[0034] In a fifth aspect, the present application provides a controller comprising: a processor, a communication interface and a memory, wherein the memory is used to store program code, and the processor is used to call the program code in the memory so that the controller executes the method in the first aspect or any possible implementation of the first aspect.
[0035] In a sixth aspect of the present application, a network node is provided, comprising: a processor, a communication interface, and a memory, wherein the memory is used to store program code, and the processor is used to call the program code in the memory so that the network node executes the method in the second aspect of the present application or any possible implementation of the second aspect.
[0036] In a seventh aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on a computer, enable the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0037] In an eighth aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on a computer, enable the computer to execute the method in the second aspect or any possible implementation of the second aspect.
[0038] In a ninth aspect, the present application provides a computer program product storing one or more computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor executes a method as described in the first aspect or any possible implementation of the first aspect.
[0039] The tenth aspect of the present application provides a computer program product that stores one or more computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor executes the method as described in the second aspect or any possible implementation of the second aspect.
[0040] In the eleventh aspect of the present application, a chip system is provided, which includes at least one processor and an interface, the interface being used to receive data and / or signals, and the at least one processor being used to support a computer device in implementing the functions involved in the above-mentioned first aspect or any possible implementation of the first aspect. In one possible design, the chip system may also include a memory, which is used to store program instructions and data necessary for the computer device. The chip system may be composed of a chip, or may include a chip and other discrete devices.
[0041] The twelfth aspect of the present application provides a chip system, which includes at least one processor and an interface, the interface is used to receive data and / or signals, and the at least one processor is used to support a computer device to implement the functions involved in the above-mentioned second aspect or any possible implementation of the second aspect. In one possible design, the chip system may also include a memory, which is used to store program instructions and data necessary for the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices.
[0042] The thirteenth aspect of the present application provides a communication system, which includes the controller provided by the third aspect of the present application and the network node provided by the fourth aspect of the present application.
[0043] The fourteenth aspect of the present application provides a communication system, which includes the controller provided by the fifth aspect of the present application and the network node provided by the sixth aspect of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 shows the architecture for issuing SR Policy in the network;
[0045] FIG2 is a schematic diagram of a structure of a network node;
[0046] FIG3 is another schematic diagram of the structure of a network node;
[0047] FIG4 is a schematic diagram of the encapsulation capability of a network node;
[0048] FIG5 is a schematic diagram of the compression capability of a network node;
[0049] FIG6 is a schematic diagram showing the relationship between a segment identifier and a general segment identifier;
[0050] FIG7 is a schematic diagram of a network architecture in which network nodes do not have compression capabilities;
[0051] FIG8 is a schematic diagram of a network architecture in which network nodes do not have encapsulation capabilities;
[0052] FIG9 is a schematic diagram of an embodiment of an information transmission method provided in an embodiment of the present application;
[0053] Figures 10-12 are TLV format diagrams of capability information provided in embodiments of the present application;
[0054] FIG13 is a schematic diagram of another embodiment of the information transmission method provided in an embodiment of the present application;
[0055] FIG14 is a schematic diagram of a network architecture of an information transmission method provided in an embodiment of the present application;
[0056] FIG15 is a schematic diagram of a structure of a controller provided in an embodiment of the present application;
[0057] FIG16 is a schematic diagram of a structure of a network node provided in an embodiment of the present application;
[0058] FIG17 is another schematic diagram of the structure of the controller provided in an embodiment of the present application;
[0059] FIG18 is another schematic diagram of the structure of a network node provided in an embodiment of the present application;
[0060] FIG19 is a schematic structural diagram of a communication system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] The following describes the embodiments of the present application in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present application, rather than all the embodiments. Those skilled in the art will appreciate that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0062] The terms "first," "second," and the like in the specification and claims of this application and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or apparatus.
[0063] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0064] In addition, numerous specific details are provided in the detailed description below to better illustrate the present application. Those skilled in the art will appreciate that the present application can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present application.
[0065] Embodiments of the present application provide an information transmission method and related devices for preventing forwarding path failures when a controller sends a segment list to a network node. Embodiments of the present application also provide corresponding controllers, network nodes, and computer-readable storage media. These are described in detail below.
[0066] The following examples illustrate the application scenarios involved in the embodiments of the present application.
[0067] Refer to Figure 1. When users need to optimize network traffic, they can use segment routing (SR) or a segment routing policy (SR Policy). SR Policy divides network paths into segments and assigns segment identifiers (SIDs) to these segments and network nodes (referred to as nodes). By sequentially arranging the SIDs to form a segment list, a forwarding path (also known as a candidate path) is obtained, instructing packets to follow the specified forwarding path for transmission among network nodes. The network can be a routing network, comprising a controller and multiple network nodes. The controller is an independent controller, specifically a network control engine (NCE) or a computer device. The network node can be considered a forwarding device, specifically a router or switch.
[0068] For example, referring to FIG2 , a network node may include a main control board 210 and an interface board 220, which are connected to each other. The main control board 210 includes a first processor 211 and a first memory 212, which are connected to each other. The interface board 220 includes a second processor 221, a second memory 222, and an interface card 223, which are connected to each other. The second processor 221 is used to call program instructions in the first memory 212 to execute corresponding processing functions, the second processor 221 is used to call program instructions in the second memory 222 to execute the reception and transmission of messages, and the interface card 223 is used to connect to external devices to receive data.
[0069] For example, referring to Figure 3, a network node may include a transceiver 302, a processor 301, a memory 303, and a bus 304. The transceiver 302 is used to receive and send messages, the memory 303 is used to store program instructions, and the processor 301 is used to call the program instructions in the memory 303 to execute corresponding processing functions.
[0070] Referring to Figure 1, the network includes network nodes P1, P2, PE1, PE2, PE3, PE4, CE1, and CE2. The controller collects the entire network topology through PE3, thereby determining a forwarding path. Data from CE2 is then sent to CE1 along the specified forwarding path. SR can be based on Internet Protocol version 4 (IPv4) or Internet Protocol version 6 (IPv6). In this case, SR can be expressed as segment routing over IPv4 (SRv4) or segment routing over IPv6 (SRv6).
[0071] Specifically, an SRv6 Segment is an IPv6 address, often also referred to as an SRv6 SID. An SRv6 SID consists of two parts: a locator and a function. The format is Locator:Function, where the locator occupies the high-order bits of the IPv6 address, and the function occupies the remaining portion. Locators have positioning capabilities and must be unique within the SR domain. After a node is configured with a locator, the system generates a locator segment route and propagates it within the SR domain. Other nodes in the network can locate this node using the locator segment route, and all SRv6 SIDs advertised by this node can also be reached using this locator segment route. Function represents a device instruction, which is pre-set by the device. The function portion instructs the node generating the SRv6 SID to perform the corresponding functional operation. The Function section can also contain an optional parameter segment (Arguments). In this case, the SRv6 SID format becomes Locator:Function:Arguments. The Arguments field occupies the low-order bits of the IPv6 address and can be used to define information such as packet flows and services. In SRv6, network nodes may support various capabilities, such as compression, encapsulation, and adhesion. These are described below.
[0072] 1. Packaging capabilities:
[0073] Segment routing header (SRH) encapsulation can be achieved through the source node (starting node) or end node (ending node) in the network. There are three main methods for encapsulating SRH: insert, encapsulate, and reduce.
[0074] (1) Insert: Specify the SRv6 SID stack encapsulation mode as insert mode, and copy the SID into the SRH header. Specifically, as shown in Figure 4, when node CE1 transmits information to node CE2, the transmitted information is a message, which includes a message header and a payload. The source address (SA) of the IPv6 message header is CE1, and the destination address (DA) is CE2. An SRH carrying label stack (CE2, B:13::1:0, B:12::1:0, B:11::1:0) is inserted after the IPv6 header of the data message, and the destination address of the current IPv6 message header is modified to the first SID (B::11:1:0), that is, segment list [SL]. The new IPv6 message is forwarded by looking up the table, and the forwarding path will indicate node 11, node 12, node 13, and finally reach node CE2. Insert mode will continuously modify the destination address (DA) field of the original IPv6 packet header. When encapsulating the Segment List, the original IPv6 packet DA must be placed in segment list[0]. In Insert mode, the penultimate segment pop of the SRH (PSP) is configured for the SID of segment list[1]. After reaching the node, the instruction operation is executed, the SRH is cleared, and the corresponding operation is performed on the new IPv6 packet header.
[0075] (2) Encap: Specify the SRv6 SID stack encapsulation mode as encaps mode, which will add an IPv6 header (the SID will not be copied to the newly added SRH header). Specifically, as shown in Figure 5, when node CE1 transmits information to node CE2, the source address (SA) of the IPv6 header is CE1, and the destination address (DA) is CE2. Before the IPv6 header of the data message, a new set of IPv6 headers and SRH headers are encapsulated. The source address in the new IPv6 message is set to the current node address, and the destination address is set to the first SID. After configuring other fields, the new IPv6 message is forwarded by table lookup. The content in the message header can be referred to as Insert. Encap mode is to add a new IPv6 message header. The original DA does not need to be encapsulated during encapsulation. At this time, USD is configured for the SID of segment list[0]. When reaching the corresponding last node in the signature stack, the outer IPv6 is decapsulated and the corresponding operation is performed according to the inner IPv6 message header.
[0076] (3) Reduce: Enable the Reduced SRH function. The first SID is not encapsulated in the SRH. This can reduce the length of the SRH without affecting service forwarding. Specifically, the SRH extension header itself occupies a long length, and when the SRv6 source node encapsulates the SRH, it has already encapsulated the first SID to be processed into the destination address field of the IPv6 packet header. Therefore, the first SID in the SRH is no longer meaningful for forwarding. In order to reduce the size of the SRH extension header, the SRv6 source node can use the Reduced SRH mode when encapsulating the SRH, that is, not encapsulating the first SID to be processed. If the SRH itself has only one SID, then according to the standard, the SRH extension header can be omitted.
[0077] 2. Compression Capacity:
[0078] The Segment Routing Header (SRH) extension is a key extension for implementing SRv6. In encapsulation mode, the SRv6 header node encapsulates the outer IPv6 header and the SRH extension header before forwarding the packet. This incurs a certain amount of header overhead, and the length of the SRH extension header increases further when there are many SRv6 SIDs. This may cause the following problems: 1. Decreased payload efficiency: The message header added by SRv6 is a transmission overhead. When the number of SIDs in the SRH is large, the header length increases and the payload ratio decreases, resulting in low transmission efficiency; 2. Decreased hardware forwarding performance: As the number of SIDs increases, the position of the SID in the SRv6 message may exceed the depth of the hardware's single read, causing the hardware to perform a secondary read, resulting in a decrease in forwarding processing performance; 3. The maximum transmission unit (MTU) limits message forwarding. MTU refers to the maximum data packet size that the network can transmit. The size of MTU determines the maximum number of bytes that the sender can send at one time. Because of the increase in the SRv6 message header, the size of the final generated SRv6 message may exceed the MTU limit, causing fragmentation or packet loss in the middle.
[0079] G-SRv6 is an SRv6-compatible SRH compression solution. G-SRv6 not only supports SRH compression, reducing SRv6 header overhead, but also allows for intermixing with traditional SRv6 SIDs within a single SRH, enabling a smooth evolution from a non-compressed to a compressed SRv6 solution. G-SRv6 primarily consists of two parts: SRv6 SRH compression and compatibility with traditional SRv6. SRv6 SRH compression leverages the regularity of the SRv6 SID format to strip redundant information from the segment list in the SRH, carrying only the changing portion. This reduces header overhead and achieves compression. Compatibility with SRv6 is achieved by adding a behavioral attribute (Flavor) to indicate the format of the next SID to achieve the processing of SIDs of different lengths, thereby supporting mixed programming and processing of different types of SIDs. For example, Flavors include PSP, the last segment performs the SRH removal operation (ultimate segment POP of the SRH, USP), the last segment performs the outer IPv6 decapsulation operation (ultimate segment decapsulation, USD), continue compression (COC) and shift (Next), etc.
[0080] SIDs within an SRv6 domain are allocated from a SID address block, so they all have a common prefix (CP). If the SID in the destination address of the IPv6 packet header already carries the common prefix, the SID in the SRH only needs to carry the difference. This difference is then added to the destination address of the IPv6 packet header during an address update, completely restoring the original SID. This difference is called a generalized SID (G-SID) in Generalized SRv6 Network Programming (G-SRv6). Figure 6 shows the relationship between the full SID and the 32-bit G-SID. Arguments or padding are also provided in the SID.
[0081] 3. Adhesion ability
[0082] Binding SIDs provide network scalability, internal network visibility, and service independence. Specifically, Binding SIDs (BSIDs) identify candidate paths, enabling tunnel connections and traffic routing. Packets carrying the BSID corresponding to a candidate path are routed to that candidate path. If SRv6 Policy is considered a network service, then Binding SIDs are the interface for accessing this service. Therefore, the SRv6 Policy design is a subscription-based publishing model. Services subscribe to network services based on their needs, and the network provides the services with the interface for providing connection services.
[0083] BSID traffic diversion is a data plane traffic diversion method used in scenarios where the service head node and the SRv6 Policy head node are different. For example, SRv6 Policy connection services are provided across administrative domains, or SRv6 Policy is used as a sub-path of an end-to-end path.
[0084] However, different network nodes may support different capabilities. If a network node does not support a certain capability, and the SID issued by the controller indicates that the network node must support the capability, the forwarding path will be blocked.
[0085] For example, based on compression capabilities, as shown in Figure 7, there is an SRv6 tunnel from node 0 to node 9, where head node 0 is a device from manufacturer A, and nodes 3 and 5 are devices from manufacturer B. The device from manufacturer B sends a SID containing the word "next". However, the device from manufacturer A does not support "next" intercommunication and cannot perform "next" compression on the 128-bit SID sent by the controller. If the controller does not perceive that head node 0 does not support the "next" compression method, the label stack sent to head node 0 contains nodes 3 and 5, and the flavors of nodes 3 and 5 also have the "next" attribute. Head node 0 cannot perform "next" compression on the label stack, and the SRv6 tunnel path is blocked (down).
[0086] For example, based on encapsulation capabilities, as shown in Figure 8, there is an SRv6 tunnel from 0 to 9, where head node 0 is an older version device without encap capabilities. Node 9 is a newer version device with encap capabilities and supports publishing SIDs with the PSP-USP-USD attribute. If the controller does not detect that head node 0 does not have encap capabilities, the label stack sent to head node 0 includes node 9, whose flavor is psp-usp-usd. The older version head node cannot encap this label stack, and the SRv6 tunnel is down.
[0087] For example, based on the bonding capability, the controller needs to detect which nodes in the network have BSID bonding capabilities in order to issue the BSID. However, current implementations manually specify which nodes the controller should issue the BSID to, or the controller reads the network device's SR Policy and other configurations and then attempts to issue the BSID. Once the node reports its bonding capability, the controller can easily issue the BSID. However, when the network has many nodes and a large number of hops, current implementations pose problems such as high maintenance costs and time-consuming issues.
[0088] The information transmission method provided in the embodiment of the present application is described below in conjunction with the above application scenarios.
[0089] In this application, "sending information to... (e.g., a node) / sending information to..." can be understood as the destination end of the information being the node. This can include sending information to the node directly or indirectly. "Receiving information from... (e.g., a node) / receiving information sent by..." can be understood as the source end of the information being the node, which can include receiving information from the node directly or indirectly. The information may undergo necessary processing between the source end and the destination end of the information transmission, such as format changes, etc., but the destination end can understand the valid information from the source end. Similar expressions in this application can be understood similarly and will not be repeated here.
[0090] It is understood that the schematic diagrams of the methods in this application use controllers and network nodes as examples of the execution entities of the interactive diagrams to illustrate the methods, but this application does not limit the execution entities of the interactive diagrams. For example, the controller in the figure can also be a chip, chip system, or processor that supports the controller implementation method, or a logical node, logic module, or software that can implement all or part of the controller functions; the network node in the figure can also be a chip, chip system, or processor that supports the network node implementation method, or a logical node, logic module, or software that can implement all or part of the network node functions.
[0091] As shown in FIG9 , an embodiment of the information transmission method provided in the embodiment of the present application includes:
[0092] 101. A first node sends capability information to a controller.
[0093] 102. The controller sends a first segment list to the first node according to the capability information.
[0094] This information transmission method can be applied in a network as shown in Figure 1. For example, node PE3 is the first node. The first node will send capability information to the controller, where the capability information includes the behavioral capabilities supported by the first node. After receiving the capability information, the controller will issue the first segment list to the first node based on the capability information when it needs to issue the first segment list to the first node in the future. The first segment list includes one or more first segment identifiers, and the behavioral capabilities required by the behavioral attributes of the one or more first segment identifiers issued by the controller to the first node do not include behavioral capabilities not supported by the first node.
[0095] Among them, the behavioral capabilities supported by the first node include at least one of compression capability, encapsulation capability and adhesion capability. Specifically, the reported behavioral capabilities include but are not limited to G-SID 32bit compression capability, G-SID 16bit compression capability, micro segment identifier (micro SID, uSID) 16bit compression capability, uSID 32bit compression capability, insert, encap or reduce encapsulation capability and Binding SID adhesion capability. The capability information can be included in the newly added structural data (type-length-value, TLV), sub-TLV or sub-sub-TLV under the preset communication protocol, and the controller and the first node can communicate based on the preset communication protocol. The following is a detailed description based on different communication protocols.
[0096] 1. Intermediate System-to-Intermediate System (IS-IS)
[0097] Based on the ISIS protocol, a new type of sub-TLV (sub-sub TLV) can be added under the sub-TLV (sub-TLV) of SRv6Capabilities No. 25 of IS-IS Router Capability No. 242 in the protocol number to carry supported SRv6 compression, encapsulation, Binding SID adhesion and other behavioral capabilities, that is, capability information, so as to publish, parse and flood (synchronize) the supported SRv6 compression, encapsulation, Binding SID adhesion and other behavioral capabilities of the first node within the ISIS level.
[0098] The newly added sub-sub TLVs in the SRv6Capabilities sub-TLV include, but are not limited to, the following sub-sub TLVs: 32-bit compression capability sub-sub TLV, 16-bit compression capability sub-sub TLV, encapsulation capability sub-sub TLV, and Binding SID adhesion capability sub-sub TLV. 32-bit compression means that the compressed SID length is fixed to 32 bits, and 16-bit compression means that the compressed SID length is fixed to 16 bits.
[0099] For example, in each sub-sub TLV, bits are used to identify specific capabilities. As shown in Figure 10 , each sub-sub TLV has a length of 2, with 16 bits used to identify the capability. Alternatively, as shown in Figure 11 , each sub-sub TLV has a length of 4, with 32 bits used to identify the capability.
[0100] Furthermore, the 32-bit compression capability includes but is not limited to: 32-bit next compression capability (compressing a group of 128-bit SID label stacks sent by the controller into 32-bit format according to the next format), 32-bit coc compression capability (compressing a group of 128-bit SID label stacks sent by the controller into 32-bit format according to the coc format), whether the format of the 32-bit next compression sent by the controller can be forwarded (if the controller sends a SID label stack compressed into 32-bit format according to the next format, whether the node can forward it normally), and whether the format of the 32-bit coc compression sent by the controller can be forwarded (if the controller sends a SID label stack compressed into 32-bit format according to the coc format, whether the node can forward it normally), etc.
[0101] The 16-bit compression capability includes but is not limited to: 16-bit next compression capability (compressing a group of 128-bit SID label stacks sent by the controller into 16-bit format according to the next format), 16-bit coc compression capability (compressing a group of 128-bit SID label stacks sent by the controller into 16-bit format according to the coc format), whether the format of the 16-bit next compression sent by the controller can be forwarded (whether the node can normally forward the SID label stack sent by the controller with 16-bit compression in the next format), and whether the format of the 16-bit coc compression sent by the controller can be forwarded (whether the node can normally forward the SID label stack sent by the controller with 16-bit compression in the coc format).
[0102] Encapsulation capabilities include but are not limited to: encap, insert, reduce, etc. Binding SID adhesion capabilities include but are not limited to: node adhesion capabilities.
[0103] 2. Open Shortest Path First v3 (OSPFv3)
[0104] Based on the OSPFv3 protocol, a new type of sub-TLV can be added under the SRv6Capabilities TLV of the OSPFv3Router Information LSA (used to describe the status of all interfaces of the node) in the protocol number to carry the supported SRv6 compression, encapsulation, Binding SID adhesion capabilities and other behavioral capabilities, so as to publish, parse and flood the supported SRv6 compression, encapsulation, Binding SID adhesion capabilities and other behavioral capabilities of the first node within the OSPFv3 area.
[0105] The SRv6Capabilities TLV includes, but is not limited to, the following sub-TLVs: 32-bit compression capability sub-TLV, 16-bit compression capability sub-TLV, encapsulation capability sub-TLV, and Binding SID adhesion capability sub-TLV. Each sub-TLV uses bits to identify specific capabilities.
[0106] For example, as shown in Figure 12, each sub-TLV is 4 bits long and contains 32 bits to identify the behavior capability. For specific examples of 32-bit compression capability, 16-bit compression capability, encapsulation capability, and Binding SID adhesion capability, refer to the corresponding description of the ISIS protocol.
[0107] 3. Border Gateway Protocol-Link State (BGP-LS)
[0108] Based on the BGP-LS protocol, the first node deployed with BGP-LS can report its SRv6 compression, encapsulation, and Binding SID adhesion capabilities to the controller via BGP-LS. Newly added extended top-level TLVs include, but are not limited to, the following top-level TLVs: 32-bit compression capability sub-TLV, 16-bit compression capability sub-TLV, encapsulation capability sub-TLV, and Binding SID adhesion capability sub-TLV.
[0109] For example, referring to Figure 12, each sub-TLV uses bits to identify specific behavioral capabilities. Each sub-TLV is 4 bits long, with 32 bits used to identify the capability. For specific examples of 32-bit compression capability, 16-bit compression capability, encapsulation capability, and Binding SID adhesion capability, refer to the corresponding descriptions in the ISIS protocol.
[0110] 4. Path Computation Element Communication Protocol (PCEP)
[0111] Based on the PCEP protocol, the first node deployed with PCEP can report its supported SRv6 compression, encapsulation, and Binding SID adhesion capabilities to the controller through PCEP. These capabilities will be carried in a sub-TLV added under the PATH-SETUP-TYPE-CAPABILITY TLV (TLV used to indicate support for path establishment capabilities) in the protocol code.
[0112] The newly added extended sub TLVs in PATH-SETUP-TYPE-CAPABILITY TLV 34 include but are not limited to the following sub TLVs: 32-bit compression capability sub TLV, 16-bit compression capability sub TLV, encapsulation capability sub TLV, and Binding SID adhesion capability sub TLV.
[0113] For example, referring to Figure 12, in each sub-TLV, bits are used to identify specific behavioral capabilities. Each sub-TLV has a length of 4, and has 32 bits used to identify the behavioral capability.
[0114] It should be understood that the above-mentioned protocols are merely examples provided in the embodiments of the present application. The actual controller and the first node may also communicate based on other preset protocols, and the embodiments of the present application do not limit this.
[0115] For a first node that advertises its supported SRv6 compression, encapsulation, and Binding SID stickiness capabilities, the controller will issue an SRv6 SID label stack (i.e., an SL) to the first node based on the received information about the first node's supported SRv6 compression, encapsulation, and Binding SID stickiness capabilities. The SIDs in the SRv6 label stack issued by the controller to the first node will not contain SIDs that support SRv6 compression, encapsulation, or Binding SID stickiness capabilities that the first node does not support. Alternatively, the SIDs in the SRv6 label stack issued by the controller to the first node will not include any capabilities required by the SID's behavior attributes, such as SRv6 compression, encapsulation, or Binding SID stickiness capabilities, that the first node does not support. For nodes that do not advertise their supported SRv6 compression, encapsulation, or Binding SID stickiness capabilities, the controller will issue an SR Policy label stack to the node according to the original policy.
[0116] Optionally, the capability information sent by the first node to the controller may further include behavior capabilities not supported by the first node to facilitate the judgment of the controller.
[0117] Optionally, as shown in Figure 13, in a communication scenario based on the above-mentioned IS-IS protocol, OSPFv3 protocol or BGP-LS protocol, the first node can also receive capability information reported from the remote node and send it to the controller together, that is, the capability information sent by the first node also includes the behavioral capabilities supported by the second node. In addition to sending the first segment list to the first node based on the capability information, the controller can also send the second segment list to the second node based on the capability information. The second segment list includes one or more second segment identifiers, and the behavioral capabilities required by the behavioral attributes of the one or more second segment identifiers do not include behavioral capabilities that are not supported by the second node.
[0118] 201. A first node receives, from a second node, behavior capabilities supported by the second node.
[0119] 202. The first node sends capability information to the controller.
[0120] 203. The controller sends a first segment list to the first node according to the capability information.
[0121] 204. The controller sends a second segment list to the second node according to the capability information.
[0122] It should be understood that the execution order of step 203 and step 204 is not limited.
[0123] The information transmission method provided in the embodiment of the present application is described below with reference to an example.
[0124] As shown in Figure 14, in a network node upgrade scenario, each network node floods supported SRv6 compression, encapsulation, and Binding SID adhesion capabilities within the Interior Gateway Protocol (IGP) domain via the IGP protocol. Nodes deployed with BGP-LS report information about their own and the received remote node's supported SRv6 compression, encapsulation, and Binding SID adhesion capabilities to the controller. Based on the received information about the node's supported SRv6 compression, encapsulation, and Binding SID adhesion capabilities, the controller delivers a SID label stack to the node.
[0125] Head node 0 is initially an older version device that does not support the next compression capability or the encap encapsulation capability. Node 0 parses, publishes, and floods the supported capability information within the IGP domain using the ISIS / OSPFv3 extension protocol and reports it to the controller using the BGP-LS extension protocol. The capability information supported by node 0 does not include the next compression capability and the encap encapsulation capability. Therefore, the controller issues an SR Policy label stack to the node based on the capability information. This label stack does not contain a SID with the usp and next behavior attributes.
[0126] Then, the head node 0 is upgraded to a new version of the device, which supports the next compression capability and the encap encapsulation capability. Node 0 will parse, publish, and flood the capability information of supporting the next compression capability and the encap encapsulation capability through the ISIS / OSPFv3 extension protocol in the IGP domain, and report it to the controller through the BGP-LS extension protocol. The controller sends the SR Policy label stack to the node, and the label stack may contain a SID with the usp and next behavior attributes. In an embodiment of the present application, the controller receives the behavior capabilities supported by the first node reported by the first node, and sends the first segment list to the first node based on the supported behavior capabilities, wherein the first segment list includes one or more first segment identifiers, that is, before sending the segment list to the node, the controller will first determine the behavior capabilities supported by the node and the behavior capabilities required by each segment identifier in the segment list. The segment list will be sent only when the node has the behavior capabilities required by each segment identifier, to ensure that the forwarding path will not fail.
[0127] The above describes the information transmission method provided by the embodiment of the present application. The following describes the related equipment provided by the embodiment of the present application in conjunction with the accompanying drawings.
[0128] Referring to FIG. 15 , an embodiment of a controller 1500 in the present application includes:
[0129] The receiving unit 1501 is configured to receive capability information reported by the first node, where the capability information includes behavioral capabilities supported by the first node. The receiving unit 1501 may be configured to execute step 101 or step 202 in the aforementioned method embodiment.
[0130] The sending unit 1502 is configured to send a first segment list to the first node according to the capability information, wherein the first segment list includes one or more first segment identifiers. The sending unit 1502 can be configured to execute step 102 or step 203 in the aforementioned method embodiment.
[0131] Optionally, the behavior capabilities required by the behavior attributes identified by the one or more first segments do not include behavior capabilities that are not supported by the first node.
[0132] Optionally, the behavior capabilities supported by the first node include at least one of compression capability, encapsulation capability, and adhesion capability.
[0133] Optionally, the controller 1500 and the first node communicate based on a preset communication protocol, which includes any one of the Intermediate System to Intermediate System ISIS protocol, the Open Shortest Path First OSPFv3 version 3 protocol, the BGP Link State BGP-LS protocol, or the Path Computation Unit Communication PCEP protocol.
[0134] Optionally, the capability information is included in a newly added structured data TLV, sub-TLV, or sub-sub-TLV under the preset communication protocol.
[0135] Optionally, the capability information also includes behavioral capabilities supported by the second node. The behavioral capabilities supported by the second node are sent by the second node to the first node. Sending unit 1502 is further configured to send a second segment list to the second node based on the capability information. The second segment list includes one or more second segment identifiers, and the behavioral capabilities required by the behavioral attributes of the one or more second segment identifiers do not include behavioral capabilities that are not supported by the second node. Sending unit 1502 may also be configured to execute step 204 in the aforementioned method embodiment.
[0136] The controller 1500 provided in the embodiment of the present application can be understood by referring to the corresponding content of the aforementioned information transmission method embodiment. For example, the controller 1500 is the controller in the aforementioned information transmission method embodiment, and will not be repeated here.
[0137] Referring to FIG. 16 , an embodiment of a network node 1600 in an embodiment of the present application includes:
[0138] The sending unit 1601 is configured to send capability information to the controller, where the capability information includes behavior capabilities supported by the first node. The sending unit 1601 may be configured to execute step 101 or step 202 in the aforementioned method embodiment.
[0139] The receiving unit 1602 is configured to receive a first segment list sent by the controller, the first segment list including one or more first segment identifiers. The receiving unit 1602 can be configured to execute step 102 or step 203 in the aforementioned method embodiment.
[0140] Optionally, the behavior capabilities required by the behavior attributes identified by the one or more first segments do not include behavior capabilities that are not supported by the first node.
[0141] Optionally, the behavior capabilities supported by the first node include at least one of compression capability, encapsulation capability, and adhesion capability.
[0142] Optionally, the controller and the first node communicate based on a preset communication protocol, which includes any one of the Intermediate System to Intermediate System (ISIS) protocol, the Open Shortest Path First (OSPFv3) protocol version 3, the BGP Link State (BGP-LS) protocol, or the Path Computation Element Communication (PCEP) protocol.
[0143] Optionally, the capability information is included in a newly added structured data TLV, sub-TLV, or sub-sub-TLV under the preset communication protocol.
[0144] Optionally, receiving unit 1602 is further configured to receive behavioral capabilities supported by the second node from the second node, so that the controller sends a second segment list to the second node based on the capability information, the capability information also including behavioral capabilities supported by the second node, the second segment list including one or more second segment identifiers, and the behavioral capabilities required by the behavioral attributes of the one or more second segment identifiers do not include behavioral capabilities not supported by the second node. Receiving unit 1602 may also be configured to execute step 201 in the aforementioned method embodiment.
[0145] The network node 1600 provided in the embodiment of the present application can be understood by referring to the corresponding content of the aforementioned information transmission method embodiment. For example, the network node 1600 is the first node or the second node in the aforementioned information transmission method embodiment, and will not be repeated here.
[0146] As shown in the controller of Figure 17, it is a possible logical structure diagram of the controller 1700 provided in an embodiment of the present application. The controller 1700 includes: a processor 1701, a communication interface 1702, a storage system 1703 and a bus 1704. The processor 1701, the communication interface 1702 and the storage system 1703 are interconnected via the bus 1704. In an embodiment of the present application, the processor 1701 is used to control and manage the actions of the controller 1700. For example, the processor 1701 is used to execute the information transmission method performed by the controller described in the above embodiment. The communication interface 1702 is used to support the controller 1700 to communicate. The storage system 1703 is used to store the program code and data of the controller 1700.
[0147] Processor 1701 may be a central processing unit (CPU), a general-purpose processor (GPOR), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device (PLD), a transistor logic device (TLD), a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 1701 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. Bus 1704 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, for example. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG. 17 shows only one thick line, but this does not imply that there is only one bus or only one type of bus.
[0148] Figure 18 shows a possible logical structure diagram of a network node 1800 provided in an embodiment of the present application. Network node 1800 includes a processor 1801, a communication interface 1802, a storage system 1803, and a bus 1804. Processor 1801, communication interface 1802, and storage system 1803 are interconnected via bus 1804. In an embodiment of the present application, processor 1801 is used to control and manage the actions of network node 1800. For example, processor 1801 is used to execute the information transmission method performed by the network node described in the above embodiment. Communication interface 1802 is used to support communication between network node 1800. Storage system 1803 is used to store program code and data of network node 1800.
[0149] The processor 1801 may be a central processing unit (CPU), a general-purpose processor (GPOR), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device (PLD), a transistor logic device (TLD), a hardware component, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor 1801 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The bus 1804 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, for example. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG. 18 shows only one thick line, but this does not imply that there is only one bus or only one type of bus.
[0150] As shown in FIG. 19 , an embodiment of the present application further provides a communication system, which includes a controller 1910 and a network node 1920 .
[0151] The controller 1910 may be a controller as shown in FIG15 or a controller as shown in FIG17 . For example, the controller 1910 includes a processor 1911, a communication interface 1912, a storage system 1913, and a bus 1914. The processor 1911, the communication interface 1912, and the storage system 1913 are interconnected via the bus 1914. In an embodiment of the present application, the processor 1911 is used to control and manage the actions of the controller 1910. For example, the processor 1911 is used to execute the information transmission method performed by the controller described in the above embodiment. The communication interface 1912 is used to support the controller 1910 in communication. The storage system 1913 is used to store the program code and data of the controller 1910.
[0152] Network node 1920 may be a controller as shown in FIG16 or a network node as shown in FIG18 . For example, network node 1920 includes a processor 1921, a communication interface 1922, a storage system 1923, and a bus 1924. Processor 1921, communication interface 1922, and storage system 1923 are interconnected via bus 1924. In an embodiment of the present application, processor 1921 is used to control and manage the actions of network node 1920. For example, processor 1921 is used to execute the information transmission method performed by the controller described in the above embodiment. Communication interface 1922 is used to support communication between network node 1920. Storage system 1923 is used to store program code and data of network node 1920.
[0153] The controller 1910 and the network node 1920 are connected via a network. Specifically, the controller 1910 and the network node 1920 are connected to the network via communication interfaces in the controller 1910 and the network node 1920. The network protocol may be ISIS, OSPFv3, BGP-LS, or PCEP.
[0154] In another embodiment of the present application, a computer-readable storage medium is provided, in which computer-executable instructions are stored. When at least one processor of a device executes the computer-executable instructions, the device executes the information transmission method described in the above embodiment.
[0155] In another embodiment of the present application, a computer program product is also provided, which includes computer execution instructions, which are stored in a computer-readable storage medium; at least one processor of the device can read the computer execution instructions from the computer-readable storage medium, and at least one processor executes the computer execution instructions so that the device executes the information transmission method described in the above embodiment.
[0156] In another embodiment of the present application, a chip system is provided, which includes at least one processor and an interface, the interface being used to receive data and / or signals, and the at least one processor being used to support the implementation of the information transmission method described in the above embodiment. In one possible design, the chip system may also include a memory, which is used to store program instructions and data necessary for the computer device. The chip system may be composed of a chip or may include a chip and other discrete devices.
[0157] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of this application.
[0158] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0159] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0160] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of the solution of this embodiment according to actual needs.
[0161] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0162] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
Claims
1. An information transmission method, characterized in that: include: The controller receives capability information reported by the first node, where the capability information includes behavior capabilities supported by the first node; The controller sends a first segment list to the first node according to the capability information, where the first segment list includes one or more first segment identifiers.
2. The method according to claim 1, characterized in that The behavior capabilities required by the behavior attributes identified by the one or more first segments do not include behavior capabilities that are not supported by the first node.
3. The method according to claim 1 or 2, characterized in that: The behavior capabilities supported by the first node include at least one of compression capability, encapsulation capability and adhesion capability.
4. The method according to any one of claims 1 to 3, characterized in that The controller and the first node communicate based on a preset communication protocol, and the preset communication protocol includes any one of the Intermediate System to Intermediate System ISIS protocol, the Open Shortest Path First OSPFv3 version 3 protocol, the BGP Link State BGP-LS protocol, or the Path Computation Unit Communication PCEP protocol.
5. The method according to claim 4, characterized in that The capability information is included in a newly added structure data TLV, sub-TLV or sub-sub-TLV under the preset communication protocol.
6. The method according to any one of claims 1 to 5, characterized in that The capability information further includes a behavior capability supported by the second node, where the behavior capability supported by the second node is sent by the second node to the first node, and the method further includes: The controller sends a second segment list to the second node according to the capability information, the second segment list including one or more second segment identifiers, and the behavior capabilities required by the behavior attributes of the one or more second segment identifiers do not include behavior capabilities not supported by the second node.
7. An information transmission method, characterized in that: include: The first node sends capability information to the controller, where the capability information includes behavior capabilities supported by the first node; The first node receives a first segment list sent by the controller, where the first segment list includes one or more first segment identifiers.
8. The method according to claim 7, characterized in that The behavior capabilities required by the behavior attributes identified by the one or more first segments do not include behavior capabilities that are not supported by the first node.
9. The method according to claim 7 or 8, characterized in that: The behavior capabilities supported by the first node include at least one of compression capability, encapsulation capability and adhesion capability.
10. The method according to any one of claims 7 to 9, characterized in that: The controller and the first node communicate based on a preset communication protocol, and the preset communication protocol includes any one of the Intermediate System to Intermediate System ISIS protocol, the Open Shortest Path First OSPFv3 version 3 protocol, the BGP Link State BGP-LS protocol, or the Path Computation Unit Communication PCEP protocol.
11. The method according to claim 10, characterized in that The capability information is included in a newly added structure data TLV, sub-TLV or sub-sub-TLV under the preset communication protocol.
12. The method according to any one of claims 7 to 11, characterized in that: Before the first node sends the capability information to the controller, the method further includes: The first node receives the behavior capabilities supported by the second node sent by the second node, so that the controller sends a second segment list to the second node according to the capability information, the capability information also includes the behavior capabilities supported by the second node, the second segment list includes one or more second segment identifiers, and the behavior capabilities required by the behavior attributes of the one or more second segment identifiers do not include behavior capabilities not supported by the second node.
13. A controller, characterized in that it comprises: A receiving unit, configured to receive capability information reported by a first node, wherein the capability information includes behavior capabilities supported by the first node; A sending unit is used to send a first segment list to the first node according to the capability information, where the first segment list includes one or more first segment identifiers.
14. The controller according to claim 13, characterized in that: The behavior capabilities required by the behavior attributes identified by the one or more first segments do not include behavior capabilities that are not supported by the first node.
15. The controller according to claim 13 or 14, characterized in that: The behavior capabilities supported by the first node include at least one of compression capability, encapsulation capability and adhesion capability.
16. The controller according to any one of claims 13 to 15, characterized in that: The controller and the first node communicate based on a preset communication protocol, and the preset communication protocol includes any one of the Intermediate System to Intermediate System ISIS protocol, the Open Shortest Path First OSPFv3 version 3 protocol, the BGP Link State BGP-LS protocol, or the Path Computation Unit Communication PCEP protocol.
17. The controller according to claim 16, characterized in that: The capability information is included in a newly added structure data TLV, sub-TLV or sub-sub-TLV under the preset communication protocol.
18. The controller according to any one of claims 13 to 17, characterized in that: The capability information also includes behavioral capabilities supported by the second node, and the behavioral capabilities supported by the second node are sent by the second node to the first node. The sending unit is also used to send a second segment list to the second node according to the capability information, and the second segment list includes one or more second segment identifiers. The behavioral capabilities required by the behavioral attributes of the one or more second segment identifiers do not include behavioral capabilities that are not supported by the second node.
19. A network node, characterized in that: include: a sending unit, configured to send capability information to the controller, wherein the capability information includes behavior capabilities supported by the first node; A receiving unit is used to receive a first segment list sent by the controller, where the first segment list includes one or more first segment identifiers.
20. The node according to claim 19, characterized in that The behavior capabilities required by the behavior attributes identified by the one or more first segments do not include behavior capabilities that are not supported by the first node.
21. The node according to claim 19 or 20, characterized in that The behavior capabilities supported by the first node include at least one of compression capability, encapsulation capability and adhesion capability.
22. The node according to any one of claims 19 to 21, characterized in that: The controller and the first node communicate based on a preset communication protocol, and the preset communication protocol includes any one of the Intermediate System to Intermediate System ISIS protocol, the Open Shortest Path First OSPFv3 version 3 protocol, the BGP Link State BGP-LS protocol, or the Path Computation Unit Communication PCEP protocol.
23. The node according to claim 22, characterized in that The capability information is included in a newly added structure data TLV, sub-TLV or sub-sub-TLV under the preset communication protocol.
24. The node according to any one of claims 19 to 23, characterized in that: The receiving unit is also used to receive the behavior capabilities supported by the second node sent by the second node, so that the controller sends a second segment list to the second node according to the capability information, the capability information also includes the behavior capabilities supported by the second node, the second segment list includes one or more second segment identifiers, and the behavior capabilities required by the behavior attributes of the one or more second segment identifiers do not include behavior capabilities not supported by the second node.
25. A controller comprising: A processor, a communication interface and a memory, wherein the memory is used to store program codes, and the processor is used to call the program codes in the memory so that the controller executes the method according to any one of claims 1 to 6.
26. A network node, comprising: A processor, a communication interface and a memory, wherein the memory is used to store program code, and the processor is used to call the program code in the memory so that the network node executes the method according to any one of claims 7 to 12.
27. A computer-readable storage medium comprising instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1-6 or 7-12.
Citation Information
Patent Citations
Method for establishing segment routing for ipv6 tunnel
CN110870260A
Information sending and processing method, node, controller and computer readable medium
CN112511429A
Header compression method, device and equipment for cross-domain transmission of SRv6 data message and medium
CN115314562A
Method and device for processing segment identifier
WO2021155759A1
