Service function chain and SID management method and system based on SRv6
Through standardized interface dynamic management service function chain (SFC) and SID, the problem of lack of collaborative management mechanism in the existing technology is solved, network configuration efficiency and flexibility are improved, and it is suitable for rapid deployment of complex business scenarios.
Patent Information
- Application Number
- CN202510507293.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-22
- Publication Date
- 2025-06-24
AI Technical Summary
The existing technology lacks a collaborative management mechanism for service function chains (SFCs) and SIDs, and it is difficult to meet the rapid deployment needs of complex business scenarios.
Dynamic management of SFC and SID is realized through standardized interfaces, including creating SFC rules, generating SFC instances, binding SID rules, issuing SID lists and policy configurations to SRv6 gateways, and providing a visual interface for instance management and status monitoring.
It improves network configuration efficiency and flexibility, is suitable for network computing and network coordination scheduling in scenarios such as the Internet of Vehicles, and realizes the coordinated management of SFC and SID.
Smart Images

Figure CN120200901A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computing network scheduling and network programmability, and more specifically, to a method and system for service function chain and SID management based on SRv6. Background Art
[0002] With the development of scenarios such as the Internet of Vehicles and the Industrial Internet, network service requirements show diverse and dynamic characteristics. Traditional network configuration relies on manual operations, which are inefficient and error-prone. The SRv6 (Segment Routing over IPv6) technology enables flexible scheduling of network traffic through source routing. However, existing solutions lack a collaborative management mechanism for SFC and SID, making it difficult to meet the rapid deployment requirements of complex business scenarios. Summary of the Invention
[0003] The technical task of the present invention is to address the above deficiencies by providing a method and system for service function chain and SID management based on SRv6, which realizes dynamic management of SFC and SID through standardized interfaces, improves network configuration efficiency and flexibility, and is applicable to computing network collaborative scheduling in scenarios such as the Internet of Vehicles.
[0004] The technical solution adopted by the present invention to solve its technical problems is as follows:
[0005] A method for service function chain and SID management based on SRv6, the implementation of which includes the following steps:
[0006] Step 1, create an SFC rule, and configure application information and SID rules;
[0007] Step 2, generate an SFC instance, bind SID rules and generate an SID list;
[0008] Step 3, send the SID list and policy configuration to the SRv6 gateway through the southbound interface;
[0009] Step 4, provide a visual interface for instance management and status monitoring.
[0010] Further, the SID rule configuration includes a rule name, number of bits, and semantic definition.
[0011] Further, the configuration of the SFC rule includes an application name, description, IPv4 address, version, and direct connection gateway information.
[0012] Further, when the SFC instance is generated, it automatically associates the head node and the tail node gateway.
[0013] Further, the southbound interface supports sending SID values, action types, and next-hop addresses.
[0014] Furthermore, the visualization interface supports querying according to instance name, status, and time conditions.
[0015] Furthermore, the visualization interface displays the distribution status and time, and supports manually triggering the distribution operation.
[0016] The present invention also claims protection for a service function chain and SID management system based on SRv6, including:
[0017] A gateway management module for maintaining gateway addresses and routing tables;
[0018] An SID management module for generating and distributing SIDs;
[0019] A policy management module for configuring traffic policies;
[0020] A visualization module for displaying instance status and operation interfaces;
[0021] This system implements the above-mentioned service function chain and SID management method based on SRv6.
[0022] The present invention also claims protection for a service function chain and SID management device based on SRv6, including: at least one memory and at least one processor;
[0023] The at least one memory is used to store machine-readable programs;
[0024] The at least one processor is used to call the machine-readable program to implement the above method.
[0025] The present invention also claims protection for a computer-readable medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the above method is implemented.
[0026] Compared with the prior art, a service function chain and SID management method and system based on SRv6 of the present invention have the following beneficial effects:
[0027] The present invention realizes the dynamic management of SFC and SID through a standardized interface, improves network configuration efficiency and flexibility, and is applicable to computing-network collaborative scheduling in scenarios such as vehicle-to-everything networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a flowchart of a service function chain and SID management method based on SRv6 provided by an embodiment of the present invention;
[0029] Figure 2 is a schematic diagram of an SFC creation page provided by an embodiment of the present invention;
[0030] Figure 3It is a schematic diagram of the SID instance page provided by an embodiment of the present invention;
[0031] Figure 4 It is a schematic diagram of the SID rule page provided by an embodiment of the present invention. Detailed implementation manners
[0032] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0033] An embodiment of the present invention provides a service function chain and SID management method based on SRv6. The implementation of this method includes the following steps:
[0034] Step 1: Create an SFC rule, and configure application information and SID rules;
[0035] Step 2: Generate an SFC instance, bind the SID rule and generate an SID list;
[0036] Step 3: Send the SID list and policy configuration to the SRv6 gateway through the southbound interface;
[0037] Step 4: Provide a visual interface for instance management and status monitoring.
[0038] Among them, the SID rule configuration includes a rule name, number of digits, and semantic definition.
[0039] When the SFC instance is generated, the head node and the tail node gateway are automatically associated.
[0040] The southbound interface supports sending the SID value, action type, and next-hop address.
[0041] The visual interface supports querying according to instance name, status, and time conditions.
[0042] The specific implementation of this method is as follows:
[0043] 1. Create an SFC rule and register an application.
[0044] Configure the SFC rule, including application name, description, IPv4 address, version, and direct connection gateway information.
[0045] Define the SID general rule, and set the rule name, number of digits, and semantics (for example, 1 digit represents 1 hexadecimal identifier).
[0046] Example interface:
[0047]
[0048] 2. Generate an SFC instance and bind it to the SID.
[0049] When creating an SFC instance, the effective SID rules are used by default to generate a SID list (such as AFA1:0200::0000:0000).
[0050] Bind the application to the SID rules, and associate the head node gateway (the SRv6 gateway directly connected to the application) and the tail node gateway.
[0051] Example interfaces:
[0052]
[0053] 3. Download the configuration to the SRv6 gateway.
[0054] Push the SID list to the head node and tail node gateways through the southbound interface, and set static routes and policies.
[0055] Example interfaces:
[0056]
[0057] 4. Visual management and monitoring.
[0058] Provide SFC rule lists, instance lists, and SID instance pages, and support querying by conditions such as name and status.
[0059] Show the download status and time, and support manually triggering the download operation.
[0060] An embodiment of the present invention also provides a service function chain and SID management system based on SRv6, which implements the service function chain and SID management method based on SRv6 described in the above embodiment.
[0061] The system includes:
[0062] A gateway management module for maintaining gateway addresses, routing tables, and statuses.
[0063] The gateway management module supports static route configuration.
[0064] An SID management module for generating and distributing SIDs.
[0065] The SID management module associates computing power service instances, roadside devices, and SRv6 gateways, and generates and distributes SIDs.
[0066] A policy management module for configuring traffic policies.
[0067] The policy management module configures traffic policies, binds source / destination devices to the SID list, and supports north-south interface communication.
[0068] A visualization module for displaying instance statuses and operation interfaces.
[0069] The specific process of implementing the service function chain based on SRv6 and SID management by this system is as follows:
[0070] 1. Create SFC rules and application registration.
[0071] Configure SFC rules, including application name, description, IPv4 address, version, and direct Internet gateway information.
[0072] Define the SID general rule, set the rule name, number of digits, and semantics (for example, 1 digit represents 1 hexadecimal identifier).
[0073] 2. Generate SFC instances and bind SIDs.
[0074] When creating an SFC instance, the effective SID rule is used by default to generate an SID list (such as AFA1:0200::0000:0000).
[0075] Bind the application to the SID rule, and associate the head node gateway (the SRv6 gateway directly connected to the application) and the tail node gateway.
[0076] 3. Distribute the configuration to the SRv6 gateway.
[0077] Push the SID list to the head node and tail node gateways through the southbound interface, and set static routes and policies.
[0078] 4. The visualization module realizes visualization management and monitoring.
[0079] Provide the SFC rule list, instance list, and SID instance page, and support querying by conditions such as name and status.
[0080] Display the distribution status and time, and support manually triggering the distribution operation.
[0081] An embodiment of the present invention also provides a service function chain based on SRv6 and an SID management device, including: at least one memory and at least one processor;
[0082] The at least one memory is used to store machine-readable programs;
[0083] The at least one processor is used to call the machine-readable program to implement the service function chain based on SRv6 and the SID management method described in the above embodiment.
[0084] An embodiment of the present invention also provides a computer-readable medium, on which computer instructions are stored. When the computer instructions are executed by a processor, the method for service function chain and SID management based on SRv6 described in the above embodiments is implemented. Specifically, a system or device equipped with a storage medium can be provided, on which software program code for implementing the functions of any one of the above embodiments is stored, and the computer (or CPU or MPU) of the system or device is made to read and execute the program code stored in the storage medium.
[0085] In this case, the program code read from the storage medium itself can implement the functions of any one of the above embodiments. Therefore, the program code and the storage medium storing the program code constitute a part of the present invention.
[0086] Embodiments of the storage medium for providing program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Optionally, the program code can be downloaded from a server computer via a communication network.
[0087] In addition, it should be clear that not only can the functions of any one of the above embodiments be implemented by executing the program code read by the computer, but also by means of instructions based on the program code, the operating system operating on the computer, etc. can complete part or all of the actual operations, thereby implementing the functions of any one of the above embodiments.
[0088] In addition, it can be understood that the program code read from the storage medium is written into the memory provided in the expansion board inserted into the computer or into the memory provided in the expansion unit connected to the computer, and then based on the instructions of the program code, the CPU, etc. installed on the expansion board or the expansion unit are made to execute part and all of the actual operations, thereby implementing the functions of any one of the above embodiments.
[0089] The present invention has been shown and described in detail above through the drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above-mentioned multiple embodiments, those skilled in the art can know that the code review means in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the protection scope of the present invention.
Claims
1. A service function chain and SID management method based on SRv6, characterized in that: The implementation of this method includes the following steps: Step 1: Create SFC rules and configure application information and SID rules; Step 2: Generate an SFC instance, bind the SID rule and generate a SID list; Step 3: Send the SID list and policy configuration to the SRv6 gateway through the southbound interface; Step 4: Provide a visual interface for instance management and status monitoring.
2. According to the SRv6-based service function chain and SID management method according to claim 1, it is characterized in that: The SID rule configuration includes a rule name, a number of bits, and a semantic definition.
3. A method for managing service function chains and SIDs based on SRv6 according to claim 1 or 2, characterized in that: The configured SFC rule includes application name, description, IPv4 address, version and direct gateway information.
4. According to the SRv6-based service function chain and SID management method according to claim 1, it is characterized in that: The SFC instance automatically associates the head node and the tail node gateway when it is generated.
5. The SRv6-based service function chain and SID management method according to claim 1, characterized in that: The southbound interface supports sending SID value, action type and next hop address.
6. The SRv6-based service function chain and SID management method according to claim 1, characterized in that: The visualization interface supports querying by instance name, status and time conditions.
7. A method for managing service function chains and SIDs based on SRv6 according to claim 1 or 6, characterized in that: The visual interface displays the delivery status and time, and supports manual triggering of delivery operations.
8. A service function chain and SID management system based on SRv6, characterized in that: include: Gateway management module, used to maintain gateway addresses and routing tables; SID management module, used to generate and issue SID; Policy management module, used to configure traffic policies; Visualization module, used to display instance status and operation interface; The system implements the SRv6-based service function chain and SID management method described in any one of claims 1 to 7.
9. A service function chain and SID management device based on SRv6, characterized in that: include: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is used to call the machine-readable program to implement the method described in any one of claims 1 to 7.
10. A computer-readable medium, characterized in that The computer readable medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.