Method and device for forwarding data message in SRv6 network, medium and equipment

By obtaining and mapping the transmission requirement information of data packets in the SRv6 network, the problem that network devices cannot perceive data elements is solved, and the security and effectiveness of data transmission are achieved.

CN120455360AActive Publication Date: 2025-08-08CHINA ACADEMY OF INFORMATION & COMM

Patent Information

Application Number
CN202510872102.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-26
Publication Date
2025-08-08
Estimated Expiration
2045-06-26

AI Technical Summary

Technical Problem

The prior art cannot perceive data elements at the network equipment level, resulting in the inability to meet transmission requirements, affecting data security and effectiveness.

Method used

By acquiring the data identification information of the data packet on the device node side, the transmission requirement information is parsed, and mapped to the network identifier, and encapsulated to the header of the data packet for forwarding, so that the network device can sense and meet the transmission requirements.

Benefits of technology

The data packet forwarding link is realized to meet the transmission requirements, improves the security and effectiveness of data transmission, and ensures that the transmission requirements of sensitive data are met.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120455360A_ABST
    Figure CN120455360A_ABST
Patent Text Reader

Abstract

The invention discloses a data message forwarding method and device in an SRv6 network, a medium and equipment. The invention belongs to the technical field of data transmission. The method comprises the following steps: after a data message is received, acquiring data identification information of the data message; analyzing the data identification information to obtain transmission demand information of data elements; mapping the transmission demand information to a network identifier, and packaging the transmission demand information to the head of a data message; and forwarding the data message according to the network identifier. By adopting the technical scheme, the equipment node at the network level can know the transmission requirement of the data element and forward the data element according to the transmission requirement, and the subsequent node can analyze the header content of the data message to obtain the transmission requirement, so that the data message forwarding link can meet the transmission requirement, and the transmission efficiency is improved. And the transmission requirement of the data element is perceived at the network level, so that the security and effectiveness of data transmission are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data transmission technology, and in particular to a method, apparatus, medium, and device for forwarding data packets in an SRv6 network. Background Art

[0002] Currently, with the rapid development of science and technology, data transmission scenarios in various industries are increasing. When there are massive amounts of data resources to be transmitted through the network, existing technologies are unable to perceive the data elements contained in the transmitted messages at the network device level, nor are they able to perceive the requirements that these data elements place on the network. For example, highly sensitive data elements may require the data transmission process to be visible and the data transmission path to not cross the border. However, since the current network cannot perceive these data elements, it is also unable to know the corresponding transmission requirements. As a result, during the data transmission process, the transmission requirements of the messages may not be met, which greatly affects data security and data validity. Therefore, how to solve the problem of the inability to perceive data elements at the network level, which leads to the inability to meet transmission requirements, is a technical problem that technicians in this field are closely concerned about. Summary of the Invention

[0003] The present application proposes a method, device, medium and equipment for forwarding data messages in an SRv6 network to solve the problem that the network layer cannot perceive data elements, resulting in the inability to meet transmission requirements. The technical solution provided by the present application obtains the data identification information of the data message on the device node side, parses and obtains the transmission requirement information of the data element, and maps the transmission requirement information to the network identifier, encapsulates it into the header of the data message and continues to forward it. This enables the device node to know the transmission requirement of the data element and forward it according to the transmission requirement. Subsequent nodes can also parse the transmission requirement based on the content of the data message header, so that the data message forwarding link can meet the transmission requirement, perceive the transmission requirement of the data element at the network level, and ensure the security and effectiveness of data transmission.

[0004] An embodiment of the present application provides a method for forwarding data packets in an SRv6 network, the method comprising: After receiving the data message, obtaining data identification information of the data message; Parsing the data identification information to obtain transmission requirement information of the data elements; Mapping the transmission requirement information to a network identifier and encapsulating the network identifier into a header of a data message; The data message is forwarded according to the network identifier.

[0005] Furthermore, the transmission requirement information is mapped to a network identifier and encapsulated into a header of a data message, including: Create a network identification flag in the header of the data message; After mapping the transmission requirement information to a network identifier, the network identifier is written into a corresponding flag bit; The header of the data message is encapsulated.

[0006] Furthermore, the flag bits corresponding to the network identifier include: one or more of a path visibility flag bit, a domestic transmission path flag bit, a low-latency slice flag bit, and a high-priority transmission path flag bit.

[0007] Further, forwarding the data message according to the network identifier includes: Determine one of at least two candidate lower-level device nodes as a target device node according to the network identifier; Forward the data message to the target device node.

[0008] Further, after forwarding the data message according to the network identifier, the method further includes: After receiving the data message, each device node in the SRv6 network is controlled to identify the network identifier encapsulated in the header of the data message.

[0009] An embodiment of the present application further provides a method for forwarding data packets in an SRv6 network, the method comprising: After receiving the data message, read the network identifier encapsulated in the header of the data message; If the current device node is not the final device node, determining one of at least two candidate lower-level device nodes as the target device node according to the network identifier; Forward the data message to the target device node.

[0010] An embodiment of the present application further provides a device for forwarding data packets in an SRv6 network, the device comprising: A data identification information acquisition module is used to obtain the data identification information of the data message after receiving the data message; A transmission requirement information parsing module, configured to parse the data identification information to obtain transmission requirement information of the data element; A network identification encapsulation module, configured to map the transmission requirement information to a network identification and encapsulate the information into a header of a data message; The sending module is used to forward the data message according to the network identifier.

[0011] An embodiment of the present application further provides a device for forwarding data packets in an SRv6 network, the device comprising: The network identification reading module is used to read the network identification encapsulated in the header of the data message after receiving the data message; a target device node determining module, configured to determine, if the current device node is not the final device node, one of at least two candidate lower-level device nodes as the target device node according to the network identifier; The data message forwarding module is used to forward the data message to the target device node.

[0012] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for forwarding data packets in an SRv6 network as described above.

[0013] An embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor. When the processor executes the computer program, the method for forwarding data packets in the SRv6 network as described above is implemented.

[0014] The embodiment of the present application adopts the following technical solution: after receiving a data message, obtain the data identification information of the data message; parse the data identification information to obtain the transmission requirement information of the data element; map the transmission requirement information to a network identifier and encapsulate it into the header of the data message; forward the data message according to the network identifier.

[0015] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: This solution obtains the data identification information of the data message and parses it to obtain the transmission requirement information of the data element, maps it to the network identifier and encapsulates it into the message header, so that the network equipment can perceive the transmission requirements corresponding to the data element, and thus accurately forward the data message based on the network identifier. It effectively solves the problem that traditional networks cannot meet transmission requirements due to their inability to perceive data elements, improves the security and effectiveness of the data transmission process, and ensures that special-demand data such as sensitive data can meet visibility, path limitation and other requirements during transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 A schematic diagram of a flow chart of a method for forwarding data packets in an SRv6 network provided in Example 1 of the present application; Figure 2 A schematic diagram of a flow chart of a method for forwarding data packets in an SRv6 network provided in Example 2 of the present application; Figure 3 A schematic diagram of a data packet forwarding system in an SRv6 network provided in Example 3 of the present application; Figure 4 This is a structural diagram of a data packet forwarding device in an SRv6 network provided in Example 4 of the present application; Figure 5 This is a structural diagram of a data packet forwarding device in an SRv6 network provided in Example 5 of the present application; Figure 6 A schematic structural diagram of an electronic device provided in Example 6 of the present application. DETAILED DESCRIPTION

[0017] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0018] The following describes in detail the technical solutions provided by various embodiments of the present application in conjunction with the accompanying drawings.

[0019] Example 1 Figure 1 This is a flow chart of a method for forwarding data packets in an SRv6 network provided in Example 1 of the present application. Figure 1 As shown, the method includes: S11, after receiving the data message, obtaining data identification information of the data message; SRv6 (Segment Routing over IPv6) is an IPv6-based segment routing technology that enables flexible traffic engineering and network programmability by embedding a segment list in the IPv6 header. Each segment is an IPv6 address that represents a specific functional point in the network, such as a node, service, or operation. SRv6 allows network devices to process and forward packets hop by hop based on the segment list in the header, eliminating the need for traditional destination-based routing tables. This enables fine-grained traffic control and service chaining.

[0020] A datagram can contain an IPv6 basic header, an Segment Routing Header (SRH) extension header, an optional Hop-by-Hop Options header, and payload data. The payload data can follow the format of a specific protocol, such as TCP / UDP, HTTP / 2, and QUIC, or a custom format.

[0021] Data identification information refers to the characteristic labels carried by the data itself, such as: data type identification, which can be medical data, financial data, or general office data, security level marking, such as top secret, confidential, or public, transmission constraints, such as domestic transmission and / or low latency priority, compliance requirements, such as compliance with the Personal Information Protection Law and / or meeting industry regulatory standards, etc.

[0022] In this solution, the network device can receive message data through the physical interface. For the collection of data packets, it can receive frame by frame and perform link layer frame detection, including identifying the frame header, frame tail and check bit.

[0023] S12, parsing the data identification information to obtain transmission requirement information of the data element; Data identification information refers to the tags or metadata carried in a message that describe the characteristics of data elements. Data type tags include, for example, medical data types, financial transaction types, and government information types. Security attribute tags include, for example, high sensitivity, cross-border restrictions, and encrypted transmission requirements. Compliance requirements include, for example, meeting domestic transmission regulations.

[0024] Data elements are data units with specific business value and attributes, and they carry data identification information. Examples include sensitive data such as personal identity information, medical records, or trade secrets. They also include time-sensitive data such as real-time video streams and industrial control instructions. They also include geographically constrained data such as cross-border user behavior data.

[0025] Transmission requirements refer to the specific requirements for network transmission paths and services, derived from data identification information. Examples include path constraints, such as requiring transmission through domestic nodes or prohibiting transmission through specific countries; security services, such as end-to-end encryption, intrusion detection, and data desensitization; and quality of service requirements, such as latency less than 50ms, bandwidth greater than 100Mbps, and packet loss less than 0.1%.

[0026] This solution can extract data tags from the message header and convert the data identifier into transmission requirements based on preset corresponding rules. For example, if the data identifier 0011 is included, it means that domestic transmission is required, etc.

[0027] S13, mapping the transmission requirement information to a network identifier and encapsulating it into a header of a data message; The network identifier refers to the coded representation of transmission requirements in the SRv6 network, which can generally be an IPv6 address or a special field.

[0028] The data packet header may refer to an SRv6 extension header, such as the Segment Routing Header (SRH), which includes a segment list and a pointer to the currently active segment, the Destination Options Header (DOH), which carries hop-by-hop processing instructions, and the Hop-by-Hop Options (HBH), which carries options visible to all nodes.

[0029] The encapsulation method may be to encode the network identifier into an IPv6 address segment and insert the segment list of the SRH.

[0030] In this solution, transmission requirement information can be mapped to a network identifier, using a specific network identifier to represent the requirement. For example, multiple bits can be set, with each bit filled with 0 or 1 to represent different requirements. For example, when domestic transmission is required, the bit for domestic transmission is filled with 1, otherwise it is filled with 0, thus achieving the mapping of transmission requirement information to network identifiers. In this way, in subsequent device nodes, as long as the written value of each bit is recognized, the transmission requirement information of the message data can be parsed, thereby performing fast and demand-compliant forwarding.

[0031] S14: Forward the data message according to the network identifier.

[0032] The network device can forward the data packet from the current device node to the next device node based on the message header information. Specifically, it can find the next device node that meets the requirements based on the IPv6 destination address.

[0033] The technical solution provided by this embodiment solves the problem of traditional networks' inability to effectively forward packets by deeply integrating data characteristics with network transmission capabilities. This enables network devices to understand the inherent needs of message data, achieve intelligent forwarding, and control different transmission requirements based on the needs of different data transmission services, providing high flexibility at the control level. This solution dynamically allocates network resources based on real-time needs, improving the rationality of data transmission, ensuring the security and effectiveness of data transmission, and avoiding the problem of transmitted data being unavailable due to transmission path issues.

[0034] In one embodiment, optionally, mapping the transmission requirement information to a network identifier and encapsulating the information into a header of a data message includes: Create a network identification flag in the header of the data message; After mapping the transmission requirement information to a network identifier, the network identifier is written into a corresponding flag bit; The header of the data message is encapsulated.

[0035] The network identifier flag bit refers to the specific field or coding space in the data packet header used to carry the network identifier. It is the physical carrier for the SRv6 network to identify transmission requirements.

[0036] Transmission requirement information refers to specific requirements such as path constraints, security services, and QoS (Quality of Service) parameters, which must be converted into binary or text encoding that can be recognized by the network.

[0037] According to the SRv6 protocol specification, this solution can determine one or more bits of fields as flag bits in the reserved extension space of the message header. For example, every 2 bytes is used as a flag bit. Then, if there are four transmission requirement data that need to be limited, a total of 8 bytes can be provided, and every 2 bytes are used as the flag bit corresponding to a transmission requirement.

[0038] In this solution, the encoded network identifier can be written into the packet header according to the address or field offset of the flag bit. For example, the header fields can be directly modified using a network programming interface. The data packet header is then encapsulated. Specifically, the basic header, SRH, and other extension headers can be spliced according to the IPv6 protocol specification, and the correct field order can be ensured during the encapsulation process.

[0039] This technical solution can provide a carrier for the transmission requirements of data elements by mapping transmission requirement information into a network identifier and encapsulating it into a message header. It uses the SRv6 extension header mechanism to create a standardized flag bit to provide a physical carrier for requirement encoding. It converts abstract requirements into network-recognizable addresses or field values through regular mapping, so that SRv6 device nodes can directly parse the requirements and ensure that the message is readable hop by hop in the network environment through header encapsulation, so that network devices can dynamically adjust forwarding strategies based on data attributes, which not only ensures the compliance and security of data transmission, but also realizes link optimization.

[0040] In one embodiment, optionally, the flag bit corresponding to the network identifier includes: one or more of a path visibility flag bit, a domestic transmission path flag bit, a low-latency slice flag bit, and a high-priority transmission path flag bit.

[0041] Among them, the path visibility flag is used to indicate that the data transmission path must support full-process monitoring or auditing to ensure the transparency of data flow.

[0042] The domestic transmission path flag is used to force the data transmission path not to cross the national border to ensure that the data does not leave the country.

[0043] The low-latency slice flag is used to request the network to allocate low-latency dedicated slices for data to ensure real-time requirements.

[0044] The high-priority transmission path flag is used to allocate high-priority resources in the network to data, giving it priority over normal traffic.

[0045] This technical solution, through the refined design of the above-mentioned flag bits, realizes the network's accurate perception of the data element transmission needs. It can be based on the flag bit design of the standard IPv6 extension header, and can achieve network-level perception without the need for large-scale transformation of existing network equipment. In addition, since the flag bit corresponding to the network identifier is set in the header, the security of data information is ensured.

[0046] In one embodiment, optionally, forwarding the data packet according to the network identifier includes: Determine one of at least two candidate lower-level device nodes as a target device node according to the network identifier; Forward the data message to the target device node.

[0047] Candidate lower-level device nodes refer to a group of potential forwarding nodes in the network that are located downstream of the current node and can receive and process data packets.

[0048] The target device node refers to the node that is selected from the candidate nodes and best meets the transmission requirements expressed by the data message network identifier.

[0049] The current node reads the network identifier in the message header, identifies the transmission requirement, and prioritizes the new transmission requirement based on its functional compatibility, path compliance, and real-time status, including node load, congestion level, and link quality.

[0050] This technical solution uses dynamic path selection through network identification to provide secure paths for sensitive data and automatically select low-latency links for real-time services. Furthermore, this solution can be implemented through the SRv6 extension header without modifying the underlying network architecture, providing network infrastructure support for the secure and efficient flow of data elements.

[0051] In one embodiment, optionally, after forwarding the data message according to the network identifier, the method further includes: After receiving the data message, each device node in the SRv6 network is controlled to identify the network identifier encapsulated in the header of the data message.

[0052] SRv6 network device nodes may include routers, switches, or dedicated function nodes such as firewalls and encryption devices.

[0053] This technical solution unifies nodes' ability to identify and process network identifiers, ensuring that data packets are correctly understood and processed across the entire SRv6 network, avoiding deviations in demand execution caused by inconsistent node behavior. Nodes automatically execute predefined actions based on identifiers, and in exceptional circumstances, unprocessable requests can be detected and reported in real time, ensuring that all nodes strictly adhere to geographic constraints, security policies, and other requirements to meet data transmission requirements.

[0054] Example 2 Figure 2 This is a flow chart of a method for forwarding data packets in an SRv6 network provided in Example 2 of the present application. Figure 2 As shown, the method includes: S21, after receiving the data message, read the network identifier encapsulated in the header of the data message; S22, if the current device node is not the final device node, determining one of at least two candidate lower-level device nodes as the target device node according to the network identifier; S23: Forward the data message to the target device node.

[0055] The technical solution provided in this embodiment may be a specific operation performed in the downstream device node of the above embodiment, corresponding to the operation of the device node provided in the above embodiment, and having a functional module and beneficial effects corresponding to the threshold. To avoid repetition, it will not be repeated here.

[0056] Example 3 In order to enable those skilled in the art to understand the present solution more clearly, the present application also provides a preferred embodiment. Figure 3 Schematic diagram of a data message forwarding system in an SRv6 network provided in Example 3 of the present application; Figure 3 As shown, this system can perform the following steps to complete the monitoring of data circulation services: When a network device receives a message containing data elements, it checks the data identification information it carries.

[0057] By reading the data identification information, which contains the network requirements of the data element during transmission, the data element's requirements for network transmission are obtained, such as path visibility, domestic transmission path, low-latency slicing, high-priority transmission path, etc.

[0058] After that, the read demand information is mapped to the flag bit corresponding to the network identifier, and the network identifier is encapsulated into the header of the message. Since it is subsequently transmitted in the SRv6 network, the network identifier can be encapsulated in the SRH, DOH, HBH and other message headers, and forwarded to the subsequent device nodes of the SRv6 network according to the rules, ensuring that the network identifier can be read by each device node in the SRv6 network, thereby solving the problem of the network being unable to perceive data elements.

[0059] This application provides a method and system for network identification of data elements, applicable to scenarios where data elements are transmitted in SRv6 networks. The method includes: converting and mapping network identifiers to data identifiers, and carrying the network identifier in the SRv6 network message header for transmission, so that each node device in the network can perceive the corresponding data element's network transmission requirements through the network identifier. This method can effectively solve the problem of the network being unable to perceive data elements.

[0060] Example 4 Figure 4 This is a schematic diagram of the structure of the data message forwarding device in the SRv6 network provided by Example 4 of the present application. Figure 4 As shown, the device includes: The data identification information acquisition module 41 is used to obtain the data identification information of the data message after receiving the data message; The transmission requirement information parsing module 42 is used to parse the data identification information to obtain the transmission requirement information of the data element; The network identification encapsulation module 43 is used to map the transmission requirement information to a network identification and encapsulate it into the header of the data message; The sending module 44 is configured to forward the data message according to the network identifier.

[0061] This device can execute the method for forwarding data packets in an SRv6 network provided in the first embodiment above, and has corresponding functional units and beneficial effects. Detailed description is omitted here.

[0062] Example 5 Figure 5 This is a schematic diagram of the structure of the data message forwarding device in the SRv6 network provided by Example 5 of the present application. Figure 5 As shown, the device includes: The network identification reading module 51 is used to read the network identification encapsulated in the header of the data message after receiving the data message; a target device node determining module 52, configured to determine, if the current device node is not the final device node, one of at least two candidate lower-level device nodes as the target device node according to the network identifier; The data message forwarding module 53 is configured to forward the data message to the target device node.

[0063] This device can execute the method for forwarding data packets in an SRv6 network provided in the second embodiment above, and has corresponding functional units and beneficial effects. Detailed description is omitted here.

[0064] Example 6 Those skilled in the art will appreciate that embodiments of the present invention may provide methods, systems, or computer program products. Therefore, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROMs, optical storage, etc.) containing computer-usable program code.

[0065] Therefore, the present application also proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in any embodiment of the present application.

[0066] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0067] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0068] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0069] Further, Figure 6 This is a schematic diagram of the structure of an electronic device provided in Example 6 of this application. Figure 6 As shown, the present application also proposes an electronic device (or computing device), including a processor 11, a memory 12, and a computer program stored in the memory 12 and executable on the processor 11, wherein the processor 11 implements the method described in any embodiment of the present application when executing the computer program.

[0070] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-permanent storage in computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium. Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may be implemented using any method or technology for information storage. Information may be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change RAM (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device. According to the definition in this article, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0071] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0072] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A method for forwarding data packets in an SRv6 network, characterized in that: The method comprises: After receiving the data message, obtaining data identification information of the data message; Parsing the data identification information to obtain transmission requirement information of the data elements; Mapping the transmission requirement information to a network identifier and encapsulating the network identifier into a header of a data message; The data message is forwarded according to the network identifier.

2. The method according to claim 1, characterized in that Mapping the transmission requirement information to a network identifier and encapsulating it into the header of a data message includes: Create a network identification flag in the header of the data message; After mapping the transmission requirement information to a network identifier, the network identifier is written into a corresponding flag bit; The header of the data message is encapsulated.

3. The method according to claim 2, characterized in that The flag bits corresponding to the network identifier include: one or more of a path visibility flag bit, a domestic transmission path flag bit, a low-latency slice flag bit, and a high-priority transmission path flag bit.

4. The method according to claim 3, characterized in that Forwarding the data message according to the network identifier includes: Determine one of at least two candidate lower-level device nodes as a target device node according to the network identifier; Forward the data message to the target device node.

5. The method according to any one of claims 1 to 4, characterized in that After forwarding the data message according to the network identifier, the method further includes: After receiving the data message, each device node in the SRv6 network is controlled to identify the network identifier encapsulated in the header of the data message.

6. A method for forwarding data packets in an SRv6 network, characterized in that: The method comprises: After receiving the data message, read the network identifier encapsulated in the header of the data message; If the current device node is not the final device node, determining one of at least two candidate lower-level device nodes as the target device node according to the network identifier; Forward the data message to the target device node.

7. A data message forwarding device in an SRv6 network, characterized in that: The device comprises: A data identification information acquisition module is used to obtain the data identification information of the data message after receiving the data message; A transmission requirement information parsing module, configured to parse the data identification information to obtain transmission requirement information of the data element; A network identification encapsulation module, configured to map the transmission requirement information to a network identification and encapsulate the information into a header of a data message; The sending module is used to forward the data message according to the network identifier.

8. A data message forwarding device in an SRv6 network, characterized in that: The device comprises: The network identification reading module is used to read the network identification encapsulated in the header of the data message after receiving the data message; a target device node determining module, configured to determine, if the current device node is not the final device node, one of at least two candidate lower-level device nodes as the target device node according to the network identifier; The data message forwarding module is used to forward the data message to the target device node.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 or claim 6 is implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 5 or claim 6 is implemented.

Citation Information

Patent Citations

  • Data transmission method and device, equipment and storage medium

    CN116915358A

  • Data transmission method, device and equipment based on SRv6 protocol

    CN116980975A

  • Data message transmission method and device, and computer readable storage medium

    CN118381832A

  • Data transmission method and device and storage medium

    CN118803081A

  • Message processing method, electronic device, and storage medium

    WO2025102691A1

Cited By

  • Communication message transmission method based on SRB bus and related equipment

    CN121418227A

  • A communication message transmission method based on SRB bus and related device

    CN121418227B