Message transfer method, device, communication device and readable storage medium

By adopting a short SRv6 SID format and G-SID container structure, the overhead and complexity issues of SRv6 messages are addressed, improving bandwidth utilization and processing efficiency in network chips.

JP7547635B2Active Publication Date: 2024-09-09CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023531074
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-11-23
Filing Date
2021-11-05
Publication Date
2024-09-09
Estimated Expiration
2041-11-05

AI Technical Summary

Technical Problem

The high overhead and complexity of SRv6 messages in network chips, leading to low bandwidth utilization and processing inefficiencies, pose challenges for deployment in operator networks, particularly in 5G bearer networks.

Method used

Implementing a short SRv6 SID format and a G-SID container structure, along with mixed encoding of SIDs within the SRH, to reduce message overhead and simplify network chip processing.

Benefits of technology

This approach effectively reduces SRv6 message overhead and simplifies network chip processing, enhancing bandwidth utilization and reducing complexity, facilitating smoother deployment in operator networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007547635000014
    Figure 0007547635000014
  • Figure 0007547635000008
    Figure 0007547635000008
  • Figure 0007547635000006
    Figure 0007547635000006
Patent Text Reader

Abstract

An embodiment of the present disclosure provides a message transfer method, an apparatus, a communication device, and a readable storage medium, the method including: obtaining first information and second information of a first SID, the first information indicating a position of a container in which the first SID is located in a SID list of a data packet, and the second information indicating a position of the first SID in the container; obtaining a position of the first SID in a SID list according to the first information and the second information; copying the first SID and the second SID in the SID list to a current SID and a next SID in a destination address of a data packet, and sending the data packet, wherein the second SID is the SID next to the first SID in the SID list, and the second information is greater than or equal to 1 or equal to 0.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This disclosure claims priority to Chinese Patent Application No. 202011321949.3, filed in China on November 23, 2020, the entire contents of which are incorporated herein by reference.

[0002] The present disclosure relates to the technical field of communications, and in particular to a message transfer method, apparatus, communication device and readable storage medium. [Background technology]

[0003] Segment Routing (SR) is a source routing technology. It is based on the concept of Software Defined Network (SDN) to build a path-connection-oriented network architecture, support the multi-level programmable requirements of future networks, and accelerate the development of the 5th generation communication technology (5G). th It can meet the connection requirements in the large-scale connection and slice application scenarios of 5G (5G generation). SR-Multi-Protocol Label Switching (MPLS) is an SR solution form formed based on the current mainstream MPLS forwarding plane. SRv6 is an SR solution form extended based on Internet Protocol Version 6 (IPv6). IPv6 technology has become the main technology of the new generation network, and IPv6-based SRv6 is the evolution trend of future networks in the long term, and research into the mechanism of SRv6 technology has attracted attention in the industry.

[0004] The 128-bit segment identifier (SID) of normal SRv6 uses an IPv6 address format SID, which has routable attributes compared to the MPLS label format SID, simplifying the creation of inter-domain paths and simplifying the establishment of end-to-end paths in IPv6 networks. At the same time, SRv6 SID supports programmable capabilities and can handle flexible network and service function processing. Combined with support for centralized and distributed control plane cooperation, it can flexibly meet the needs of various services and network functions and adapt to the demands of network and service development.

[0005] SR guides messages through the network by encapsulating a series of instructions through the head node. In the SRv6 architecture, an instruction is a 128-bit IPv6 address. Figure 1 shows the encapsulation format of a normal SRv6 extension header.

[0006] As can be seen from the encapsulation format of the SRv6 extension header, the encapsulation length of the SRv6 extension header is 40 bytes (IPv6 header) + 8 bytes (Segment Routing Header (SRH)) + 16 × N bytes (Segment List). Therefore, the more SIDs specified in SRv6, the greater the additional overhead caused by the encapsulation of the SRv6 extension header. To solve this problem, it is necessary to realize a function to shorten the SRv6 extension header.

[0007] Although normal SRv6 has many advantages as mentioned above, its disadvantages are also obvious. The actual deployment of SRv6 technology in the network currently faces two main challenges. First, the overhead of SRv6 messages is large, and the bandwidth utilization rate of network links is low. For a packet length of 256 bytes and SID with 8 hierarchical layers, the bandwidth utilization rate is only about 60%. Second, the requirements for SRv6 message processing on chips are high, and it is difficult for existing network equipment to support the duplication and manipulation of deep SRH headers, and the processing efficiency of existing chips is reduced due to the 128-bit SRH header processing.

[0008] In carrier networks, there are high requirements for the number of hierarchical labels in Segment Routing (SR). th Taking the bearer network of the next-generation 5G (fifth generation) as an example, with the intensive deployment of the 5G core network, the traffic of the base station needs to pass through the metropolitan area network and the IP backbone network. In a typical scenario, in the metropolitan area network, there are 8-10 nodes in the access ring, 4-8 nodes in the convergence ring, and 4-8 nodes in the core ring, and in the IP backbone network, the traffic needs to pass through multiple router nodes. At the same time, due to the requirements of network slicing, high reliability service-level agreement (SLA), manageability and controllability, the operator network needs to be able to specify an explicit path, and the end-to-end SR tunnel may be 10 hops or even more than 10 hops. Therefore, at present, most operators who deploy Multi-Protocol Label Switching (MPLS)-SR at home and abroad need to support 8 or more hierarchical segment identifier (SID) labels.

[0009] Currently, SRv6 is an extended SR solution based on IPv6, where the SRv6 solution is based on SRH, and its SID is a 128-bit Segment ID. According to 8-layer SID, a message will bring 128 Bytes of overhead, and for an application payload with an average length of 256 Bytes, the overhead of SRv6 is more than 1 / 3, while the bandwidth utilization rate drops to below 67%. In contrast, in the same scenario, the overhead of SR-MPLS is only 32 Bytes, and the bandwidth utilization rate is still 89%. Figure 2 shows a comparative analysis of bearer efficiency between SRv6 and SR-MPLS when the number of SIDs is 1 to 10 (a simple comparison of SRH and SR-MPLS SID overhead).

[0010] The increased overhead reduces network utilization while supporting deep message load balancing, in-band telemetry, and Network Service Header (NSH) poses greater challenges.

[0011] Furthermore, the deployment of SRv6 will inevitably involve coexistence with SR-MPLS networks, which may result in wasted investment due to differences in network utilization leading to interface imbalance issues at the network border. Referring to Figure 3, when interconnecting an SR-MPLS network with an SRv6 network domain, considering the case of 100G links, 256-byte messages, and 8-level SIDs, the difference in link utilization is large, so the SRv6 domain may require two 100 Gigabit Ethernet (GE) links to be able to match one 100 GE link in the SR-MPLS domain.

[0012] In operator applications, SRv6 requires network chips to insert fields longer than 128 Bytes into messages, which corresponds to a MPLS-SR label depth of 32 layers, exceeding the capabilities of deployed network chips and resulting in significantly degraded network performance and higher latency and jitter if loopback solutions are used inside the chip. Redesigned network chips will require a larger internal processing bus bandwidth to support SRv6, which is a key factor in chip cost and power consumption.

[0013] SRv6 requires that the network chip reads the complete SRH at the intermediate node, and then extracts and forwards the segment to be processed according to the pointer position. The added complexity compared to MPLS-SR, which only requires reading the label of the outermost layer, further increases the processing delay of the network chip.

[0014] Low power consumption and low latency are key elements of operators' 5G solutions, and the increased power consumption, cost and latency that SRv6's complexity brings to network chips poses challenges to its implementation and adoption.

[0015] According to the above analysis, the existing SRv6 has three major challenges, namely message overhead, network chip complexity, and the difficulty of smooth upgrade, which makes it difficult for it to be rapidly deployed in operator networks, and further evolution based on SRv6 technology is required. Summary of the Invention [Problem to be solved by the invention]

[0016] One of the objectives of the embodiments of the present disclosure is to provide a message transfer method, device, communication device, and readable storage medium to solve the problem of large overhead of SRv6 messages. [Means for solving the problem]

[0017] A first aspect is a method of message processing performed by a first node, comprising the steps of: Obtaining first information and second information for a first SID, the first information indicating a position of a container in which the first SID is located in a SID list of a data packet, and the second information indicating a position of the first SID in the container; obtaining a position of the first SID within a SID list according to the first information and the second information; copying the first SID and the second SID in the SID list to a current SID and a next SID in a destination address of a data packet and transmitting the data packet; The second SID is a SID next to the first SID in the SID list, and the second information is greater than or equal to 1 or equal to 0, providing a message processing method.

[0018] Optionally, the method further comprises: If the second information is equal to 1, the method further includes duplicating the first SID in the SID list to the current SID in a destination address of the data packet, and padding a predetermined field in the next SID.

[0019] Optionally, copying the first SID and the second SID in the SID list into a destination address of a data packet and transmitting the data packet includes: The method includes copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID and replacing the next SID with the second SID, where the type of the current SID is a global SID and the type of the next SID is a local SID.

[0020] Optionally, copying the first SID and the second SID in the SID list into a destination address of a data packet and replacing the current SID with the first SID and the next SID with the second SID may include: determining whether the type of the current SID is a global SID and whether the type of the next SID is a local SID; If the type of the current SID is a global SID and the type of the next SID is a local SID, copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID and replacing the next SID with the second SID.

[0021] Optionally, the method further comprises: Set the global SID and local SID ranges to be consistent with other nodes, or Or, Set the range of global SID and local SID of the first node, The method further includes advertising the range of the global SID and local SID of the first node to other nodes via an IGP / BGP protocol.

[0022] Optionally, the destination address includes a current SID and a next SID; Duplicating the first SID and the second SID in the SID list into a destination address of a data packet and transmitting the data packet, copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID, and not replacing the next SID with the second SID; The type of the current SID is a global SID and the type of the next SID is a global SID, or the type of the current SID is a local SID and the type of the next SID is a local SID, or the type of the current SID is a local SID and the type of the next SID is a global SID.

[0023] A second aspect is a message processing device, comprising: an acquisition module for acquiring first and second information of a first segment identifier (SID), the first information indicating a location of a container in a SID list of a data packet in which the first SID is located, and the second information indicating a location of the first SID in the container; a first processing module for obtaining a position of the first SID in a SID list according to the first information and the second information; a transmitting module for copying the first SID and the second SID in the SID list to a current SID and a next SID in a destination address of a data packet and transmitting the data packet; The second SID is a SID next to the first SID in the SID list, and the second information is greater than or equal to 1 or equal to 0, to provide a message processing device.

[0024] Optionally, the apparatus further comprises: The method further includes a second processing module for duplicating the first SID in the SID list to the current SID in a destination address of a data packet and embedding a predetermined field in the next SID if the second information is equal to 1.

[0025] Optionally, the transmission module is It is further used to copy the first SID and the second SID in the SID list into the destination address of the data packet, replace the current SID with the first SID, and replace the next SID with the second SID, where the type of the current SID is a global SID and the type of the next SID is a local SID.

[0026] Optionally, the sending module determines whether the type of the current SID is a global SID or the type of the next SID is a local SID, and if the type of the current SID is a global SID and the type of the next SID is a local SID, the sending module is further used to copy the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID and replacing the next SID with the second SID.

[0027] Optionally, the apparatus further comprises: Set the global SID and local SID ranges to be consistent with other nodes, or Or, Set the range of global SID and local SID of the first node, The first node further includes a configuration module for notifying other nodes of the global SID and local SID ranges of the first node via an IGP / BGP protocol.

[0028] Optionally, the destination address includes a current SID and a next SID; The sending module 1403 is further used for copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID, and not replacing the next SID with the second SID; The type of the current SID is a global SID and the type of the next SID is a global SID, or the type of the current SID is a local SID and the type of the next SID is a local SID, or the type of the current SID is a local SID and the type of the next SID is a global SID.

[0029] A third aspect provides a communications device including a processor, a memory, and a program stored in the memory and operable on the processor, the program, when executed by the processor, achieving steps of the method of the first aspect.

[0030] A fourth aspect provides a readable storage medium having a program stored thereon, the program causing, when executed by a processor, to implement the steps of the method according to the first aspect. Effect of the Invention

[0031] The embodiments of the present disclosure can effectively reduce the overhead of SRv6 messages and reduce the complexity of network chips.

[0032] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting the present disclosure. Moreover, like reference numerals represent like elements throughout the drawings. [Brief description of the drawings]

[0033] [Figure 1] This is a schematic diagram of the encapsulation format of a normal SRv6 extension header. [Diagram 2] This is a comparative analysis diagram of SR bearer efficiency with different numbers of SIDs when the payload length is 256B. [Diagram 3] FIG. 1 is a schematic diagram of interconnection between an SR-MPLS network domain and an SRv6 network domain for a payload length of 256B. [Figure 4] Schematic diagram of supporting short SRv6 SID format. [Diagram 5] Schematic diagram of the 32-bits G-SID Container format. [Figure 6] FIG. 1 is a schematic diagram of mixed encoding of SRv6 SID and G-SID. [Figure 7] 1 is a flowchart of a message forwarding method according to an embodiment of the present disclosure. [Figure 8]FIG. 1 is a schematic diagram of a normal SRv6 extension header encapsulation format in an embodiment of the present disclosure. [Figure 9] FIG. 2 is a second schematic diagram of the encapsulation format of a normal SRv6 extension header in an embodiment of the present disclosure. [Figure 10] FIG. 1 is a schematic diagram of a destination address according to an embodiment of the present disclosure. [Figure 11] FIG. 2 is a second schematic diagram of a destination address in an embodiment of the present disclosure. [Figure 12] FIG. 3 is a third schematic diagram of a destination address in an embodiment of the present disclosure. [Figure 13] FIG. 4 is a fourth schematic diagram of a destination address in an embodiment of the present disclosure. [Figure 14] FIG. 2 is a schematic diagram of a message forwarding device according to an embodiment of the present disclosure. [Figure 15] FIG. 1 is a schematic diagram of a communication device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0034] I. Short SRv6 SID Format Definition As can be seen from the normal SRv6 SID format, in typical applications that support SRv6 network programmability, the SID format is regular, and by fully utilizing the SID format rules, the optimization of the normal SRv6 SID format can be realized.

[0035] This specification defines a typical 32-bit SRv6 short G-SID format, which consists of the node address (Node ID), function address (Function ID), and optional parameter (Argument, Args) parts in the normal 128-bit SID. The normal 128-bit SID format is called the full SID, and its definition is inherited from the normal SRv6 SID, while the 32-bit SID is a shortened G-SID, which is the variation part of the full SID. The format is shown in Figure 4.

[0036] Similarly, a 16-bit G-SID may be defined. In this specification, a 32-bit G-SID is used as an example, but there is no particular difference between the two in terms of the aspect.

[0037] The conversion relationship between full SID and short SID may be done using the following scheme according to the SRv6 Locator rules:

[0038] Full SID = B (Block, i.e. common prefix) + N (Node ID) + F (Function) + A (Args) (optional) + Padding (optional) G-SID=N+F(Function)+A(Args)(optional)

[0039] As you can see, the G-SID and the common prefix / address block can form one complete SRv6 SID.

[0040] To support G-SIDs, it is necessary to plan a short SRv6 SID format, for example a 96-bit Common Prefix, followed by a 32-bit G-SID, e.g. a 64-bit Common Prefix, followed by a 32-bit G-SID, with the remaining low-order 32 bits set to zero.

[0041] II. G-SID Container Format Definition When short SIDs and normal SIDs are programmed in the SRH SID List, in order to position the G-SID accurately, it is necessary to fulfill the requirement that the G-SID is programmed to be 128-bit aligned, i.e., in one row of 128 bits, four 32-bit short G-SIDs or multiple short G-SIDs of other lengths must be placed. If it is not completely filled, it must be filled with padding to align it to 128 bits.

[0042] For ease of understanding, in this embodiment, the concept of a G-SID Container, which is a 128-bit value, is defined. One G-SID Container contains the following: (1) One SRv6 normal SID, (2) Multiple shortened SRv6 SIDs (G-SIDs) may be included, for example, four 32-bit G-SIDs or eight 16-bit G-SIDs.

[0043] When multiple SIDs are mixed and encoded, 128-bit alignment must be guaranteed. If the G-SID cannot completely fill the 128 bits, it must be supplemented with padding. Taking a 32-bit G-SID as an example, the possible format of the G-SID Container is shown in Figure 5.

[0044] In the SRv6 SRH, multiple types of G-SID Containers can be encoded, so this SRH is called X-SRH. This is a new SRv6 implementation and is called X-SRv6. In the following, the details of the data plane aspects of X-SRv6 are introduced.

[0045] 3. Data plane mixed coding of short labels and normal labels To support multiple SIDs, especially G-SIDs and normal SRv6 SIDs, being mixed and encoded in one SRH, some extensions are required for the existing SRH. Some extensions are also required for the SRv6 control plane. Here, we first introduce the X-SRv6 data plane and then the control plane extensions.

[0046] The basic idea of ​​the data plane is that the conventional 128-bit SRv6 SID and G-SID can be mixed and coded in one SRH. As shown in Figure 6, An X-SRv6 path can consist of an SRv6 subpath and an SRv6 short subpath. An SRv6 subpath is encoded by an SRv6 SID. An SRv6 short label subpath is indicated by a 128-bit SRv6 SID that supports short labels, followed by multiple short label post-SIDs (G-SIDs). When the G-SID List ends, it must end on a 128-bit boundary, and the next one may be a normal 128-bit SRv6 SID or the next SRv6 short label subpath of a different prefix.

[0047] To identify the beginning and end of the SRv6 short label path in the SID list, i.e., the boundary between 128-bit SIDs and 32-bit SIDs, it is necessary to add some more type specifications (Flavors) and publish SIDs of the corresponding Flavors, referring to Table 1.

[0048] [Table 1]

[0049] Hereinafter, the technical aspects of the embodiments of the present disclosure will be clearly and completely described with reference to the drawings in the embodiments of the present disclosure, but it is obvious that the described embodiments are only some of the embodiments of the present disclosure, and are not all of the embodiments. Based on the embodiments of the present disclosure, other embodiments obtained by those skilled in the art without paying creative labor shall all be within the scope of protection of the present disclosure.

[0050] The term "comprises" and any other variations thereof in the specification and claims of the present disclosure cover non-exclusive inclusion, for example, a procedure, method, system, product, or device including a series of steps or units is not limited to including only those steps or units explicitly recited, but may include other steps or units not explicitly recited, or other steps or units inherent to the procedure, method, product, or device. Note that "and / or" used in the specification and claims represents at least one of the connected objects, for example, "A and / or B" includes three cases, such as only A being present, only B being present, and both A and B being present.

[0051] In the embodiments of the present disclosure, the terms "exemplary" or "for example" are intended to illustrate or explain by way of example. Any embodiment or design described with terms such as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as being more preferred or advantageous over other embodiments or designs. Where appropriate, terms such as "exemplary" or "for example" are used to present the relevant concept in a concrete form.

[0052] The technology described in this specification is a fifth generation mobile communication (5G) thgeneration (5G) systems and subsequent evolved communication systems, as well as Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but may also be used in various wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), and other systems.

[0053] The terms "system" and "network" are often used interchangeably. A CDMA system may implement radio technologies such as CDMA2000, Universal Terrestrial Radio Access (UTRA), etc. UTRA includes Wideband Code Division Multiple Access (WCDMA) and other CDMA variants. A TDMA system may implement radio technologies such as Global System for Mobile Communication (GSM). An OFDMA system may implement radio technologies such as Ultra Mobile Broadband (UMB), Evolution-UTRA (E-UTRA), IEEE 802.11 (Wi-Fi), IEEE 802.16 (WiMAX), IEEE 802.20, Orthogonal Frequency Division Multiplexing (Flash-OFDM), etc. UTRA and E-UTRA are part of the Universal Mobile Telecommunications System (UMTS). LTE and more advanced LTE (e.g., LTE-A) are newer versions of UMTS that use E-UTRA. UTRA, E-UTRA, UMTS, LTE, LTE-A and GSM are described in documents from an organization named "3rd Generation Partnership Project" (3GPP®). CDMA2000 and UMB are described in documents from an organization named "3rd Generation Partnership Project 2" (3GPP2). The techniques described herein may be used for the systems and radio technologies mentioned above and other systems and radio technologies as well.

[0054] Referring to FIG. 7, an embodiment of the present disclosure provides a message processing method performed by a first node, and its specific steps include step 701, step 702 and step 703.

[0055] Step 701 is to obtain first information and second information of a first SID, the first information indicating a position of a container in which the first SID is located in a SID list of a data packet, and the second information indicating a position of the first SID in the container; Step 702 is to obtain a position of the first SID in a SID list according to the first information and the second information; Step 703 is to copy the first SID and the second SID in the SID list to the current SID and the next SID in the destination address of a data packet and transmit the data packet; The second SID is the next SID to the first SID in the SID list, and the second information is greater than or equal to 1 or is equal to 0.

[0056] In an embodiment of the present disclosure, the method further includes, if the second information is equal to 1, duplicating the first SID in the SID list to the current SID in a destination address of the data packet and embedding a predetermined field in the next SID.

[0057] In an embodiment of the present disclosure, copying the first SID and the second SID in the SID list described above into a destination address of a data packet and transmitting the data packet includes: The method includes copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID and replacing the next SID with the second SID, where the type of the current SID is a global SID and the type of the next SID is a local SID.

[0058] In an embodiment of the present disclosure, copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID, and replacing the next SID with the second SID, comprises: determining whether the type of the current SID is a global SID and whether the type of the next SID is a local SID; If the type of the current SID is a global SID and the type of the next SID is a local SID, copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID and replacing the next SID with the second SID.

[0059] In an embodiment of the present disclosure, the method comprises: Set the global SID and local SID ranges to be consistent with other nodes, or Or, Set the range of global SID and local SID of the first node, The method further includes advertising the range of the global SID and local SID of the first node to other nodes via an IGP / BGP protocol.

[0060] In an embodiment of the present disclosure, the destination address includes a current SID and a next SID; Duplicating the first SID and the second SID in the SID list into a destination address of a data packet and transmitting the data packet, copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID, and not replacing the next SID with the second SID; The type of the current SID is a global SID and the type of the next SID is a global SID, or the type of the current SID is a local SID and the type of the next SID is a local SID, or the type of the current SID is a local SID and the type of the next SID is a global SID.

[0061] In the embodiments of the present disclosure, the overhead of SRv6 messages can be effectively reduced, and the complexity of network chips can be reduced.

[0062] As shown in Figure 8, a field is added in the IPv6 destination address, which can be located anywhere after the G-SID, for example following the G-SID or in the last few digits of the destination address. The field is the G-SID Index (SI), which identifies the location index of the G-SID within the container indicated by the current SL.

[0063] The field may have a specified length. The minimum length of the field is related to the number of G-SIDs that can be accommodated in one container, for example, if the length of the G-SID is 32, four G-SIDs can be placed in one container, and the SI requires a minimum of 2 bits.

[0064] SI indicates the position of the G-SID within each 128-bit G-SID container. If the G-SID uses a 32-bit compressed SID, the SI value is 0 to 3. If the G-SID uses a 16-bit compressed SID, the SI value is 0 to 7.

[0065] In the embodiment of the present disclosure, in order to further improve the compression efficiency, the compressed SIDs are divided into two types, the first type is for identifying a global SID, e.g., an END SID, whose value is taken from the global SID set (GIB), and the second type is for identifying a local SID, e.g., an END.X SID of a specified link or an END.DT SID of a VPN context, whose value is taken from the local SID set (LIB). Thus, in some cases, a node needs to replace only one global SID or one local SID, and in some cases, a node needs to replace both global SIDs and local SIDs.

[0066] In the embodiment of the present disclosure, if both global SID and local SID need to be replaced, it needs to be copied twice, which is relatively inefficient. The present application aims to propose a method of copying 2×L length data to the destination address each time, regardless of the type and length of the SID to be processed, where L is the length of the minimum length SID. In this way, if a node needs to use only one global SID or one local SID, it will use the first SID with length L and call it SI-1, and if a node needs to use both global SID and local SID, it will use two SIDs with length 2×L and call it SI-2.

[0067] In the embodiment of the present disclosure, the specific operation flow is as follows, as shown in FIG.

[0068] If SI>1, copy the current G-SID and the next G-SID pointed to by SI to the destination address (DA), If SI=1, copy the current G-SID pointed to by SI and fill the next G-SID with all 0s. If SI=0, SL is decremented by 1 (SL--), and if SI=7, the current G-SID and the next G-SID pointed to by SI are copied to DA, Each time SI is decremented by 1 (SI--), it still moves the length of one G-SID, but the replacement in DA uses two consecutive G-SIDs in the SID list of the SRH.

[0069] Scene 1 Referring to Figure 10, of the two consecutive G-SIDs that replace the DA, the first G-SID belongs to the GIB and the second G-SID belongs to the LIB, and two G-SID operations on the same node can be completed with a single table lookup.

[0070] Scene 2 Referring to FIG. 11, the two consecutive G-SIDs replacing DA both belong to the GIB, and the NEXT G-SID belongs to the invalid replacement.

[0071] Scene 3 Referring to FIG. 12, the two consecutive G-SIDs that replace DA both belong to LIB, and the NEXT G-SID belongs to an invalid replacement.

[0072] Scene 4 Referring to Figure 13, of the two consecutive G-SIDs that replace DA, the first G-SID belongs to LIB and the second G-SID belongs to GIB, and these two G-SIDs are not necessarily the same node, and the NEXT G-SID belongs to an invalid replacement.

[0073] For the invalid G-SID replacement that appears in the above scenario, the following two methods can be used: Mode 1: No prior judgment is made before duplicating the G-SID. If the SI meets the requirements, two consecutive G-SIDs are copied, and during table lookup, only the first G-SID is valid and the NEXT G-SID is invalid. When the DA is next replaced, the NEXT G-SID becomes the current G-SID and continues to be used. Mode 2: Before duplicating the G-SID, a determination is made in advance and the DA is replaced with two consecutive G-SIDs only under the condition that the current G-SID belongs to the GIB and the NEXT G-SID belongs to the LIB.

[0074] There are two cases: Case 1: Each network node defines a uniform GIB range and LIB range. For example, for a 16-bit compressed SID, 0x0000 to 0xDFFF belongs to the GIB, and 0xE000 to 0xFFFF belongs to the LIB, and the forwarding plane of each node can directly determine this. Case 2: Each network node defines its own GIB and LIB ranges and advertises them through the IGP / BGP protocol of the control plane. The control plane of each node can determine whether a G-SID belongs to the GIB range or the LIB range, but the forwarding plane does not have the relevant information and cannot make a pre-determination.

[0075] Referring to FIG. 14, an embodiment of the present disclosure provides a message processing apparatus, the apparatus 1400 including: an acquisition module 1401 for acquiring first information and second information of a first segment identifier (SID), the first information indicating a location of a container in a SID list of a data packet where the first SID is located, and the second information indicating a location of the first SID in the container; a first processing module 1402 for obtaining a position of the first SID in a SID list according to the first information and the second information; a transmitting module 1403 for duplicating the first SID and the second SID in the SID list to a current SID and a next SID in a destination address of a data packet and transmitting the data packet; The second SID is the next SID to the first SID in the SID list, and the second information is greater than or equal to 1 or is equal to 0.

[0076] In an embodiment of the present disclosure, the device 1400 includes: The method further includes a second processing module for duplicating the first SID in the SID list to the current SID in a destination address of a data packet and embedding a predetermined field in the next SID if the second information is equal to 1.

[0077] In an embodiment of the present disclosure, the sending module 1403 is further used to copy the first SID and the second SID in the SID list into a destination address of a data packet, replace the current SID with the first SID, and replace the next SID with the second SID, where the type of the current SID is a global SID and the type of the next SID is a local SID.

[0078] In an embodiment of the present disclosure, the sending module 1403 determines whether the type of the current SID is a global SID or the type of the next SID is a local SID; If the type of the current SID is a global SID and the type of the next SID is a local SID, it is further used to copy the first SID and the second SID in the SID list into the destination address of the data packet, replacing the current SID with the first SID and replacing the next SID with the second SID.

[0079] In an embodiment of the present disclosure, the device 1400 further includes a configuration module for setting a global SID and a local SID range in a unified manner with other nodes, or for setting a global SID and a local SID range of the first node and notifying other nodes of the global SID and local SID range of the first node via an IGP / BGP protocol.

[0080] In an embodiment of the present disclosure, the destination address includes a current SID and a next SID, and the sending module 1403 is further used to copy the first SID and the second SID in the SID list into the destination address of the data packet, replace the current SID with the first SID, and not replace the next SID with the second SID, and the type of the current SID is a global SID and the type of the next SID is a global SID, or the type of the current SID is a local SID and the type of the next SID is a local SID, or the type of the current SID is a local SID and the type of the next SID is a global SID.

[0081] The apparatus according to the embodiment of the present disclosure can implement the embodiment of the method shown in FIG. 7 above, and the realization principle and technical effect are similar, so this embodiment will not be repeated here.

[0082] An embodiment of the present disclosure further provides a communication device. As shown in FIG. 15, the communication device 1500 includes an antenna 1501, a radio frequency device 1502, and a baseband device 1503. The antenna 1501 is connected to the radio frequency device 1502. In an uplink direction, the radio frequency device 1502 receives information through the antenna 1501 and transmits the received information to the baseband device 1503 for processing. In a downlink direction, the baseband device 1503 processes the information to be transmitted and transmits it to the radio frequency device 1502, and the radio frequency device 1502 transmits the received information through the antenna 1501 after processing it.

[0083] The radio frequency device 1502 may be located in a baseband device 1503 , and the methods performed in the communication device in the above embodiments can be realized in the baseband device 1503 , which includes a processor 1504 and a memory 1505 .

[0084] The baseband device 1503 may, for example, include at least one baseband board provided with multiple chips, one of which, as shown in FIG. 15, is, for example, a processor 1504, connected to the memory 1505 to call programs in the memory 1505 and perform the operations of the communication device as shown in the above method embodiments.

[0085] The baseband unit 1503 may further include a network interface 1506 for exchanging information with the radio frequency unit 1502, the interface being, for example, a Common Public Radio Interface (CPRI).

[0086] Specifically, the communication device according to the embodiment of the present disclosure further includes instructions or programs stored in memory 1505 and operable on processor 1504, and processor 1504 calls the instructions or programs in memory 1505 to execute the methods performed by each module shown in FIG. 14 to achieve the same technical effect, which will not be repeated here to avoid redundancy.

[0087] An embodiment of the present disclosure further provides a readable storage medium storing a program or instructions, which, when executed by a processor, realizes each step of the embodiment of the method shown in FIG. 7 above, and also achieves the same technical effects, which will not be repeated here to avoid redundancy.

[0088] The processor is a processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0089] The steps of the method or algorithm described in conjunction with the disclosure of this disclosure may be implemented in hardware or in the form of software instructions executed by a processor. The software instructions may be configured in corresponding software modules, which may be stored in RAM, flash memory, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disk, portable hard disk, read-only optical disk, or any other format of storage medium known in the art. An exemplary storage medium is coupled to the processor such that the processor can read information from and write information to the storage medium. Of course, the storage medium may be a component of the processor. The processor and the storage medium may be incorporated in an Application Specific Integrated Circuit (ASIC). The ASIC may also be incorporated in the core network interface device. Of course, the processor and the storage medium may be located in the core network interface device as separate components.

[0090] Those skilled in the art can recognize that the functions described in the present disclosure in one or more of the above examples can be realized by hardware, software, firmware, or any combination thereof. If realized in software, these functions are stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media. Communication media include any medium that facilitates the transmission of a computer program from one place to another. Storage media are any available media that can be accessed by a general-purpose or special-purpose computer.

[0091] The specific embodiments described above provide a more detailed description of the objectives, technical aspects and beneficial effects of the present disclosure, but the above descriptions are merely specific embodiments of the present disclosure and are not intended to limit the scope of protection of the present disclosure. Any modifications, equivalent replacements and improvements made based on the technical aspects of the present disclosure should be included in the scope of protection of the present disclosure.

[0092] It is understood by those skilled in the art that the embodiments of the present disclosure may be provided as a method, a system, or a computer program product. Thus, the embodiments of the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present disclosure may take the form of a computer program product embodied in one or more computer usable storage mediums (including, but not limited to, magnetic disk memories, CD-ROMs, optical memories, etc.) that contain computer usable program code.

[0093] The embodiments of the present disclosure are described with reference to flowcharts and / or block diagrams of the method, the apparatus (system) and the computer program product according to the embodiments of the present disclosure. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be realized by computer program commands. These computer program commands are provided to a processor of a general purpose computer, a special purpose computer, an embedded processor or other programmable data processing device to form an apparatus, and the commands executed by the processor of the computer or other programmable data processing device form an apparatus for implementing the functions specified in one or more flows in the flowcharts and / or one or more blocks in the block diagrams.

[0094] These computer program instructions may be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, the instructions stored in the computer readable memory forming an article of manufacture that includes a command apparatus that realizes the functions specified in one or more flows of the flowcharts and / or one or more blocks of the block diagrams.

[0095] These computer program instructions may be loaded into a computer or other programmable data processing device and cause the computer or other programmable data processing device to execute a series of operational steps to form a computer-implemented process, the commands executed on the computer or other programmable data processing device providing steps for implementing the functions specified in one or more flows of the flowcharts and / or one or more blocks of the block diagrams.

[0096] Obviously, those skilled in the art can make various modifications and variations to the embodiments of the present disclosure without departing from the spirit and scope of the present disclosure. If these modifications and variations of the embodiments of the present disclosure fall within the scope of the claims of the present disclosure and the scope of equivalent techniques, the present disclosure also includes these modifications and variations. [Explanation of symbols]

[0097] 1400 equipment 1401 Acquisition Module 1402 First Processing Module 1403 Transmitting Module 1500 Communication Equipment 1501 Antenna 1502 Radio Frequency Device 1503 Baseband Equipment 1504 Processor 1505 Memory 1506 Network Interface

Claims

1. 1. A method of message processing performed by a first node, the method comprising: Obtaining first and second information of a first segment identifier (SID), the first information indicating a location of a container in a SID list of a data packet in which the first SID is located, and the second information indicating a location of the first SID in the container; obtaining a position of the first SID in a SID list according to the first information and the second information; copying the first SID and the second SID in the SID list to a current SID and a next SID in a destination address of a data packet and transmitting the data packet; The second SID is a SID next to the first SID in the SID list, and the second information is greater than or equal to 1 or equal to 0.

2. The method comprises:

2. The method of claim 1, further comprising: if the second information is equal to 1, duplicating the first SID in the SID list to the current SID in a destination address of a data packet and padding a predetermined field in the next SID.

3. Duplicating the first SID and the second SID in the SID list into a destination address of a data packet and transmitting the data packet, 2. The method of claim 1, comprising: copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID and replacing the next SID with the second SID, wherein the type of the current SID is a global SID and the type of the next SID is a local SID.

4. Duplicating the first SID and the second SID in the SID list into a destination address of a data packet and replacing the current SID with the first SID and the next SID with the second SID, determining whether the type of the current SID is a global SID and whether the type of the next SID is a local SID; 4. The method of claim 3, further comprising: if the type of the current SID is a global SID and the type of the next SID is a local SID, copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID and replacing the next SID with the second SID.

5. The method comprises: Set the global SID and local SID ranges to be consistent with other nodes, or Or, Setting a global SID and a local SID range for the first node; 5. The method of claim 4, further comprising advertising the first node's global SID and local SID ranges to other nodes via IGP / BGP protocols.

6. The destination address includes a current SID and a next SID; Duplicating the first SID and the second SID in the SID list into a destination address of a data packet and transmitting the data packet, copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID, and not replacing the next SID with the second SID; 2. The method of claim 1, wherein the type of the current SID is a global SID and the type of the next SID is a global SID, or the type of the current SID is a local SID and the type of the next SID is a local SID, or the type of the current SID is a local SID and the type of the next SID is a global SID.

7. A message processing device, comprising: an acquisition module for acquiring first and second information of a first segment identifier (SID), the first information indicating a location of a container in a SID list of a data packet where the first SID is located, and the second information indicating a location of the first SID in the container; a first processing module for obtaining a position of the first SID in a SID list according to the first information and the second information; a transmitting module for copying the first SID and the second SID in the SID list to a current SID and a next SID in a destination address of a data packet and transmitting the data packet; The second SID is a SID next to the first SID in the SID list, and the second information is greater than or equal to 1 or equal to 0.

8. The apparatus comprises:

8. The apparatus of claim 7, further comprising a second processing module for duplicating the first SID in the SID list to the current SID in a destination address of a data packet if the second information is equal to 1 and embedding a predetermined field in the next SID.

9. The transmitting module includes:

8. The apparatus of claim 7, further used to copy the first SID and the second SID in the SID list into a destination address of a data packet, replace the current SID with the first SID, and replace the next SID with the second SID, wherein the type of the current SID is a global SID and the type of the next SID is a local SID.

10. 10. The apparatus of claim 9, wherein the transmitting module is further used to determine whether the type of the current SID is a global SID or the type of the next SID is a local SID, and if the type of the current SID is a global SID and the type of the next SID is a local SID, copy the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID and replacing the next SID with the second SID.

11. The device is provided at a first node, the device comprising: Set the global SID and local SID ranges to be consistent with other nodes, or Or, Setting a global SID and a local SID range for the first node; The apparatus of claim 9 , further comprising: a configuration module for advertising the global SID and local SID ranges of the first node to other nodes via IGP / BGP protocols.

12. The destination address includes a current SID and a next SID; the sending module 1403 is further used for copying the first SID and the second SID in the SID list into a destination address of a data packet, replacing the current SID with the first SID, and not replacing the next SID with the second SID; 8. The apparatus of claim 7, wherein the type of the current SID is a global SID and the type of the next SID is a global SID, or the type of the current SID is a local SID and the type of the next SID is a local SID, or the type of the current SID is a local SID and the type of the next SID is a global SID.

13. A communications device comprising a processor, a memory, and a program stored in the memory and operable on the processor, the program implementing the steps of the method according to any one of claims 1 to 6 when executed by the processor.

14. A readable storage medium storing a program, the program causing a processor to execute the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Transmission path fault processing method, device and system

    CN110661706A

  • Relay node and route control method

    JP2015159486A