Processing method, device and equipment for SRv6 Policy configuration data and medium

By determining the correlation of SRv6 Policy configuration data in the SRv6 gateway node to avoid storing invalid data, the problem of reduced processing performance of the SRv6 gateway node is solved, and only locally relevant data is stored.

CN118555233APending Publication Date: 2024-08-27ZTE CORP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310196552.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the end-to-end SRv6 scenario of a sliced ​​packet network, the SRv6 gateway node receives SRv6 Policy configuration data from non-local nodes, resulting in the storage of too much data that has nothing to do with the local area, resulting in reduced processing performance.

Method used

After receiving the target SRv6 Policy configuration data, the SRv6 gateway node determines whether it is associated with the existing SRv6 Policy configuration data stored locally. If it is relevant, it will be stored and processed for traffic diversion. If it is not relevant, it will be ignored to avoid storing invalid data.

Benefits of technology

This effectively avoids excessive occupation of storage resources, improves processing performance, and ensures that the SRv6 gateway node only stores locally relevant SRv6 Policy configuration data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555233A
    Figure CN118555233A
Patent Text Reader

Abstract

The invention provides an SRv6Policy configuration data processing method and device, electric equipment and a medium. In the scheme, after receiving target SRv6Policy configuration data, an SRv6 gateway node firstly determines whether the target SRv6Policy configuration data is associated with locally stored existing SRv6Policy configuration data or not; and if the target SRv6Policy configuration data is related to the target SRv6Policy configuration data, storing the target SRv6Policy configuration data, and performing drainage processing on the SRv6 service message according to the target SRv6Policy configuration data. And if the target SRv6Policy configuration data are not related, directly ignoring the target SRv6Policy configuration data. Based on the scheme of the invention, in an end-to-end SRv6 scene of the SPN network, the SRv6 gateway node does not store the SRv6 Policy configuration data which is received from the outside and is irrelevant to the local.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, electrical equipment and medium for processing SRv6 Policy configuration data. Background Art

[0002] SRv6 (Segment Routing IPv6) is a protocol designed based on the concept of source routing to forward IPv6 data packets on the network.

[0003] SRv6 network mainly adopts SRv6 Policy traffic diversion technology. SRv6 Policy can plan paths between any nodes in the network, which can not only meet the differentiated demands of user networks in terms of latency, bandwidth, jitter, and reliability, but also improve network bandwidth utilization and save investment through refined control of latency and bandwidth.

[0004] In the current Slicing Packet Network (SPN) network end-to-end SRv6 scenario, the SRv6Policy configuration is sent down by forwarding it to all neighbors, which enables the SRv6 gateway node to receive SRv6Policy configuration data from non-local nodes and store it locally, and ultimately causes processing performance to degrade due to storing too much data that is not locally relevant. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a method, apparatus, electrical equipment and medium for processing SRv6 Policy configuration data, which can enable an SRv6 gateway node to store only SRv6 Policy configuration data related to the local area.

[0006] In order to achieve the above purpose, the embodiment of the present application is implemented as follows:

[0007] In a first aspect, a method for processing SRv6 Policy configuration data is provided, which is applied to an SRv6 gateway node, and includes:

[0008] Receive target SRv6 Policy configuration data;

[0009] Determining whether the target SRv6 Policy configuration data is associated with existing SRv6 Policy configuration data stored locally;

[0010] 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.

[0011] In a second aspect, a device for processing an SRv6 Policy is provided, including:

[0012] A data receiver, used to receive target SRv6 Policy configuration data;

[0013] A processor, configured to determine whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data;

[0014] A memory is used 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 flow diversion processing on SRv6 service messages.

[0015] According to a third aspect, an electronic device is provided, the device 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.

[0016] According to 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, when executed by a processor, implement the method described in the first aspect.

[0017] In the method of the embodiment of the present application, after receiving the target SRv6 Policy configuration data broadcasted 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 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 the invalid SRv6 Policy configuration data received, thereby avoiding the problem of excessive use of its own storage resources and resulting in reduced processing performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 creative labor.

[0019] Figure 1 The figure is a flowchart of a method for processing SRv6 Policy configuration data according to an embodiment of the present application.

[0020] Figure 2 The following 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.

[0021] Figure 3 A schematic diagram of the structure of an SRv6 Policy processing device according to an embodiment of the present application.

[0022] Figure 4 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] 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 described embodiments 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 creative work should fall within the scope of protection of this specification.

[0024] As mentioned above, in the current Slicing Packet Network (SPN) network end-to-end SRv6 scenario, the SRv6 Policy configuration is sent down by forwarding it to all neighbors, which enables the SRv6 gateway node to receive SRv6 Policy configuration data from non-local nodes and store it locally, and ultimately causes processing performance to degrade due to storing too much data that is not locally relevant.

[0025] 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 SRv6Policy configurations.

[0026] Specifically, the software defined network (SDN) controller in the embodiment of the present application is responsible for mastering the whole network topology, real-time traffic, SRv6 SID and other information, including generating SRv6 Policy configuration data. That is, the SRv6 controller is responsible for converting business requirements into SRv6 Policy configuration and sending it to the forwarder through the southbound protocol.

[0027] The SRv6 Policy configuration can be delivered in active mode or passive mode.

[0028] Active mode refers to the SRv6Policy configuration that the SDN controller regularly generates based on the time limit policy configured in the local SRv6 Policy. The time limit policy can be flexibly set according to specific needs and is not specifically limited in this article.

[0029] The passive mode means that after receiving the SRv6 service message returned by the SRv6 gateway node, the SDN controller generates the SRv6 Policy configuration data in response; usually, after receiving the SRv6 service message, if the SRv6 gateway node does not store the SRv6 Policy configuration data for diverting the SRv6 service message, it returns the SRv6 service message to the SDN controller.

[0030] In addition, in this application, the SDN controller still uses the existing Border Gateway Protocol (BGP) for segment routing extensions to send SRv6 Policy configurations to all neighbors. In other words, the SRv6 gateway node will receive the SRv6 Policy configuration data sent by the SDN controller and its neighboring nodes, which includes SRv6 Policy configuration data that is not related to itself. However, the SRv6 gateway node of this application will analyze whether it is locally associated based on the information in the received SRv6 Policy configuration data.

[0031] The SRv6 Policy configuration data mainly includes the following elements:

[0032] 1) Key value: SRv6 Policy uses the following triples to globally uniquely identify an SRv6 Policy:

[0033] Headend: Identifies the headend of an SRv6 Policy. Headend can import traffic into an SRv6 Policy.

[0034] Color: Identifies different SRv6 Policies for the specified head node and destination node, which can be associated with a series of service attributes, such as low latency, high bandwidth, etc., and can be understood as a service requirement template ID. There is currently no unified encoding rule, and its value is assigned by the administrator. For example, a policy with an end-to-end latency of less than 10ms can be assigned a Color value of 100. Color provides a mechanism for associating services with SRv6 Policies.

[0035] Destination node (Endpoint): identifies the destination address of the SRv6 Policy.

[0036] 2) Candidate Path: An SRv6 Policy may be associated with multiple Candidate Paths, each with a preference. When there are multiple Candidate Paths, SRv6Policy selects the Candidate Path with the highest preference as the primary path. Candidate path is the basic unit for sending SR Policy optional paths to the headend through protocols such as BGP SRPolicy. Different protocols will send different Candidate paths.

[0037] SRv6 Policy can support multiple path calculation methods: PCE centralized path calculation, head node path calculation, manual path planning, flexible algorithm (Flex-Algo) path calculation, and the design of multiple candidate paths can shield these details from the business. The business does not need to care about the specific path calculation method, but only needs to focus on the business needs themselves. The paths formed by these different path calculation methods are encapsulated in the SRv6 Policy through multiple candidate paths. Different path calculation methods of traditional TE tunnels use different TE tunnels to carry. The business needs to see different TE tunnels and understand the implementation details of these TE tunnels to match the corresponding tunnel. At the same time, Candidate Path is also used to support primary and standby redundant paths and escape paths. SRv6 Policy also encapsulates these protection and escape paths in the SRv6 Policy, and the business does not need to see these details.

[0038] 3) Segment List: Segment List identifies the source routing path that sends traffic to the Endpoint through the SRv6 Policy. A Candidate Path can be associated with multiple Segment Lists, and the Weight attribute attached to the Segment List is used to control the load ratio of traffic in multiple SR paths, thereby achieving unequal-cost multiple path (UCMP).

[0039] The design of multiple Segment Lists can improve network elasticity, meet the needs of real-time business changes, and realize dynamic elastic expansion of network resources. For example, if a certain type of business needs to increase the bandwidth from 2G to 5G, SRv6 Policy can calculate another 3G bandwidth path. At the same time, UCMP can also optimize network resources more conveniently. If the traffic of a SegmentList path is overloaded, the weight of the SegmentList can be adjusted to reduce the load of the path.

[0040] 4) Binding Segment Routing Identifier (Binding SID): Binding SID is also the basic instruction of Segment Routing. It is used to identify the entire Candidate path and provide functions such as tunnel connection and traffic guidance. If the message carries the BSID corresponding to the Candidate path, it will be guided to the corresponding Candidate path. Binding SID can be understood as the service calling the network function and selecting the interface of the Candidate Path.

[0041] Based on the above SRv6 Policy structure, the present application embodiment provides a method for processing SRv6 Policy configuration data, which can be executed by an SRv6 gateway node. Figure 1 The following is a flow chart of the processing method of the present application embodiment, which specifically includes the following steps:

[0042] S102: Obtain target SRv6 Policy configuration data.

[0043] 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 repeated here.

[0044] S104: Determine whether the target SRv6 Policy configuration data is associated with existing SRv6 Policy configuration data stored locally.

[0045] 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.

[0046] 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 of the target SRv6 Policy configuration data and the existing SRv6 Policy configuration data.

[0047] Specifically, the routing information indicated by each of the target SRv6 Policy configuration data and the existing SRv6 Policy configuration data can be queried based on the Binding SID in the target SRv6 Policy configuration data and the existing SRv6 Policy configuration data. If 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 can be determined that the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data.

[0048] 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.

[0049] 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.

[0050] 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.

[0051] 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.

[0052] S106: After determining the association, the target SRv6 Policy configuration data is stored, and the SRv6 service message is directed according to the stored target SRv6 Policy configuration data.

[0053] Based on the above content, it can be known that in the method of the application embodiment, after the SRv6 gateway node receives the target SRv6 Policy configuration data broadcasted by the SRv6 controller, it first determines whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data stored locally; if it is related, the target SRv6 Policy configuration is stored, and the SRv6 service message is diverted according to the stored target SRv6 Policy configuration; if it is not related, 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 the invalid SRv6 Policy configuration data received, thereby avoiding the problem of excessive occupation of its own storage resources and resulting in reduced processing performance.

[0054] The method of the embodiment of the present application is introduced below in conjunction with an application scenario.

[0055] In this application scenario, SRv6 services are directed through the color of SRv6 Policy. Color can be carried as an extended community attribute of BGP routes. Therefore, when services are directed to SRv6 Policy, the control granularity can be accurate to each route.

[0056] Based on the above, Color is a very important attribute of SRv6 Policy. It is the anchor point of services and tunnels. Color can be associated with one or more service requirement templates, such as low latency, bandwidth, and affinity attributes. SRv6 Policy calculates routes based on Color. On the other hand, services also use Color to define network connection requirements. In this way, automatic traffic diversion can be achieved by matching the service with the Color of SRv6Policy. Therefore, when deploying services, you do not need to care about the definition of the tunnel, but only need to define the service requirements, thus achieving the decoupling of service deployment and tunnel deployment.

[0057] refer to Figure 2 As shown in the figure, it is assumed that the SPN network of this application scenario deploys multiple SRv6 gateway nodes. Figure 2 The SRv6 gateway node A and SRv6 gateway node E in the figure are taken as examples.

[0058] First, SRv6 gateway node E sets the Color extended community attribute value of the route to 123 through the routing policy and carries the Color attribute when publishing the route. This Color extended community attribute is the Binding SID information, which is notified to SRv6 gateway node A by SRv6 gateway node E through BGP routing.

[0059] Afterwards, the SRv6 controller officially sends 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.

[0060] 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 relevant, the target SRv6 Policy configuration data is stored locally; if not relevant, it is not stored.

[0061] Assume that in this application scenario, SRv6 gateway node A chooses to store the target SRv6 Policy configuration data configuration. Through the above method, when traffic reaches SRv6 gateway node A, SRv6 gateway node A will query the route according to the traffic destination address and obtain the tunnel outbound interface as SRv6 Policy. Then, according to the routing policy of the target SRv6 Policy configuration data, SRv6 packets are encapsulated and forwarded, thereby realizing the scenario of automatically directing traffic to SRv6 Policy according to the Color attribute.

[0062] On the other hand, an embodiment of the present application also provides a device for processing an SRv6 Policy. Figure 3 is a schematic diagram of the structure of the processing device 300, comprising:

[0063] The data receiver 310 is used to receive target SRv6 Policy configuration data.

[0064] The processor 320 is configured to determine whether the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data.

[0065] The memory 330 is used 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 flow diversion processing on SRv6 service packets.

[0066] Based on the device of the embodiment of the present application, after receiving the target SRv6 Policy configuration data broadcasted 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 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 the invalid SRv6 Policy configuration data received, thereby avoiding the problem of excessive use of its own storage resources and resulting in reduced processing performance.

[0067] 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.

[0068] 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.

[0069] Optionally, the processor 320 determines whether the target SRv6 Policy configuration data is associated with existing SRv6 Policy configuration data stored locally, and also includes: 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.

[0070] 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 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; 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.

[0071] 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.

[0072] 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.

[0073] Obviously, Figure 3 The processing device shown can be used as Figure 1 The execution body of the method shown in Figure 1 The steps and corresponding functions shown in the figure are the same and will not be described in detail in this article.

[0074] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of this specification. Figure 4 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.

[0075] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0076] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.

[0077] Optionally, the processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming the above-mentioned Figure 3 Correspondingly, the processor executes the program stored in the memory and is specifically used to perform the following operations:

[0078] Receive target SRv6 Policy configuration data.

[0079] Determine whether the target SRv6 Policy configuration data is associated with existing SRv6 Policy configuration data stored locally.

[0080] 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.

[0081] Based on the electronic device of the embodiment of the present application, after receiving the target SRv6 Policy configuration data broadcasted 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 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 the invalid SRv6 Policy configuration data received, thereby avoiding the problem of excessive use of its own storage resources and resulting in reduced processing performance.

[0082] The above-mentioned method for processing SRv6 Policy configuration data disclosed in the embodiment shown in this specification can be applied to a processor and implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in software form. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can 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 gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0083] Of course, in addition to software implementation, the electronic device of 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.

[0084] 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.

[0085] Optionally, when the above instructions are executed by a portable electronic device including a plurality of application programs, the portable electronic device can execute Figure 1 The steps of the method shown include:

[0086] Receive target SRv6 Policy configuration data.

[0087] Determine whether the target SRv6 Policy configuration data is associated with existing SRv6 Policy configuration data stored locally.

[0088] 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.

[0089] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, 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 disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0090] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0091] The above are only embodiments of this specification and are not intended to limit this specification. For those skilled in the art, this specification may be subject to various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in the scope of the claims of this specification. In addition, all other embodiments obtained by ordinary technicians in this field without creative work shall fall within the scope of protection of this document.

Claims

1. A method for processing SRv6 Policy configuration data based on IPv6 forwarding plane segment routing policy, applied to SRv6 gateway nodes, It is characterized in that include: Receive 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, 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, It is characterized in that The determining whether the target SRv6 Policy configuration data is associated with existing SRv6 Policy configuration data stored locally includes: Determine 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 the target SRv6 Policy configuration data exists, 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, It is characterized in that Before 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, the method 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, It is characterized in that Determining whether the target SRv6 Policy configuration data is associated with existing SRv6 Policy configuration data stored locally also includes: Determine 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, determine that the target SRv6 Policy configuration data is associated with the existing SRv6 Policy configuration data.

5. The method according to claim 4, It is characterized in that Determining whether the key value information of the target SRv6 Policy configuration data is valid in the existing SRv6 Policy configuration data includes: Determine whether 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; After determining that it belongs, determine 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, It is characterized in that 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, It is characterized in that 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 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, 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, It is characterized in that include: 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 is used 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 flow diversion processing on SRv6 service messages.

9. An electronic device, It is characterized in that The device comprises: a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor performs the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium is used to store computer-executable instructions, and the computer-executable instructions implement the method according to any one of claims 1 to 7 when executed by a processor.

Citation Information

Cited By

  • SRV6 policy configuration data processing method and apparatus, device and medium

    EP4672701A1