A method, system and device for uniform SID life cycle management across domains

By generating link feature fingerprints and introducing a SID object lifecycle state machine in cross-domain SRv6 networks, the problems of inconsistent link formats of devices from multiple vendors and fragmented SID resource management are solved, realizing unified lifecycle management of SID resources and improving network stability and automated operation and maintenance capabilities.

CN123164071APending Publication Date: 2026-11-24PURPLE MOUNTAIN LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611307643.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In cross-domain SRv6 networks, inconsistent link formats of devices from multiple vendors lead to duplicate link data, fragmented SID resource management, and unmaintainable SID status, affecting network stability and automated operation and maintenance capabilities.

Method used

By generating link feature fingerprints, unified SID resource pool management is achieved. A SID object lifecycle state machine is introduced to realize unified lifecycle management of SID resources, including initialization, allocation, distribution in progress, effective, and distribution failure states, thus solving the problems of SID resource leakage and inconsistent states.

Benefits of technology

It improves the topology accuracy and path calculation efficiency of cross-domain SRv6 networks, solves the problem of SID resource reliance on manual planning and management, and enhances network stability and automated operation and maintenance capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123164071A_ABST
    Figure CN123164071A_ABST
Patent Text Reader

Abstract

This invention discloses a unified SID lifecycle management method, system, and device for cross-domain networks. The invention generates link feature fingerprints for intra-domain and cross-domain links. When a new link is detected based on the fingerprint, a unified SID object is created, and SID resources are allocated to the link from the unified SID resource pool, establishing a binding relationship between the link and the SID resource. The invention establishes a SID object lifecycle state machine, including states such as initialization, allocated, in progress, effective, and failed to be issued. It performs full-state maintenance on SID creation, allocation, issuance, effectiveness, abnormal retries, and release. In case of failure, the binding relationship is retained and the SID is periodically reissued. When a link is deleted, the resources are released. This invention solves the problems of duplicate link data from multiple vendors, fragmented SID resources, unmaintainable states, and resource leakage, improving the topology accuracy, automated SID orchestration capabilities, and operational reliability of cross-domain networks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication network technology, and specifically to a unified SID lifecycle management method, system, and device for cross-domain networks. Background Technology

[0002] With the rapid development of 5G, cloud computing, data center interconnection, and cloud-network convergence technologies, the scale of operator networks and large enterprise wide area networks continues to expand, and network services are gradually showing a trend of deployment across regions, data centers, and autonomous systems (AS). Traditional network architectures based on Multi-Protocol Label Switching (MPLS) are gradually becoming unable to meet the needs of new business scenarios in terms of network scalability, flexible path orchestration, and automated operation and maintenance.

[0003] Segment Routing over IPv6 (SRv6) is a data plane source routing technology based on IPv6. It achieves network path orchestration by carrying segment identifiers (SIDs) in IPv6 packets. It has advantages such as simplified control plane, strong service programmability and strong network scalability, and has gradually become an important technical solution for operator backbone networks, data center interconnection networks and multi-cloud interconnection networks.

[0004] In SRv6 networks, the controller needs to be aware of the entire network topology in real time and perform service path calculation, traffic scheduling, and SID resource orchestration based on the network topology. Especially in cross-autonomous system network scenarios, service traffic often needs to cross multiple AS domains to complete end-to-end forwarding. Therefore, the controller needs to have the ability to automatically discover and uniformly manage cross-domain topologies.

[0005] In existing networks, Interior Gateway Protocols (IGPs), such as IS-IS (Intermediate System to Intermediate System) and OSPF (Open Shortest Path First), are typically used for intra-domain topology discovery, and link state information is reported to the controller via the BGP-LS (Border Gateway Protocol-Link State) protocol. RFC 7752 defines the BGP-LS protocol, which can be used to transmit topology information such as Node, Link, and Prefix between the controller and network devices, thereby enabling the controller to centrally perceive the network topology. However, in actual cross-domain SRv6 network deployments, existing technologies still have the following problems:

[0006] 1) In a multi-vendor network environment, different devices implement BGP-LS, BGP EPE (BGP Egress PeerEngineering), and SRv6 related functions differently. The same link may generate link-state routing information in different formats, which may cause the controller to generate duplicate link data, affecting the consistency of cross-domain topology and the accuracy of path calculation.

[0007] 2) In existing SRv6 networks, intra-domain End.X SIDs and cross-domain BGP EPE SIDs are usually managed independently. SID resources rely on manual planning or static configuration, which can easily lead to problems such as SID conflicts, low resource utilization, and fragmented cross-domain SID management.

[0008] 3) Traditional SID management methods typically only support static distribution and lack the ability to dynamically maintain SID status. When device configuration fails or a link is deleted, it is impossible to automatically recover SID status, automatically reclaim SID resources, and maintain SID consistency. This can easily lead to SID resource leakage, invalid SID residue, and inconsistencies in SID status between the controller and the device, affecting the stability and automated operation and maintenance capabilities of cross-domain SRv6 networks. Summary of the Invention

[0009] The purpose of this invention is to provide a unified SID lifecycle management method, system, and device for cross-domain networks, in order to solve the problems of inconsistent link formats among multiple vendors, fragmented SID resource orchestration, unmaintainable SID status, and SID resource leakage in the prior art.

[0010] To achieve the above-mentioned objectives, the present invention adopts the following technical solution:

[0011] In a first aspect, the present invention provides a unified SID lifecycle management method for cross-domain networks, applied to a controller, comprising:

[0012] Obtain cross-domain network link information and generate link feature fingerprints based on link attributes; the links include intra-domain links and cross-domain links.

[0013] When a new link is detected based on the link feature fingerprint, a corresponding unified SID object is created and the unified SID object is set to the initial state.

[0014] Allocate SID resources for the link from the unified SID resource pool, establish the binding relationship between the link and the SID resources, and set the unified SID object to the allocated state;

[0015] The unified SID object is converted into SID configuration data that can be recognized by the device side, and the SID configuration data is sent to the network device corresponding to the link. The unified SID object is set to the sending status.

[0016] Based on the configuration results returned by the network device, the unified SID object is set to an effective state or a failed distribution state; in the failed distribution state, the binding relationship between the SID resource and the link is retained, and the SID configuration data is re-distributed in subsequent synchronization cycles;

[0017] When the link is detected to be deleted, the unified SID object is deleted and the SID resource is released to the unified SID resource pool.

[0018] Furthermore, for intra-domain links, the link attributes for generating link feature fingerprints include: local autonomous system identifier, peer autonomous system identifier, local router identifier, peer router identifier, local interface address, peer interface address, and link type; for cross-domain links, the link attributes for generating link feature fingerprints include: source autonomous system identifier, destination autonomous system identifier, source interface address, destination interface address, and link type.

[0019] Furthermore, generating link feature fingerprints based on link attributes includes: performing a hash operation on the normalized link attributes to generate globally unique link feature fingerprints.

[0020] Furthermore, the unified SID resource pool is a cache with node identifier as the key; the SID resources in the unified SID resource pool are generated according to the unified SID encoding model, which includes Locator, Function and Arguments fields, where Locator is the SRv6 prefix of the network device, and the SID resource is a decimal value obtained by converting the Function and Arguments.

[0021] Furthermore, the unified SID object includes: SID value, SID type, link identifier, link feature fingerprint, and lifecycle status; the SID type includes: intra-domain End.X SID and cross-domain BGP EPE SID.

[0022] Furthermore, duplicate links are removed based on the link feature fingerprint, and a full network topology map and a cross-domain abstract topology map are constructed based on the deduplicated link information; wherein, intra-domain links are added to the full network topology map, and cross-domain links are added to both the full network topology map and the cross-domain abstract topology map.

[0023] Secondly, the present invention provides a unified SID lifecycle management system for cross-domain networks, located on the controller side, comprising:

[0024] The cross-domain topology management module is used to acquire cross-domain network link information and generate link feature fingerprints based on the link attributes in the link information; the links include intra-domain links and cross-domain links;

[0025] The SID resource orchestration module is used to create unified SID objects corresponding to links, allocate SID resources to links from the unified SID resource pool, and establish the binding relationship between links and SID resources.

[0026] The SID lifecycle management module is used to: set the unified SID object to an initial state when creating a corresponding unified SID object for a link; set the unified SID object to an allocated state after allocating SID resources for the link; set the unified SID object to a distribution state after sending SID configuration data to the network device corresponding to the link; set the unified SID object to an effective state or a distribution failure state according to the configuration result returned by the network device; retain the binding relationship between the SID resource and the link in the distribution failure state, and re-send the SID configuration data in subsequent synchronization cycles; and delete the unified SID object and release the SID resource to the unified SID resource pool when the link is detected to be deleted.

[0027] The southbound device management module is used to convert the unified SID object into SID configuration data that can be recognized by the device side, send the SID configuration data to the network device corresponding to the link, and receive the configuration result returned by the network device.

[0028] Thirdly, the present invention provides a cross-domain network system, including a controller and multiple autonomous systems, wherein the controller is used to implement the unified SID lifecycle management method for cross-domain networks described in the first aspect.

[0029] Fourthly, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the unified SID lifecycle management method for cross-domain networks described in the first aspect.

[0030] Fifthly, the present invention provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the unified SID lifecycle management method for cross-domain networks described in the first aspect.

[0031] Compared with the prior art, the present invention has the following beneficial effects:

[0032] 1. This invention obtains cross-domain network link information and generates link feature fingerprints based on the link attributes in the link information. New links are detected based on the link feature fingerprints, which can solve the problem of inconsistent link formats of multiple vendors' devices in the prior art. This helps to improve the topology accuracy and path calculation efficiency of cross-domain SRv6 networks.

[0033] 2. This invention allocates SID resources to intra-domain and cross-domain links from a unified SID resource pool, establishes a binding relationship between links and SID resources, and incorporates intra-domain link SIDs and cross-domain link SIDs into a unified resource pool for unified orchestration. This solves the problems of SID resource reliance on manual planning, SID conflicts, and fragmented cross-domain SID management in existing technologies, and improves the automated orchestration capability of SIDs in cross-domain SRv6 networks.

[0034] 3. This invention maintains a unified state for the creation, allocation, distribution, activation, anomaly recovery, and release of SID resources through a unified SID object lifecycle state machine (including initialization, allocated, distribution in progress, effective, and distribution failure states). In the distribution failure state, the binding relationship between the SID resource and the link is preserved, and the SID configuration data is re-distributed in subsequent synchronization cycles. When a link is detected to have been deleted, the unified SID object is deleted, and the SID resource is released to the unified SID resource pool. This invention's unified SID object lifecycle management mechanism solves the problems of static SID configuration, unmaintainable SID states, and SID resource leakage in existing technologies, improving SID stability, network reliability, and automated operation and maintenance capabilities in cross-domain SRv6 networks.

[0035] 4. The unified SID lifecycle management system, cross-domain network system, electronic device, and program product provided by this invention have the same effect as the provided unified SID lifecycle management method. Attached Figure Description

[0036] Figure 1 This is a flowchart of a unified SID lifecycle management method for cross-domain networks provided by an embodiment of the present invention.

[0037] Figure 2 This is a schematic diagram illustrating a link feature fingerprint generation and application process exemplified in an embodiment of the present invention.

[0038] Figure 3 This is a schematic diagram of the unified SID encoding model provided in the embodiments of the present invention.

[0039] Figure 4 This is a schematic diagram of the lifecycle state transition of the SID object provided in this embodiment of the invention.

[0040] Figure 5This is a schematic diagram of a cross-domain SRv6 network system as exemplified in an embodiment of the present invention.

[0041] Figure 6 This is a block diagram of a unified SID lifecycle management system module for cross-domain networks provided in an embodiment of the present invention.

[0042] Figure 7 This is a schematic diagram of a cross-domain network system structure provided in an embodiment of the present invention.

[0043] Figure 8 This is a schematic diagram of an electronic device structure provided in an embodiment of the present invention. Detailed Implementation

[0044] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0045] To facilitate understanding of this invention, the relevant technical terms involved in this invention will first be explained.

[0046] SRv6, short for Segment Routing over IPv6, is a segmented routing technology based on IPv6 networks. It enables end-to-end path programming through extended fields in the IPv6 packet header. SRv6 leverages the 128-bit programmability of IPv6 addresses, allowing each segment to represent a specific network function or node, enabling service orchestrators to flexibly define every step of the path.

[0047] BGP-LS: an abbreviation for BGP Link-State, can obtain node, link, and prefix routes generated by the IGP protocol, and the network topology can be obtained by resolving these routes.

[0048] BGP Speaker: A device node that runs the BGP protocol and is responsible for establishing sessions with the system and exchanging routing information.

[0049] ASBR: Autonomous System Border Router, used to connect border devices of different AS domains.

[0050] End.X: An operator in SRv6 that indicates a forwarding from the current node to an adjacent node.

[0051] EPE: an abbreviation for Egress Peer Engineering, which is used to control the exit selection of cross-domain traffic.

[0052] The unified SID lifecycle management method involved in the embodiments of the present invention will be further described below.

[0053] This embodiment provides a unified SID lifecycle management method for cross-domain networks, applied to controllers, such as... Figure 1 As shown, the steps may include S11 to S16.

[0054] Step S11: Obtain cross-domain network link information and generate link feature fingerprints based on the link attributes in the link information; the links include intra-domain links and cross-domain links;

[0055] Step S12: When a new link is detected based on the link feature fingerprint, a corresponding unified SID object is created and the unified SID object is set to the initialization state.

[0056] Step S13: Allocate SID resources for the link from the unified SID resource pool, establish the binding relationship between the link and the SID resources, and set the unified SID object to the allocated state;

[0057] Step S14: Convert the unified SID object into SID configuration data that can be recognized by the device side, send the SID configuration data to the network device corresponding to the link, and set the unified SID object to the sending status.

[0058] Step S15: Based on the configuration result returned by the network device, set the unified SID object to an active state or a failed distribution state; in the failed distribution state, retain the binding relationship between the SID resource and the link, and re-distribute the SID configuration data in the subsequent synchronization cycle;

[0059] Step S16: When the link is detected to be deleted, delete the unified SID object and release the SID resource to the unified SID resource pool.

[0060] In this embodiment, by acquiring cross-domain network link information and generating link feature fingerprints based on the link attributes in the link information, new links are detected based on these link feature fingerprints. This solves the problem of inconsistent link formats among multiple vendors' devices in the prior art, and helps improve the topology accuracy and path calculation efficiency of cross-domain SRv6 networks. In this embodiment, by allocating SID resources for intra-domain and cross-domain links from a unified SID resource pool and establishing a binding relationship between links and SID resources, intra-domain link SIDs and cross-domain link SIDs are incorporated into the unified resource pool for unified orchestration. This solves the problems of SID resource reliance on manual planning, SID conflicts, and fragmented cross-domain SID management in the prior art, and improves the automated orchestration capability of SIDs in cross-domain SRv6 networks. In this embodiment, a unified SID object lifecycle state machine (including initialization, allocated, distribution in progress, effective, and distribution failure states) is used to maintain the unified state of SID resource creation, allocation, distribution, effectiveness, exception recovery, and release processes. In the distribution failure state, the binding relationship between the SID resource and the link is preserved, and the SID configuration data is re-distributed in subsequent synchronization cycles. When a link is detected to have been deleted, the unified SID object is deleted, and the SID resource is released to the unified SID resource pool. This unified SID object lifecycle management mechanism solves the problems of static SID configuration, unmaintainable SID state, and SID resource leakage in existing technologies, improving SID stability, network reliability, and automated operation and maintenance capabilities in cross-domain SRv6 networks.

[0061] The method in this embodiment is applied to the controller, which collects Node, Link and Prefix routing information from each autonomous system in a unified manner through the BGP-LS protocol, and realizes unified lifecycle management of SID resources in the cross-domain SRv6 network through the processing of steps S11 to S16 above.

[0062] In step S1, considering the differences in Link-State routing formats generated by devices from different vendors, and the possibility that the same link may be repeatedly reported by multiple BGP Speakers, this embodiment proposes a link feature fingerprint mechanism. The controller can generate a link feature fingerprint based on key link information. Specifically, for intra-domain links, the link attributes for generating link feature fingerprints include: 1) Local Autonomous System Identifier (local AS number); 2) Peer Autonomous System Identifier (peer AS number); 3) Local Router Identifier (local Router ID); 4) Peer Router Identifier (peer Router ID); 5) Local Interface Address (local Interface IP); 6) Peer Interface Address (peer Interface IP); 7) Link Type. For cross-domain links, the link attributes for generating link feature fingerprints include: 1) Source Autonomous System Identifier; 2) Destination Autonomous System Identifier; 3) Source Interface Address; 4) Destination Interface Address; 5) Link Type. Intra-domain links and cross-domain links can be distinguished based on the AS number of the link header and tail nodes or the link source. For example, intra-domain links are generated by the IGP protocol, while cross-domain links are generated by the BGP EPE protocol.

[0063] In some optional implementations, in step S1, the controller does not simply read the Link field from BGP-LS, but instead normalizes the link attributes from different vendors and protocol extension formats, converting them into a unified data representation, and generates a link fingerprint based on the key attributes of the link as described above. Generating the link fingerprint based on the link attributes includes: performing a hash operation on the normalized link attributes to generate a globally unique link fingerprint.

[0064] Figure 2 This example demonstrates a complete process for a controller to generate and apply link feature fingerprints, such as... Figure 2 As shown, firstly, several key attributes of the link are extracted to form multi-dimensional feature elements. These mainly include: Local AS number and Remote AS number, Local Router ID and Remote Router ID, Local If IP and Remote If IP, and Link Type.

[0065] Next, the extracted raw attributes are normalized, which may include format unification (such as unifying the format and case of IP addresses), sorting rule unification (such as fixing the field order), missing value handling (such as filling in missing values ​​and assigning default values), and semantic standardization (eliminating vendor differences). Semantic standardization involves storing the attribute fields that have undergone format unification, sorting rule unification, and missing value handling into the corresponding attribute fields in the link object.

[0066] Then, a link fingerprint is generated through hash calculation. The normalized attribute fields are concatenated into a standardized result string, and a hash algorithm (such as SHA-256) is performed on this string to calculate a globally unique link feature fingerprint.

[0067] Finally, the uniqueness of a link can be determined and applied based on the generated link feature fingerprint. The calculated new fingerprint is compared with the existing link fingerprint database. If the fingerprint already exists, the link is determined to be a duplicate link, and it is directly associated with the existing link object without being created again. If the fingerprint does not exist, the link is determined to be a new link, and a new link object is created.

[0068] In this embodiment, the controller performs a hash operation on the normalized link attributes to generate a globally unique link feature fingerprint. Based on the link feature fingerprint, duplicate link identification, multi-vendor link normalization, and topology change association can be achieved.

[0069] The controller collects topology information from multiple AS domains via the BGP-LS protocol and establishes cross-domain links based on the adjacency relationships between ASBRs. In some optional implementations, the controller also removes duplicate links based on link feature fingerprints and constructs a full network topology map and a cross-domain abstract topology map based on the deduplicated link information. Links within a domain are added to the full network topology map, while cross-domain links are added to both. In this embodiment, link fingerprints can identify duplicate links in BGP-LS link data reported by devices from multiple vendors, solving the topology inconsistency problems caused by inconsistent link formats and duplicate link data in existing technologies, thus improving the topology accuracy and path calculation efficiency of cross-domain SRv6 networks. The two-layer topology structure supports both cross-domain end-to-end path calculation and domain-specific path calculation in large-scale networks.

[0070] The unified SID resource orchestration mechanism involved in the method of this embodiment will be described in detail below.

[0071] This embodiment establishes a unified SID resource pool to manage intra-domain End.X SIDs and cross-domain BGP EPE SIDs in a unified manner, employing a unified SID encoding model. The End.X SID is an adjacency-level SID used to indicate the target node and outgoing interface direction of a packet; the BGP EPE SID indicates the BGP neighbor node and outgoing interface direction of a packet. The unified SID encoding model includes Locator, Function, and Arguments fields. Figure 3 The diagram illustrates the SID encoding model structure of SRv6, as follows: Figure 3 As shown, the Locator defines an SRv6 prefix for each device. The Function is used to instruct the network device to perform functional operations, and the Arguments are optional parameter fields. When the Function does not require additional operation information, the Arguments length is 0. When the Function needs to carry specific processing information, such as defining some packet flow and service information, it can be provided through the Arguments. The Function field length includes the length of dynamic and static encoding, where the static encoding length is specified by the controller, and the dynamic encoding length is the Function length minus the static encoding length. In this embodiment, when generating a static SID, the dynamic encoding part and Arguments are uniformly set to 0. The controller obtains the configured SID information on the device side through the unified southbound interface, parses the corresponding decimal value after concatenating the Function + Arguments bytes according to the encoding model, and synchronizes it to the controller's unified SID resource pool. When a new link is added, the controller allocates a SID for the new link from the unified SID resource pool, and generates a device-recognizable SID configuration data packet according to the predefined configuration template corresponding to the manufacturer of the link's head node device, and sends it to the device. When assigning SIDs, the SID can be generated based on the static length of the Locator and Function defined for each device.

[0072] In some alternative implementations, the unified SID resource pool can be a cache with node (i.e., network device) identifiers as keys. For example, the unified SID resource pool can be a Redis cache set up on the controller side, with the node identifier as the key, used to maintain the SID resource pool for each node. Each SID in the SID resource pool is a numerical value, corresponding to the decimal value converted by the unified SID encoding model according to Function and Arguments.

[0073] The unified SID object lifecycle management mechanism involved in the method of this embodiment will be described in detail below.

[0074] To achieve unified management of SID resources in cross-domain SRv6 networks, this embodiment introduces a SID object lifecycle state machine to provide unified state management for the creation, allocation, distribution, activation, and release of link-SID resource binding relationships. In this embodiment, link feature fingerprints are used to uniquely identify links, enabling link normalization and duplicate link filtering in cross-domain scenarios; unified SID objects are used to maintain the association between links, SID resources, and lifecycle states. The controller can uniquely determine link objects based on link feature fingerprints and allocate corresponding SID resources from the SID resource pool to generate unified SID objects.

[0075] In some optional implementations, a unified SID object may include: 1) SID value; 2) SID type; 3) link identifier; 4) link feature fingerprint; and 5) lifecycle status. The SID value is a complete SRv6 SID value obtained by converting a decimal value allocated by the unified SID resource pool into a Function+Arguments field, and then adding the corresponding Locator field of the device. It is typically represented in the format of an IPv6 address (128 bits). The SID type includes intra-domain End.X SIDs and cross-domain BGP EPESIDs.

[0076] like Figure 4 As shown, the unified SID object lifecycle state machine includes the following states:

[0077] 1. INIT (Initialization State): After the controller synchronizes the BGP-LS parsing results, it generates a link feature fingerprint based on the link attributes and matches it with existing link objects. If no matching link feature fingerprint exists, it is determined to be a new link, and preparations are made to allocate SID resources for the link from the SID resource pool, while generating a corresponding unified SID object.

[0078] 2. ALLOCATED (Assigned Status): The ALLOCATED status indicates that the SID resource allocation has been completed. In this status, the controller has successfully requested SID resources from the SID resource pool and established a binding relationship between the link and the SID, but the SID has not yet been officially issued to the device. When a unified SID object enters the ALLOCATED status, the SID resource maintains a stable binding relationship with the link. Unless the link is deleted, even if subsequent SID issuance fails, the system will not reallocate new SID resources.

[0079] 3. DELIVERING (Deployment in Progress): The DELIVERING state indicates that the controller is deploying SID configuration data to the device (the head node of the link associated with the SID). The controller deploys SID configuration data to the device through the unified southbound interface and waits for the device to return the configuration result; for intra-domain links, End.X SID configuration data is deployed; for cross-domain links, BGP EPE SID configuration data is deployed. In this state, the unified SID object has been established, but the SID has not yet officially taken effect.

[0080] 4. DELIVER-FAIL (SID Distribution Failure Status): The DELIVER-FAIL status indicates that the SID resource has been allocated. When SID distribution fails, the controller does not release the current SID resource, nor does it reallocate a new SID resource. Instead, it retains the current unified SID object and the SID resource occupancy relationship. The controller records the reason for the SID distribution failure and continues to attempt to re-distribute the same SID in subsequent synchronization cycles, thereby ensuring the consistency and stability of the link SID.

[0081] 5. ACTIVE (Active Status): The ACTIVE status indicates that the SID has been successfully issued and is officially effective on the device side. In this status, the SID is formally bound to the link, can participate in cross-domain SRv6 path forwarding, and enters normal working state. SIDs in the ACTIVE status can be used for: 1) intra-domain path forwarding; 2) cross-domain end-to-end path calculation; 3) SRv6 TE path forwarding.

[0082] 6. RELEASED (Released State): The RELEASED state indicates that the SID object's lifecycle has ended. When the controller detects link deletion, the system deletes the unified SID object, clears the device-side SID configuration (sends a message to delete the SID), and releases the corresponding SID resource. The released SID is returned to the SID resource pool and can be used for SID allocation of subsequent new links, avoiding SID resource leakage.

[0083] The workflow based on the unified SID object lifecycle state machine includes:

[0084] 1) When the controller detects a new link, it creates a link object based on the link feature fingerprint and generates a corresponding unified SID object, and enters the INIT state.

[0085] 2) The controller allocates SID resources for the link from the unified SID resource pool, establishes a binding relationship between the link and the SID resources, and enters the ALLOCATED state.

[0086] 3) After completing the SID resource allocation, the controller sends the SID configuration data to the device through the unified southbound interface and enters the DELIVERING state.

[0087] 4) If the device successfully completes the SID configuration, the SID enters the ACTIVE state, indicating that the SID has officially taken effect and is participating in cross-domain SRv6 path forwarding.

[0088] 5) If SID distribution fails, the system enters the DELIVER-FAIL state. In this state, the system retains the original SID resources and the unified SID object, does not reallocate a new SID, and continues to attempt to re-distribute the SID in subsequent synchronization cycles. When the re-distribution is successful, the unified SID object re-enters the ACTIVE state.

[0089] 6) When the controller detects a link deletion, it deletes the unified SID object, releases the corresponding SID resource, enters the RELEASED state, and returns the released SID to the SID resource pool for subsequent use.

[0090] This embodiment achieves stable allocation and unified lifecycle management of SID resources in cross-domain SRv6 networks through a lifecycle management mechanism, reducing the impact of frequent SID changes on cross-domain service forwarding and path consistency, and improving the stability and maintainability of cross-domain SRv6 networks.

[0091] The following example illustrates the unified SID lifecycle management method for cross-domain networks described in this invention, using specific scenarios as examples.

[0092] Figure 5 An example of a cross-domain SRv6 network topology diagram is provided. Figure 5As shown, assuming an autonomous system (AS X) and an autonomous system (AS Y) are deployed in a cross-domain SRv6 network, an intra-domain SRv6 network is established within the same autonomous system via IGP protocols such as IS-IS or OSPF. Network devices include PE (Provider Edge) devices and P (Provider) devices. PE devices act as service access nodes, connecting to external service networks and participating in SRv6 service forwarding; P devices act as core forwarding nodes, performing data forwarding within the autonomous system based on SRv6 path information. Within an AS, RR (Route Reflector) devices are deployed to centralize BGP-LS routing information. Cross-domain interconnection is established between the two autonomous systems via BGP EPE, with ASBR1 and ASBR2 as border routers. The RRs within AS X and AS Y act as BGP Speakers, establishing neighbor relationships with the controller via the BGP-LS protocol. The controller (SDN Controller) uniformly collects topology information and maintains SID resources. The unified SID lifecycle management method may include the following steps S21 to S26.

[0093] Step S21: Obtaining Cross-Domain Network Link Information and Generating Link Objects. Configure the basic network topology, including interface IPv6 addresses, IGP protocol, and BGP-related configurations, enabling BGP link establishment addresses between devices to communicate. Subsequently, the controller configures the BGP Link-State address family neighbor relationship between the BGP routing resolution system and the devices, enabling devices to publish BGP-LS routing information to the BGP routing resolution system, thereby completing the unified collection of cross-domain SRv6 network topology information. The controller normalizes the collected link attributes and generates link feature fingerprints. For example, for a cross-domain link between ASX and ASY, since this cross-domain link is reported by two BGP speakers from both ASX and ASY, when the vendors of the two BGP speakers are different, the BGP EPE information reported by different vendors is not completely identical. This causes the controller to identify two routes when receiving the original route, even though the link characteristics are completely the same. The controller identifies them as the same link by comparing the link feature fingerprints and generates only one link object, avoiding duplicate link data.

[0094] Step S22: Create a unified SID object based on the link object. When the controller detects a new valid link object, it creates a unified SID object, and the state is set to INIT. For example, a link between PE and P within AS X has attributes including link identifier, link fingerprint, source node information, destination node information, source interface address, destination interface address, source AS number, destination AS number, and link type. Based on this information, a SID object is created, including SID value, SID type, link identifier, link fingerprint, and lifecycle state. At this time, the SID value is empty, the SID type is END.X, the link identifier is the link identifier of this link, the link fingerprint is the link fingerprint of the link, and the lifecycle state is INIT.

[0095] Step S23: SID Resource Allocation. The controller allocates SID resources from the SID resource pool. Taking the ASX head node device as an example, the controller first synchronizes the static SIDs already configured on the device, obtains the decimal placeholder corresponding to the static length, and then takes the value range (1~2) from the static function code. 静态长度-1 Within the range, the first unoccupied value is selected from smallest to largest as the allocated SID resource, and a binding relationship is established between the SID resource and the link object. The SID object is then uniformly set to the ALLOCATED state.

[0096] Step S24: Unified SID Object Configuration Distribution. Based on the SID information and target device information in the unified SID object, the controller distributes SID configuration data to the corresponding network device via the southbound interface. First, the state of the unified SID object is set to DELIVERING. Then, the SID configuration data is distributed via the southbound interface. After the device completes the configuration, it sends the configuration execution result back to the controller.

[0097] Step S25: SID Status Update and Failure Recovery. When the device returns a configuration success result, the controller updates the unified SID object status to ACTIVE. When the device returns a configuration failure result, the controller updates the unified SID object status to DELIVER-FAIL. In this state, the controller retains the original SID resources and the binding relationship between the SID and the link object, does not reassign the SID, records the reason for the failure, and continues to attempt to send the current SID configuration data in subsequent synchronization cycles; when the resend is successful, the unified SID object is restored to the ACTIVE state.

[0098] Step S26: Link Change Triggers SID Object Release. When the controller detects the deletion of an existing link object, it locates the corresponding unified SID object based on the link's feature fingerprint. The controller then releases the binding relationship between the SID object and the link object and releases the corresponding SID resource. The released SID resource is returned to the unified SID resource pool for subsequent SID allocation of new links. Simultaneously, the unified SID object's lifecycle ends, entering the RELEASED state. After completing the release operation and related logging, the controller deletes the corresponding SID object.

[0099] The unified SID lifecycle management system involved in the embodiments of the present invention will be further described below. The unified SID lifecycle management system described below can be referred to in correspondence with the unified SID lifecycle management method described above.

[0100] This invention provides a unified SID lifecycle management system for cross-domain networks, located on the controller side, for implementing the aforementioned method embodiments, such as... Figure 6 As shown, the system includes:

[0101] The cross-domain topology management module 11 is used to acquire cross-domain network link information and generate link feature fingerprints based on link attributes; the links include intra-domain links and cross-domain links.

[0102] SID resource orchestration module 12 is used to create unified SID objects corresponding to links, allocate SID resources to links from the unified SID resource pool, and establish a binding relationship between links and SID resources.

[0103] The SID lifecycle management module 13 is used to: set the unified SID object to an initial state when creating a corresponding unified SID object for a link; set the unified SID object to an allocated state after allocating SID resources for the link; set the unified SID object to a dissemination state after sending SID configuration data to the network device corresponding to the link; set the unified SID object to an effective state or a dissemination failure state according to the configuration result returned by the network device; retain the binding relationship between the SID resource and the link in the dissemination failure state, and re-disseminate the SID configuration data in subsequent synchronization cycles; and delete the unified SID object and release the SID resource to the unified SID resource pool when the link is detected to be deleted.

[0104] The southbound device management module 14 is used to convert the unified SID object into SID configuration data that can be recognized by the device side, send the SID configuration data to the network device corresponding to the link, and receive the configuration result returned by the network device.

[0105] Preferably, the cross-domain topology management module 11 is used to achieve unified aggregation of cross-domain SRv6 network topology information and link object management. The cross-domain topology management module 11 performs unified parsing and normalization processing on link information reported by different autonomous systems and devices from different vendors, generating link objects with unique identifiers, and constructing a full-network topology map and a cross-domain abstract topology map, providing a unified topology foundation for subsequent SID resource orchestration and path calculation. The SID resource orchestration module 12 is used to achieve unified planning, allocation, and management of SID resources in the cross-domain SRv6 network. Based on the link objects generated by the cross-domain topology management module, the SID resource orchestration module 12 selects corresponding SID resources from the SID resource pool, establishes the association between link objects and SID resources, and generates unified SID objects. The SID lifecycle management module 13 is used to achieve state maintenance of SID objects throughout the entire process from creation, allocation, issuance, activation to release. Based on the SID objects generated by the SID resource orchestration module, the SID lifecycle management module 13 manages the current state of SIDs through a lifecycle state machine and triggers SID state migration based on events such as link changes and device configuration results. The Southbound Device Management Module 14 is used to realize configuration interaction and status synchronization between the controller and network devices. The Southbound Device Management Module 14 is responsible for converting the SID objects generated by the SID resource orchestration module into SID configuration data that can be recognized by the device side, and sending the SID configuration data to the target device through the southbound interface. At the same time, it receives the configuration results returned by the device, providing a basis for status updates for the SID lifecycle management module.

[0106] like Figure 7 As shown, this embodiment of the invention also provides a cross-domain network system, including a controller 21 and multiple autonomous systems 22. The controller is used to implement the unified SID lifecycle management method for cross-domain networks described in any of the above embodiments.

[0107] like Figure 8 As shown, this embodiment of the invention also provides an electronic device, including a memory 31, a processor 32, and a computer program stored on the memory 31 and executable on the processor 32. When the computer program is executed by the processor 32, it implements the steps of the unified SID lifecycle management method for cross-domain networks in any of the above embodiments.

[0108] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of unified SID lifecycle management across domain networks in any of the above embodiments. The program code for implementing the method of this invention can be written in any combination of one or more programming languages. This program code can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor or controller, the program code causes the steps of the method of this invention to be implemented.

[0109] The unified SID lifecycle management system, cross-domain network system, electronic device, and computer program product provided in this embodiment have the same beneficial effects as the unified SID lifecycle management method described above, and will not be repeated here.

[0110] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems or apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.

[0111] It should also be noted that relational terms such as "first" and "second" in this specification are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The term "and / or" includes any and all combinations of one or more of the associated listed items. The terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.

[0112] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A unified SID lifecycle management method for cross-domain networks, applied to a controller, characterized in that, include: Obtain cross-domain network link information and generate link feature fingerprints based on the link attributes in the link information; The links include intra-domain links and cross-domain links; When a new link is detected based on the link feature fingerprint, a corresponding unified SID object is created and the unified SID object is set to the initial state. Allocate SID resources for the link from the unified SID resource pool, establish the binding relationship between the link and the SID resources, and set the unified SID object to the allocated state; The unified SID object is converted into SID configuration data that can be recognized by the device side, and the SID configuration data is sent to the network device corresponding to the link. The unified SID object is set to the sending status. Based on the configuration result returned by the network device, the unified SID object is set to an effective state or a failed distribution state; In the event of a failed distribution, the binding relationship between the SID resource and the link is preserved, and the SID configuration data is re-distributed in subsequent synchronization cycles. When the link is detected to be deleted, the unified SID object is deleted and the SID resource is released to the unified SID resource pool.

2. The unified SID lifecycle management method for cross-domain networks according to claim 1, characterized in that, For intra-domain links, the link attributes that generate the link feature fingerprint include: local autonomous system identifier, peer autonomous system identifier, local router identifier, peer router identifier, local interface address, peer interface address, and link type; For cross-domain links, the link attributes that generate the link feature fingerprint include: source autonomous system identifier, destination autonomous system identifier, source interface address, destination interface address, and link type.

3. The method for unified SID life cycle management of cross-domain network according to claim 1, characterized in that, The step of generating link feature fingerprints based on link attributes includes: Perform a hash operation on the normalized link attributes to generate a globally unique link feature fingerprint.

4. The unified SID lifecycle management method for cross-domain networks according to claim 1, characterized in that, The unified SID resource pool is a cache with node identifiers as keys; the SID resources in the unified SID resource pool are generated according to the unified SID encoding model, which includes Locator, Function and Arguments fields, where Locator is the SRv6 prefix of the network device, and the SID resource is a decimal value obtained by converting the Function and Arguments.

5. The method for unified SID life cycle management of cross-domain network according to claim 1, characterized in that, The unified SID object includes: SID value, SID type, link identifier, link feature fingerprint, and lifecycle status; the SID type includes: intra-domain End.X SID and cross-domain BGP EPE SID.

6. The method for unified SID life cycle management of cross-domain network according to claim 1, characterized in that, Also includes: Duplicate links are removed based on the link feature fingerprint, and a full network topology map and a cross-domain abstract topology map are constructed based on the deduplicated link information; wherein, intra-domain links are added to the full network topology map, and cross-domain links are added to both the full network topology map and the cross-domain abstract topology map.

7. A unified SID life cycle management system across domains of networks, at a controller side, comprising: include: The cross-domain topology management module is used to obtain cross-domain network link information and generate link feature fingerprints based on the link attributes in the link information. The links include intra-domain links and cross-domain links; The SID resource orchestration module is used to create unified SID objects corresponding to links, allocate SID resources to links from the unified SID resource pool, and establish the binding relationship between links and SID resources. The SID lifecycle management module is used to: set the unified SID object to an initial state when creating a corresponding unified SID object for a link; set the unified SID object to an allocated state after allocating SID resources for the link; set the unified SID object to a dissemination state after sending SID configuration data to the network device corresponding to the link; and set the unified SID object to an effective state or a dissemination failure state according to the configuration result returned by the network device. In the event of a failed distribution, the binding relationship between the SID resource and the link is preserved, and the SID configuration data is re-distributed in subsequent synchronization cycles. And when the link is detected to be deleted, the unified SID object is deleted and the SID resource is released to the unified SID resource pool; The southbound device management module is used to convert the unified SID object into SID configuration data that can be recognized by the device side, send the SID configuration data to the network device corresponding to the link, and receive the configuration result returned by the network device.

8. A cross-domain network system, characterized by, It includes a controller and multiple autonomous systems, the controller being used to implement the unified SID lifecycle management method for cross-domain networks according to any one of claims 1 to 6.

9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the computer program is executed by the processor, it implements the steps of the unified SID lifecycle management method for cross-domain networks according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the unified SID lifecycle management method for cross-domain networks according to any one of claims 1 to 6.