Srv6 policy configuration data processing method and apparatus, device and medium
By judging and storing the locally associated SRv6 Policy configuration data in the SRv6 gateway node, the problem of excessive storage resource usage caused by the SRv6 gateway node receiving irrelevant data is solved, the processing performance is improved, and efficient network operation is achieved.
Patent Information
- Application Number
- PCT/CN2023/131010
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2023-11-10
- Publication Date
- 2024-08-29
AI Technical Summary
In the Sliced Packet Network (SPN) end-to-end SRv6 scenario, the SRv6 gateway node receives a large amount of SRv6 Policy configuration data that is irrelevant to the local area, resulting in excessive storage resource usage and reduced processing performance.
Generate SRv6 Policy configuration data through the Software Defined Network (SDN) controller, and implement the correlation judgment between the target SRv6 Policy configuration data and local existing data in the SRv6 gateway node, only store the associated data, and perform traffic diversion processing to avoid invalidity Data storage.
It effectively avoids excessive occupation of storage resources of SRv6 gateway nodes, improves processing performance, and ensures efficient operation of the network.
Smart Images

Figure CN2023131010_29082024_PF_FP_ABST
Abstract
Description
A method, device, equipment and medium for processing SRv6 Policy configuration data
[0001] Cross-references
[0002] This application claims priority to Chinese patent application number 202310196552.3, filed with the Patent Office of China on February 24, 2023, entitled “A method, apparatus, device and medium for processing SRv6 Policy configuration data”, the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present application relates to the field of communication technologies, and in particular to a method, apparatus, electrical equipment, and medium for processing SRv6 Policy configuration data. Background Art
[0004] SRv6 (Segment Routing IPv6) is a protocol designed based on source routing to forward IPv6 data packets on the network.
[0005] SRv6 networks primarily utilize SRv6 Policy traffic diversion technology. SRv6 Policy enables path planning between any nodes in the network. This not only meets users' diverse needs for latency, bandwidth, jitter, and reliability, but also improves network bandwidth utilization and reduces investment through refined latency and bandwidth control.
[0006] In the current Slicing Packet Network (SPN) end-to-end SRv6 scenario, SRv6 Policy configurations are delivered by forwarding them to all neighbors. This allows SRv6 gateway nodes to receive SRv6 Policy configuration data from non-local nodes and store it locally. Ultimately, this can lead to reduced processing performance due to the storage of too much data that is not locally relevant.
[0007] Summary of the Invention
[0008] The purpose of the embodiments of the present application is to provide a method, apparatus, electrical device, and medium for processing SRv6 Policy configuration data, which enable an SRv6 gateway node to store only locally relevant SRv6 Policy configuration data.
[0009] In order to achieve the above-mentioned purpose, the embodiment of the present application is implemented as follows.
[0010] In a first aspect, a method for processing SRv6 Policy configuration data is provided, which is applied to an SRv6 gateway node, including: receiving target SRv6 Policy configuration data; determining whether the target SRv6 Policy configuration data is associated with existing SRv6 Policy configuration data stored locally; after determining the association, storing the target SRv6 Policy configuration data, and diverting SRv6 service messages according to the stored target SRv6 Policy configuration data.
[0011] In a second aspect, an SRv6 Policy processing device is provided, including: a data receiver for receiving target SRv6 Policy configuration data; a processor for determining whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data; and a memory for storing the target SRv6 Policy configuration data when the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data, wherein the target SRv6 Policy configuration data is used to divert SRv6 service packets.
[0012] According to a third aspect, an electronic device is provided, comprising: a processor; and a memory configured to store computer-executable instructions, wherein the computer-executable instructions, when executed, cause the processor to execute the method according to the first aspect.
[0013] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used to store computer-executable instructions, and the computer-executable instructions implement the method described in the first aspect when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0015] FIG1 is a flow chart of a method for processing SRv6 Policy configuration data according to an embodiment of the present application.
[0016] FIG2 is a schematic diagram of an application scenario of the method for processing SRv6 Policy configuration data according to an embodiment of the present application.
[0017] FIG3 is a schematic diagram of the structure of an SRv6 Policy processing device according to an embodiment of the present application.
[0018] FIG4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this specification.
[0020] As mentioned above, in the current Slicing Packet Network (SPN) end-to-end SRv6 scenario, the SRv6 Policy configuration is forwarded to all neighbors. This allows the SRv6 gateway node to receive SRv6 Policy configuration data from non-local nodes and store it locally, which ultimately leads to a decrease in processing performance due to the storage of too much data that is not locally relevant.
[0021] In view of this, an embodiment of the present application aims to propose a technical solution that enables an SRv6 gateway node to not store non-local SRv6 Policy configurations.
[0022] Specifically, the Software Defined Network (SDN) controller in this embodiment is responsible for monitoring network topology, real-time traffic, SRv6 SIDs, and other information, including generating SRv6 Policy configuration data. In other words, the SRv6 controller is responsible for converting service requirements into SRv6 Policy configurations and distributing them to forwarders via the southbound protocol.
[0023] The SRv6 Policy configuration can be delivered in two modes: active and passive.
[0024] Active mode refers to the SDN controller periodically generating SRv6 Policy configurations based on the time limit policy of the local SRv6 Policy configuration. The time limit policy can be flexibly set according to specific needs and is not specifically defined in this document.
[0025] The passive mode means that after receiving an SRv6 service packet returned by an SRv6 gateway node, the SDN controller generates the corresponding SRv6 Policy configuration data. Generally, if the SRv6 gateway node does not store the SRv6 Policy configuration data for redirecting the SRv6 service packet after receiving the SRv6 service packet, it will return the SRv6 service packet to the SDN controller.
[0026] Furthermore, in this application, the SDN controller still uses the existing Border Gateway Protocol (BGP) extension for segment routing to issue SRv6 Policy configurations to all neighbors. In other words, the SRv6 gateway node receives SRv6 Policy configuration data issued by the SDN controller and its neighboring nodes, including SRv6 Policy configuration data that is not relevant to itself. However, the SRv6 gateway node in this application analyzes whether the received SRv6 Policy configuration data is locally relevant based on the information in the data.
[0027] The SRv6 Policy configuration data mainly includes the following elements:
[0028] 1) Key value: An SRv6 Policy uses a triplet to globally uniquely identify an SRv6 Policy.
[0029] Headend: Identifies the head node of an SRv6 Policy. The headend can direct traffic into an SRv6 Policy.
[0030] Color: Identifies different SRv6 policies for a specific head node and destination node. It can be associated with a range of service attributes, such as low latency and high bandwidth, and can be considered a service requirement template ID. Currently, there is no standardized encoding rule; the value is assigned by the administrator. For example, a policy requiring end-to-end latency of less than 10ms might be assigned a Color value of 100. Color provides a mechanism for associating services with SRv6 policies.
[0031] Destination Node (Endpoint): identifies the destination address of the SRv6 Policy.
[0032] 2) Candidate Path: An SRv6 Policy may be associated with multiple candidate paths, each with a preference. When multiple candidate paths exist, the SRv6 Policy selects the one with the highest preference as the primary path. The candidate path is the basic unit for sending SR Policy optional paths to the headend through protocols such as BGP SR Policy. Different protocols will deliver different candidate paths.
[0033] SRv6 Policy supports multiple path calculation methods: centralized path calculation by the Path Computation Element (PCE), path calculation by the head node, manual path planning, and path calculation using a flexible algorithm (Flex-Algo). The multiple candidate paths design shields services from these details, allowing services to focus on their needs without having to worry about the specific path calculation method. The paths generated by these different calculation methods are encapsulated within the SRv6 Policy through multiple candidate paths. Traditional TE tunnels, on the other hand, use different TE tunnels for transport, requiring services to understand the different TE tunnels and their implementation details in order to match the appropriate tunnel. Candidate paths also support primary / backup redundant paths and fallback paths. SRv6 Policy encapsulates these protection and fallback paths within the SRv6 Policy, obscuring these details from the services.
[0034] 3) Segment List: A segment list identifies the source routing path for sending traffic to an endpoint through an SRv6 Policy. A candidate path can be associated with multiple segment lists. The weight attribute attached to the segment list controls the load distribution of traffic across multiple SR paths, thereby implementing unequal-cost multiple path (UCMP).
[0035] The multi-segment list design improves network resiliency, meets real-time business needs, and enables dynamic and elastic expansion of network resources. For example, if a service requires bandwidth to be increased from 2G to 5G, the SRv6 Policy can calculate a new path with 3G bandwidth. UCMP also facilitates network resource optimization. If a segment list path experiences traffic overload, the segment list weight can be adjusted to reduce the load on that path.
[0036] 4) Binding SID: A Binding SID is a fundamental instruction in Segment Routing. It identifies the entire candidate path and provides tunneling, traffic routing, and other functions. Packets carrying the BSID corresponding to a candidate path are routed to that candidate path. The Binding SID can be understood as the interface that the service uses to invoke network functions and select the candidate path.
[0037] Based on the above SRv6 Policy structure, this embodiment of the present application provides a method for processing SRv6 Policy configuration data, which can be executed by an SRv6 gateway node. FIG1 is a flow chart of the processing method of this embodiment of the present application, which specifically includes the following steps:
[0038] S102: Obtain target SRv6 Policy configuration data.
[0039] As mentioned above, in the embodiment of the present application, the target SRv6 Policy configuration data is issued by the neighbor node corresponding to the SDN controller or the SRv6 gateway node, which will not be described in detail here.
[0040] S104: Determine whether the target SRv6 Policy configuration data is associated with existing locally stored SRv6 Policy configuration data.
[0041] As an exemplary introduction, the embodiments of the present application can determine whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data stored locally through the following two methods.
[0042] Method 1: Determine whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data stored locally by analyzing the routing information between the target SRv6 Policy configuration data and the existing SRv6 Policy configuration data.
[0043] Specifically, the routing information indicated by the target SRv6 Policy configuration data and the existing SRv6 Policy configuration data can be queried based on the Binding SIDs in each. If the routing information indicated by the target SRv6 Policy configuration data intersects with the routing information indicated by the existing SRv6 Policy configuration data, it can be determined that the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data.
[0044] Method 2: Determine whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data stored locally by analyzing whether the key value of the target SRv6 Policy configuration data is valid in the existing SRv6 Policy configuration data.
[0045] Specifically, the Headend and / or Endpoint corresponding to the target SRv6 Policy configuration data may be determined according to the Key value of the target SRv6 Policy configuration data.
[0046] Afterwards, determine whether the Headend and / or Endpoint corresponding to the target SRv6 Policy configuration data is the jump node indicated by the existing SRv6 Policy configuration data; for example, query whether the Headend and / or Endpoint corresponding to the target SRv6 Policy configuration data appears in the path indicated by the existing SRv6 Policy configuration data.
[0047] If it is determined to be a jump node, it means that the key value of the target SRv6 Policy configuration data is valid in the existing SRv6 Policy configuration data, and then it is further determined that the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data.
[0048] S106: After determining the association, the target SRv6 Policy configuration data is stored, and the SRv6 service packets are directed according to the stored target SRv6 Policy configuration data.
[0049] Based on the above, it can be seen that in the method of the embodiment of the application, after receiving the target SRv6 Policy configuration data broadcast by the SRv6 controller, the SRv6 gateway node first determines whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data stored locally; if so, the target SRv6 Policy configuration is stored and SRv6 service packets are diverted according to the stored target SRv6 Policy configuration; if not, the target SRv6 Policy configuration data is directly ignored. In other words, in the SPN network end-to-end SRv6 scenario, the SRv6 gateway node will not locally store invalid SRv6 Policy configuration data received, thereby avoiding the problem of excessive use of its own storage resources leading to reduced processing performance.
[0050] The following describes the method of the embodiment of the present application in conjunction with an application scenario.
[0051] In this scenario, SRv6 services are directed using the color attribute of an SRv6 Policy. Color can be carried as an extended community attribute in BGP routes. Therefore, when services are directed to an SRv6 Policy, control can be achieved at the route-by-route level.
[0052] As mentioned above, color is a crucial attribute of SRv6 policies, serving as the anchor for services and tunnels. Color can be associated with one or more service requirement templates, such as low latency, bandwidth, and affinity. SRv6 policies use color to calculate routes. Services also use color to define their network connectivity requirements. Automatic traffic routing is achieved by matching services with the color of SRv6 policies. Therefore, when deploying services, you only need to define service requirements, rather than tunnel definitions. This decouples service and tunnel deployment.
[0053] Referring to FIG2 , it is assumed that the SPN network of this application scenario deploys multiple SRv6 gateway nodes. Here, SRv6 gateway node A and SRv6 gateway node E in FIG2 are taken as examples.
[0054] First, 1) SRv6 gateway node E sets the Color extended community attribute value of the route to 123 through the routing policy and carries this Color attribute when publishing the route. This Color extended community attribute is the Binding SID information, which is advertised by SRv6 gateway node E to SRv6 gateway node A through BGP routing.
[0055] Afterwards, 2) the SRv6 controller officially delivers the target SRv6 Policy configuration data to SRv6 gateway node A through BGP. The Color attribute of the target SRv6 Policy configuration data is 123.
[0056] Correspondingly, after receiving the target SRv6 Policy configuration data, SRv6 gateway node A queries the Binding SID information, Key value, etc. in the target SRv6 Policy configuration data to determine whether it is associated with the existing local SRv6 Policy configuration data (refer to the judgment logic described above); if so, the target SRv6 Policy configuration data is stored locally; if not, it is not stored.
[0057] Assume that in this application scenario, SRv6 gateway node A chooses to store the target SRv6 Policy configuration data. Using the above method, when traffic reaches SRv6 gateway node A, SRv6 gateway node A queries the route based on the traffic's destination address and determines that the tunnel outbound interface is the SRv6 Policy. It then encapsulates and forwards the SRv6 packet according to the routing policy configured in the target SRv6 Policy, thus automatically directing traffic to the SRv6 Policy based on the Color attribute.
[0058] On the other hand, the embodiment of the present application also provides an SRv6 Policy processing device. FIG3 is a schematic diagram of the structure of the processing device 300, including:
[0059] The data receiver 310 is configured to receive target SRv6 Policy configuration data.
[0060] The processor 320 is configured to determine whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data.
[0061] The memory 330 is configured to store the target SRv6 Policy configuration data when the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data, wherein the target SRv6 Policy configuration data is used to perform traffic diversion processing on SRv6 service packets.
[0062] Based on the device of the embodiment of the present application, after receiving the target SRv6 Policy configuration data broadcast by the SRv6 controller, the SRv6 gateway node first determines whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data stored locally; if so, the target SRv6 Policy configuration is stored and SRv6 service packets are directed according to the stored target SRv6 Policy configuration; if not, the target SRv6 Policy configuration data is directly ignored. In other words, in the SPN network end-to-end SRv6 scenario, the SRv6 gateway node will not locally store invalid SRv6 Policy configuration data received, thereby avoiding the problem of excessive use of its own storage resources leading to reduced processing performance.
[0063] Optionally, the processor 320 determines whether the target SRv6 Policy configuration data is associated with existing SRv6 Policy configuration data stored locally, including: determining whether the routing information indicated by the target SRv6 Policy configuration data has an intersection with the routing information indicated by the existing SRv6 Policy configuration data; after determining that there is an intersection, determining that the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data.
[0064] Optionally, before the processor 320 determines whether the routing information indicated by the target SRv6 Policy configuration data intersects with the routing information indicated by the existing SRv6 Policy configuration data, it further performs: based on the binding segment routing identifier in the target SRv6 Policy configuration data, querying to obtain the routing information indicated by the target SRv6 Policy configuration data, and, based on the binding segment routing identifier in the existing SRv6 Policy configuration data, querying to obtain the routing information indicated by the existing SRv6 Policy configuration data.
[0065] Optionally, the processor 320 determines whether the target SRv6 Policy configuration data is associated with existing SRv6 Policy configuration data stored locally, further comprising: determining whether the key value information of the target SRv6 Policy configuration data is valid in the existing SRv6 Policy configuration data; after determining that it is valid, determining that the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data.
[0066] Optionally, the processor 320 determines whether the key value information of the target SRv6 Policy configuration data is valid in the existing SRv6 Policy configuration data, including: determining whether the head node and / or destination node in the key value information of the target SRv6 Policy configuration data belongs to the jump node indicated by the existing SRv6 Policy configuration data; and after determining that they do, determining that the key value information of the target SRv6 Policy configuration data is valid in the existing SRv6 Policy configuration data.
[0067] Optionally, the target SRv6 Policy configuration data is issued by a software-defined network SDN controller or a neighbor node corresponding to the SRv6 gateway node.
[0068] Wherein, when the target SRv6 Policy configuration data is issued by the SDN controller, the target SRv6 Policy configuration data is periodically generated by the SDN controller based on the time limit policy of the local SRv6 Policy configuration, or the target SRv6 Policy configuration data is generated by the SDN controller after receiving the SRv6 service message returned by the SRv6 gateway node, wherein the SRv6 service message returned by the SRv6 gateway node is: after the SRv6 gateway node receives the SRv6 service message, when it determines that it does not store the SRv6 Policy configuration data for diverting the SRv6 service message, the SRv6 service message is returned to the SDN controller.
[0069] Obviously, the processing device shown in Figure 3 can be used as the execution subject of the method shown in Figure 1, and thus can implement the steps and corresponding functions of the method shown in Figure 1. Since the principles are the same, they will not be described in detail herein.
[0070] FIG4 is a schematic diagram of the structure of an electronic device 400 according to an embodiment of the present specification. Referring to FIG4 , at the hardware level, the electronic device 400 includes a processor and, optionally, an internal bus, a network interface, and a memory. The memory may include internal memory, such as high-speed random-access memory (RAM), and may also include non-volatile memory, such as at least one disk storage device. Of course, the electronic device 400 may also include hardware required for other services.
[0071] The processor, network interface, and memory can be interconnected via an internal bus, such as an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, or an EISA (Extended Industry Standard Architecture) bus. These buses can be classified as address buses, data buses, and control buses. For ease of illustration, FIG4 shows only one bidirectional arrow, but this does not imply that there is only one bus or only one type of bus.
[0072] The memory is used to store programs. Specifically, the program may include program code, which includes computer operating instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.
[0073] Optionally, the processor reads the corresponding computer program from the non-volatile memory into the internal memory and then runs it, forming the processing device shown in Figure 3 above at the logical level. Correspondingly, the processor executes the program stored in the memory and is specifically used to perform the following operations:
[0074] Receive the target SRv6 Policy configuration data.
[0075] Determine whether the target SRv6 Policy configuration data is associated with existing locally stored SRv6 Policy configuration data.
[0076] After determining the association, the target SRv6 Policy configuration data is stored, and the SRv6 service message is diverted according to the stored target SRv6 Policy configuration data.
[0077] Based on the electronic device 400 of the embodiment of the present application, after receiving the target SRv6 Policy configuration data broadcast by the SRv6 controller, the SRv6 gateway node first determines whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data stored locally; if so, the target SRv6 Policy configuration is stored and the SRv6 service message is directed according to the stored target SRv6 Policy configuration; if not, the target SRv6 Policy configuration data is directly ignored. In other words, in the SPN network end-to-end SRv6 scenario, the SRv6 gateway node will not locally store invalid SRv6 Policy configuration data received, thereby avoiding the problem of excessive use of its own storage resources resulting in reduced processing performance.
[0078] The SRv6 Policy configuration data processing methods disclosed in the embodiments of this specification can be applied to and implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the method can be performed by hardware integrated logic circuits or software instructions within the processor. The processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly executed by a hardware decoding processor or by a combination of hardware and software modules within the decoding processor. The software module can be located in a storage medium well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above method.
[0079] Of course, in addition to software implementation, the electronic device in this specification does not exclude other implementation methods, such as logic devices or a combination of software and hardware, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0080] In addition, an embodiment of the present application also proposes a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions.
[0081] Optionally, when the above instructions are executed by a portable electronic device including multiple applications, the portable electronic device can execute the steps of the method shown in FIG1 , including:
[0082] Receive the target SRv6 Policy configuration data.
[0083] Determine whether the target SRv6 Policy configuration data is associated with existing locally stored SRv6 Policy configuration data.
[0084] After determining the association, the target SRv6 Policy configuration data is stored, and the SRv6 service message is diverted according to the stored target SRv6 Policy configuration data.
[0085] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Thus, this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0086] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0087] The above are merely examples of the present invention and are not intended to limit this specification. For those skilled in the art, various modifications and variations of this specification are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of this specification shall be included within the scope of the claims of this specification. In addition, all other embodiments obtained by those of ordinary skill in the art without creative effort shall fall within the scope of protection of this document.
Claims
1. A method for processing SRv6 Policy configuration data based on an IPv6 forwarding plane segment routing policy, applied to an SRv6 gateway node, comprising: Receive target SRv6 Policy configuration data; When it is determined that the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data stored locally, the target SRv6 Policy configuration data is stored, and the SRv6 service message is diverted according to the stored target SRv6 Policy configuration data.
2. The method according to claim 1, wherein: The determining that the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data stored locally includes: In a case where it is determined that the routing information indicated by the target SRv6 Policy configuration data and the routing information indicated by the existing SRv6 Policy configuration data have an intersection, it is determined that the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data.
3. The method according to claim 2, wherein: Before determining that the routing information indicated by the target SRv6 Policy configuration data and the routing information indicated by the existing SRv6 Policy configuration data have an intersection, the method further includes: Based on the binding segment routing identifier in the target SRv6 Policy configuration data, the routing information indicated by the target SRv6 Policy configuration data is queried and obtained, and based on the binding segment routing identifier in the existing SRv6 Policy configuration data, the routing information indicated by the existing SRv6 Policy configuration data is queried and obtained.
4. The method according to claim 1, wherein: The determining that the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data stored locally also includes: In the case where it is determined that the key value information of the target SRv6 Policy configuration data is valid in the existing SRv6 Policy configuration data, determining that the target SRv6 Policy configuration data is The existing SRv6 Policy configuration data is associated.
5. The method according to claim 4, wherein: Determining that the key value information of the target SRv6 Policy configuration data is valid in the existing SRv6 Policy configuration data includes: In the case where it is determined that the head node and / or the destination node in the key value information of the target SRv6 Policy configuration data belongs to the jump node indicated by the existing SRv6 Policy configuration data, it is determined that the key value information of the target SRv6 Policy configuration data is valid in the existing SRv6 Policy configuration data.
6. The method according to any one of claims 1 to 5, wherein: The target SRv6 Policy configuration data is issued by a software defined network SDN controller or a neighbor node corresponding to the SRv6 gateway node.
7. The method according to claim 6, wherein: In the case where the target SRv6 Policy configuration data is issued by the SDN controller, The target SRv6 Policy configuration data is periodically generated by the SDN controller based on the time limit policy configured by the local SRv6Policy, or the target SRv6 Policy configuration data is generated by the SDN controller after receiving the SRv6 service message returned by the SRv6 gateway node, wherein the SRv6 service message returned by the SRv6 gateway node is: after the SRv6 gateway node receives the SRv6 service message, if it determines that it does not store the SRv6 Policy configuration data for diverting the SRv6 service message, the SRv6 service message is returned to the SDN controller.
8. A device for processing SRv6 Policy configuration data, comprising: A data receiver, used to receive target SRv6 Policy configuration data; A processor, configured to determine whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data; a memory for storing the target SRv6 Policy configuration data when the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data; Storage, wherein the target SRv6 Policy configuration data is used to divert SRv6 service packets.
9. An electronic device, comprising: processor; And, a memory configured to store computer executable instructions, which, when executed, cause the processor to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein the computer-readable storage medium is used to store computer-executable instructions, wherein the computer-executable instructions implement the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Patent Citations
Message backhaul method and device
CN113810288A
SRv6 Policy scheduling method, SRv6 Policy scheduling system, router and controller
CN114205282A
Message sending method, device and system
CN115004656A
Backhaul traffic drainage method and device in computing power network, equipment and storage medium
CN115695284A
Packet forwarding method and system, storage medium, and electronic device
WO2022184169A1
Cited By
Message forwarding method and system, computer device, medium and product
CN120090969A
