IPv6 forwarding label allocation management system and method suitable for rail transit system

By designing an IPv6 forwarding label allocation and management system in the rail transit system, the problems of increased network address length and unreliable paths after the migration of IPv6 technology were solved, and the control protocol was simplified and the path reliability was improved.

CN122496458APending Publication Date: 2026-07-31CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
Filing Date
2026-04-23
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

After the rail transit system migrates to IPv6 technology, the network address length of the equipment increases and the routing table becomes larger, which leads to a decrease in the forwarding efficiency of the routing and switching equipment and unreliable packet forwarding paths.

Method used

An IPv6 forwarding label allocation and management system was designed, including a network device information input module, a network topology input module, an identifier predefinition module, and a label allocation module. By formulating label allocation principles, the system obtains the IPv6 forwarding labels of network devices, simplifies the control protocol, and increases scalability and path reliability.

Benefits of technology

It simplifies the control protocol, increases scalability and path reliability, improves the efficiency and reliability of IPv6 forwarding in rail transit systems, and facilitates use, maintenance and management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122496458A_ABST
    Figure CN122496458A_ABST
Patent Text Reader

Abstract

This invention discloses an IPv6 forwarding label allocation management system and method applicable to rail transit systems. The system includes: a network device information input module for inputting network device configuration information; a network topology input module for inputting the network topology; an identifier predefinition module for defining label allocation principles; a label allocation module for matching the input device configuration information and network topology with the defined label allocation principles to obtain IPv6 forwarding labels for network devices; and a label maintenance management module for obtaining the IPv6 forwarding labels of all forwarding nodes in the network and outputting reports according to a specific template. This management system, through the cooperation of different modules, obtains IPv6 forwarding labels for network devices, simplifying control protocols, increasing scalability, programmability, and path reliability, making it more practical and easier to use, maintain, and manage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of rail transit communication technology, and specifically relates to an IPv6 forwarding label allocation management system and method suitable for rail transit systems. Background Technology

[0002] In recent years, guided by the development goals of intelligent, networked, and digitalized maintenance of rail transit systems, the importance of network technology in the operation and maintenance of rail transit systems has become increasingly prominent. Major services such as integrated video surveillance systems, office network systems, microcomputer monitoring systems, power SCADA systems, video conferencing systems, disaster prevention systems, passenger service systems, power and environmental monitoring systems, and network management systems are all carried through the data communication network of the rail transit system. As the network carries more and more services, higher demands are placed on the network capabilities of various aspects of the data communication network. In the past, the network communication protocol used by rail transit systems was IPv4 (Internet Protocol version 4), but the scarcity of network address resources inherent in this technology has gradually become one of the main factors restricting the progress of rail transit systems.

[0003] Currently, rail transit systems are transitioning from IPv4 technology to IPv6 (Internet Protocol Version 6), which offers more network address resources, higher routing efficiency, and better quality of service. However, adopting IPv6 technology leads to a significant increase in the length of network addresses on devices and a larger routing table, thereby increasing the computational load on routing and switching equipment during forwarding and reducing forwarding efficiency. Furthermore, when using the basic IPv6 protocol for packet forwarding, the reliability of the path during end-to-end forwarding of data packets cannot be guaranteed. Summary of the Invention

[0004] To address the aforementioned problems, this invention introduces an IPv6 forwarding label allocation and management system suitable for rail transit systems, comprising: The network device information input module is used to input network device configuration information; The network topology input module is used to input the network topology. A predefined module for identifying tags, used to define tag allocation principles; The label allocation module is used to match the input device configuration information and network topology with the established label allocation principles to obtain the IPv6 forwarding label of the network device. The label maintenance and management module is used to obtain the IPv6 forwarding labels of all forwarding nodes in the network and output reports according to a specific template.

[0005] Furthermore, the network device configuration information includes one or more of the following: The network type to which the equipment belongs, the organization to which the equipment belongs, the equipment level and the line to which the equipment belongs, the business system to which the equipment belongs, the station to which the equipment belongs, the computer room where the equipment is located, and the equipment serial number.

[0006] Furthermore, the network device information input module is also used to generate network device names with unified rules based on the input network device configuration information.

[0007] Furthermore, the network topology includes device type, device name, device connection relationship, and port configuration information. The port configuration information includes port number, purpose, hierarchical relationship of device connections, and names of connected devices.

[0008] Furthermore, establishing label allocation principles includes predefining each identifier for the IPv6 forwarding label, specifically including: Assign corresponding identifier bits to each identifier in the IPv6 forwarding label; Divide the identifier bits of one or more identifiers; Input the meaning of the identifier corresponding to the identifier in the identifier without identifier bits, and the meaning of the identifier corresponding to each identifier bit in the identifier with identifier bits.

[0009] Furthermore, the IPv6 forwarding label has 128 bits of identifiers. The identifiers in the IPv6 forwarding label include location identifiers, function identifiers, and variable identifiers. The allocation of corresponding identifier bits for each identifier in the IPv6 forwarding label includes... The location identifier uses the identifier bits within a first preset range to identify the location of the device; The address of the function identifier occupies the identifier bits within the second preset range, which are used to identify the operation instructions of the node device; The address of the variable identifier occupies the identifier bits within the third preset range, which are reserved for future use.

[0010] Furthermore, dividing the identifier bits of one or more identifiers includes dividing the identifier bits of a first preset range occupied by the location identifier: The identifier bits of the first preset range are divided into multiple first sub-identifier bits that are adapted to the network device configuration information.

[0011] Furthermore, dividing the identifier bits of one or more identifiers includes dividing the identifier bits of the second preset range occupied by the functional identifier: The identifier of the second preset range is divided into two second sub-identifier bits, one of which represents a dynamic field and is reserved, and the other represents a static field.

[0012] Furthermore, the meaning of each identifier bit in the identifier segmentation includes the meaning of the identifier corresponding to multiple first sub-identifier bits and two second sub-identifier bits, specifically including: The meanings of the multiple first sub-identifier bits include the network fixed prefix and network device configuration information; The two second sub-identifier bits correspond to dynamic fields and static fields, respectively.

[0013] Furthermore, the identifier bits of the first preset range, the identifier bits of the second preset range, and the identifier bits of the third preset range are the first 80 bits, bits 81-112, and bits 113-128 of the 128 bits, respectively. The first 80 bits are divided into the following first sub-identifier bits, and their corresponding meanings are as follows: Bits 1-32: Fixed network prefix; Bits 33-36: Network type of the device; Positions 37-44: Organizational level to which the equipment belongs; Positions 45-52: The business system to which the device belongs; Positions 53-64: Equipment level and associated line; Positions 65-72: The station to which the equipment belongs; Positions 73-76: The computer room where the device is located; Bits 77-80: Device serial number; The 81st to 112th bits are divided into the following two second sub-identifier bits, and their corresponding meanings are as follows: Positions 81-96: Dynamic fields, reserved for future use; Positions 97-112: Static fields used for business configuration; The 113th to 128th bits are not divided; they are reserved for future use.

[0014] Furthermore, reports output based on a specific template may include one or more of the following: Device name, network type, organization, business system, line, station, computer room, serial number, services carried, port configuration, network connections, and assigned IPv6 forwarding label.

[0015] Another objective of this invention is to provide an IPv6 forwarding label allocation and management method suitable for rail transit systems, comprising, Establish label allocation principles; Configure network device information; Draw the network topology; Based on the configured network topology, the IPv6 forwarding labels of network devices are obtained by matching them with the established label allocation principles.

[0016] Furthermore, establishing label allocation principles includes predefining each identifier for the IPv6 forwarding label, specifically including: Assign corresponding identifier bits to each identifier in the IPv6 forwarding label; Divide the identifier bits of one or more identifiers; Input the meaning of the identifier corresponding to the identifier in the identifier with no identifier bits and the meaning of the identifier corresponding to each identifier bit in the identifier with identifier bits.

[0017] Furthermore, the IPv6 forwarding label has 128 bits of identifiers. The IPv6 forwarding label includes a location identifier, a function identifier, and a variable identifier. The allocation of corresponding identifier bits for each identifier in the IPv6 forwarding label includes... The location identifier uses the identifier bits within a first preset range to identify the location of the device; The address of the function identifier occupies the identifier bits within the second preset range, which are used to identify the operation instructions of the node device; The address of the variable identifier occupies the identifier bits within the third preset range, which are reserved for future use.

[0018] Furthermore, dividing the identifier bits of one or more identifiers includes dividing the identifier bits of a first preset range occupied by the location identifier: The identifier bits of the first preset range are divided into multiple first sub-identifier bits that are adapted to the network device configuration information.

[0019] Furthermore, dividing the identifier bits of one or more identifiers includes dividing the identifier bits of the second preset range occupied by the functional identifier: The identifier of the second preset range is divided into two second sub-identifier bits, one of which represents a dynamic field and is reserved, and the other represents a static field.

[0020] Furthermore, the meaning of each identifier bit in the identifier segmentation includes the meaning of the identifier corresponding to multiple first sub-identifier bits and two second sub-identifier bits, specifically including: The meanings of the multiple first sub-identifier bits include the network fixed prefix and network device configuration information; The two second sub-identifier bits correspond to dynamic fields and static fields, respectively.

[0021] Furthermore, the configured network device information includes one or more of the following: The network type to which the equipment belongs, the organization to which the equipment belongs, the business system to which the equipment belongs, the equipment level and the line to which the equipment belongs, the station to which the equipment belongs, the computer room where the equipment is located, and the equipment serial number.

[0022] Furthermore, it also includes generating network device names with unified rules based on the configured network device information.

[0023] Furthermore, the network topology includes device type, device name, device connection relationship, and port configuration information. The port configuration information includes port number, purpose, hierarchical relationship of device connections, and names of connected devices.

[0024] Furthermore, it also includes obtaining the IPv6 forwarding labels of all forwarding nodes in the network and outputting reports according to a specific template, wherein the reports include one or more of the following: Device name, network type, organization, business system, line, station, computer room, serial number, services carried, port configuration, network connections, and assigned IPv6 forwarding label.

[0025] The management system of this invention obtains the IPv6 forwarding label of network devices through the mutual cooperation between different modules, thereby simplifying the control protocol, increasing scalability, programmability and path reliability, making it more practical and easier to use, maintain and manage.

[0026] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures pointed out in the description, claims and drawings. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 This invention illustrates a schematic diagram of an IPv6 forwarding label allocation and management system suitable for rail transit systems, as shown in an embodiment of the present invention. Figure 2 A schematic diagram of a network topology in an embodiment of the present invention is shown; Figure 3 A schematic diagram of an SRv6 SID structure according to an embodiment of the present invention is shown; Figure 4 A schematic diagram of a service configuration in an embodiment of the present invention is shown; Figure 5 A schematic diagram of an IPv6 forwarding label allocation and management method applicable to rail transit systems is shown in an embodiment of the present invention. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0030] like Figure 1 As shown in the illustration, this invention introduces an IPv6 forwarding label allocation and management system suitable for rail transit systems. The system includes a network device information input module, a network topology input module, an identifier pre-definition module, a label allocation module, and a label maintenance and management module. The network device information input module is used to input network device configuration information; the network topology input module is used to input the network topology; the identifier pre-definition module is used to formulate label allocation principles; the label allocation module is used to match the input device configuration information and network topology with the formulated label allocation principles to obtain IPv6 forwarding labels for network devices; the label maintenance and management module is used to obtain the IPv6 forwarding labels of all forwarding nodes in the network and output reports according to a specific template. This management system, through the cooperation of different modules, obtains IPv6 forwarding labels for network devices, simplifying control protocols, increasing scalability, programmability, and path reliability, making it more practical and easier to use, maintain, and manage.

[0031] Specifically, network device configuration information includes, but is not limited to, one or more of the following: network type, organizational structure, business system, device level and line, station, computer room, and serial number. The network type refers to the network type the device belongs to within the rail transit system, such as an office system network, business service network, or integrated information network. The organizational structure refers to the device's affiliation, related to the organizational structure of the rail transit system, such as belonging to a railway bureau or group company. The business system refers to the name of the business system to which the device belongs. The network level and line refers to the device's network layer, such as core, aggregation, or access layer. If the device is at the access layer, the line refers to the name or code of the line to which it belongs; if it is at the core or aggregation layer, it does not belong to any line. The station refers to the name of the station that manages the location where the device is installed. The computer room refers to the name of the computer room where the device is installed. The serial number refers to the serial number of the device at that network level within the computer room, ordered by installation time. However, this is not the only application; network device configuration information, including device model and other information, is also applicable to this invention. Furthermore, by way of example, Figure 2 The attribute configuration on the right side of the middle section is the network device configuration information for a specific device.

[0032] Furthermore, the network device information input module is also used to generate network device names with unified rules based on the input network device configuration information. Specifically, the network topology needs to display specific network devices, and the network device name and SID also need to uniquely correspond in the subsequently exported SID form; each network device needs to have a name. Further, the network device name can be uniformly set as: organizational level - device level and associated line - associated station - associated computer room - device serial number - device model. However, it is not limited to this; the name in the network device can include other configuration information of the network device, or a name composed of different orders or combinations of the above configuration information, etc., which are also applicable to this invention.

[0033] The network topology includes device types, device names, device connections, and port configuration information. The port configuration information includes the port number, purpose, hierarchical relationship of device connections, and the names of connected devices. A network topology diagram is shown below. Figure 2As shown. The upstream / downstream connection relationship between devices refers to whether two devices are upstream or downstream relative to each other. Specifically, if the two connected devices are not at the same level, the upstream device refers to the device one level above the current device in the network hierarchy, and the downstream device refers to the device one level below the current device in the network hierarchy. For example, if device A in the aggregation layer is connected to device B in the access layer, device A is the upstream device relative to device B, and device B is the downstream device relative to device A. If the two connected devices are at the same level, the upstream and downstream devices are related to the uplink and downlink directions of the line. For example, if the station to which device A belongs is located in the downlink direction of the station to which device B belongs, then device A is the upstream device relative to device B, and device B is the downstream device relative to device A. Furthermore, the network topology input module supports viewing and modifying the network topology diagram, as well as modifying, adding, and deleting devices, device connection relationships, and port information. Thus, for devices using IPv6 forwarding labels in the rail transit system, network device information is configured, and then the corresponding devices are connected. Connections are made in the interface to form a topology structure. After the connection is completed, finally, the interconnection port information is configured for both ends of each connection line. Therefore, the above method is simple to configure, highly readable, and eliminates the possibility of tag duplication in subsequent applications.

[0034] The label allocation principle involves predefining the meaning of each identifier in the IPv6 forwarding label. Specifically, this includes: first, assigning corresponding identifier bits to each identifier in the IPv6 forwarding label; second, dividing the identifier bits of one or more identifiers within each identifier; and finally, inputting the identifier meanings corresponding to the identifier bits in identifiers without divided identifier bits, as well as the identifier meanings corresponding to the identifier bits in identifiers with divided identifier bits. The IPv6 forwarding label is the SRv6 SID. SRv6 (Segment Routing IPv6) is a protocol designed based on source routing principles for forwarding IPv6 packets over a network; it is a next-generation IP bearer protocol. It utilizes existing IPv6 forwarding technology and achieves network programmability through flexible IPv6 extension headers. An SRv6 SID is a series of SRv6 Segment IDs encapsulated in the SRH (Segment Routing Header) of an SRv6 packet. It explicitly guides packets to be forwarded along a planned path, enabling fine-grained end-to-end control over the forwarding path and meeting the SLA (Service Level Agreement) requirements of services, such as high reliability, high bandwidth, and low latency. IPv6 forwarding labels include a Locator, a Function, and Arguments. The SRv6 SID address (i.e., the identifier bits) is 128 bits, also divided into three parts: the Locator address, the Function address, and the Arguments address. Figure 3 As shown, the location identifier is an identifier assigned to a network node in the network topology. It can be used for routing and forwarding data packets. The location identifier has two important attributes: routable and aggregated. Furthermore, in the SRv6 SID, the location identifier is a variable-length part to adapt to network topologies of different sizes. The function identifier is an ID value assigned by the device to local forwarding instructions. This value can be used to express the forwarding action that the device needs to perform, equivalent to the opcode of a computer instruction. In SRv6 network programming, different forwarding behaviors are expressed by different function IDs. Commonly used instructions are shown in Table 1: Table 1 Commonly Used Commands

[0035] The variables are identified as parameters required when the forwarding instruction is executed. These parameters may include streams, services, or any other related variable information.

[0036] In this embodiment of the invention, firstly, corresponding identifier bits are allocated to each identifier in the IPv6 forwarding label; that is, the identifier bits of the IPv6 forwarding label are 128 bits. The identifiers in the IPv6 forwarding label include location identifiers, function identifiers, and variable identifiers. The allocation of corresponding identifier bits to each identifier in the IPv6 forwarding label includes: the identifier bits occupied by the address of the location identifier are within a first preset range, used to identify the location of the device; the identifier bits occupied by the address of the function identifier are within a second preset range, used to identify the operation instructions of the node device; and the identifier bits occupied by the address of the variable identifier are within a third preset range, used for reservation.

[0037] Then, the identifier bits of one or more identifiers are divided; specifically, the identifier bits of the first preset range occupied by the location identifier are divided into multiple first sub-identifier bits adapted to the network device configuration information. The identifier bits of the second preset range occupied by the function identifier are divided into two second sub-identifier bits, one of which represents a dynamic field and is reserved, and the other represents a static field. Variable identifiers are not divided and are reserved.

[0038] Finally, input the meaning of the identifier bits in the undivided identifier and the meaning of each identifier bit in the divided identifier. The identifier bits for undivided variables are reserved, while those with sub-identifier bits include location identifiers and function identifiers. The meanings of multiple first sub-identifier bits include network fixed prefixes and network device configuration information; the meanings of two second sub-identifier bits are dynamic and static fields, respectively.

[0039] For example, the allocation principle for each tag of the SRv6 SID is as follows: the location identifier address occupies the first 80 bits in the IPv6 forwarding label. The location identifier address needs to be unique within the segmented routing domain, so this address identifier must be able to accurately locate a single device; that is, the Locator is used to identify the location of the device. Specifically, the first 80 bits occupied by the location identifier are further divided into multiple first sub-identifiers, and the meaning of the identifiers corresponding to the multiple first identifier bits after division is input, as shown in Table 2 below: Table 2. Meaning of each digit in the Locator address identifier

[0040] The function identifier address occupies bits 81-112 in the IPv6 forwarding label, identifying the node device's operation instructions (i.e., function instructions). Bits 81-112 are further divided: bits 81-96 are dynamic fields, and bits 97-112 are static fields used to identify the device port number and service configuration, as shown in Table 2. Table 3. Meaning of each digit in the Function address identifier

[0041] It should be noted that: End.X.SID corresponds to the port number of the node device connected to the link in the last three digits of the hexadecimal identifier; End.DT6.SID and End.DT4.SID correspond to the VPN (Virtual Private Network) number of the corresponding service, i.e., identifying the service configuration, such as... Figure 4 The identifier column on the left shows the VPN number for the corresponding service.

[0042] The variable identifier address occupies bits 113-128 in the IPv6 forwarding label, and these bits are reserved.

[0043] In this embodiment of the invention, the division of the number of bits occupied by each identifier, the further division of the occupied identifier bits, and the identifier meaning represented by the further divided identifier bits are not limited to these, and can be adaptively adjusted according to the system or environment of the application.

[0044] In this embodiment of the invention, the label allocation module is used to match the input device configuration information and the input network topology with the established label allocation principles to obtain the IPv6 forwarding label of the network device.

[0045] In this embodiment of the invention, the system further includes a tag management and maintenance module. This module acquires the IPv6 forwarding tags of all forwarding nodes in the network and outputs reports according to a specific template. The reports output according to the specific template include, but are not limited to, one or more of the following: the network type to which the device belongs, its organizational structure, device level and associated line, the station to which the device belongs, the computer room where the device is located, the device serial number, the services it carries, port configuration, device uplink / downlink relationships, and the assigned IPv6 forwarding tags. The method of this embodiment assigns corresponding SIDs to the routing information of network devices according to the corresponding allocation method for each SID segment. This allows network devices to generate routing tables based on the assigned SIDs. Consequently, the management system described above is simple to configure, highly readable, and eliminates the possibility of tag duplication.

[0046] like Figure 5As shown in the illustration, this invention also introduces an IPv6 forwarding label allocation and management method suitable for rail transit systems. Employing the aforementioned management system, the method includes: first, formulating label allocation principles; second, configuring network device information; third, drawing the network topology; and finally, based on the configured network topology, matching it with the formulated label allocation principles to obtain the IPv6 forwarding labels of the network devices. This management method is simple to configure, highly readable, and eliminates the possibility of label duplication.

[0047] In this embodiment of the invention, defining the label allocation principle includes predefining each identifier of the IPv6 forwarding label, specifically including: Assign corresponding identifier bits to each identifier in the IPv6 forwarding label; Divide the identifier bits of one or more identifiers; Input the meaning of the identifier corresponding to the identifier in the identifier with no identifier bits and the meaning of the identifier corresponding to each identifier bit in the identifier with identifier bits.

[0048] In this embodiment of the invention, the IPv6 forwarding label has 128 bits of identifier bits. The IPv6 forwarding label includes a location identifier, a function identifier, and a variable identifier. Assigning corresponding identifier bits to each identifier in the IPv6 forwarding label includes... The location identifier uses the identifier bits within a first preset range to identify the location of the device; The address of the function identifier occupies the identifier bits within the second preset range, which are used to identify the operation instructions of the node device; The address of the variable identifier occupies the identifier bits within the third preset range, which are reserved for future use.

[0049] In this embodiment of the invention, dividing the identifier bits of one or more identifiers includes dividing the identifier bits of a first preset range occupied by the location identifier: The identifier bits of the first preset range are divided into multiple first sub-identifier bits that are adapted to the network device configuration information.

[0050] In this embodiment of the invention, dividing the identifier bits of one or more identifiers includes dividing the identifier bits of a second preset range occupied by a functional identifier: The identifier of the second preset range is divided into two second sub-identifier bits, one of which represents a dynamic field and is reserved, and the other represents a static field.

[0051] In this embodiment of the invention, the meaning of each identifier bit in the identifier segmentation includes the meaning of the identifier corresponding to multiple first sub-identifier bits and two second sub-identifier bits, specifically including: The meanings of the multiple first sub-identifier bits include the network fixed prefix and network device configuration information; The two second sub-identifier bits correspond to dynamic fields and static fields, respectively.

[0052] In this embodiment of the invention, the configured network device information includes one or more of the following: The network type to which the equipment belongs, the organization to which the equipment belongs, the business system to which the equipment belongs, the equipment level and the line to which the equipment belongs, the station to which the equipment belongs, the computer room where the equipment is located, and the equipment serial number.

[0053] In this embodiment of the invention, a unified rule network device name is generated based on the configured network device information.

[0054] In this embodiment of the invention, the network topology includes device type, device name, device connection relationship and port configuration information. The port configuration information includes port number, purpose, hierarchical relationship of device connection, and name of connected device.

[0055] In this embodiment of the invention, the method further includes obtaining the IPv6 forwarding labels of all forwarding nodes in the network and outputting a report according to a specific template, wherein the report includes one or more of the following contents; Device name, network type, organization, business system, line, station, computer room, serial number, services carried, port configuration, network connections, and assigned IPv6 forwarding label.

[0056] SRv6 defines IPv6 addresses as instantiated SRv6 segment identifiers (SIDs), also known as forwarding labels. These SIDs are then combined to form a segment list, and forwarding is performed according to the sequence of SIDs in the segment list. This achieves the goals of simplifying control protocols, increasing scalability, programmability, and path reliability.

[0057] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An IPv6 forwarding label allocation and management system suitable for rail transit systems, characterized in that, include, The network device information input module is used to input network device configuration information; The network topology input module is used to input the network topology. A predefined module for identifying tags, used to define tag allocation principles; The label allocation module is used to match the input device configuration information and network topology with the established label allocation principles to obtain the IPv6 forwarding label of the network device. The label maintenance and management module is used to obtain the IPv6 forwarding labels of all forwarding nodes in the network and output reports according to a specific template.

2. The IPv6 forwarding label allocation management system for rail transit systems according to claim 1, characterized in that, Network device configuration information includes one or more of the following: The network type to which the equipment belongs, the organization to which the equipment belongs, the equipment level and the line to which the equipment belongs, the business system to which the equipment belongs, the station to which the equipment belongs, the computer room where the equipment is located, and the equipment serial number.

3. The IPv6 forwarding label allocation management system for rail transit systems according to claim 2, characterized in that, The network device information input module is also used to generate network device names with unified rules based on the input network device configuration information.

4. The IPv6 forwarding label allocation management system for rail transit systems according to claim 3, characterized in that, The network topology includes device type, device name, device connection relationship and port configuration information. The port configuration information includes port number, purpose, hierarchical relationship of device connection, and name of connected device.

5. The IPv6 forwarding label allocation management system for rail transit systems according to any one of claims 1-4, characterized in that, Developing label allocation principles involves predefining each identifier for the IPv6 forwarding label, specifically including: Assign corresponding identifier bits to each identifier in the IPv6 forwarding label; Divide the identifier bits of one or more identifiers; Input the meaning of the identifier corresponding to the identifier in the identifier without identifier bits, and the meaning of the identifier corresponding to each identifier bit in the identifier with identifier bits.

6. The IPv6 forwarding label allocation management system for rail transit systems according to claim 5, characterized in that, The IPv6 forwarding label has 128 bits of identifiers. The identifiers in the IPv6 forwarding label include a location identifier, a function identifier, and a variable identifier. The allocation of corresponding identifier bits for each identifier in the IPv6 forwarding label includes... The location identifier uses the identifier bits within a first preset range to identify the location of the device; The address of the function identifier occupies the identifier bits within the second preset range, which are used to identify the operation instructions of the node device; The address of the variable identifier occupies the identifier bits within the third preset range, which are reserved for future use.

7. The IPv6 forwarding label allocation management system for rail transit systems according to claim 6, characterized in that, Dividing the identifier bits of one or more identifiers includes dividing the identifier bits of a first preset range occupied by the location identifier: The identifier bits of the first preset range are divided into multiple first sub-identifier bits that are adapted to the network device configuration information.

8. The IPv6 forwarding label allocation management system for rail transit systems according to claim 7, characterized in that, Dividing the identifier bits of one or more identifiers includes dividing the identifier bits of the second preset range occupied by the functional identifier: The identifier of the second preset range is divided into two second sub-identifiers, one of which represents a dynamic field and is reserved, and the other represents a static field.

9. The IPv6 forwarding label allocation management system for rail transit systems according to claim 8, characterized in that, The meaning of each identifier bit in the identifier segmentation includes the meaning of the identifier corresponding to multiple first sub-identifier bits and two second sub-identifier bits, specifically including: The meanings of the multiple first sub-identifier bits include the network fixed prefix and network device configuration information; The two second sub-identifier bits correspond to dynamic fields and static fields, respectively.

10. The IPv6 forwarding label allocation management system for rail transit systems according to claim 9, characterized in that, The identifier bits of the first preset range, the second preset range, and the third preset range are the first 80 bits, bits 81-112, and bits 113-128 of the 128 bits, respectively. The first 80 bits are divided into the following first sub-identifier bits, and their corresponding meanings are as follows: Bits 1-32: Fixed network prefix; Bits 33-36: Network type of the device; Positions 37-44: Organizational level to which the equipment belongs; Positions 45-52: The business system to which the device belongs; Positions 53-64: Equipment level and associated line; Positions 65-72: The station to which the equipment belongs; Positions 73-76: The computer room where the device is located; Bits 77-80: Device serial number; The 81st to 112th bits are divided into the following two second sub-identifier bits, and their corresponding meanings are as follows: Positions 81-96: Dynamic fields, reserved for future use; Positions 97-112: Static fields used for business configuration; The 113th to 128th bits are not divided; they are reserved for future use.

11. The IPv6 forwarding label allocation management system for rail transit systems according to claim 10, characterized in that, Reports generated based on a specific template include one or more of the following: Device name, network type, organization, business system, line, station, computer room, serial number, services carried, port configuration, network connections, and assigned IPv6 forwarding label.

12. A method for IPv6 forwarding label allocation and management applicable to rail transit systems, characterized in that, include, Establish label allocation principles; Configure network device information; Draw the network topology; Based on the configured network topology, the IPv6 forwarding labels of network devices are obtained by matching them with the established label allocation principles.

13. The IPv6 forwarding label allocation and management method for rail transit systems according to claim 12, characterized in that, Developing label allocation principles involves predefining each identifier for the IPv6 forwarding label, specifically including: Assign corresponding identifier bits to each identifier in the IPv6 forwarding label; Divide the identifier bits of one or more identifiers; Input the meaning of the identifier corresponding to the identifier in the identifier with no identifier bits and the meaning of the identifier corresponding to each identifier bit in the identifier with identifier bits.

14. The IPv6 forwarding label allocation and management method for rail transit systems according to claim 13, characterized in that, The IPv6 forwarding label has 128 bits of identifiers. It includes a location identifier, a function identifier, and a variable identifier. The allocation of corresponding identifier bits for each identifier in the IPv6 forwarding label includes... The location identifier uses the identifier bits within a first preset range to identify the location of the device; The address of the function identifier occupies the identifier bits within the second preset range, which are used to identify the operation instructions of the node device; The address of the variable identifier occupies the identifier bits within the third preset range, which are reserved for future use.

15. The IPv6 forwarding label allocation and management method for rail transit systems according to claim 14, characterized in that, Dividing the identifier bits of one or more identifiers includes dividing the identifier bits of a first preset range occupied by the location identifier: The identifier bits of the first preset range are divided into multiple first sub-identifier bits that are adapted to the network device configuration information.

16. The IPv6 forwarding label allocation and management method for rail transit systems according to claim 15, characterized in that, Dividing the identifier bits of one or more identifiers includes dividing the identifier bits of the second preset range occupied by the functional identifier: The identifier of the second preset range is divided into two second sub-identifiers, one of which represents a dynamic field and is reserved, and the other represents a static field.

17. The IPv6 forwarding label allocation and management method for rail transit systems according to claim 16, characterized in that, The meaning of each identifier bit in the identifier segmentation includes the meaning of the identifier corresponding to multiple first sub-identifier bits and two second sub-identifier bits, specifically including: The meanings of the multiple first sub-identifier bits include the network fixed prefix and network device configuration information; The two second sub-identifier bits correspond to dynamic fields and static fields, respectively.

18. The IPv6 forwarding label allocation and management method for rail transit systems according to any one of claims 12-17, characterized in that, The configured network device information includes one or more of the following: The network type to which the equipment belongs, the organization to which the equipment belongs, the business system to which the equipment belongs, the equipment level and the line to which the equipment belongs, the station to which the equipment belongs, the computer room where the equipment is located, and the equipment serial number.

19. The IPv6 forwarding label allocation and management method for rail transit systems according to claim 18, characterized in that, It also includes generating network device names with unified rules based on the configured network device information.

20. The IPv6 forwarding label allocation and management method for rail transit systems according to claim 19, characterized in that, The network topology includes device type, device name, device connection relationship and port configuration information. The port configuration information includes port number, purpose, hierarchical relationship of device connection, and name of connected device.

21. The IPv6 forwarding label allocation and management method for rail transit systems according to claim 20, characterized in that, It also includes obtaining the IPv6 forwarding labels of all forwarding nodes in the network and outputting reports according to a specific template, wherein the reports include one or more of the following: Device name, network type, organization, business system, line, station, computer room, serial number, services carried, port configuration, network connections, and assigned IPv6 forwarding label.