Information transmission method and equipment
By adding new information elements to the protocol used to configure segment routing SR policies, directly reporting and sensing SR policy status changes solves the complexity problems caused by the use of multiple protocols in the existing technology and achieves simplified network configuration and operation and maintenance. .
Patent Information
- Application Number
- CN202310848993.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2024-10-22
AI Technical Summary
In the existing technology, network elements such as routers and sliced packet networks need to use multiple protocols when sensing segment routing (SR) policy status, resulting in high configuration and maintenance complexity and increased complexity in policy status sensing.
By adding new information elements to the protocol used to configure segment routing SR policies for network elements, the information associated with SR policy status changes is directly reported, and the same protocol is used to report and perceive SR policy status changes, avoiding the use of separate protocols. Reporting of status change information.
It reduces the complexity of configuration and maintenance, simplifies network configuration and operation and maintenance, and reduces the complexity of the policy status awareness protocol.
Smart Images

Figure CN118827353A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to information transmission technology in the communication field, and in particular to an information transmission method and device. Background Art
[0002] Network elements such as routers and Slicing Packet Networks (SPNs) can use Segment Routing (SR) technology to specify forwarding paths for traffic. The forwarding path can be represented by an SR policy, which can be calculated by systems such as controllers and network management systems based on network status and traffic forwarding requirements, and then configured on the corresponding network elements through methods such as Border Gateway Protocol (BGP) extensions. After the SR policy is configured on the network element, the system needs to perceive the status of the SR policy and the reasons for the current status, including but not limited to the status and reasons of the SR policy, the status and reasons of the Candidate Path (CP) included in the SR policy, and the status and reasons of the Segment List (SL) included in the CP. The status of the SR policy, CP, and SL includes but is not limited to administrative down, active, backup, down, etc.
[0003] At present, the system generally perceives the status of SR policy through two methods; one is through yang notification reporting, and the other is through Border Gateway Protocol Link-State (BGP LS). However, the solutions in related technologies all need to use other protocols in addition to the SR policy configuration protocol to perceive the SR policy status; in this way, multiple protocols need to be run between the network element and the system, which places high requirements on the network element and the system. In addition, the use of different protocols for policy configuration and policy status perception also requires that the corresponding policies can be matched between the protocols, which increases the complexity of configuration and maintenance, and increases the complexity of the policy status perception protocol. Summary of the invention
[0004] To solve related technical problems, the embodiments of the present application provide an information transmission method and device.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] An information transmission method, applied to a first network element, comprising:
[0007] Information associated with the segment routing SR policy state change is reported to the second network element through the newly added information element in the first protocol; wherein the first protocol is at least used to configure the SR policy for the first network element, and the SR policy is configured by the second network element.
[0008] In the above scheme, the first protocol includes the BGP SR policy protocol, and the information element includes a type-length-value TLV.
[0009] In the above solution, the first protocol includes the Path Computation Element Communication Protocol PCEP, and the information element includes an object and / or TLV.
[0010] In the above solution, the information associated with the SR policy state change includes at least one of the following:
[0011] Relevant information about the change of the SR policy status;
[0012] The SR policy contains information related to the change of the candidate path status;
[0013] The SR policy includes information related to the segment list status change.
[0014] In the above solution, the relevant information of the state change includes at least one of the following:
[0015] a state of change;
[0016] Reasons for change.
[0017] In the above scheme, the method further comprises:
[0018] A change in the state of the SR policy is sensed.
[0019] An information transmission method, applied to a second network element, comprising:
[0020] Receive information associated with a change in SR policy status reported by a first network element through an information element added in a first protocol; wherein the first protocol is at least used to configure an SR policy for the first network element, and the SR policy is configured by the second network element.
[0021] In the above solution, the first protocol includes the BGP SR policy protocol, and the information element includes TLV.
[0022] In the above solution, the first protocol includes the Path Computation Element Communication Protocol PCEP, and the information element includes object and / or TLV.
[0023] In the above solution, the information associated with the SR policy state change includes at least one of the following:
[0024] Relevant information about the change of the SR policy status;
[0025] The SR policy contains information related to the change of the candidate path status;
[0026] The SR policy includes information related to the segment list status change.
[0027] In the above solution, the relevant information of the state change includes at least one of the following:
[0028] a state of change;
[0029] Reasons for change.
[0030] An information transmission device, the device comprising: a processor, a memory and a communication bus;
[0031] The communication bus is used to realize the communication connection between the processor and the memory;
[0032] The processor is used to execute the information transmission program in the memory to implement the steps of the above-mentioned information transmission method.
[0033] The information transmission method and device provided in the embodiments of the present application report information associated with the segment routing SR policy state change to the second network element through the newly added information element in the first protocol. The first protocol is at least used to configure the SR policy for the first network element, and the SR policy is configured by the second network element. In this way, when reporting the information associated with the SR policy state change to the second network element, it can be directly implemented through the newly added information element of the protocol used to configure the SR policy for the first network element, that is, the same protocol as the protocol for configuring the SR policy for the first network element is used to implement the reporting of the information associated with the SR policy state change, without adding a separate protocol to report the information associated with the SR policy state change, thereby reducing the complexity of configuration and maintenance, and reducing the complexity of the policy state awareness protocol. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A schematic diagram of a flow chart of an information transmission method provided in an embodiment of the present application;
[0035] Figure 2 A flowchart of another information transmission method provided in an embodiment of the present application;
[0036] Figure 3 A flowchart of another information transmission method provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of the structure of a first information transmission device provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of the structure of a second information transmission device provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of the structure of a first network element provided in an embodiment of the present application;
[0040] Figure 7 A schematic diagram of the structure of a second network element provided in an embodiment of the present application;
[0041] Figure 8 A schematic diagram of the structure of an information transmission system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0043] It should be understood that the "embodiments of the present application" or "the aforementioned embodiments" mentioned throughout the specification mean that specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, "in the embodiments of the present application" or "in the aforementioned embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application. The above-mentioned sequence numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments.
[0044] Unless otherwise specified, the electronic device performs any step in the embodiments of the present application, and the processor of the electronic device may perform the step. It is also worth noting that the embodiments of the present application do not limit the order in which the electronic device performs the following steps. In addition, the methods used to process data in different embodiments may be the same method or different methods. It should also be noted that any step in the embodiments of the present application can be independently executed by the electronic device, that is, when the electronic device executes any step in the following embodiments, it may not rely on the execution of other steps.
[0045] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0046] The present application embodiment provides an information transmission method, which can be applied to a first network element, referring to Figure 1 As shown, the method comprises the following steps:
[0047] Step 101: Report information associated with a segment routing SR policy state change to a second network element through an information element newly added in the first protocol.
[0048] The first protocol is at least used to configure an SR policy for the first network element, and the SR policy is configured by the second network element.
[0049] In the embodiment of the present application, the first network element may also be referred to as the first network node, the first device, etc. The name of the first network element is not limited in the embodiment of the present application, as long as its function is realized. In actual application, the first network element may be a network edge node, which may be referred to as a PE node, a PE router, a PE device, etc., such as an operator edge node in a backbone network. The second network element may be understood as a manager of a network node. The second network element may also be referred to as a control device, or a management device, or a control system. The embodiment of the present application does not limit this, as long as its function is realized. The functions of the second network element may include configuration delivery, information monitoring, path planning, etc. In a feasible implementation method, the first network element may refer to a network element that uses SR technology to specify a forwarding path (i.e., SR strategy) for traffic; the second network element may refer to a controller, network management system, and other systems that are used to calculate and configure the SR strategy, and need to perceive the status of the SR strategy and the cause of the current status.
[0050] Among them, the first protocol may refer to the SR policy configuration protocol for configuring the SR policy for the first network element; the SR policy may also be called a routing policy, which is not limited in the embodiments of the present application, as long as its function is implemented. Information associated with SR policy state changes may refer to some information that can characterize the SR policy state, that is, some information related to SR policy changes. The newly added information element in the first protocol may refer to the newly added protocol information in the first protocol, and the newly added protocol information is used to carry information associated with segment routing SR policy state changes.
[0051] It should be noted that in the present application, some information related to the change of SR policy status can be directly transmitted through the newly added protocol information in the SR policy configuration protocol, so that the second network element can know some information related to the change of SR policy status through the SR policy configuration protocol, without the need to use other protocols to perceive some information related to the change of SR policy status; furthermore, there is no need to run multiple protocols between the network element and the system, which makes configuration and maintenance simpler and reduces the requirements for the network element and the system; at the same time, policy configuration and policy status perception use the same protocol, so there is no need to require the corresponding policies between the protocols, which reduces the complexity of the policy status perception protocol.
[0052] The information transmission method provided in the embodiment of the present application can directly implement the reporting of information associated with the SR policy state change to the second network element through the newly added information elements of the protocol used to configure the SR policy for the first network element, that is, the same protocol as the protocol for configuring the SR policy for the first network element is used to implement the reporting of information associated with the SR policy state change, without adding a separate protocol to report the information associated with the SR policy state change, thereby simplifying network configuration and network operation and maintenance, and reducing the complexity of the policy state awareness protocol.
[0053] Based on the foregoing embodiment, the present application embodiment provides an information transmission method, which can be applied to the second network element, referring to Figure 2 As shown, the method comprises the following steps:
[0054] Step 201: Receive information associated with a change in an SR policy state reported by a first network element through an information element added in a first protocol.
[0055] The first protocol is at least used to configure an SR policy for the first network element, and the SR policy is configured by the second network element.
[0056] In the embodiment of the present application, the second network element can receive some information related to the SR policy change uploaded by the first network element through the newly added protocol information in the SR policy configuration protocol, that is, the second network element can perceive some information related to the SR policy change through the newly added protocol information in the SR policy configuration protocol. In this way, it is possible to configure the SR policy and perceive the information related to the SR policy change using only one protocol.
[0057] It should be noted that after parsing the newly added protocol information in the SR policy configuration protocol, the second network element can obtain some information related to the SR policy changes, and can update the corresponding status information based on this information; at the same time, it can trigger SR policy re-optimization on demand, and the re-optimized SR policy can be sent to the corresponding network element through the extended SR policy configuration protocol (that is, the SR policy configuration protocol with newly added information elements).
[0058] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0059] The information transmission method provided in the embodiments of the present application can be implemented directly through the newly added information elements of the protocol used to configure the SR policy for the first network element when acquiring the information associated with the SR policy state change from the first network element. That is, the same protocol as the protocol used to configure the SR policy for the first network element is used to acquire the information associated with the SR policy state change, without adding a separate protocol to acquire the information associated with the SR policy state change, thereby reducing the complexity of configuration and maintenance, and reducing the complexity of the policy state awareness protocol.
[0060] Based on the above embodiments, the present application provides an information transmission method. Figure 3 As shown, the method comprises the following steps:
[0061] Step 301: The first network element senses that the state of the SR policy has changed.
[0062] In an embodiment of the present application, the first network element can sense a change in the SR policy state, and after sensing the change in the SR policy state, the first network element can make corresponding settings for the state sub-TLV and report the state sub-TLV to the second network element through an extended SR policy configuration protocol.
[0063] Among them, the first network element can perceive whether the SR policy status, candidate path status or segment list status has changed through the perception module of the first network element through bidirectional forwarding detection (Bidirectional Forwarding Detection, BFD), seamless bidirectional forwarding detection (Seamless Bidirectional Forwarding Detection, SBFD), interior gateway protocol (Interior Gateway Protocol, IGP), etc.; if the SR policy status, candidate path status or segment list status is perceived to have changed, the first network element can make corresponding settings for the SR policy status sub-TLV, candidate path status sub-TLV or segment list status sub-TLV, and then report these status sub-TLVs to the second network element through the extended BGP SR Policy protocol.
[0064] Step 302: The first network element reports information associated with the segment routing SR policy state change to the second network element through the information element newly added in the first protocol.
[0065] The first protocol is at least used to configure an SR policy for the first network element, and the SR policy is configured by the second network element.
[0066] The first protocol is at least used to configure an SR policy for the first network element, and the SR policy is configured by the second network element.
[0067] In other embodiments of the present application, the first protocol includes a Border Gateway Protocol Segment Routing BGP SR Policy Protocol, and the information element includes a type-length-value TLV.
[0068] The first protocol may refer to the BGP SR policy protocol in the SR policy configuration protocol, and the specific BGP SR policy protocol may refer to the Advertising Segment Routing Policies in BGP protocol. In other words, the SR policy configuration between the first network element and the second network element is performed by using the BGP protocol to announce the segment routing policy.
[0069] In an embodiment of the present application, the newly added information element may refer to the type-length-value (Type-Length-Value, TLV) added in the BGP announcement segment routing policy protocol; it should be noted that the TLV may refer to a sub-TLV or a state sub-TLV; that is, the newly added TLV may be directly added to the BGP SR policy protocol at the same level as other information elements, or may be nested in the information element of the BGP SR policy protocol. In a feasible implementation, the newly added information element may include: at least three state sub-TLVs, for example, a policy state sub-TLV (Policystate sub-TLV), a candidate path state sub-TLV (Candidate Path state sub-TLV) and a segment list state sub-TLV (Segment List state sub-TLV), etc.
[0070] In other embodiments of the present application, the first protocol may also include a path computation unit communication protocol PCEP, and the information element may include an object and / or a TLV.
[0071] The second protocol may refer to the Path Computation Element Communication Protocol (PCEP) in the SR policy configuration protocol; the specific PCEP may refer to the PCEP extension to support Segment Routing Policy Candidate Paths in RFC5440 and the IETF draft. In other words, the SR policy configuration between the first network element and the second network element is performed through the PCEP extension to support Segment Routing Policy Candidate Paths.
[0072] In an embodiment of the present application, the newly added information element may refer to an object, or a TLV, or an object and a TLV added in the extended PCE for supporting segment routing policy candidate paths; it should be noted that the TLV in the extended PCEP for supporting segment routing policy candidate paths may refer to a sub-TLV or a status sub-TLV; that is, the newly added TLV may be directly added to the PCEP at the same level as other information elements, or it may be nested in the information element of the PCEP.
[0073] In other embodiments of the present application, the information associated with the SR policy state change includes at least one of the following:
[0074] Information about changes in SR policy status;
[0075] Information related to the candidate path status changes included in the SR policy;
[0076] The SR policy contains information about the status changes of the segment list.
[0077] In other embodiments of the present application, the relevant information of the state change includes at least one of the following:
[0078] Changing state;
[0079] Reasons for change.
[0080] The information related to the SR policy state change may refer to the state of the SR policy change and the reason for the SR policy change; the state of the SR policy change may represent the state of the SR policy. It should be noted that the information related to the SR policy state change may be carried by the policy state sub-TLV in the newly added information element.
[0081] The relevant information of the candidate path state change contained in the SR policy may refer to the state of the candidate path change contained in the SR policy and the reason for the candidate path change contained in the SR policy. It should be noted that the relevant information of the candidate path state change contained in the SR policy may be carried by the candidate path state sub-TLV in the newly added information element.
[0082] The relevant information of the segment list status change contained in the SR policy may refer to the status of the segment list change contained in the SR policy and the reason for the segment list change contained in the SR policy. It should be noted that the relevant information of the segment list change contained in the SR policy may be carried by the segment list status sub-TLV in the newly added information element.
[0083] In other embodiments of the present application, the specific description of the policy status sub-TLV, the candidate path status sub-TLV, and the segment list status sub-TLV may be as follows:
[0084] 1. The structure of the SR policy status sub-TLV can be as follows:
[0085]
[0086] Type: is one byte, used to indicate that this is an SR policy status sub-TLV. The specific value is allocated by the International Standards Organization (IANA) during standardization.
[0087] Length: One byte, used to indicate the length of the SR policy status sub-TLV in bytes, excluding the length of the Type and Length fields themselves.
[0088] Flags: One byte, temporarily reserved for subsequent expansion.
[0089] RESERVED: One byte, temporarily reserved for subsequent expansion.
[0090] State: 4 bytes, used to indicate the specific state of the SR policy, represented by a bitmap. The specific format is as follows:
[0091]
[0092]
[0093] Among them, when the A bit is 1, it means that the SR policy is in an administrative down state, that is, the policy is configured as an unavailable state; when the A bit is 0, it means that the SR policy is in an administrative up state.
[0094] When the D bit is 1, it indicates that the SR policy is in the down state. The specific reason can be carried in the sub-TLV. When the D bit is 0, it indicates that the SR policy is in the up state.
[0095] It should be noted that other bits are reserved so that they can be expanded as needed later. In addition, when the value of the A bit is 1, the value of the D bit can be ignored. In addition, the sub-TLV that the SR policy status sub-TLV optionally carries can be expanded as needed. In the embodiment of the present application, the following sub-TLV can be defined:
[0096] 1) Active Candidate Path sub-TLV, which is used to carry active candidate paths when the SR policy is in the up state. The format is as follows:
[0097]
[0098] Type: is one byte, used to indicate that this is an active candidate path sub-TLV. The specific value is allocated by the International Standards Organization (IANA) during standardization.
[0099] Length: One byte, used to indicate the length of the active candidate path sub-TLV in bytes, excluding the length of the Type and Length fields themselves.
[0100] Flags: One byte, represented by a bitmap. When the S bit is 1, it indicates that the Binding Segment Identifier (BSID) is a 16-byte SRv6 BSID. When the S bit is 0, it indicates that the BSID is a 4-byte Segment Routing Multiple Protocol Label Switching Binding Segment Identifier (SR MPLS BSID).
[0101] When Flags is represented by a bitmap, its specific format can be as follows:
[0102]
[0103] Among them, RESERVED: is one byte, which is temporarily reserved to facilitate subsequent expansion.
[0104] Binding SID: 4 bytes or 16 bytes. The specific length is determined by the value of the S bit in the Flags field. It is used to carry the BSID of the active candidate path of the SR policy.
[0105] 2) Down Reason sub-TLV: When the SR policy is in the down state, it is used to carry the reason for the interruption. The format is as follows:
[0106]
[0107] Type: is one byte, indicating that this is a Down Reason sub-TLV. The specific value is allocated by the International Standards Organization (IANA) during standardization.
[0108] Length: One byte, indicating the length of the Down Reason sub-TLV in bytes, excluding the length of the Type and Length fields themselves.
[0109] Flags: One byte, temporarily reserved for subsequent expansion.
[0110] RESERVED: One byte, temporarily reserved for subsequent expansion.
[0111] Reason: 4 bytes, indicating the specific reason for the SR policy interruption, represented by a bitmap. The specific format is as follows:
[0112]
[0113] Among them, the B bit is 1, which means that the reason for the SR policy interruption is that BFD detects that the policy is unavailable. The B bit is 0, which means that the reason for the SR policy interruption is not detected by BFD.
[0114] The I bit is 1, indicating that the reason for the SR policy interruption is that the policy is detected to be unavailable after the internal gateway protocol IGP convergence (for example, the segment identifier (Segment Identifier, SID) used by the SR policy is unavailable after the IGP convergence). The I bit is 0, indicating that the reason for the SR policy interruption is not detected after the IGP convergence.
[0115] The U bit is 1, indicating that the cause of the SR policy interruption is unknown. If the cause of the SR policy interruption can be determined, this bit is 0.
[0116] It should be noted that other bits are reserved for subsequent expansion as needed. In addition, in actual applications, the values of the B bit, I bit, and U bit can be determined according to specific logic to determine specific information based on the values of the B bit, I bit, and U bit.
[0117] 2. The structure of the candidate path status sub-TLV can be as follows:
[0118]
[0119] Type: is one byte, indicating that this is a candidate path status sub-TLV. The specific value is allocated by the international standards organization IANA during standardization.
[0120] Length: One byte, indicating the length of the candidate path status sub-TLV in bytes, excluding the length of the Type and Length fields themselves.
[0121] Flags: One byte, temporarily reserved for subsequent expansion.
[0122] RESERVED: One byte, temporarily reserved for subsequent expansion.
[0123] State: 4 bytes, indicating the specific state of the candidate path, represented by a bitmap. The specific format can be as follows:
[0124]
[0125] Among them, the A bit is 1, which means that the candidate path is in the administrative down state, that is, the candidate path is configured as unavailable, and the A bit is 0, which means that the candidate path is in the administrative up state.
[0126] If the D bit is 1, it indicates that the candidate path is in the down state. The specific reason can be carried in the sub-TLV. If the D bit is 0, it indicates that the candidate path is in the up state.
[0127] If the S bit is 1, it indicates that the candidate path is selected by the SR policy and is in the active state. If the S bit is 0, it indicates that the candidate path is not selected by the SR policy. The specific reason can be carried in the sub-TLV.
[0128] The B bit is 1, indicating that the candidate path is selected by the SR policy as a backup path and is in the backup state; the B bit is 0, indicating that the candidate path is not selected by the SR policy as a backup path.
[0129] A V bit of 1 indicates that the candidate path has passed the validity evaluation and is in a valid state; a V bit of 0 indicates that the candidate path has not passed the validity evaluation, and the specific reason can be carried in the sub-TLV.
[0130] The I bit is 1, which indicates that the candidate path has not passed the validity evaluation and is in an invalid and packet loss state (corresponding to the "Drop Upon Invalid" behavior); the I bit is 0, which indicates that the candidate path is not in a packet loss state.
[0131] It should be noted that other bits are reserved and will be expanded later as needed. In addition, in actual applications, the values of the A bit, D bit, S bit, B bit, V bit, and I bit can be used to determine how to determine specific information based on the values of the A bit, D bit, S bit, B bit, V bit, and I bit according to specific logic.
[0132] Among them, the sub-TLV that the candidate path status sub-TLV optionally carries can be expanded as needed; in the embodiment of the present application, the following sub-TLVs can be defined:
[0133] 1) Down Reason sub-TLV: When the candidate path is in the down state, it is used to carry the reason for the interruption. The format is as follows:
[0134]
[0135] Type: is one byte, indicating that this is a Down Reason sub-TLV. The specific value is allocated by the International Standards Organization (IANA) during standardization.
[0136] Length: One byte, indicating the length of the Down Reason sub-TLV in bytes, excluding the length of the Type and Length fields.
[0137] Flags: One byte, temporarily reserved for subsequent expansion.
[0138] RESERVED: One byte, temporarily reserved for subsequent expansion.
[0139] Reason: 4 bytes, used to indicate the specific reason for the candidate path interruption, represented by a bitmap. The specific format can be as follows:
[0140]
[0141] The B bit being 1 indicates that the cause of the candidate path interruption is that BFD detects that the candidate path is unavailable, and the B bit being 0 indicates that the cause of the candidate path interruption is not detected by BFD.
[0142] The I bit is 1, indicating that the reason for the candidate path interruption is that the candidate path is detected to be unavailable after IGP convergence (for example, the SID used by the candidate path is unavailable after IGP convergence). The I bit is 0, indicating that the reason for the candidate path interruption is not detected after IGP convergence.
[0143] The U bit is 1, indicating that the cause of the candidate path interruption is unknown. If the cause of the candidate path interruption can be determined, this bit is 0.
[0144] It should be noted that other bits are reserved for subsequent expansion as needed. In addition, in actual applications, the values of the B bit, I bit, and U bit can be used to determine how to determine specific information based on the values of the B bit, I bit, and U bit according to specific logic.
[0145] 2) Inactive Reason sub-TLV: When the candidate path is not selected by the SR policy and is in an inactive state, it is used to carry the inactive reason. The format can be as follows:
[0146]
[0147] Type: is one byte, indicating that this is an Inactive Reason sub-TLV. The specific value is allocated by the International Standards Organization (IANA) during standardization.
[0148] Length: One byte, indicating the length of the Inactive Reason sub-TLV in bytes, excluding the length of the Type and Length fields. The fixed value is 2.
[0149] RESERVED: One byte, temporarily reserved for subsequent expansion.
[0150] Reason: One byte, ranging from 0 to 255, used to indicate the specific reason why the candidate path was not selected. This proposal defines the following reasons, and more reasons can be expanded as needed:
[0151] 0 means reserved; 1 means low priority; 2 means low protocol origin; 3 means configuration reason; 4 means low discriminator version; 5 to 255 can be temporarily reserved.
[0152] 3) Invalid Reason sub-TLV: When the candidate path fails the validity evaluation and is in the invalid state, it is used to carry the invalid reason. The specific format can be as follows:
[0153]
[0154]
[0155] Type: is one byte, indicating that this is an Invalid Reason sub-TLV. The specific value is allocated by the International Standards Organization (IANA) during standardization.
[0156] Length: One byte, indicating the length of the Invalid Reason sub-TLV in bytes, excluding the length of the Type and Length fields. The fixed value is 2.
[0157] RESERVED: One byte, temporarily reserved for subsequent expansion.
[0158] Reason: One byte with a value of 0 to 255, which indicates why the candidate path fails the validity evaluation and is in the invalid state. This proposal defines the following reasons, and more reasons can be expanded as needed:
[0159] 0 means reserved; 1 means the explicit candidate path (Explicit Candidate Path) has no valid segment list (SL); 2 means the Explicit Candidate Path contains segmentlists of different forwarding plane types; 3 means the dynamic candidate path (Dynamic Candidate Path) cannot calculate a path that meets the constraints; 4 means the composite candidate path (Composite Candidate Path) has no valid constituent SRPolicy; 5 to 255 can be temporarily reserved.
[0160] 3. The structure of the segment list status sub-TLV can be as follows:
[0161]
[0162] Type: is one byte, indicating that this is a segment list status sub-TLV. The specific value is allocated by the International Standards Organization (IANA) during standardization.
[0163] Length: One byte, indicating the length of the segment list status sub-TLV in bytes, excluding the length of the Type and Length fields themselves.
[0164] Flags: One byte, temporarily reserved for subsequent expansion.
[0165] RESERVED: One byte, temporarily reserved for subsequent expansion.
[0166] State: 4 bytes, used to indicate the specific state of the segment list, represented by a bitmap. The specific format can be as follows:
[0167]
[0168] Among them, the A bit is 1, which means that the segment list is in the administrative down state, that is, the segment list is configured as unavailable, and the A bit is 0, which means that the segment list is in the administrative up state.
[0169] If the D bit is 1, it indicates that the segment list is in the down state. The specific reason can be carried in the sub-TLV. If the D bit is 0, it indicates that the segment list is in the up state.
[0170] If the V bit is 1, it means that the segment list has passed the validity evaluation and is in the valid state. If the V bit is 0, it means that the segment list has not passed the validity evaluation and the specific reason can be carried in the sub-TLV.
[0171] It should be noted that other bits are reserved so that they can be expanded as needed in the future. In addition, in actual applications, the values of the A bit, D bit, and V bit can be used to determine how to determine specific information based on the values of the A bit, D bit, and V bit according to specific logic.
[0172] Among them, the sub-TLV that the segment list status sub-TLV optionally carries can be expanded as needed; in the embodiment of the present application, the following sub-TLVs can be defined:
[0173] 1) Down Reason sub-TLV: When the segment list is in the down state, it is used to carry the reason for the interruption. The format is as follows:
[0174]
[0175]
[0176] Type: is one byte, indicating that this is a Down Reason sub-TLV. The specific value is allocated by the International Standards Organization (IANA) during standardization.
[0177] Length: One byte, indicating the length of this sub-TLV in bytes, excluding the length of the Type and Length fields.
[0178] Flags: One byte, temporarily reserved for subsequent expansion.
[0179] RESERVED: One byte, temporarily reserved for subsequent expansion.
[0180] Reason: 4 bytes, used to indicate the specific reason for the segment list interruption, represented by a bitmap. The specific format can be as follows:
[0181]
[0182] The B bit being 1 indicates that the segment list interruption is caused by BFD detecting that the segment list is unavailable, and the B bit being 0 indicates that the segment list interruption is caused by not being detected by BFD.
[0183] The I bit is 1, indicating that the reason for the segment list interruption is that the segment list is detected to be unavailable after IGP convergence (for example, the SID used by the segment list is unavailable after IGP convergence). The I bit is 0, indicating that the reason for the segment list interruption is not detected after IGP convergence.
[0184] The U bit is set to 1 to indicate that the cause of the segment list interruption is unknown. If the cause of the segment list interruption can be determined, this bit is set to 0.
[0185] It should be noted that other bits are reserved so that they can be expanded as needed later. In addition, in actual applications, the values of the B bit, I bit, and U bit can be used to determine how to determine specific information based on the values of the B bit, I bit, and U bit according to specific logic.
[0186] 2) Invalid Reason sub-TLV: When the segment list fails the validity evaluation and is in invalid state, it is used to carry the invalid reason. Its format can be as follows:
[0187]
[0188] Type: is one byte, indicating that this is an Invalid Reason sub-TLV. The specific value is allocated by the International Standards Organization (IANA) during standardization.
[0189] Length: One byte, indicating the length of the Invalid Reason sub-TLV in bytes, excluding the length of Type and Length. The fixed value is 2.
[0190] RESERVED: One byte, temporarily reserved for subsequent expansion.
[0191] Reason: one byte with a value of 0 to 255, indicating the reason why the segment list fails the validity evaluation and is in the invalid state. In this embodiment, the following reasons can be defined, and more reasons can be expanded as needed:
[0192] 0 means reserved, 1 means the segment list is empty, 2 means the weight of the segment list is 0, 3 means the segment list contains both SR MPLS and SRv6 SIDs, 4 means the first SID resolution fails, 5 means the segment list contains SIDs that are not in the SRDB, 6 means the segment list contains unmatched SIDs, and 7 to 255 can be temporarily reserved.
[0193] Step 303: The second network element receives information associated with the SR policy state change reported by the first network element through the information element added in the first protocol.
[0194] In an embodiment of the present application, after receiving the SR policy status reported by the extended SR policy configuration protocol through the status sub-TLV, the parsing module of the second network element can parse and process the status sub-TLV according to the meaning specified in the embodiment of the present application, update the corresponding SR policy status, candidate path status or segment list status, and trigger the path re-optimization module as needed to optimize the SR policy, candidate path or segment list. The optimization processing result is then sent to the corresponding first network element through the BGP SR Policy protocol. After receiving it, the first network element updates the SR policy accordingly.
[0195] In other embodiments of the present application, the encoding format of the extended SR policy (i.e., the SR policy configuration protocol with the newly added information element) may be as follows:
[0196]
[0197] It should be noted that in the encoding format of the above-mentioned extended SR policy, "Tunnel EncapsulationAttribute" corresponds to the attribute sub-TLV, "Tunnel Type:SR Policy" corresponds to the channel encapsulation attribute sub-TLV, "Policy State" corresponds to the policy state sub-TLV, "Policy Candidate Path State" corresponds to the policy candidate path state sub-TLV, and "State" in "Segment List" corresponds to the segment list state sub-TLV.
[0198] It should be noted that the embodiment of the present application only provides a feasible embodiment. Adjusting the format of the SR policy configuration protocol, adjusting the name of the SR policy configuration protocol, adjusting the field semantics of the SR policy configuration protocol, reducing or increasing the number of extended status sub-TLVs, etc. all fall within the scope of protection of the present application.
[0199] It should be noted that, for the description of the same steps and the same contents in this embodiment as those in other embodiments, reference can be made to the description in other embodiments and will not be repeated here.
[0200] According to the information transmission method provided in the embodiments of the present application, when the second network element obtains information associated with the SR policy state change from the first network element, it can be directly implemented through the newly added information elements of the protocol used to configure the SR policy for the first network element, that is, the same protocol as the protocol for configuring the SR policy for the first network element is used to implement the acquisition of information associated with the SR policy state change, without adding a separate protocol to acquire information associated with the SR policy state change, thereby reducing the complexity of configuration and maintenance, and reducing the complexity of the policy state awareness protocol.
[0201] Based on the above embodiments, the present application provides a first information transmission device, which can be applied to Figure 1 and 3 In the information transmission method provided in the corresponding embodiment, refer to Figure 4 As shown, the device 4 may include: a sending unit 41, wherein:
[0202] The sending unit 41 is used to report information associated with the segment routing SR policy state change to the second network element through the information element newly added in the first protocol;
[0203] The first protocol is at least used to configure an SR policy for the first network element, and the SR policy is configured by the second network element.
[0204] In other embodiments of the present application, the first protocol includes the BGP SR policy protocol, and the information element includes a type-length-value TLV.
[0205] In other embodiments of the present application, the first protocol includes the Path Computation Element Communication Protocol PCEP, and the information element includes an object and / or TLV.
[0206] In other embodiments of the present application, the information associated with the SR policy state change includes at least one of the following:
[0207] Information about changes in SR policy status;
[0208] Information related to the candidate path status changes included in the SR policy;
[0209] The SR policy contains information about the status changes of the segment list.
[0210] In other embodiments of the present application, the relevant information of the state change includes at least one of the following:
[0211] a state of change;
[0212] Reasons for change.
[0213] In other embodiments of the present application, the device may further include: a processing unit 42, wherein:
[0214] The processing unit 42 is used to sense changes in the state of the SR policy.
[0215] It should be noted that the specific description of the steps performed by each unit can be found in Figure 1 and 3 The information transmission method provided in the corresponding embodiment will not be repeated here.
[0216] The first information transmission device provided in the embodiment of the present application can directly implement the reporting of information associated with the SR policy state change to the second network element through the newly added information elements of the protocol used to configure the SR policy for the first network element, that is, the same protocol as the protocol for configuring the SR policy for the first network element is used to implement the reporting of information associated with the SR policy state change, without adding a separate protocol to report the information associated with the SR policy state change, thereby reducing the complexity of configuration and maintenance, and reducing the complexity of the policy state awareness protocol.
[0217] Based on the above embodiments, the present application provides a second information transmission device, which can be applied to Figure 2 and 3 In the information transmission method provided in the corresponding embodiment, refer to Figure 5 As shown, the device 5 may include: a receiving unit 51, wherein:
[0218] The receiving unit 51 is configured to receive information associated with a change in the SR policy state reported by the first network element through an information element added in the first protocol;
[0219] The first protocol is at least used to configure an SR policy for the first network element, and the SR policy is configured by the second network element.
[0220] In other embodiments of the present application, the first protocol includes the BGP SR policy protocol, and the information element includes a type-length-value TLV.
[0221] In other embodiments of the present application, the first protocol includes the Path Computation Element Communication Protocol PCEP, and the information element includes an object and / or TLV.
[0222] In other embodiments of the present application, the information associated with the SR policy state change includes at least one of the following:
[0223] Information about changes in SR policy status;
[0224] Information related to the candidate path status changes included in the SR policy;
[0225] The SR policy contains information about the status changes of the segment list.
[0226] In other embodiments of the present application, the relevant information of the state change includes at least one of the following:
[0227] Changing state;
[0228] Reasons for change.
[0229] It should be noted that the specific description of the steps performed by each unit can be found in Figure 2 and 3The information transmission method provided in the corresponding embodiment will not be repeated here.
[0230] The second information transmission device provided in the embodiment of the present application can directly obtain information associated with the SR policy state change from the first network element through the newly added information elements of the protocol used to configure the SR policy for the first network element, that is, the same protocol as the protocol for configuring the SR policy for the first network element is used to obtain information associated with the SR policy state change, without adding a separate protocol to obtain information associated with the SR policy state change, thereby reducing the complexity of configuration and maintenance, and reducing the complexity of the policy state awareness protocol.
[0231] Based on the above embodiments, the present application provides an information transmission device, referring to Figure 6 As shown, the information transmission device may include a first network element 6, which may be applied to Figure 1 and 3 In the information transmission method provided in the corresponding embodiment, the first network element 6 may include: a first processor 61, a first memory 62 and a first communication bus 63, wherein:
[0232] The first communication bus 63 is used to realize the communication connection between the first processor 61 and the first memory 62;
[0233] The first processor 61 is used to execute the information transmission program in the first memory 62 to implement the following steps:
[0234] Reporting information associated with the segment routing SR policy state change to the second network element through the newly added information element in the first protocol;
[0235] The first protocol is at least used to configure an SR policy for the first network element, and the SR policy is configured by the second network element.
[0236] In other embodiments of the present application, the first protocol includes the BGP SR policy protocol, and the information element includes a type-length-value TLV.
[0237] In other embodiments of the present application, the first protocol includes the Path Computation Element Communication Protocol PCEP, and the information element includes an object and / or TLV.
[0238] In other embodiments of the present application, the information associated with the SR policy state change includes at least one of the following:
[0239] Information about changes in SR policy status;
[0240] Information related to the candidate path status changes included in the SR policy;
[0241] The SR policy contains information about the status changes of the segment list.
[0242] In other embodiments of the present application, the relevant information of the state change includes at least one of the following:
[0243] a state of change;
[0244] Reasons for change.
[0245] In other embodiments of the present application, the first processor 61 is used to execute the information transmission program in the first memory 62, and may also implement the following steps:
[0246] Detect changes in the SR policy status.
[0247] It should be noted that the specific implementation process of the steps executed by the first processor in this embodiment can refer to Figure 1 and 3 The implementation process of the information transmission method provided in the corresponding embodiment will not be repeated here.
[0248] The first network element provided in the embodiment of the present application can directly implement the reporting of information associated with the SR policy state change to the second network element through the newly added information elements of the protocol used to configure the SR policy for the first network element, that is, the same protocol as the protocol for configuring the SR policy for the first network element is used to implement the reporting of information associated with the SR policy state change, without adding a separate protocol to report the information associated with the SR policy state change, thereby reducing the complexity of configuration and maintenance, and reducing the complexity of the policy state awareness protocol.
[0249] Based on the above embodiments, the present application provides an information transmission device, referring to Figure 7 As shown, the information transmission device may include a second network element 7, which may be applied to Figure 2 and 3 In the information transmission method provided in the corresponding embodiment, the second network element 7 may include: a second processor 71, a second memory 72, and a second communication bus 73, wherein:
[0250] The second communication bus 73 is used to realize the communication connection between the second processor 71 and the second memory 72;
[0251] The second processor 71 is used to execute the information transmission program in the second memory 72 to implement the following steps:
[0252] receiving information associated with a change in the SR policy state reported by the first network element through an information element added in the first protocol;
[0253] The first protocol is at least used to configure an SR policy for the first network element, and the SR policy is configured by the second network element.
[0254] In other embodiments of the present application, the first protocol includes the BGP SR policy protocol, and the information element includes a type-length-value TLV.
[0255] In other embodiments of the present application, the first protocol includes the Path Computation Element Communication Protocol PCEP, and the information element includes an object and / or TLV.
[0256] In other embodiments of the present application, the information associated with the SR policy state change includes at least one of the following:
[0257] Information about changes in SR policy status;
[0258] Information related to the candidate path status changes included in the SR policy;
[0259] The SR policy contains information about the status changes of the segment list.
[0260] In other embodiments of the present application, the relevant information of the state change includes at least one of the following:
[0261] a state of change;
[0262] Reasons for change.
[0263] It should be noted that the specific implementation process of the steps executed by the second processor in this embodiment can refer to Figure 2 and 3 The implementation process of the information transmission method provided in the corresponding embodiment will not be repeated here.
[0264] The second network element provided in the embodiment of the present application can directly obtain information associated with the SR policy state change from the first network element through the newly added information elements of the protocol used to configure the SR policy for the first network element, that is, the same protocol as the protocol used to configure the SR policy for the first network element is used to obtain information associated with the SR policy state change, without adding a separate protocol to obtain information associated with the SR policy state change, thereby reducing the complexity of configuration and maintenance, and reducing the complexity of the policy state awareness protocol.
[0265] Based on the above embodiments, the present application provides an information transmission system. Figure 8 As shown, the information transmission system 8 may include: a first network element 81 and a second network element 82; wherein the first network element 81 may be Figure 6 The first network element provided in the corresponding embodiment, the second network element 82 may be Figure 7The corresponding embodiment provides a second network element; that is, the first network element 81 and the first network element 6 in the above embodiment refer to the same network element, and the second network element 82 and the second network element 7 in the above embodiment refer to the same network element.
[0266] It should be noted that the first network element 81 is used to implement Figure 6 The second network element 82 is used to implement the content of the corresponding embodiment. Figure 7 The content in the corresponding embodiment.
[0267] Based on the foregoing embodiments, the embodiments of the present application provide a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the following. Figures 1 to 3 The corresponding embodiments provide steps of the information transmission method.
[0268] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0269] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0270] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0271] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0272] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0273] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0274] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. An information transmission method, characterized in that: Applied to the first network element, including: Information associated with the segment routing SR policy state change is reported to the second network element through the newly added information element in the first protocol; wherein the first protocol is at least used to configure the SR policy for the first network element, and the SR policy is configured by the second network element.
2. The method according to claim 1, characterized in that The first protocol includes a Border Gateway Protocol Segment Routing (BGPSR) policy protocol, and the information element includes a type-length-value TLV.
3. The method according to claim 1, characterized in that The first protocol includes a Path Computation Element Communication Protocol (PCEP), and the information element includes an object and / or a TLV.
4. The method according to claim 1, characterized in that The information associated with the SR policy state change includes at least one of the following: Relevant information about the change of the SR policy status; The SR policy contains information related to the change of the candidate path status; The SR policy includes information related to the segment list status change.
5. The method according to claim 4, characterized in that The relevant information of the state change includes at least one of the following: a state of change; Reasons for change.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: A change in the state of the SR policy is sensed.
7. An information transmission method, characterized in that: Applied to the second network element, including: Receive information associated with a change in SR policy status reported by a first network element through an information element added in a first protocol; wherein the first protocol is at least used to configure an SR policy for the first network element, and the SR policy is configured by the second network element.
8. The method according to claim 7, characterized in that The first protocol includes a BGPSR policy protocol, and the information element includes a TLV.
9. The method according to claim 7, characterized in that: The first protocol includes a Path Computation Element Communication Protocol (PCEP), and the information element includes an object and / or a TLV.
10. The method according to any one of claims 7 to 9, characterized in that: The information associated with the SR policy state change includes at least one of the following: Relevant information about the change of the SR policy status; The SR policy contains information related to the change of the candidate path status; The SR policy includes information related to the segment list status change.
11. The method according to claim 10, characterized in that The relevant information of the state change includes at least one of the following: a state of change; Reasons for change.
12. An information transmission device, characterized in that: The device comprises: a processor, a memory and a communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the information transmission program in the memory to implement the steps of the information transmission method according to any one of claims 1 to 6 or 7 to 11.
Citation Information
Patent Citations
Segmented routing traffic engineering policy sending and receiving method, device and network element
CN110535772A
Information interaction method and device, tunnel establishment method and device, communication node and storage medium
CN112511430A
BGP link-state extensions for segment routing
US9660897B1
Message sending method and apparatus
WO2023078031A1
