Message packaging method and device and message packaging removing method and device

By encapsulating the SR-TP tag stack to the outer layer of SRv6 messages on the SPN boundary node, the problem that SPN cannot forward SRv6 messages is solved, and the forwarding of SRv6 messages is realized without modifying the SPN network, satisfying the cloud The docking requirements of dedicated line and edge cloud scenarios.

CN119232700AInactive Publication Date: 2024-12-31ZTE CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310782173.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-28
Publication Date
2024-12-31
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, the Slice Packet Network (SPN) cannot forward Segment Routing v6 (SRv6) packets without overall network upgrade and transformation, resulting in the inability to realize SRv6 packets to cross the traditional SPN tag network.

Method used

The Segmented Routing Transmission Configuration (SR-TP) tag stack is encapsulated on the boundary node of the SPN to the outer layer of the SRv6 message, and forwarding is indicated through the tag stack to realize the traversal of the SRv6 message.

Benefits of technology

There is no need to make overall transformation of the SPN network, the boundary node can forward encapsulated SRv6 messages, solving the problem of SRv6 messages forwarding in the absence of transformation of SPN, and realizing the SRv6 messages to cross the traditional SPN tag network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232700A_ABST
    Figure CN119232700A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a message packaging method and device and a message packaging removing method and device. The method comprises the following steps: a boundary node of a slicing packet network (SPN) packages a segment routing transmission configuration (SR-TP) label stack on the outer layer of a segment routing (SRv6) message; and the boundary node forwards the packaged SRv6 message according to the indication of the SR-TP label stack. Through the embodiment of the invention, the problem that the SPN cannot forward the SRv6 message under the condition that the whole network is not upgraded and reconstructed is solved, and the effect that the SPN can forward the SRv6 message by packaging the SRv6 message through the boundary node of the SPN under the condition that the SPN is not reconstructed is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communications, and in particular, to a method and device for message encapsulation and message encapsulation removal. Background Art

[0002] Operators have been vigorously developing mobile cloud services, and public cloud / private cloud services can be provided on cloud private networks. Mobile cloud private networks currently use virtual private network technology (Ethernet Virtual Private Network, EVPN) over segment routing (SRv6) solutions for Layer 2 network interconnection. The cloud access methods of metropolitan area networks have multiple options such as packet transport network, slicing packet network (SPN), passive optical network, optical transport network, etc., depending on the needs of different cloud customers. Since SPN supports slicing and small particles, it can meet the needs of small and medium-sized enterprises and cloud access, as well as the needs of high-value customers with hard pipe requirements, becoming the mainstream choice for cloud access private lines.

[0003] In addition, since the mobile edge computing sinking in the 5G bearer scenario introduces the edge cloud, and the edge cloud is mainly accessed through SPN, there is a demand for cloud-edge collaboration and edge-edge collaboration on the SPN network. Among them, edge-edge collaboration is mainly to open up the services between edge clouds accessed by SPN, and does not involve the connection between SPN and cloud private network, while cloud-edge collaboration requires the connection between SPN and cloud private network to open up the services between edge cloud and regional cloud. At this time, similar to the dedicated line to the cloud, the connection solution between SPN and cloud private network should be considered.

[0004] To meet the above cloud dedicated line and edge cloud scenarios, it is necessary to consider the connection solution between SPN and cloud private network, and use EVPN over SRv6 on the cloud provider edge router (Provider Edge, PE) to realize the service scheduling of users entering multiple clouds. However, with the introduction of users entering edge cloud and cloud-edge collaboration requirements introduced by the sinking of edge cloud, SRv6 will extend downward to the metropolitan area network and user terminal devices, so it is necessary to consider the solution of SPN supporting SRv6.

[0005] In the related technology, for the processing of the above scenarios, according to the hop-by-hop SRv6 deployment solution, all SPN network elements need to be upgraded to support SRv6, which incurs huge network transformation costs. It is impossible to enable SRV6 messages to traverse the traditional SPN label network by only modifying the SRV6 messages without transforming the SPN network. Summary of the invention

[0006] The embodiment of the present invention provides a method and device for message encapsulation and message encapsulation removal, so as to at least solve the problem in the related art that the SPN cannot forward the SRv6 message without upgrading and transforming the entire network.

[0007] According to one embodiment of the present invention, a message encapsulation method is provided, comprising: a border node of a slice packet network SPN encapsulates a segment routing transport profile (SR-TP) label stack in the outer layer of a segment routing SRv6 message; the border node forwards the encapsulated SRv6 message according to the instruction of the SR-TP label stack.

[0008] In an exemplary embodiment, the border node encapsulates the SR-TP label stack in the outer layer of the SRv6 message, including: the border node determines that the border node corresponds to the base station identification code carried by the SRv6 message; the border node determines the SR-TP label stack corresponding to the base station identification code; the border node encapsulates the determined SR-TP label stack in the outer layer of the SRv6 message.

[0009] According to another embodiment of the present invention, a method for removing message encapsulation is provided, including: a border node of a slice packet network SPN receives a segmented routing SRv6 message; and the border node of the SPN removes the SR-TP label stack encapsulated in the outer layer of the SRv6 message.

[0010] According to another embodiment of the present invention, a message encapsulation device is provided, including: an encapsulation module, used for the boundary node of the slice packet network SPN to encapsulate the segment routing transmission configuration SR-TP label stack in the outer layer of the segment routing SRv6 message; a forwarding module, used for the boundary node to forward the encapsulated SRv6 message according to the instruction of the SR-TP label stack.

[0011] According to another embodiment of the present invention, a device for removing message encapsulation is provided, characterized in that it includes: a receiving module, used for a border node of a slice packet network SPN to receive a segmented routing SRv6 message; a removal module, used for the border node of the SPN to remove the SR-TP label stack encapsulated in the outer layer of the SRv6 message.

[0012] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.

[0013] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0014] Through the present invention, since the border node of the SPN encapsulates the transmission-oriented segment routing technology (Segment Routing Transport Profile, SR-TP) label stack in the outer layer of the SRv6 message, the border node can forward the encapsulated SRv6 message, that is, all the nodes of the SPN network are not modified, only the border node of the SPN needs to encapsulate the SRv6 message, and the internal transmission characteristics of the SPN do not need to be changed, so that the SRV6 message can pass through the traditional SPN label network, which can solve the problem that the SPN cannot forward the SRv6 message without upgrading the entire network, thereby achieving the effect of encapsulating the SRv6 message through the border node of the SPN without modifying the SPN, thereby achieving the effect of the SPN being able to forward the SRv6 message. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 is a hardware structure block diagram of a computer terminal according to a message encapsulation method according to an embodiment of the present invention;

[0016] Figure 2 is a flow chart of a message encapsulation method according to an embodiment of the present invention;

[0017] Figure 3 is a flow chart of a method for removing message encapsulation according to an embodiment of the present invention;

[0018] Figure 4 is a structural block diagram of a message encapsulation device according to an embodiment of the present invention;

[0019] Figure 5 is a structural block diagram of a message encapsulation device according to yet another embodiment of the present invention;

[0020] Figure 6 is a structural block diagram of a device for removing message encapsulation according to an embodiment of the present invention;

[0021] Figure 7 It is an application scenario diagram of the message encapsulation and message encapsulation removal method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0022] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0024] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a computer terminal of a method for message encapsulation and message encapsulation removal according to an embodiment of the present invention. Figure 1 As shown, the computer terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned computer terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above-mentioned computer terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0025] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the message encapsulation and message encapsulation removal methods in the embodiments of the present invention. The processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, that is, to implement the above-mentioned methods. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0026] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0027] In this embodiment, a message encapsulation method is provided. Figure 2 is a flow chart of a message encapsulation method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0028] Step S202, the border node of the slice packet network SPN encapsulates the segment routing transmission configuration SR-TP label stack in the outer layer of the segment routing SRv6 message;

[0029] Before step S202 of this embodiment, the method further includes: the border node receives and parses the general message, and encapsulates the general message into the SRv6 message according to the information carried by the general message; or, the border node receives the SRv6 message.

[0030] Since the first node for forwarding SRv6 messages may coincide with the border node of SPN, or may be before the border node of SPN, in the case where the first node for forwarding SRv6 messages coincides with the border node of SPN, the border node needs to encapsulate the general message into an SRv6 message first; in the case where the first node for forwarding SRv6 messages does not coincide with the border node of SPN, the message has been encapsulated into an SRv6 message at the upstream node, and the border node can directly receive the SRv6 message.

[0031] In step S202 of this embodiment, it includes: the border node determines that the border node corresponds to the base station identification code carried by the SRv6 message; the border node determines the SR-TP label stack corresponding to the base station identification code; the border node encapsulates the determined SR-TP label stack in the outer layer of the SRv6 message.

[0032] In an exemplary embodiment, the border node determines the SR-TP label stack corresponding to the base station identification code, including: the border node determines the SR-TP label stack corresponding to the base station identification code according to an association relationship between the base station identification code and the SR-TP label stack.

[0033] In an exemplary embodiment, the SR-TP tunnel is a newly created SR-TP tunnel or an existing SR-TP tunnel.

[0034] Step S204: The border node forwards the encapsulated SRv6 message according to the instruction of the SR-TP label stack.

[0035] In step S204 of this embodiment, it includes: the border node forwarding the encapsulated SRv6 message through the SR-TP tunnel corresponding to the SR-TP label stack.

[0036] In this embodiment, a method for removing message encapsulation is provided. Figure 3 is a flow chart of a method for removing message encapsulation according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:

[0037] Step S302, the border node of the slice packet network SPN receives the segment routing SRv6 message;

[0038] Step S304: The border node of the SPN removes the SR-TP label stack encapsulated in the outer layer of the SRv6 message.

[0039] After step S304 of this embodiment, the method further includes: the border node forwarding the SRv6 message to an outer node of the SPN according to the information carried by the SRv6 message.

[0040] After step S304 of this embodiment, the method further includes: the border node removes the SRv6 encapsulation of the SRv6 message according to the information carried by the SRv6 message to obtain a general message, and forwards the general message to an outer node of the SPN.

[0041] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory (ROM / RAM), a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0042] In this embodiment, a message encapsulation device and a message encapsulation removal device are also provided. The above devices are used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0043] Figure 4 is a structural block diagram of a message encapsulation device according to an embodiment of the present invention, such as Figure 4 As shown, the message encapsulation device 400 includes: an encapsulation module 10 and a forwarding module 20.

[0044] An encapsulation module 10 is used for a border node of a slice packet network SPN to encapsulate a segment routing transmission configuration SR-TP label stack in an outer layer of a segment routing SRv6 message;

[0045] The forwarding module 20 is used for the border node to forward the encapsulated SRv6 message according to the instruction of the SR-TP label stack.

[0046] Figure 5 is a structural block diagram of a message encapsulation device according to yet another embodiment of the present invention. Figure 5 As shown, the message encapsulation device 500 includes Figure 4 In addition to all the modules shown, the encapsulation module 10 further includes: a first determination unit 11 , a second determination unit 12 , and an encapsulation unit 13 .

[0047] A first determining unit 11 is used for the border node to determine that the border node corresponds to the base station identification code carried by the SRv6 message;

[0048] A second determining unit 12 is used for the border node to determine the SR-TP label stack corresponding to the base station identification code;

[0049] The encapsulation unit 13 is configured for the border node to encapsulate the determined SR-TP label stack in an outer layer of the SRv6 message.

[0050] Figure 6 is a structural block diagram of a device for removing message encapsulation according to an embodiment of the present invention, such as Figure 6 As shown, the device 600 for removing message encapsulation includes: a receiving module 30 and a removing module 40.

[0051] A receiving module 30, configured for receiving a segment routing SRv6 message at a border node of a slice packet network SPN;

[0052] The removal module 40 is used for the border node of the SPN to remove the SR-TP label stack encapsulated in the outer layer of the SRv6 message.

[0053] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0054] To facilitate the understanding of the technical solution provided by the present invention, a detailed description will be given below in conjunction with embodiments of specific scenarios.

[0055] like Figure 7 As shown, the message encapsulation method and the message encapsulation removal method of the embodiments of the present invention are applied to the following scenarios:

[0056] Scenario 1: Before the first node forwarding the SRv6 message enters the SPN network, the message is encapsulated with SRv6 at the upstream node. The SPN gateway PE node executes END.BM to encapsulate the SR TP label stack and imports it into the SR TP tunnel for forwarding.

[0057] Scenario 2: The first node for SRv6 packet forwarding coincides with the SPN ingress PE. The packet is directly connected to the SPN gateway PE node, encapsulated in SRv6 first, and then encapsulated in SR TP label stack according to SRv6 END.BM and imported into the SR TP tunnel for forwarding.

[0058] Scenario 3: The end node of the SRv6 message forwarding does not coincide with the SPN PE. The SR TP encapsulation of the SRv6 message is first removed, and the inner message is forwarded to the downstream node according to SRv6.

[0059] Scenario 4: The terminating node of SRv6 message forwarding coincides with the SPN PE. At the same node, the SR TP encapsulation of the SRv6 message is removed and then the SRv6 service is terminated.

[0060] According to another embodiment of the present invention, the steps of the message encapsulation method are as follows: the outer node device of the SPN supports associating the End.BM BSID and the SR-TP tunnel (the SR-TP tunnel may have only the working SR-TP, or may include the working and protection SR-TP, and allows configuration of whether to enable rerouting), and determines that this node is an End.BM operation according to the information carried by the SRv6 message, that is, no longer searching for the next hop information, and when executing subsequent operations, according to the corresponding identification information (Binding SID, BSID) indication, adds the pre-configured corresponding SR-TP label stack to the outside of the message header of the SRv6 message encapsulation to form an SR-TP label encapsulation, and forwards according to the SR-TP label stack indication.

[0061] The way in which the outer node determines that the node is performing the End.BM operation is as follows: the outer node processes the SRV6 message header, parses the SRV6 message header to determine that it carries the BSID, and determines that the End.BM operation needs to be performed.

[0062] Supports specifying the head and tail nodes to create End.BM BSID and associate it with the corresponding SR-TP tunnel. It also supports the controller to specify the head and tail nodes, and then create End.BM BSID based on the specified head and tail nodes and associate it with the corresponding SR-TP tunnel (it may be a newly created SR-TP or it may be a reused existing SR-TP)

[0063] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0064] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0065] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0066] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0067] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0068] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0069] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A message encapsulation method, characterized in that: include: The border node of the slice packet network SPN encapsulates the segment routing transmission configuration SR-TP label stack in the outer layer of the segment routing SRv6 message; The border node forwards the encapsulated SRv6 message according to an instruction of the SR-TP label stack.

2. The method according to claim 1, characterized in that Before the border node encapsulates the SR-TP label stack in the outer layer of the SRv6 message, the border node further includes: The border node receives and parses the general message, and encapsulates the general message into the SRv6 message according to the information carried by the general message; or, The border node receives the SRv6 message.

3. The method according to claim 1, characterized in that The border node encapsulates the SR-TP label stack in the outer layer of the SRv6 message, including: The border node determines that the border node corresponds to the base station identification code carried by the SRv6 message; The border node determines the SR-TP label stack corresponding to the base station identification code; The border node encapsulates the determined SR-TP label stack in an outer layer of the SRv6 message.

4. The method according to claim 3, characterized in that The border node determines the SR-TP label stack corresponding to the base station identification code, including: The border node determines the SR-TP label stack corresponding to the base station identification code according to the association relationship between the base station identification code and the SR-TP label stack.

5. The method according to claim 1, characterized in that The border node forwarding the encapsulated SRv6 message according to the instruction of the SR-TP label stack includes: The border node forwards the encapsulated SRv6 message through the SR-TP tunnel corresponding to the SR-TP label stack.

6. The method according to claim 3, characterized in that The SR-TP tunnel is a newly created SR-TP tunnel or an existing SR-TP tunnel.

7. A method for removing message encapsulation, characterized in that: include: The border node of the slice packet network SPN receives the segment routing SRv6 message; The border node of the SPN removes the SR-TP label stack encapsulated in the outer layer of the SRv6 message.

8. The method according to claim 7, characterized in that After the border node of the SPN removes the SR-TP label stack encapsulated in the outer layer of the SRv6 message, the method further includes: The border node forwards the SRv6 message to an outer node of the SPN according to the information carried by the SRv6 message.

9. The method according to claim 7, characterized in that: After the border node of the SPN removes the SR-TP label stack encapsulated in the outer layer of the SRv6 message, the method further includes: The border node removes the SRv6 encapsulation of the SRv6 message according to the information carried by the SRv6 message to obtain a general message, and forwards the general message to the outer node of the SPN.

10. A message encapsulation device, characterized in that: include: An encapsulation module is used for the border node of the slice packet network SPN to encapsulate the segment routing transmission configuration SR-TP label stack in the outer layer of the segment routing SRv6 message; A forwarding module is used for the border node to forward the encapsulated SRv6 message according to the instruction of the SR-TP label stack.

11. The device according to claim 10, characterized in that The packaging module also includes: A first determining unit, configured for the border node to determine that the border node corresponds to a base station identification code carried by the SRv6 message; A second determining unit, configured for the border node to determine the SR-TP label stack corresponding to the base station identification code; The encapsulation unit is used for the border node to encapsulate the determined SR-TP label stack in the outer layer of the SRv6 message.

12. A device for removing message encapsulation, characterized in that: include: A receiving module, used for a border node of a slice packet network SPN to receive a segment routing SRv6 message based on the Internet protocol; A removal module is used for the border node of the SPN to remove the SR-TP label stack encapsulated in the outer layer of the SRv6 message.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 9 when executed by a processor.

14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Segmented routing-based service flow control method and device, and storage medium

    CN114205788A

  • Message forwarding method and system, storage medium and electronic device

    CN115102900A

  • Method and device for generating 5G private network resource topology based on cross-professional data association

    CN115865695A

  • Information transmission method and device and related equipment

    CN115914091A

  • Logical forwarding element identifier translation between datacenters

    US20210314291A1