Data transmission method and device

By carrying a globally unique network slicing identifier when transmitting packets between multiple networks, it solves the application problems of network slicing technology in multiple network networking scenarios, realizes end-to-end network slicing, and ensures the service levels of different services. Agreement (SLA) guarantee and security isolation improve the utilization efficiency and management efficiency of network resources.

CN118713958APending Publication Date: 2024-09-27HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310335580.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-27
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Existing network slicing technology is mainly used in a single network scenario and is difficult to effectively apply in multiple network networking scenarios. It cannot achieve end-to-end network slicing and business-level service guarantee and security isolation.

Method used

By always carrying a globally unique network slice identifier when transmitting messages between multiple networks, data transmission between sub-networks is realized, and the resources corresponding to the globally unique network slice identifier are used for data transmission, supporting the grouping of network slices. End-to-end network slicing in network scenarios to achieve service level agreement (SLA) guarantee and security isolation for different services.

Benefits of technology

It realizes end-to-end network slicing in multiple network networking scenarios, reduces implementation complexity, ensures service level agreement (SLA) guarantee and security isolation of different services, and improves the utilization efficiency and management efficiency of network resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118713958A
    Figure CN118713958A
Patent Text Reader

Abstract

The invention provides a data transmission method and device, the method is applied to a first network, the first network comprises a second network and a third network, and the method comprises the following steps: a first communication device receives a first message; repackaging the first message to obtain a second message; and sending the second message by using the resource of the first network slice in the third network. Wherein a message header of the first message comprises an identifier of a first network slice, a format of the first message is a message format of a second network, the first network slice is a network slice corresponding to a first service in the first network, and the first message is a message of the first service; the message header of the second message comprises the identifier of the first network slice, the format of the second message is the message format of the third network, and the second message is the message of the first service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communications, and in particular to a data transmission method and device. Background Art

[0002] The fifth generation (5G) system enables a wide range of industries, and the requirements of various services in terms of latency, number of connections, reliability, security, etc. are far different and unpredictable. In order to meet the differentiated needs of different services on the same network, the industry has proposed the concept of network slicing.

[0003] In network slicing technology, a physical network can be cut into multiple virtual end-to-end networks (i.e., network slices). Therefore, a network slice can be understood as a logical network with a specific network topology and a set of shared or dedicated network resources. Network slicing can provide customers with the connections, appropriate isolation, and determined services required for their business. Each network slice (including access, transmission, and core networks within the network) is logically independent, and a failure in any virtual network will not affect other virtual networks.

[0004] However, network slicing technology is currently applied to a single network scenario, such as a segment routing internet protocol version 6 (IPv6) network. Therefore, how to apply network slicing technology to scenarios where multiple networks are networked is an issue that needs to be discussed urgently. Summary of the invention

[0005] The embodiments of the present application provide a data transmission method and device, which can apply network slicing technology to scenarios where multiple networks are networked.

[0006] In a first aspect, a data transmission method is provided, which can be executed by a first communication device, or by a component of the first communication device, such as a processor, a chip, or a chip system of the first communication device, or by a logic module or software that can realize all or part of the functions of the first communication device. The method is applied to a first network, the first network includes a second network and a third network, and the method includes: receiving a first message, the message header of the first message includes an identifier of a first network slice, the format of the first message is the message format of the second network, the first network slice is a network slice corresponding to a first service in the first network, and the first message is a message of the first service; re-encapsulating the first message to obtain a second message, the message header of the second message includes an identifier of the first network slice, the format of the second message is the message format of the third network, and the second message is a message of the first service; using the resources of the first network slice in the third network to send the second message.

[0007] Based on this solution, in a networking scenario based on multiple networks (i.e., a communication system in which the first network is located, where the first network may include the second network and the third network), the first communication device can always carry the globally unique network slice identifier (i.e., the identifier of the first network slice) in the message of each subnetwork during message forwarding (or data transmission) between subnetworks (such as between the second network and the third network). This enables data transmission using the resources on the network slice corresponding to the globally unique network slice identifier during message forwarding between subnetworks. That is, end-to-end network slicing is achieved in the networking scenario, thereby achieving service level agreement (SLA) guarantees and security isolation for different services.

[0008] In addition, the globally unique network slice identifier only needs to be obtained by identifying the service type of the message during the first encapsulation (i.e., the first subnetwork in the networking scenario). During the forwarding of the message between the subnetworks, it is only necessary to extract the globally unique network slice identifier from the message. There is no need to obtain the globally unique network slice identifier by identifying the service type of the message, thereby reducing the implementation complexity.

[0009] In one possible design, the message header of the second message includes a slice header, and the slice header includes an identifier of the first network slice.

[0010] In one possible design, the message header of the second message also includes an identification field, and the identification field indicates that the message header of the second message includes a slice header.

[0011] In one possible design, the message header of the second message also includes a virtual extensible local area network (VxLAN) header, and the VxLAN header includes an identification field.

[0012] In one possible design, the third network is VxLAN.

[0013] Based on this possible design, based on VxLAN, a network slice (i.e., an identification field) can be defined in the VxLAN header to enable VxLAN to support network slicing. Therefore, the identification of the first network slice of the first message can be carried in the message header (such as the slice header) of the second message. In this way, in the process of message forwarding between the second network and the third network, the resources on the network slice corresponding to the globally unique network slice identification can be used to realize data transmission.

[0014] In one possible design, the slice header also includes a tag protocol identifier (TPID), where the TPID is used to indicate that the message is to be processed based on the first network slice.

[0015] In one possible design, the value of TPID is 0x8888.

[0016] In one possible design, the third network is a virtual local area network (VLAN).

[0017] Based on this possible design, based on VLAN, a network slice (i.e., TPID) can be defined in a message header so that VLAN can support network slicing. Therefore, the identifier of the first network slice of the first message can be carried in the message header (such as a slice header) of the second message. In this way, in the process of message forwarding between the second network and the third network, the resources on the network slice corresponding to the globally unique network slice identifier can be used to realize data transmission.

[0018] In one possible design, the message header of the second message includes a hop-by-hop options (HBH) header, and the HBH header includes an identifier of the first network slice.

[0019] In one possible design, the third network is a segment routing internet protocol version 6 (SRv6) network based on internet protocol version 6 (IPv6).

[0020] In a second aspect, a communication device is provided for implementing various methods. The communication device may be the first communication device in the first aspect, or a device included in the first communication device, such as a chip or a chip system. The communication device includes a module, unit, or means corresponding to the implementation method, and the module, unit, or means may be implemented by hardware, software, or by hardware executing the corresponding software implementation. The hardware or software includes one or more modules or units corresponding to the functions.

[0021] In some possible designs, the communication device may include a processing module and a transceiver module. The processing module may be used to implement the processing function in any of the above aspects and any possible implementations thereof. The transceiver module may include a receiving module and a sending module, respectively used to implement the receiving function and the sending function in any of the above aspects and any possible implementations thereof.

[0022] In some possible designs, the transceiver module may be composed of a transceiver circuit, a transceiver, a transceiver or a communication interface.

[0023] In a third aspect, a communication device is provided, comprising: a processor and a memory; the memory is used to store computer instructions, and when the processor executes the instructions, the communication device executes the method described in any one of the aspects. The communication device can be the first communication device in the first aspect, or a device included in the first communication device, such as a chip or a chip system.

[0024] In a fourth aspect, a communication device is provided, comprising: a processor and a communication interface; the communication interface is used to communicate with a module outside the communication device; the processor is used to execute a computer program or instruction so that the communication device executes the method described in any aspect. The communication device can be the first communication device in the first aspect, or a device included in the first communication device, such as a chip or a chip system.

[0025] In a fifth aspect, a communication device is provided, comprising: at least one processor; the processor is used to execute a computer program or instruction stored in a memory, so that the communication device performs the method described in any aspect. The memory may be coupled to the processor, or may be independent of the processor. The communication device may be the first communication device in the first aspect, or a device included in the first communication device, such as a chip or a chip system.

[0026] In some possible designs, the communication device includes a memory for storing necessary program instructions and data.

[0027] In some possible designs, when the device is a chip system, it can be composed of a chip or include a chip and other discrete devices.

[0028] It can be understood that when the communication device provided in any one of the second to fifth aspects is a chip, the sending action / function of the communication device can be understood as output information, and the receiving action / function of the communication device can be understood as input information.

[0029] In a sixth aspect, a computer-readable storage medium is provided, in which a computer program or instruction is stored, and when the computer-readable storage medium is run on a communication device, the communication device can execute the method described in any one of the aspects.

[0030] In a seventh aspect, a computer program product comprising instructions is provided, which, when executed on a communication device, enables the communication device to execute the method described in any one of the aspects.

[0031] Among them, the technical effects brought about by any design method in the second to seventh aspects can refer to the technical effects brought about by different design methods in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of a communication system provided for this application;

[0033] Figure 2 A schematic diagram of another communication system provided by the present application;

[0034] Figure 3 A schematic diagram of the encapsulation format of an SRv6 message provided in this application;

[0035] Figure 4 A schematic diagram of the encapsulation format of a VLAN message provided in this application;

[0036] Figure 5 A schematic diagram of another communication system provided by the present application;

[0037] Figure 6 A schematic diagram of a networking scenario provided for this application;

[0038] Figure 7 A schematic diagram of another networking scenario provided for this application;

[0039] Figure 8 A schematic diagram of a communication device provided by the present application;

[0040] Fig. 9 A flowchart of a data transmission method provided by this application;

[0041] Fig.10 A flowchart of another data transmission method provided by the present application;

[0042] Fig.11 A flowchart of another data transmission method provided by the present application;

[0043] Fig.12 A flowchart of another data transmission method provided by the present application;

[0044] Fig.13 A flowchart of another data transmission method provided by the present application;

[0045] Fig.14 A schematic diagram of the encapsulation format of a VxLAN message provided for this application;

[0046] Fig.15 A flowchart of another data transmission method provided by the present application;

[0047] Fig.16 A flowchart of another data transmission method provided by the present application;

[0048] Fig.17 A flowchart of another data transmission method provided by the present application;

[0049] Fig.18 A flowchart of another data transmission method provided by the present application;

[0050] Fig.19 A flowchart of another data transmission method provided by the present application;

[0051] Fig. 20 A flowchart of another data transmission method provided by the present application;

[0052] Fig.21 A flowchart of another data transmission method provided by the present application;

[0053] Fig. 22 A flowchart of another data transmission method provided by the present application;

[0054] Fig.23 A flowchart of another data transmission method provided by the present application;

[0055] Fig.24 A schematic diagram of another communication system provided by the present application;

[0056] Fig.25 A schematic diagram of another communication system provided by the present application;

[0057] Fig.26 A schematic diagram of the structure of a communication device provided by the present application;

[0058] Fig. 27 A schematic diagram of the structure of another communication device provided in the present application. DETAILED DESCRIPTION

[0059] In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is merely a description of the association relationship between associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.

[0060] In the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0061] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.

[0062] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.

[0063] It is understood that the "embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It is understood that in various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0064] It can be understood that in the present application, "when" and "if" both mean that corresponding processing will be carried out under certain objective circumstances, and do not limit the time, nor do they require any judgment action when implementing, nor do they mean the existence of other limitations.

[0065] It can be understood that some optional features in the embodiments of the present application may be implemented independently in certain scenarios without relying on other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects, or may be combined with other features according to needs in certain scenarios. Accordingly, the devices provided in the embodiments of the present application may also realize these features or functions accordingly, which will not be elaborated here.

[0066] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In the various embodiments in this application, and the various implementation methods / implementation methods / implementation methods in each embodiment, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment are consistent and can be referenced to each other. The technical features in different embodiments and the various implementation methods / implementation methods / implementation methods in each embodiment can be combined to form new embodiments, implementation methods, implementation methods, or implementation methods according to their inherent logical relationships. The implementation methods of this application described below do not constitute a limitation on the scope of protection of this application.

[0067] In order to facilitate understanding of the technical solutions of the embodiments of the present application, a brief introduction to the related technologies of the present application is first given as follows.

[0068] 1. Networking:

[0069] Networking is the process of combining multiple networks of the same or different types into a whole network. Networking can include homogeneous networking and heterogeneous networking. In homogeneous networking, multiple networks are of the same type, and in heterogeneous networking, there are at least two networks of different types among multiple networks.

[0070] 2. Network Slice (or Slice for short):

[0071] The fifth generation (5G) has ushered in an era of the Internet of Everything. Hundreds of billions of IoT devices are connected to the network. Different types of application scenarios have different requirements for the network (such as latency, number of connections, reliability, security, etc.), and some are even conflicting. If a single network is used to provide services for different application scenarios at the same time, the network architecture will be extremely complex, and the network management efficiency and resource utilization efficiency will be low.

[0072] 5G network slicing technology provides isolated network environments for different application scenarios by creating virtual independent logical networks on the same network infrastructure, allowing different application scenarios to customize network functions and features according to their own needs, and can effectively guarantee the quality of service (QoS) requirements of different services.

[0073] Network slicing refers to a logical network that can provide specific network capabilities and network characteristics. The goal of network slicing is to organically combine terminals, access network resources, core network resources, and network operation and management systems to provide independent and isolated complete networks for different business scenarios or business types.

[0074] A variety of scenarios have put forward different requirements for the 3rd Generation Partnership Project (3GPP) ecosystem: billing, policy, security, mobility, etc. 3GPP emphasizes that network slices should not affect each other. For example, a sudden large number of meter reading services should not affect normal mobile broadband services. In order to meet the diverse needs and isolation between slices, relatively independent management and operation and maintenance of services are required, and tailored business functions and analysis capabilities are provided. Instances of different types of services are deployed on different network slices, and different instances of the same service type can also be deployed on different network slices.

[0075] For example, Figure 1 As shown, the services of service terminal 1 may include service 1 (such as core services of enterprises such as government, finance, and medical care), service 2 (such as telemedicine, precision manufacturing, and autonomous driving), and service 3 (such as live broadcast, video, etc.), and the service types of service 1, service 2, and service 3 are different. In the interaction between service terminal 1 and service terminal 2, the service of service terminal 1 may be transmitted to service terminal 2 through network device 1, network device 2, and network device 3 in sequence, and the service of service terminal 2 may be transmitted to service terminal 1 through network device 3, network device 2, and network device 1 in sequence. In the process of transmission by network device 1, network device 2, and network device 3, the service is carried on the network slice.

[0076] For example, in Figure 1 When the default slice shown in FIG. 1 can provide services for core businesses of enterprises such as government, finance, and medical care, business 1 is carried on the default slice. In this case, the default slice can be a dedicated slice. Figure 1In the case where the network slice 1 shown can provide services for the vehicle to everything (V2X) service, the service 2 is carried on the network slice 1. At this time, the network slice 1 can be an ultra-reliable low latency communications (uRLLC) slice (uRLLC slice); in the case Figure 1 When the network slice 2 shown is capable of providing mobile broadband services for handheld terminals, etc., service 3 is carried on the network slice 2. At this time, the network slice 2 can be an enhanced mobile broadband (eMBB) slice (eMBB slice).

[0077] In addition, the service may also include a large number of meter reading services. In this case, the slice carrying the service may be a massive machine type communications (mMTC) slice.

[0078] Optionally, single network slice selection assistance information (S-NSSAI) can be used as a network slice identifier. Among them, S-NSSAI may include slice type / service type (SST) information, and the SST information is used to describe the expected network slice behavior, such as the slice type / service type used to describe the network slice, etc., without limitation.

[0079] Exemplarily, the SST of the network slice may include: eMBB, uRLLC, mMTC, massive Internet of things (MIoT), V2X, etc., without limitation.

[0080] Optionally, S-NSSAI also includes slice differentiator (or slice differentiation identifier) ​​(slicedifferentiator, SD) information, which is the supplementary information of SST information and is used to distinguish different network slices with the same SST characteristics. That is, when SST information points to multiple network slices, SD information can assist in corresponding to a unique network slice.

[0081] 3. Network slicing technology based on network slice identity (Slice ID):

[0082] The network slicing technology based on network slice identification introduces a globally unique network slice identification to distinguish different network slices, so that each network slice corresponds to a unique network slice identification. Exemplarily, the globally unique network slice identification may include S-NSSAI.

[0083] In the network slicing technology based on network slice identifiers, each forwarding node (or each network device) forwards the message through a two-dimensional forwarding identifier (i.e., the destination address and the network slice identifier). Among them, the destination address is used to address the forwarding path of the message. For example, the forwarding node can search the routing table maintained by the forwarding node according to the destination address to determine the outbound interface of the forwarding node. Among them, the forwarding node connected to the outbound interface is the next-hop forwarding node of the forwarding node.

[0084] The network slice identifier is used to select message forwarding resources. For example, the forwarding node (or network device) can search the relationship mapping table between the network slice identifier maintained by the forwarding node and the forwarding resources reserved for the network slice according to the network slice identifier, and determine the forwarding resources reserved for the network slice corresponding to the network slice identifier under the outbound interface. This enables the forwarding node to use the reserved forwarding resources to forward messages.

[0085] For example, Figure 2 As shown, it is taken that network device 1, network device 2, and network device 3 perform routing and forwarding tasks, network device 2 is the next-hop device of network device 1, network device 3 is the next-hop device of network device 2, and three network slice instances are created on network device 1, network device 2, and network device 3, respectively. When the destination address is Internet protocol (IP) address 2.2, the network slice identifier is network slice identifier 2, and the relationship mapping table under each physical interface of network device 1 and network device 2 is as follows: Figure 2 In the case shown in FIG. 1 , network device 1 queries the outbound interface of network device 1 from the routing table maintained by network device 1 according to the two-dimensional forwarding identifier carried in the message, such as Figure 2 As shown, the IP address of the outbound interface of network device 1 is 1.1. In addition, network device 1 queries the forwarding resources reserved for the network slice corresponding to the network slice identifier 2 under the outbound interface with IP address 1.1 from the relationship mapping table maintained by network device 1. Since the network slice identifier is network slice identifier 2, the next-hop device connected to the outbound interface with IP address 1.1 is network device 2, so network device 1 uses the forwarding resources reserved for network slice 2 under the physical port 1 of network device 1 to send a message and forward the message to network device 2. Network device 2 receives the message from network device 1 at its physical port 1.

[0086] After receiving the message, network device 2 first parses the two-dimensional forwarding identifier carried in the message, and queries the outbound interface of network device 2 from the routing table maintained by network device 2 according to the two-dimensional forwarding identifier. Figure 2 As shown, the IP address of the outbound interface of network device 2 is 2.1. Network device 2 also queries the forwarding resources reserved for the network slice corresponding to the network slice identifier 2 under the outbound interface with IP address 2.1 from the relationship mapping table maintained by network device 2. Since the network slice identifier is network slice identifier 2, the next-hop device connected to the outbound interface with IP address 2.1 is network device 3, so network device 2 uses the forwarding resources reserved for network slice 2 under the physical port 2 of network device 2 to send a message and forward the message to network device 3. Network device 3 receives the message from network device 2 at its physical port 1.

[0087] In one possible implementation, network slicing can be applied to SRv6 networks.

[0088] See also Figure 3 , is a schematic diagram of an SRv6 message encapsulation format provided in an embodiment of the present application.

[0089] like Figure 3 As shown, the SRv6 message includes an IPv6 header, an HBH header, a segment routing header (SRH) and a payload (or can be called an IPv6 payload). The IPv6 hop-by-hop option header includes the following fields: next header, IPv6 hop-by-hop option header length (hdr ext len), optional type (optiontype), optional data length (option data len), data status flag (flags), reserved (reserved), network slice identifier (slice ID), reserved (reserved). For the explanation of each field, please refer to the definition in the current protocol, and this application will not repeat it.

[0090] Among them, in the end-to-end network slicing technology based on the SRv6 network scenario, the globally unique network slice identifier can be located in the HBH header field of the SRv6 message. That is, the network slice identifier is located in Figure 3 The network slice identification field is shown.

[0091] It should be noted that the lengths of the various fields in the drawings of this application are only exemplary. In actual applications, the various fields may also have other lengths, which are not specifically limited in this application.

[0092] In another possible implementation, network slicing can be applied to VLAN.

[0093] See also Figure 4 , which is a schematic diagram of the encapsulation format of a VLAN message provided in an embodiment of the present application.

[0094] VLAN message includes Ethernet header, VLAN tag, Internet protocol version 4 (IPv4) header, user datagram protocol (UDP) header and payload. VLAN tag can be divided into inner VLAN tag and outer VLAN tag.

[0095] The outer VLAN tag includes the following fields: outer TPID, priority (PRI), standard format indicator (CFI) and outer virtual local area network identity (VID). The outer TPID is used to indicate how to process the outer VLAN tag information. For example, the value of the outer TPID is 0x8100, which is the value specified by the Institute of Electrical and Electronics Engineers (IEEE) 2202.1Q protocol.

[0096] The inner VLAN tag includes the following fields: inner TPID, reserved, network slice type, and network slice identifier. The inner TPID is used to indicate how to process the inner VLAN tag information. For example, the value of the inner TPID is 0x8888, which indicates that the network device processes the inner VLAN tag of the message in a manner corresponding to the network slicing technology.

[0097] In the VLAN-based end-to-end network slicing technology, the globally unique network slice identifier is located in the network slice identifier field in the inner VLAN tag field of the VLAN message.

[0098] In the two possible implementations described above, network slicing technology is applied in a single network (such as an SRv6 network or VLAN, etc.), but cannot be applied to scenarios where multiple networks are networked.

[0099] Based on this, the present application provides a data transmission method that can apply network slicing technology to scenarios where multiple networks are networked (such as heterogeneous networking scenarios or the same networking scenarios). This enables end-to-end data transmission based on network slicing technology to be achieved in the networking scenario, and further enables SLA guarantees and security isolation of different services in the networking scenario.

[0100] The data transmission method provided in the embodiments of the present application can be used in any communication system, which may be a 3GPP communication system, for example, a 5G mobile communication system, a new radio (NR) system, an NR V2X system, and other next-generation communication systems, or a non-3GPP communication system without limitation.

[0101] The data transmission method provided in the embodiments of the present application can be applied to various communication scenarios in various industries, for example, it can be applied to one or more of the following communication industries: network communication, education, medical treatment, finance, etc. It can also be applied to one or more of the following communication scenarios: eMBB, URLLC, machine type communication (machine type communication, MTC), mMTC, device to device (device to device, D2D), V2X, vehicle to vehicle (vehicle to vehicle, V2V), and MIoT, etc.

[0102] Below Figure 5 As an example, the communication system provided in the embodiment of the present application is described. Figure 5 As shown, the communication system includes a first network, and the first network includes at least one communication device. The first network is obtained by networking at least two networks. Optionally, the types of the at least two networks are the same or different. Exemplarily, when the types of the at least two networks are the same, the first network can be called the same networking; when the types of the at least two networks are different, the first network can be called a heterogeneous networking.

[0103] The first network supports network slicing, or the first network can deploy network slicing. A network slice in the first network has the same identifier in at least two networks constituting the first network, that is, a network slice in the first network has a globally unique network slice identifier in the first network.

[0104] Optionally, the first network may include the second network and the third network. Further, the first network may also include the fourth network. Of course, the first network may also include other networks, and the present application does not limit the number of networks constituting the first network.

[0105] Optionally, the at least one communication device may include a first communication device. The first communication device can implement message repackaging.

[0106] Exemplarily, the first communication device may be a connection node or a boundary node (eg, Figure 5 As shown), or the first communication device may be located at the border of the second network or the third network.

[0107] Optionally, the first communication device may be located at the boundary of the second network or the third network, which can be understood as: data from other networks (such as the second network) can be input into the third network through the first communication device, or data from the second network can be output to other networks (such as the third network) through the first communication device.

[0108] Furthermore, at least one communication device may further include a second communication device. The second communication device can implement message forwarding or message repackaging.

[0109] In a possible implementation manner, the second communication device may be located in the third network, and in this case the second communication device can forward the message.

[0110] In another possible implementation manner, the second communication device may be a docking node or a border node between the third network and the fourth network, or the first communication device may be located at the border of the third network or the fourth network.

[0111] Optionally, the first communication device may be located at the boundary of the third network or the fourth network, which can be understood as: data from other networks (such as the third network) can be input into the fourth network through the second communication device, or data from the third network can be output to other networks (such as the fourth network) through the second communication device.

[0112] Optionally, the communication device involved in the embodiment of the present application may be a routing forwarding device. Exemplarily, the communication device may be a switch, a router, a gateway or other types of devices.

[0113] Optionally, in a networking scenario of a vertical industry, the multiple networks constituting the first network are not completely at the same level. Taking the example that the first network includes the second network and the third network, the second network can be the upper-level network, and the corresponding third network is the lower-level network; or the second network can be the lower-level network, and the corresponding third network is the upper-level network.

[0114] Optionally, the upper-level network can realize logical network division of different services and private networks, and can be interconnected to access the lower-level network.

[0115] Optionally, an embodiment of the present application provides a networking scenario. In which the first network includes an SRv6 network, and at least one VLAN and / or at least one VxLAN. Exemplarily, the networking structure of the first network can be as follows: Figure 6 shown.

[0116] See also Figure 6 The SRv6 network can be understood as an upper-level network, and any one of at least one VLAN and / or at least one VxLAN can be understood as a lower-level network.

[0117] The SRv6 network may include an external border gateway 1, an edge access gateway 1, an edge access gateway 2, and an edge access gateway 3. The VxLAN deployed in area 1 may include an external border gateway 2 and an edge access gateway 4; the VLAN deployed in area 2 may include a layer 2 network device 1 (or a layer 3 network device 1, Figure 6 The Layer 2 network device 1 is used as an example); the VxLAN deployed in area 3 may include an external border gateway 3 and an edge access gateway 5; the VLAN deployed in area 4 may include a Layer 2 network device 2 (or a Layer 3 network device 2, Figure 6 In the figure, the layer 2 network device 2 is used as an example. In addition, at least one of the above SRv6 network, VLAN, or VxLAN may also include other devices, and the present application does not limit the devices deployed in the multiple networks constituting the first network.

[0118] Optionally, in the scenario where the VxLAN and SRv6 networks deployed in area 1 are networked, that is, when the first network includes the VxLAN and SRv6 networks deployed in area 1, illustratively, the second network can be the VxLAN deployed in area 1, and the third network can be the SRv6 network deployed in the government extranet; or, the second network can be the SRv6 network, and the third network can be the VxLAN deployed in area 1. At this time, the first communication device can be the external border gateway 2.

[0119] Optionally, in the scenario where the VxLAN and SRv6 network deployed in area 1 and the VLAN deployed in area 2 are networked, that is, the first network includes the VxLAN and SRv6 network deployed in area 1 and the VLAN deployed in area 2, illustratively, the second network can be the VxLAN deployed in area 1, the third network can be the SRv6 network, and the fourth network can be the VLAN deployed in area 2; or, the second network can be the VLAN deployed in area 2, the third network can be the SRv6 network, and the fourth network can be the VxLAN deployed in area 1. At this time, the first network also includes a first communication device, which can be an external border gateway 2 or a layer 2 network device 1 (or a layer 3 network device 1).

[0120] For example, Figure 6 The networking scenario shown can be applied to the networking scenario of the district and county government extranet. The upper-level network can be the district and county government extranet, that is, the government extranet can deploy an SRv6 network; the lower-level network can be the various parks of the commissions, offices and bureaus within the district and county (such as area 1, area 2, etc.).

[0121] Optionally, another networking scenario is provided in an embodiment of the present application. The first network includes at least one VLAN and / or at least one VxLAN. Exemplarily, the networking structure of the first network can be as follows: Figure 7 shown.

[0122] See also Figure 7 , the VxLAN deployed in area 1 may include an external border gateway 1 and an edge access gateway 1; the VLAN deployed in area 2 may include a layer 2 network device 1 (or a layer 3 network device 1, Figure 7 In the figure, the Layer 2 network device 1 is taken as an example); in addition, at least one of the above-mentioned VLAN or VxLAN may also include other devices, and the present application does not limit the devices deployed in the multiple networks that constitute the first network.

[0123] The VxLAN deployed in area 1 and the VLAN deployed in area 2 are interconnected through VxLAN. Optionally, the core switches in each area can be interconnected through a direct optical fiber connection or a Layer 3 IP network.

[0124] Optionally, in the scenario where the VxLAN deployed in area 1 and the VxLAN used for interconnection are networked, that is, when the first network includes the VxLAN deployed in area 1 and the VxLAN used for interconnection, illustratively, the second network can be the VxLAN deployed in area 1, and the third network can be the VxLAN used for interconnection; or, the second network can be the VxLAN used for interconnection, and the third network can be the VxLAN deployed in area 1. At this time, the first communication device can be the external border gateway 1.

[0125] Optionally, in the scenario where the VxLAN deployed in area 1, the VxLAN used for interconnection, and the VLAN deployed in area 2 are networked, that is, the first network includes the VxLAN deployed in area 1, the VxLAN used for interconnection, and the VLAN deployed in area 2, illustratively, the second network can be the VxLAN deployed in area 1, the third network can be the VxLAN used for interconnection, and the fourth network can be the VLAN deployed in area 2; or, the second network can be the VLAN deployed in area 2, the third network can be the VxLAN used for interconnection, and the fourth network can be the VxLAN deployed in area 1. At this time, the first communication device can be an external border gateway 1 or a layer 2 network device 1 (or a layer 3 network device 1).

[0126] For example, Figure 7 The networking scenario shown can be applied to the networking scenario of an enterprise office network, that is, Figure 7 The areas (such as area 1 and area 2) in the network may be parks in an enterprise office network.

[0127] It should be noted that the communication system and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field can know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0128] The relevant functions of the communication device involved in the present application can be implemented by one device, or by multiple devices together, or by one or more functional modules within a device, or can be one or more chips, or a system on chip (system on chip, SOC) or a chip system. The chip system can be composed of chips, or can include chips and other discrete devices. The embodiments of the present application do not make specific limitations on this.

[0129] It is understandable that the above functions can be network elements in hardware devices, software functions running on dedicated hardware, or a combination of hardware and software, or virtualized functions instantiated on a platform (e.g., a cloud platform).

[0130] For example, the relevant functions of the communication device involved in this application can be Figure 8 The communication device 800 is implemented. Figure 8 FIG. 8 is a schematic diagram of the structure of a communication device 800 provided in an embodiment of the present application. The communication device 800 includes one or more processors 801, a communication line 802, and at least one communication interface ( Figure 8 The example in which the communication interface 804 and a processor 801 are included is merely exemplary), and a memory 803 may also be included optionally.

[0131] The processor 801 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0132] The communication line 802 may include a path for connecting different components.

[0133] The communication interface 804 may be a transceiver module for communicating with other devices or communication networks, such as Ethernet, RAN, wireless local area networks (WLAN), etc. For example, the transceiver module may be a device such as a transceiver or a transceiver. Optionally, the communication interface 804 may also be a transceiver circuit located in the processor 801 to implement signal input and signal output of the processor.

[0134] The memory 803 may be a device with a storage function. For example, it may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a communication line 802. The memory may also be integrated with the processor.

[0135] The memory 803 is used to store computer-executable instructions for executing the solution of the present application, and the execution is controlled by the processor 801. The processor 801 is used to execute the computer-executable instructions stored in the memory 803, thereby realizing the data transmission method provided in the embodiment of the present application.

[0136] Alternatively, optionally, in an embodiment of the present application, the processor 801 may also perform processing-related functions in the data transmission method provided in the following embodiments of the present application, and the communication interface 804 is responsible for communicating with other devices or communication networks, which is not specifically limited in the embodiments of the present application.

[0137] Optionally, the computer-executable instructions in the embodiments of the present application may also be referred to as application code, which is not specifically limited in the embodiments of the present application.

[0138] In a specific implementation, as an embodiment, the processor 801 may include one or more CPUs, such as Figure 8 CPU0 and CPU1 in.

[0139] In a specific implementation, as an embodiment, the communication device 800 may include multiple processors, such as Figure 8 801 and processor 807 in the embodiment. Each of these processors may be a single-core processor or a multi-core processor. The processors here may include but are not limited to at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller unit (MCU), or an artificial intelligence processor and other computing devices running software, each of which may include one or more cores for executing software instructions to perform calculations or processing.

[0140] In a specific implementation, as an embodiment, the communication device 800 may further include an output device 805 and an input device 806. The output device 805 communicates with the processor 801 and may display information in a variety of ways. For example, the output device 805 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 806 communicates with the processor 801 and may receive user input in a variety of ways. For example, the input device 806 may be a mouse, a keyboard, a touch screen device, or a sensor device.

[0141] The communication device 800 may also be referred to as a communication apparatus, which may be a general-purpose device or a dedicated device. For example, the communication device 800 may be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device, the above terminal, the above communication device, or a device having Figure 8 The embodiment of the present application does not limit the type of the communication device 800.

[0142] also, Figure 8 The components shown in the figure do not constitute a limitation on the communication device, except Figure 8 In addition to the components shown, the communication device may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0143] Combine the following Figure 5 The communication system shown describes the data transmission method provided in an embodiment of the present application.

[0144] It should be noted that in the following embodiments of the present application, the message names between the devices, the names of the parameters, or the names of the information are only examples. In other embodiments, they may also be other names, and the method provided in the present application does not make any specific limitations on this.

[0145] It is understandable that in the embodiments of the present application, each device can perform some or all of the steps in the embodiments of the present application, and these steps or operations are only examples. The embodiments of the present application can also perform other operations or variations of various operations. In addition, each step can be performed in a different order presented in the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application need to be performed.

[0146] See also Fig. 9 , is a flow chart of a data transmission method provided in an embodiment of the present application. Fig. 9 As shown, the method may include:

[0147] S901. A third communication device sends a first message to a first communication device. Correspondingly, the first communication device receives the first message from the third communication device.

[0148] The third communication device is a previous hop device of the first communication device, and the third communication device is deployed in the second network. The header of the first message includes an identifier of the first network slice, the format of the first message is the message format of the second network, the first network slice is a network slice corresponding to the first service in the first network, and the first message is a message of the first service.

[0149] The third communication device may have the following two possible implementations in the communication system:

[0150] In a possible implementation manner, the third communication device is a routing and forwarding device connected to the access network device, or in other words, the third communication device is a next-hop device of the access network device.

[0151] Optionally, before step S901, Fig.10 As shown, the data transmission method may further include steps S900a-S900c:

[0152] S900a: The access network device sends an original message to the third communication device. Correspondingly, the third communication device receives the original message from the access network device. The original message is used to generate the first message.

[0153] S900b. The third communication device determines that the original message is a message of the first service, and then determines the first network slice corresponding to the first service.

[0154] Exemplarily, the third communication device can query the service types corresponding to each network slice supported by the third communication device, and determine the network slice corresponding to the first service as the first network slice. For example, the third communication device can search the relationship mapping table between the network slice identifier and the service type maintained by the third communication device according to the first service, and determine the first network slice identifier.

[0155] S900c. The third communication device encapsulates the original message according to the message format of the second network to obtain a first message.

[0156] In another possible implementation manner, the third communication device is a next-hop device of the routing and forwarding device.

[0157] Optionally, before step S901, Fig.11 As shown, the data transmission method may further include step S900d:

[0158] S900d: The fourth communication device forwards the first message to the third communication device. Correspondingly, the third communication device receives the first message from the fourth communication device, wherein the fourth communication device is deployed in the second network.

[0159] Optionally, the first message received by the third communication device carries an identifier of the first network slice, so that the third communication device can determine the first network slice corresponding to the first message based on the identifier of the first network slice. Exemplarily, the identifier of the first network slice carried in the first message can be added by the next-hop routing forwarding device of the access network device.

[0160] S902. The first communication device re-encapsulates the first message to obtain a second message. The message header of the second message includes an identifier of the first network slice. The format of the second message is the message format of the third network. The second message is a message of the first service.

[0161] Optionally, the first communication device can extract the identifier of the first network slice from the first message, and re-encapsulate the identifier of the first network slice in the message header of the second message.

[0162] S903, the first communication device uses the resources of the first network slice in the third network to send a second message to the second communication device. Correspondingly, the second communication device receives the second message from the first communication device.

[0163] In a possible implementation, after receiving the second message, the second communication device may forward the second message. At this time, the second communication device is deployed in the third network. That is, when the second communication device is deployed in the third network, the second communication device forwards the second message.

[0164] Exemplarily, after step S903, Fig.12As shown, the data transmission method may further include step S904:

[0165] S904: The second communication device forwards the second message to the fifth communication device. Correspondingly, the fifth communication device receives the second message from the second communication device, wherein the fifth communication device is the next hop device of the second communication device.

[0166] In another possible implementation, after receiving the second message, the second communication device may repackage the second message and send the repackaged message. In this case, the second communication device may be a docking node between the third network and the fourth network, or the second communication device may be located at the boundary of the third network or the fourth network.

[0167] Exemplarily, after step S903, Fig.13 As shown, the data transmission method may further include step S905:

[0168] S905. The second communication device re-encapsulates the second message to obtain a third message. The message header of the third message includes an identifier of the first network slice, the format of the third message is the message format of the fourth network, and the third message is a message of the first service. The first network includes the fourth network.

[0169] Optionally, the process of re-encapsulating the second message is similar to the process of re-encapsulating the first message, and will not be repeated here.

[0170] Optionally, after step S905, the data transmission method may further include step S906:

[0171] S906: The second communication device sends a third message to the fifth communication device. Correspondingly, the fifth communication device receives the third message from the second communication device.

[0172] Optionally, after steps S904 and S906, if the fifth communication device is an access network device, the fifth communication device may send the third message to a terminal device in the third network. Optionally, after steps S904 and S906, if the fifth communication device is a routing forwarding device, the fifth communication device may forward or re-encapsulate the third message. Specifically, the manner in which the second communication device processes the second message may be referred to, and the embodiments of the present application will not be described in detail.

[0173] The data transmission method provided in the present application is based on a scenario in which multiple networks are networked (i.e., a communication system in which the first network is located, wherein the first network may include a second network and a third network). During the process of message forwarding (or data transmission) between sub-networks (such as between the second network and the third network), the first communication device can always carry the globally unique network slice identifier (i.e., the identifier of the first network slice) in the message of each sub-network. This enables data transmission to be achieved using the resources on the network slice corresponding to the globally unique network slice identifier during message forwarding between sub-networks. That is, end-to-end network slicing is achieved in the networking scenario, thereby achieving SLA guarantees and security isolation for different services.

[0174] In addition, the globally unique network slice identifier only needs to be obtained by identifying the service type of the message during the first encapsulation (i.e., the first subnetwork in the networking scenario). During the forwarding of the message between the subnetworks, it is only necessary to extract the globally unique network slice identifier from the message. There is no need to obtain the globally unique network slice identifier by identifying the service type of the message, thereby reducing the implementation complexity.

[0175] The format of the second message involved in the above embodiment is described in detail below. Exemplarily, the format of the second message may include the following two possible implementations:

[0176] In a first possible implementation, the message header of the second message may include a slice header, wherein the slice header includes an identifier of the first network slice. That is, the identifier of the first network slice is located in the slice header.

[0177] Optionally, based on this possible implementation, the message header of the second message may also be implemented based on the following two methods:

[0178] Method 1: The message header of the second message may further include an identification field, wherein the identification field indicates that the message header of the second message includes a slice header.

[0179] Optionally, in the method, the message header of the second message may further include a VxLAN header, and the VxLAN header includes an identification field. At this time, the third network may be a VxLAN.

[0180] Exemplarily, taking the third network as VxLAN as an example, the second message is a VxLAN message, such as Fig.14 As shown, the VxLAN message (i.e., the second message) may include an IPv4 header, a UDP header, a VxLAN header, a slice header, and an inner packet.

[0181] Among them, the VxLAN header may include the following fields: message status flag (flag), reserved (reserved), reserved (reserved), VxLAN network identifier (virtual extensible local area network identifier, VNI), identifier (such as to be defined = slice). The identifier field indicates that the second message header also includes a slice header. For the explanation of the fields in the VxLAN header other than the identifier field, please refer to the definition in the current protocol, and this application will not repeat them.

[0182] The slice header may include the following fields: message status flag (flag), reserved (reserved), network slice identifier (slice ID), reserved (reserved). Among them, reserved is a reserved field, which does not mean anything in this embodiment, and can be defined in other embodiments. The identifier of the first network slice can be located in the network slice identifier field.

[0183] Optionally, when the third network is a VxLAN, the second network may be a VxLAN or a network other than a VxLAN. The following is an introduction using the second network being an SRv6 network, a VLAN, or a VxLAN as an example.

[0184] As a first example, the second network may be an SRv6 network, and the first message is an SRv6 message.

[0185] Optionally, when the second network is an SRv6 network and the third network is a VxLAN network, in the above step S902, the first communication device can delete the message header of the first message, and encapsulate the identifier of the first network slice and the message in the first message except the message header of the first message according to the message format of VxLAN to obtain the second message.

[0186] For example, Fig.15 As shown, the second message may be implemented based on the following steps S9021-S9023, that is, step S902 may include steps S9021-S9023:

[0187] S9021. The first communication device extracts the identifier of the first network slice from the HBH header of the first message.

[0188] For example, the format of the first message is as follows: Figure 3 In the case shown, the identifier of the first network slice can be located in the network slice identifier field of the first message.

[0189] S9022. The first communication device deletes the message header of the first message to obtain a fourth message, where the fourth message is the effective payload of the first message.

[0190] Exemplarily, the message header of the first message may include: Figure 3 The IPv6 packet header, HBH header, and segment routing header are shown.

[0191] S9023. The first communication device encapsulates the identifier of the first network slice and the fourth message according to the message format of VxLAN to obtain the second message.

[0192] For example, the VxLAN message format can refer to the aforementioned Fig.14 The message format is not described here. The fourth message can be located at Fig.14 In the internal data packet shown.

[0193] Based on this possible example, in a scenario where SRv6 network and VxLAN are networked (which may also be referred to as a heterogeneous networking scenario), the first communication device can encapsulate the identifier of the first network slice in the first message (i.e., SRv6 message) in the second message (i.e., VxLAN message), so that the first communication device can use the resources on the first network slice to send the second message to the third network, thereby realizing end-to-end network slicing in the scenario where SRv6 network and VxLAN are networked, thereby achieving SLA guarantees and security isolation for different services.

[0194] As a second example, the second network may be a VLAN, and the first message is a VLAN message.

[0195] Optionally, when the second network is a VLAN and the third network is a VxLAN network, in the above step S902, the first communication device can delete the inner VLAN tag in the first message, and encapsulate the identifier of the first network slice and the message in the first message except the inner VLAN tag according to the message format of VxLAN to obtain a second message.

[0196] For example, Fig.16 As shown, the second message may be implemented based on the following steps S9024-S9026, that is, step S902 may include steps S9024-S9026:

[0197] S9024. The first communication device extracts the identifier of the first network slice from the inner VLAN tag of the first message.

[0198] For example, the format of the first message is as follows: Figure 4 In the case shown, the identifier of the first network slice can be located in the network slice identifier field of the first message.

[0199] S9025. The first communication device deletes the inner VLAN tag in the first message to obtain a fifth message, wherein the fifth message is the message in the first message excluding the inner VLAN tag.

[0200] Exemplarily, the fourth message may include: Figure 4 Ethernet header, outer VLAN tag, IPv4 header, UDP header, and payload shown.

[0201] S9026. The first communication device encapsulates the identifier of the first network slice and the fifth message according to the message format of VxLAN to obtain the second message.

[0202] For example, the VxLAN message format can refer to the aforementioned Fig.14 The message format is not described here. The fifth message can be located at Fig.14 In the internal data packet shown.

[0203] Based on this possible example, in the scenario where VLAN and VxLAN are networked (which may also be called a heterogeneous networking scenario), the first communication device can encapsulate the identifier of the first network slice in the first message (i.e., VLAN message) in the second message (i.e., VxLAN message), so that the first communication device can use the resources on the first network slice to send the second message to the third network, i.e., realize end-to-end network slicing in the scenario where VLAN and VxLAN are networked, thereby achieving SLA guarantees and security isolation for different services.

[0204] As a third example, the second network may be a VxLAN, and the first message may be a VxLAN message.

[0205] Optionally, when the second network is a VxLAN and the third network is a VxLAN network, in the above step S902, the first communication device can delete the VxLAN header and slice header in the first message, and encapsulate the identifier of the first network slice and the message in the first message except the VxLAN header and slice header according to the VxLAN message format to obtain a second message.

[0206] For example, Fig.17 As shown, the second message may be implemented based on the following steps S9027-S9029, that is, step S902 may include steps S9027-S9029:

[0207] S9027. The first communication device extracts the identifier of the first network slice from the slice header of the first message.

[0208] For example, the format of the first message is as follows: Fig.14 In the case shown, the identifier of the first network slice can be located in the network slice identifier field of the first message.

[0209] S9028. The first communication device deletes the VxLAN header and the slice header in the first message to obtain a sixth message, wherein the sixth message is the message in the first message excluding the VxLAN header and the slice header.

[0210] Exemplarily, the sixth message may include: Fig.14 The IPv4 header, UDP header, VxLAN header, slice header, and inner data packet are shown.

[0211] S9029. The first communication device encapsulates the identifier of the first network slice and the sixth message according to the message format of VxLAN to obtain the second message.

[0212] For example, the VxLAN message format can refer to the aforementioned Fig.14 The message format is not described here. The sixth message can be located at Fig.14 In the internal data packet shown.

[0213] Based on this possible example, in the scenario where VxLAN and VxLAN are networked (which may also be referred to as the same networking scenario), the first communication device can encapsulate the identifier of the first network slice in the first message (i.e., the VxLAN message) in the second message (i.e., the VxLAN message), so that the first communication device can use the resources on the first network slice to send the second message to the third network, i.e., to realize end-to-end network slicing in the scenario where VxLAN and VxLAN are networked, thereby achieving SLA guarantees and security isolation for different services.

[0214] Method 2: The slice header may also include TPID, where TPID is used to indicate that the message is to be processed based on the first network slice.

[0215] Optionally, in mode 2, the value of TPID is 0x8888. In this case, the third network may be a VLAN.

[0216] For example, taking the third network as a VLAN, the second message is a VLAN message, such as Figure 4 As shown, the message header of the second message may include an Ethernet header, a VIAN tag, an IPv4 header, and a UDP header. The explanation of each field in the message header of the second message can refer to the above Figure 4 The relevant description will not be repeated here.

[0217] Optionally, when the third network is a VLAN, the second network may be a VLAN or a network other than a VLAN. The following is an introduction using the second network being an SRv6 network, a VxLAN, or a VLAN as an example.

[0218] As a fourth example, the second network may be an SRv6 network, and the first message is an SRv6 message.

[0219] Optionally, when the second network is an SRv6 network and the third network is a VLAN network, in the above step S902, the first communication device can delete the message header of the first message, and encapsulate the identifier of the first network slice and the message in the first message except the message header of the first message according to the message format of the VLAN to obtain the second message.

[0220] Optionally, after the above step S9022, as Fig.18 As shown, the data transmission method may further include step S90210, that is, step S902 may include steps S9021-S9022, S90210:

[0221] S90210. The first communication device encapsulates the identifier of the first network slice and the fourth message according to the message format of the VLAN to obtain the second message.

[0222] For example, the message format of VLAN can refer to the above Figure 4 The message format is described. No further details are given here. Among them, the fourth message can be located at Figure 4 in the payload shown.

[0223] Based on this possible example, in a scenario where SRv6 networks and VLANs are networked (which may also be referred to as a heterogeneous networking scenario), the first communication device can encapsulate the identifier of the first network slice in the first message (i.e., the SRv6 message) in the second message (i.e., the VLAN message), so that the first communication device can use the resources on the first network slice to send the second message to the third network, thereby realizing end-to-end network slicing in the scenario where SRv6 networks and VLANs are networked, thereby achieving SLA guarantees and security isolation for different services.

[0224] As a fifth example, the second network may be a VLAN, and the first message is a VLAN message.

[0225] Optionally, when the second network is a VLAN and the third network is a VLAN, in the above step S902, the first communication device can delete the inner VLAN tag in the first message, and encapsulate the identifier of the first network slice and the message in the first message except the inner VLAN tag according to the VLAN message format to obtain a second message.

[0226] Exemplarily, after the above step S9025, if Fig.19 As shown, the data transmission method may further include step S90211, that is, step S902 may include steps S9024-S9025, S90211:

[0227] S90211. The first communication device encapsulates the identifier of the first network slice and the fifth message according to the message format of the VLAN to obtain the second message.

[0228] For example, the message format of VLAN can refer to the above Figure 4 The message format is not described here. The fifth message can be located at Figure 4 in the payload shown.

[0229] Based on this possible example, in a scenario where VLAN and VLAN are networked (which may also be referred to as the same networking scenario), the first communication device can encapsulate the identifier of the first network slice in the first message (i.e., VLAN message) in the second message (i.e., VLAN message), so that the first communication device can use the resources on the first network slice to send the second message to the third network, i.e., realize end-to-end network slicing in the scenario where VLAN and VLAN are networked, thereby achieving SLA guarantees and security isolation for different services.

[0230] As a sixth example, the second network may be a VxLAN, and the first message may be a VxLAN message.

[0231] Optionally, when the second network is a VxLAN and the third network is a VLAN network, in the above step S902, the first communication device can delete the VxLAN header and slice header in the first message, and encapsulate the identifier of the first network slice and the message in the first message except the VxLAN header and slice header according to the message format of VxLAN to obtain a second message.

[0232] Exemplarily, after the above step S9028, if Fig. 20 As shown, the data transmission method may further include step S90212, that is, step S902 may include steps S9027-S9028, S90212:

[0233] S90212. The first communication device encapsulates the identifier of the first network slice and the sixth message according to the message format of the VLAN to obtain the second message.

[0234] For example, the message format of VLAN can refer to the above Figure 4 The message format is not described here. The sixth message can be located at Figure 4 in the payload shown.

[0235] Based on this possible example, in a scenario where VxLAN and VLAN are networked (which may also be referred to as a heterogeneous networking scenario), the first communication device can encapsulate the identifier of the first network slice in the first message (i.e., the VxLAN message) in the second message (i.e., the VLAN message), so that the first communication device can use the resources on the first network slice to send the second message to the third network, thereby realizing end-to-end network slicing in the scenario where VxLAN and VLAN are networked, thereby achieving SLA guarantees and security isolation for different services.

[0236] In a second possible implementation, the message header of the second message may include an HBH header, and the HBH header includes an identifier of the first network slice. That is, the identifier of the first network slice is located in the HBH header.

[0237] Optionally, in this possible implementation, the third network may be an SRv6 network, and the second message is an SRv6 message.

[0238] For example, taking the third network as an SRv6 network, that is, the second message is an SRv6 message, such as Figure 3 As shown, the message header of the second message may include an IPv6 header, a hop-by-hop option header, and a segment routing header. The explanation of each field in the message header of the second message can refer to the above Figure 3 The description will not be repeated here.

[0239] Optionally, when the third network is an SRv6 network, the second network may be a VxLAN or a network other than a VxLAN. The following is an introduction using the second network being an SRv6 network, a VLAN, or a VxLAN as an example.

[0240] As a seventh example, the second network may be an SRv6 network, and the first message is an SRv6 message.

[0241] Optionally, when the second network is SRv6 and the third network is an SRv6 network, in the above step S902, the first communication device may delete the message header of the first message, and encapsulate the identifier of the first network slice and the message in the first message except the message header of the first message according to the message format of the SRv6 network to obtain a second message.

[0242] Exemplarily, after the above step S9022, if Fig.21 As shown, the data transmission method may further include step S90213, that is, step S902 may include steps S9021-S9022, S90213:

[0243] S90213. The first communication device encapsulates the identifier of the first network slice and the fourth message according to the message format of the SRv6 network to obtain the second message.

[0244] For example, the message format of the SRv6 network can refer to the aforementioned Figure 3 The message format is described. No further details are given here. Among them, the fourth message can be located at Figure 3 in the payload shown.

[0245] Based on this possible example, in a scenario where SRv6 networks and SRv6 networks are networked (which may also be referred to as the same networking scenario), the first communication device can encapsulate the identifier of the first network slice in the first message (i.e., SRv6 message) in the second message (i.e., SRv6 message), so that the first communication device can use the resources on the first network slice to send the second message to the third network, i.e., implement end-to-end network slicing in the scenario where SRv6 networks and SRv6 networks are networked, thereby achieving SLA guarantees and security isolation for different services.

[0246] As an eighth example, the second network may be a VLAN, and the first message is a VLAN message.

[0247] Optionally, when the second network is a VLAN and the third network is an SRv6 network, in the above step S902, the first communication device can delete the inner VLAN tag in the first message, and encapsulate the identifier of the first network slice and the message in the first message except the inner VLAN tag according to the message format of the SRv6 network to obtain a second message.

[0248] Exemplarily, after the above step S9025, if Fig. 22 As shown, the data transmission method may further include step S90214, that is, step S902 may include steps S9024-S9025, S90214:

[0249] S90214. The first communication device encapsulates the identifier of the first network slice and the fifth message according to the message format of the SRv6 network to obtain the second message.

[0250] For example, the message format of the SRv6 network can refer to the aforementioned Figure 3 The message format is not described here. The fifth message can be located at Figure 3 in the payload shown.

[0251] Based on this possible example, in a scenario where VLAN and SRv6 networks are networked (which may also be referred to as a heterogeneous networking scenario), the first communication device can encapsulate the identifier of the first network slice in the first message (i.e., VLAN message) in the second message (i.e., SRv6 message), so that the first communication device can use the resources on the first network slice to send the second message to the third network, thereby realizing end-to-end network slicing in the scenario where VLAN and SRv6 networks are networked, thereby achieving SLA guarantees and security isolation for different services.

[0252] As a ninth example, the second network may be a VxLAN, and the first message may be a VxLAN message.

[0253] Optionally, when the second network is a VxLAN and the third network is an SRv6 network, in the above step S902, the first communication device can delete the VxLAN header and slice header in the first message, and encapsulate the identifier of the first network slice and the message in the first message except the VxLAN header and slice header according to the message format of the SRv6 network to obtain a second message.

[0254] Exemplarily, after the above step S9028, if Fig.23 As shown, the data transmission method may further include step S90215, that is, step S902 may include steps S9027-S9028, S90215:

[0255] S90215. The first communication device encapsulates the identifier of the first network slice and the sixth message according to the message format of the SRv6 network to obtain the second message.

[0256] For example, the message format of the SRv6 network can refer to the aforementioned Figure 3 The message format is not described here. The sixth message can be located at Figure 3 in the payload shown.

[0257] Based on this possible example, in a scenario where VxLAN and SRv6 networks are networked (which may also be referred to as a heterogeneous networking scenario), the first communication device can encapsulate the identifier of the first network slice in the first message (i.e., the VxLAN message) in the second message (i.e., the SRv6 message), so that the first communication device can use the resources on the first network slice to send the second message to the third network, thereby realizing end-to-end network slicing in the scenario where VxLAN and SRv6 networks are networked, thereby achieving SLA guarantees and security isolation for different services.

[0258] It should be noted that the above description is only for the case where the first network includes the second network and the third network to obtain the second message. For the case where the first network includes the second network, the third network and the fourth network, or the first network includes more than three networks, the above nine examples can be combined accordingly to obtain the second message.

[0259] For example, Fig.24 As shown, the first network may include VxLAN, SRv6 and VLAN networks. In this case, the second network may be VxLAN, the third network may be SRv6, and the fourth network may be a VLAN network. Alternatively, the second network may be a VLAN network, the third network may be SRv6, and the fourth network may be VxLAN.

[0260] When the second network is VxLAN, the third network is SRv6, and the fourth network is a VLAN network, the device 1 can be used as the above Fig.10 The third communication device encapsulates and forwards the first message. Device 2 can refer to the above Fig.11 The third communication device or the fourth communication device forwards the first message. Device 3 can refer to the above Fig.23 The first communication device re-encapsulates the first message into a second message. Device 4 can refer to the above Fig.12 The second communication device forwards the second message. Device 5 can refer to the above Fig.13 The second communication device re-encapsulates the second message into a third message. Fig.11 The third communication device or the fourth communication device forwards the third message. In the case where the next hop device of device 7 is a terminal device, device 7 can refer to the above Fig.16 , Fig.19 ,or Fig. 22 The first communication device described in any one of the above deletes the inner VLAN tag in the third message to obtain the fifth message, and then sends the fifth message to the terminal device.

[0261] When the second network is a VLAN network, the third network is SRv6, and the fourth network is VxLAN, the device 7 can be used as the above Fig.10 The third communication device encapsulates and forwards the first message. Device 6 can refer to the above Fig.11 The third communication device or the fourth communication device forwards the first message. Device 5 can refer to the above Fig. 22 The first communication device re-encapsulates the first message into a second message. Device 4 can refer to the above Fig.12 The second communication device forwards the second message. Device 3 can refer to the above Fig.13The second communication device re-encapsulates the second message into a third message. Fig.11 The third communication device or the fourth communication device forwards the third message. In the case where the next hop device of device 1 is a terminal device, device 1 can refer to the above Fig.17 , Fig. 20 ,or Fig.23 The first communication device described in any one of the above claims deletes the VxLAN header and the slice header in the third message, obtains the sixth message, and then sends the sixth message to the terminal device.

[0262] Or, if Fig.25 As shown, the first network may include VxLAN, VxLAN and VLAN. At this time, the second network may be VxLAN, the third network may be VxLAN, and the fourth network may be VLAN network. Alternatively, the second network may be VLAN, the third network may be VxLAN, and the fourth network may be VxLAN.

[0263] When the second network is VxLAN, the third network is VxLAN, and the fourth network is VLAN network, device 1 can be used as the above Fig.10 The third communication device encapsulates and forwards the first message. Device 2 can refer to the above Fig.11 The third communication device or the fourth communication device forwards the first message. Device 3 can refer to the above Fig.17 The first communication device re-encapsulates the first message into a second message. Device 4 can refer to the above Fig.13 The second communication device re-encapsulates the second message into a third message. At this time, the specific operation of the second communication device is the same as Fig. 20 The first communication device is similar. Similarly, the device 5 can refer to the above Fig.11 The third communication device or the fourth communication device forwards the third message. In the case where the next hop device of device 6 is a terminal device, device 6 can refer to the above Fig.16 , Fig.19 ,or Fig. 22 The first communication device described in any one of the above deletes the inner VLAN tag in the third message to obtain the fifth message, and then sends the fifth message to the terminal device.

[0264] When the second network is VLAN, the third network is VxLAN, and the fourth network is VxLAN, the device 6 can be used as the above Fig.10 The third communication device encapsulates and forwards the first message. Device 5 can refer to the above Fig.11 The third communication device or the fourth communication device forwards the first message. Device 4 can refer to the above Fig.16The first communication device re-encapsulates the first message into a second message. Device 3 can refer to the above Fig.13 The second communication device re-encapsulates the second message into a third message. At this time, the specific operation of the second communication device is the same as Fig.17 The first communication device is similar to the above. Fig.11 The third communication device or the fourth communication device forwards the third message. Similarly, when the next device of device 1 is a terminal device, device 6 can refer to the above device 1. Fig.17 , Fig. 20 ,or Fig.23 The first communication device described in any one of the above claims deletes the VxLAN header and the slice header in the third message, obtains the sixth message, and then sends the sixth message to the terminal device.

[0265] This application only takes VxLAN, VLAN, or any one or more networking in SRv6 network as an example to describe how to achieve end-to-end data transmission based on network slicing in heterogeneous networking scenarios. It does not mean that the embodiments of this application can only achieve end-to-end data transmission based on network slicing in any one or more networking scenarios in VxLAN, VLAN, or SRv6 network. In fact, the data transmission method provided by the embodiments of this application can also be applied to other network networking scenarios.

[0266] It can be understood that in each of the above embodiments, the methods and / or steps implemented by each device can also be implemented by components (such as chips or circuits) that can be used for the device.

[0267] The above mainly introduces the solution provided by the present application from the perspective of interaction between various devices. Accordingly, the present application also provides a communication device, which is used to implement the above various methods. The communication device can be the communication device in the above method embodiment, or a device including the above communication device, or a component that can be used for the communication device.

[0268] It is understandable that, in order to realize the above functions, the communication device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0269] The embodiment of the present application can divide the functional modules of the communication device according to the above method embodiment. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0270] Taking the communication device as the communication equipment in the above method embodiment as an example, Fig.26 The structure diagram of a communication device 2600 is shown. The communication device 2600 includes a processing module 2601 and a communication module 2602 .

[0271] In some embodiments, the communication device 2600 may further include a storage module ( Fig.26 ), for storing program instructions and data.

[0272] In some embodiments, the communication module 2602 may also be referred to as a transceiver unit for implementing a sending and / or receiving function. The communication module 2602 may be composed of a transceiver circuit, a transceiver, a transceiver or a communication interface.

[0273] In some embodiments, the communication module 2602 may include a receiving module and a sending module, which are respectively used to execute the receiving and sending steps performed by the communication device in the above-mentioned method embodiment, and / or used to support other processes of the technology described in this document; the processing module 2601 may be used to execute the processing steps (such as determining, obtaining, etc.) performed by the communication device in the above-mentioned method embodiment, and / or used to support other processes of the technology described in this document.

[0274] In some implementation scenarios:

[0275] The communication module 2602 is used to receive a first message, where the message header of the first message includes an identifier of the first network slice, the format of the first message is the message format of the second network, the first network slice is a network slice corresponding to the first service in the first network, and the first message is a message of the first service;

[0276] The processing module 2601 is used to re-encapsulate the first message to obtain a second message, where the message header of the second message includes an identifier of the first network slice, the format of the second message is the message format of the third network, and the second message is a message of the first service;

[0277] The communication module 2602 is also used to send a second message using the resources of the first network slice in the third network. Optionally, the message header of the second message includes a slice header, and the slice header includes an identifier of the first network slice.

[0278] Optionally, the message header of the second message also includes an identification field, and the identification field indicates that the message header of the second message includes a slice header.

[0279] Optionally, the message header of the second message also includes a VxLAN header, and the VxLAN header includes an identification field.

[0280] Optionally, the third network is VxLAN.

[0281] Optionally, the slice header also includes TPID, which is used to indicate that the message is processed based on the first network slice.

[0282] Optionally, the value of TPID is 0x8888.

[0283] Optionally, the third network is a VLAN.

[0284] Optionally, the message header of the second message includes a HBH header, and the HBH header includes an identifier of the first network slice.

[0285] Optionally, the third network is an IPv6-based segment routing SRv6 network.

[0286] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.

[0287] In the present application, the communication device 2600 is presented in the form of dividing each functional module in an integrated manner. Here, the "module" may refer to a specific application-specific integrated circuit (ASIC), a circuit, a processor and a memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.

[0288] In some embodiments, in terms of hardware implementation, those skilled in the art may understand that the communication device 2600 may adopt Figure 8 The form of a communication device 800 is shown.

[0289] As an example, Fig.26 The function / implementation process of the processing module 2601 in can be Figure 8 The processor 801 in the communication device 800 shown calls the computer execution instructions stored in the memory 803 to implement, Fig.26 The function / implementation process of the communication module 2602 can be achieved by Figure 8 The communication interface 804 in the communication device 800 is shown to be implemented.

[0290] In some embodiments, when Fig.26 When the communication device 2600 is a chip or a chip system, the function / implementation process of the communication module 2602 can be implemented through the input and output interface (or communication interface) of the chip or the chip system, and the function / implementation process of the processing module 2601 can be implemented through the processor (or processing circuit) of the chip or the chip system.

[0291] Since the communication device 2600 provided in this embodiment can execute the above-mentioned data transmission method, the technical effects that can be obtained can refer to the above-mentioned method embodiments and will not be repeated here.

[0292] As a possible product form, the communication device described in the embodiment of the present application can also be implemented using the following: one or more field programmable gate arrays (FPGA), programmable logic devices (PLD), controllers, state machines, gate logic, discrete hardware components, any other suitable circuits, or any combination of circuits that can perform the various functions described throughout the present application.

[0293] In some embodiments, an embodiment of the present application further provides a communication device, which includes a processor for implementing a method in any of the above method embodiments.

[0294] As a possible implementation, the communication device further includes a memory. The memory is used to store necessary program instructions and data, and the processor can call the program code stored in the memory to instruct the communication device to execute the method in any of the above method embodiments. Of course, the memory may not be in the communication device.

[0295] As another possible implementation, the communication device also includes an interface circuit, which is a code / data read / write interface circuit, which is used to receive computer execution instructions (computer execution instructions are stored in a memory, may be read directly from the memory, or may pass through other devices) and transmit them to the processor.

[0296] As another possible implementation manner, the communication device further includes a communication interface, and the communication interface is used to communicate with a module outside the communication device.

[0297] It can be understood that the communication device can be a chip or a chip system. When the communication device is a chip system, it can be composed of chips, or it can include chips and other discrete devices. The embodiments of the present application do not specifically limit this.

[0298] As a possible product form, the first communication device described in the embodiment of the present application can be implemented by a general bus architecture.

[0299] For illustration purposes, see Fig. 27 , Fig. 27 2 is a schematic diagram of the structure of a communication device 2700 provided in an embodiment of the present application, wherein the communication device 2700 includes a processor 2701 and a transceiver 2702. The communication device 2700 may be a first communication device, a second communication device, or a chip therein. Fig. 27 Only the main components of the communication device 2700 are shown. In addition to the processor 2701 and the transceiver 2702, the communication device may further include a memory 2703, and an input and output device ( Fig. 27 not indicated).

[0300] Among them, the processor 2701 is mainly used to process the communication protocol and communication data, and to control the entire communication device, execute the software program, and process the data of the software program. The memory 2703 is mainly used to store the software program and data. The transceiver 2702 may include a radio frequency circuit and an antenna. The radio frequency circuit is mainly used for converting baseband signals and radio frequency signals and processing radio frequency signals. The antenna is mainly used to send and receive radio frequency signals in the form of electromagnetic waves. The input and output devices, such as a touch screen, a display screen, a keyboard, etc., are mainly used to receive data input by the user and output data to the user.

[0301] The processor 2701 , the transceiver 2702 , and the memory 2703 may be connected via a communication bus.

[0302] When the communication device is turned on, the processor 2701 can read the software program in the memory 2703, interpret and execute the instructions of the software program, and process the data of the software program. When data needs to be sent wirelessly, the processor 2701 performs baseband processing on the data to be sent, and outputs the baseband signal to the RF circuit. The RF circuit performs RF processing on the baseband signal and then sends the RF signal outward in the form of electromagnetic waves through the antenna. When data is transmitted to the communication device, the RF circuit receives the RF signal through the antenna, converts the RF signal into a baseband signal, and outputs the baseband signal to the processor 2701. The processor 2701 converts the baseband signal into data and processes the data.

[0303] In another implementation, the RF circuit and antenna may be arranged independently of the processor performing baseband processing. For example, in a distributed scenario, the RF circuit and antenna may be arranged remotely from an independent communication device.

[0304] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0305] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0306] The modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0307] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or may contain one or more servers, data centers and other data storage devices that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)), etc. In the embodiment of the present application, the computer may include the aforementioned device.

[0308] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0309] Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A data transmission method, characterized in that: The method is applied to a first network, the first network includes a second network and a third network, and the method includes: Receive a first message, where a message header of the first message includes an identifier of a first network slice, a format of the first message is a message format of the second network, the first network slice is a network slice corresponding to a first service in the first network, and the first message is a message of the first service; Re-encapsulating the first message to obtain a second message, where a message header of the second message includes an identifier of the first network slice, a format of the second message is a message format of the third network, and the second message is a message of the first service; The second message is sent using resources of the first network slice in the third network.

2. The method according to claim 1, characterized in that The message header of the second message includes a slice header, and the slice header includes an identifier of the first network slice.

3. The method according to claim 2, characterized in that The message header of the second message also includes an identification field, and the identification field indicates that the message header of the second message includes the slice header.

4. The method according to claim 3, characterized in that The message header of the second message also includes a virtual extended local area network VxLAN header, and the VxLAN header includes the identification field.

5. The method according to any one of claims 2 to 4, characterized in that: The third network is VxLAN.

6. The method according to claim 2, characterized in that The slice header also includes a label protocol identifier TPID, and the TPID is used to indicate that the message is processed based on the first network slice.

7. The method according to claim 6, characterized in that The value of the TPID is 0x8888.

8. The method according to claim 6 or 7, characterized in that: The third network is a virtual local area network VLAN.

9. The method according to claim 1, characterized in that: The message header of the second message includes a hop-by-hop option HBH header, and the HBH header includes an identifier of the first network slice.

10. The method according to claim 9, characterized in that The third network is an IPv6-based segment routing SRv6 network.

11. A communication device, characterized in that: The communication device comprises a processor; the processor is configured to run a computer program or instruction so that the communication device executes the method according to any one of claims 1 to 10.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions or programs. When the computer instructions or programs are executed on a computer, the method according to any one of claims 1 to 10 is executed.

13. A communication device, characterized in that: It comprises a memory and a processor, wherein the memory is used to store a set of computer instructions; when the processor executes the set of computer instructions, the operation steps of the method described in any one of claims 1 to 10 are performed.

Citation Information

Cited By

  • Packet processing method and apparatus, communication device, storage medium and program product

    WO2026103521A1