WO2019242525A1 - Data transmission method, related device and system - Google Patents

Data transmission method, related device and system Download PDF

Info

Publication number
WO2019242525A1
WO2019242525A1 PCT/CN2019/090653 CN2019090653W WO2019242525A1 WO 2019242525 A1 WO2019242525 A1 WO 2019242525A1 CN 2019090653 W CN2019090653 W CN 2019090653W WO 2019242525 A1 WO2019242525 A1 WO 2019242525A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
vxlan
vxlan encapsulation
user plane
network element
Prior art date
Application number
PCT/CN2019/090653
Other languages
French (fr)
Chinese (zh)
Inventor
于游洋
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019242525A1 publication Critical patent/WO2019242525A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a data transmission method, a related device, and a system.
  • the Third Generation Partnership Project (3GPP) has formulated a next generation mobile communication network architecture (called a 5G network architecture).
  • the 5G network architecture will support a variety of services, such as traditional IP services, low-latency high-reliability services, and industrial Internet services.
  • the 5G network architecture may provide some services based on the layer 2 network, such as providing industrial Internet services based on the layer 2 network.
  • the data when data is transmitted through a layer 2 network, the data is transmitted in a small local area network based on the MAC address of the device.
  • the data transmitted based on the device's MAC address can also be referred to as layer 2 data.
  • the layer 2 data makes data addressing easier and more convenient.
  • This application provides a data transmission method, related device and system, which can be combined with VxLAN technology in a wireless communication system, and transmits layer 2 data based on a traditional layer 3 network, which simplifies the data transmission process and can provide users with more services.
  • the present application provides a data transmission method applied to a user plane network element side.
  • the method may include: the user plane network element receives user plane data from a terminal device or a data network; and the user plane network element uses VxLAN
  • the encapsulation information performs VxLAN encapsulation or VxLAN decapsulation on the user plane data.
  • the user plane network element performs VxLAN encapsulation and VxLAN decapsulation of user plane data, and can transmit layer 2 data based on a traditional layer 3 network.
  • the terminal device will not perceive the layer 3 network, and the data transmitted by the terminal device is layer 2 data, which simplifies the data transmission process and can provide users with more services.
  • the user plane data received by the user plane network element from the terminal device is Layer 2 data
  • the user plane data received by the user plane network element from the data network is encapsulated by the VxLAN of the data network.
  • the user plane network element uses VxLAN encapsulation information to perform VxLAN encapsulation on the uplink user plane data from the terminal device, that is, adds VxLAN information to the layer 2 data from the terminal device; the user plane network element uses the VxLAN encapsulation information to the downstream user plane from the data network
  • the data is decapsulated by VxLAN, that is, the VxLAN encapsulation information in the downlink user plane data from the data network is removed.
  • the data transmission method of the first aspect further includes: the user plane network element receives VxLAN encapsulation instruction information sent by the control plane network element, and the VxLAN encapsulation instruction information is used to instruct the user plane network element to the user plane Data is VxLAN encapsulated or VxLAN decapsulated.
  • the VxLAN encapsulation instruction information may be carried in a message sent by any control plane network element to the user plane network element.
  • the form of the VxLAN encapsulation instruction information may be various, for example, a bit value may be "1", etc. This application is not restricted.
  • the data transmission method of the first aspect further includes: determining, by the user plane network element, the VxLAN encapsulation information.
  • the user plane network element can determine the VxLAN encapsulation information in at least the following two ways:
  • the user plane network element determines the VxLAN encapsulation information corresponding to the user plane data according to the correspondence between the address information and the VxLAN encapsulation information.
  • the address information includes address information of the terminal device and / or address information of the data network.
  • the user plane data received by the user plane network element carries address information.
  • the user plane network element may store the correspondence between the address information and the VxLAN encapsulation information, and determine the VxLAN encapsulation information corresponding to the address information in the received user plane data according to the correspondence, that is, determine the VxLAN corresponding to the user plane data.
  • the address information may include at least one of the following: the IP address of the terminal device, the MAC address of the terminal device, and the IP address or MAC address of a device in the data network that communicates with the terminal device.
  • the user plane network element receives the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information sent by the control plane network element, and the indication information of the VxLAN encapsulation information is used by the user plane network element to determine the VxLAN encapsulation. information.
  • the control plane network element determines the VxLAN encapsulation information that matches the communication between the terminal device and the data network, and sends the determined VxLAN encapsulation information or the VxLAN encapsulation information indication information to User plane network element.
  • the data transmission method of the first aspect further includes: receiving, by the user plane network element, policy information corresponding to the VxLAN encapsulation information sent by the control plane network element.
  • the policy information may include at least one of the following: charging policies, QoS control policies, or offload policies for terminal devices.
  • the user plane network element After the user plane network element receives the corresponding policy information, when using the VxLAN encapsulation information to process the user plane data, it can perform corresponding operations according to the policy information.
  • the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
  • the present application provides a data transmission method applied to a terminal device side.
  • the method may include: the terminal device determines VxLAN encapsulation information; the terminal device uses the VxLAN encapsulation information to send user plane data or data from The user plane data of the data network is VxLAN encapsulated or VxLAN decapsulated.
  • the terminal equipment performs VxLAN encapsulation and VxLAN decapsulation of user plane data, and can transmit layer 2 data based on a traditional layer 3 network, which simplifies the data transmission process and can provide users with more services.
  • the user plane data processed by the terminal device may be user plane data generated by the terminal device, user plane data sent by other remote terminal devices received by the terminal device, or user plane data from a data network.
  • the user plane data generated by the terminal device or the user plane data from other remote terminal devices is layer 2 data.
  • the terminal device uses the determined VxLAN encapsulation information to VxLAN encapsulate the layer 2 data, that is, add VxLAN information; from the data network
  • the user plane data is layer 3 data.
  • the terminal device uses the determined VxLAN encapsulation information to decapsulate the layer 3 data, that is, remove the VxLAN encapsulation information from the user plane data from the data network.
  • the manner in which the terminal device determines the VxLAN encapsulation information includes at least the following two ways:
  • the terminal device determines VxLAN encapsulation information corresponding to the requested service.
  • the terminal device may store each service provided in the data network and VxLAN encapsulation information corresponding to each service.
  • a terminal device requests a service from a data network, it can determine the VxLAN encapsulation information corresponding to the requested service according to the stored correspondence relationship.
  • the terminal device may also send the determined VxLAN encapsulation information to the control plane network element, and the VxLAN encapsulation information is used to determine the correspondence between the VxLAN encapsulation information Strategy information.
  • the terminal device sends a service identifier and / or first indication information of the requested service to the control plane network element; the first indication information is used to indicate that the protocol used when transmitting the service is the VxLAN protocol; the terminal The device receives the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information from the control plane network element, and the indication information of the VxLAN encapsulation information is used by the terminal device to determine the VxLAN encapsulation information.
  • the first indication information is a session type of a session transmitting the user plane data; or the first indication information is VxLAN protocol indication information.
  • the control plane network element requests the service identifier and the first instruction information of the service through the terminal device, and can know that the terminal device needs to use VxLAN protocol to transmit the service, and can know which data network the terminal device requests the service from. And which business is requested.
  • the control plane network element learns the above information, it can determine VxLAN encapsulation information that matches the communication between the terminal device and the data network, and send the determined VxLAN encapsulation information or VxLAN encapsulation information to the terminal device.
  • the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
  • the present application provides a data transmission method applied to a control plane network element side.
  • the method may include: the control plane network element receives a service identifier of a service requested by a terminal device and / or receives a first service identifier from the terminal device.
  • the first instruction information is used to indicate that a protocol used when transmitting user plane data is a VxLAN protocol; and the control plane network element determines, according to the service identifier, VxLAN encapsulation information corresponding to the requested service
  • the control plane network element sends the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information to the terminal device or the user plane network element; the indication information of the VxLAN encapsulation information is used to determine the VxLAN encapsulation information,
  • the VxLAN encapsulation information is used for VxLAN encapsulation or decapsulation of the transmitted user plane data.
  • the control plane network element determines the VxLAN encapsulation information, and sends the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information to the terminal device or the user plane network element, so that the terminal device or the user plane network element can implement VTEP Function, VxLAN encapsulation and VxLAN decapsulation of user plane data, so as to transmit layer 2 data based on the traditional layer 3 network, simplifying the data transmission process, and providing users with more services.
  • the method of the third aspect further includes: the control plane network element sends VxLAN encapsulation instruction information to the user plane network element, and the VxLAN encapsulation instruction information is used to instruct the user plane network element to a transmitting user
  • the area data is VxLAN encapsulated or decapsulated.
  • the first indication information is identification information of the data network, and the data network is a VxLAN network; or the first indication information is a session type of a session transmitting the user plane data; Alternatively, the first indication information is VxLAN protocol indication information.
  • control plane network element determines the VxLAN encapsulation information corresponding to the requested service from at least one VxLAN encapsulation information according to the service identifier.
  • the method for determining the at least one VxLAN encapsulation information includes at least the following methods:
  • the control plane network element determines the at least one VxLAN encapsulation information according to the information of the terminal device.
  • control plane network element can obtain the information of the terminal device in various ways.
  • the terminal information is different, there is corresponding VxLAN encapsulation information.
  • the control plane network element can store at least one VxLAN encapsulation information corresponding to the information of different terminal devices in advance.
  • the control plane network element can determine the at least one VxLAN according to the terminal device information.
  • Package information is included.
  • the control plane network element sends the information of the terminal device to an authentication server in the data network; the control plane network element receives the at least one VxLAN encapsulation information sent by the authentication server.
  • the authentication server may store the VxLAN encapsulation information corresponding to the information of different terminal devices in advance, and the control plane network element may determine the corresponding at least one VxLAN encapsulation information according to the information of the terminal device. And sending the at least one VxLAN encapsulation information to the control plane network element.
  • the control plane network element may further receive second instruction information sent by the authentication server, where the second instruction information includes an identifier of a device allowed to use the first service, or At least one of the identifiers of the servers in the first data network that are allowed to provide the first service; the control plane network element sends the second indication information to the terminal device and / or the User plane network element.
  • the first service may be all or part of the services provided by the data network, or may be a service to which a terminal device is allowed to access, which is not limited in this application.
  • the second indication information may be used to judge the legitimacy of the user plane data.
  • the control plane network element sends the information of the terminal device to the policy control network element; the control plane network element receives the at least one VxLAN encapsulation information sent by the policy control network element.
  • the policy control network element may store VxLAN encapsulation information corresponding to different terminal device information in advance, and determine the at least one VxLAN according to the terminal device information sent by the control plane network element. Encapsulation information, and send the at least one VxLAN encapsulation information to a control plane network element.
  • the information of the terminal device includes a device identifier of the terminal device.
  • the information of the terminal device further includes at least one of the following: identification information of the data network, location information of the terminal device, session type of a session transmitting the user plane data, and
  • the network slice selects auxiliary information, a local area network identifier of the data network requested by the terminal device, an access network type to which the terminal device is connected, or an access technology used when the terminal device connects to the access network.
  • the indication information of the VxLAN encapsulation information is an index value corresponding to the VxLAN encapsulation information.
  • control plane network element after the control plane network element sends the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information, it further includes: the control plane network element sends the user plane network element and the VxLAN encapsulation The corresponding policy information.
  • the present application provides a user plane network element.
  • the user plane network element may include multiple function modules for executing the method provided in the first aspect or a possible implementation manner of the first aspect.
  • the present application provides a terminal device, and the terminal device may include multiple function modules for performing the second aspect or the method provided in the second aspect possible implementation manner.
  • control plane network element may include multiple function modules for performing the third aspect or the method provided by the third aspect possible implementation manner.
  • the present application provides an access network device for performing the method provided in the first aspect or a possible implementation manner of the first aspect.
  • the access network device may include a memory, and a processor and a transceiver coupled to the memory, where the transceiver is used to communicate with other communication devices (such as a terminal device and a control plane network element), and the memory is used for Store the implementation code of the data transmission method described in the first aspect or the possible implementation manner of the first aspect, and the processor is configured to execute the program code stored in the memory, that is, execute the method provided in the first aspect, or the first aspect The provided method in any of the possible embodiments.
  • the present application provides a user plane network element function device for performing the method provided in the first aspect or a possible implementation manner of the first aspect.
  • the user plane network element functional device may include: a memory, a processor coupled to the memory, and a communication interface, where the communication interface is used to communicate with other communication devices (such as a control plane network element and a data network),
  • the memory is configured to store the implementation code of the data transmission method described in the first aspect or the possible implementation manner of the first aspect
  • the processor is configured to execute the program code stored in the memory, that is, execute the method provided in the first aspect, or The method provided in any one of the possible implementations of the first aspect.
  • the present application provides a terminal device for performing the method provided in the second aspect or a possible implementation manner of the second aspect.
  • the terminal device may include a memory, and a processor and a transceiver coupled to the memory, where the transceiver is used to communicate with other communication devices (such as a control plane network element, an access network device, and the like), and the memory is used for
  • the processor is configured to execute the program code stored in the memory, that is, the method provided by the second aspect, or the second The method provided in any of the possible implementations of the aspect.
  • the present application provides a control plane network element for performing the method provided in the third aspect or a possible implementation manner of the third aspect.
  • the control plane network element may include a memory, a processor coupled to the memory, and a communication interface, where the communication interface is used to communicate with other communication devices (such as a terminal device), and the memory is used to store the third aspect Or the implementation code of the data transmission method described in the possible implementation manner of the third aspect, the processor is configured to execute the program code stored in the memory, that is, execute the method provided in the third aspect, or the possible implementation manner of the third aspect Any of the provided methods.
  • the present application provides a communication system including a terminal device, a user plane network element, and a control plane network element.
  • the terminal device may be the first node described in the fifth aspect or the ninth aspect;
  • the user plane network element may be the user plane network element described in the fourth aspect above, or may be the interface described in the seventh aspect above.
  • the network access device may also be a user plane network element function device described in the eighth aspect.
  • the present application provides a computer-readable storage medium having instructions stored on the readable storage medium, which when run on a computer, causes the computer to execute the data transmission method described in the first aspect above.
  • the present application provides a computer program product containing instructions that, when run on a computer, causes the computer to execute the data transmission method described in the first aspect above.
  • the present application provides a computer-readable storage medium having instructions stored on the readable storage medium, which when executed on a computer, causes the computer to execute the data transmission method described in the second aspect above.
  • the present application provides a computer program product containing instructions that, when run on a computer, causes the computer to perform the data transmission method described in the second aspect above.
  • the present application provides a computer-readable storage medium having instructions stored on the readable storage medium, which when run on a computer, causes the computer to execute the data transmission method described in the third aspect above.
  • the present application provides a computer program product containing instructions that, when run on a computer, causes the computer to execute the data transmission method described in the third aspect above.
  • the user plane network element or terminal device performs VxLAN encapsulation and VxLAN decapsulation of user plane data, which can transmit layer 2 data based on a traditional layer 3 network, simplifying the data transmission process, and providing users with more services.
  • FIG. 1 is a schematic structural diagram of a communication system provided by this application.
  • FIG. 2 is a schematic diagram of a scenario in which a wireless communication system transmits data based on a layer 2 network in the prior art
  • FIG. 3 is a schematic structural diagram of a terminal device 20 provided in this application.
  • FIG. 4 is a schematic structural diagram of an access network device 30 provided in this application.
  • FIG. 5 is a schematic structural diagram of a device 40 for performing a user plane network element function provided by this application;
  • FIG. 6 is a schematic structural diagram of a device 50 for performing a session management function provided by the present application.
  • FIG. 7A is an implementation scenario diagram of VxLAN technology
  • FIG. 7B is a schematic structural diagram of a VxLAN message
  • FIG. 8 is a schematic flowchart of a data transmission method according to Embodiment 1 of the present application.
  • Embodiment 9 is a schematic flowchart of a data transmission method provided in Embodiment 2 of the present application.
  • FIG. 10 is a schematic flowchart of a data transmission method provided in Embodiment 3 of the present application.
  • FIG. 11 is a functional block diagram of a user plane network element provided by this application.
  • FIG. 13 is a functional block diagram of a control plane network element provided by the present application.
  • FIG. 1 is a schematic structural diagram of a wireless communication system 100 provided by this application.
  • the wireless communication system of the present application may be a future evolved 5G system, an NR system, a machine-to-machine (M2M) system, a wireless fidelity (WiFi) system, and the like.
  • the communication system includes a terminal device, an access network, and a core network.
  • the terminal devices may be distributed throughout the wireless communication system 100, and may be stationary or mobile.
  • the terminal may be a mobile phone, VR glasses, a mobile device, a mobile station, a mobile unit, a machine-to-machine (M2M) terminal, or a wireless unit.
  • Remote units terminal agents, mobile clients, and more.
  • the terminal device may serve as a relay station to receive data from other remote terminals.
  • the terminal device can not only be connected through the wireless technology defined by 3GPP (such as Long Term Evolution (LTE), new access technology (New Radio Access Technology, New RAT), etc.) Access to the core network (CN), and also through non-3GPP (non-3GPP) -defined technologies (such as wireless local area networks (WLAN), worldwide microwave interoperability for microwave access, Wimax) Etc.) Access the core network.
  • 3GPP such as Long Term Evolution (LTE), new access technology (New Radio Access Technology, New RAT), etc.) Access to the core network (CN), and also through non-3GPP (non-3GPP) -defined technologies (such as wireless local area networks (WLAN), worldwide microwave interoperability for microwave access, Wimax) Etc.) Access the core network.
  • Non-3GPP access networks can be divided into the following two categories: trusted non-3GPP access networks and untrusted non-3GPP access networks.
  • the trusted non-3GPP access network includes a WIFI access network or a fixed access network deployed by an operator
  • the untrusted non-3GPP access network includes a WIFI access network or a fixed access network deployed by a third party.
  • the access network may mainly include an access network device, and the access network device may be distributed throughout the wireless communication system 100, and may be stationary or mobile.
  • the access network device may be a base station.
  • the base station may be used to communicate with one or more terminal devices and the core network, and may also be used to perform communication with one or more base stations with partial terminal functions. Communication.
  • the base station can be a base transceiver station (BTS) in a time division synchronous multiple access (TD-SCDMA) system, or an evolved base station (evolved node in the LTE system). , ENB), and base stations (next generation nodeB, gNB) in 5G systems and NR systems.
  • the access network device may also be an access point (AP), a transmit / receive point (TRP), a central unit (CU), or other network entities.
  • AP access point
  • TRP transmit / receive point
  • CU central unit
  • the functions of the core network are virtualized, and the core network may include a user plane function (UPF) and a control plane function (CPF).
  • UPF user plane function
  • CPF control plane function
  • the UPF is mainly used to forward packet data, control quality of service (QoS), and statistics and billing information.
  • the UPF can forward packet data to an external data network (DN) through a transmission network, and can also receive data sent by a DN through a transmission network.
  • DN provides services for terminal equipment, which can be used for the Internet, WAP websites, internal networks of group companies, and private networks within the industry.
  • CPF is mainly used for user registration and authentication, mobility management, and data forwarding policies and QoS control policies issued to the UPF. It can further include access and mobility management functions (AMF) and session management functions (session) management function (SMF). Among them, AMF is mainly used for user access and mobility management, and SMF is mainly used for managing sessions and providing specific services to users, such as issuing data forwarding policies and QoS control policies to the UPF based on the NG4 interface between the SMF and the UPF.
  • AMF access and mobility management functions
  • SMF session management functions
  • CPF can also include: policy management function (PCF), which is mainly used to issue business-related policies to AMF or SMF; authentication server function (authentication server function, AUSF), which is mainly used for user equipment Perform authentication to determine the legitimacy of user equipment; unified data management (UDM) function is mainly used to store user equipment contract data; application function (AF) application function is used to send application-related requirements to the PCF So that the PCF generates the corresponding strategy.
  • PCF policy management function
  • AUSF authentication server function
  • UDM unified data management
  • AF application function
  • the wireless communication system shown in FIG. 1 may transmit data based on the layer 2 network and the DN, that is, the transmission network between the UPF and the DN is a layer 2 network.
  • FIG. 2 is a schematic diagram of a scenario in which a wireless communication system transmits data based on a layer 2 network in the prior art.
  • the network between the traditional core network and the DN is a layer 3 data network (that is, including the access layer, aggregation layer, and core layer)
  • the UPF and DN must be transmitted. Re-deploy a Layer 2 network between them, or if the UPF and DN are in the same Layer 2 LAN in the Layer 3 network, in order to guarantee a Layer 2 network between the UPF and the DN.
  • the present application provides a data transmission method, related device, and system, which can transmit layer 2 data with simpler data addressing based on a traditional layer 3 network, without the need to redeploy the layer 2 network. Make data transmission more simple and convenient.
  • FIG. 3 is a schematic structural diagram of a terminal device 20 provided in the present application.
  • the terminal device 20 may include one or more processors 201, memory 202, communication interface 203, receiver 205, transmitter 206, coupler 207, antenna 208, user interface 209, and input / output module 210.
  • processors 201 may be connected through the bus 204 or in other manners, and FIG. 3 takes the connection through the bus as an example. among them:
  • the communication interface 203 may be used for the terminal device 20 to communicate with other communication devices, for example, with an access network device, a core network device, and the like.
  • the communication interface 203 may be a wired communication interface, such as a LAN interface.
  • the transmitter 206 may be used to perform transmission processing on a signal output by the processor 201, and the receiver 205 may be used to receive a signal.
  • the number of transmitters 206 and receivers 205 may each be one or more.
  • the terminal device 20 may further include other communication components, such as a GPS module, a Bluetooth module, a WiFi module, and the like. Not limited to the wireless communication signals described above, the terminal device 20 may also support other wireless communication signals, such as satellite signals, short-wave signals, and the like.
  • the input / output module is used to implement interaction between the terminal device 20 and other terminal devices / external environments.
  • the input / output module may include an audio input / output module, a key input module, and a display, and may further include a camera, a touch screen, and a sensor.
  • the memory 202 is coupled to the terminal device processor 201 and is configured to store various software programs and / or multiple sets of instructions.
  • the memory 202 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 202 may store an operating system (hereinafter referred to as a system), such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX.
  • the memory 202 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminal device devices, and one or more network devices.
  • the memory 202 can also store a terminal device interface program.
  • the terminal device interface program can realistically display the content of the application program through a graphical operation interface, and receive input devices, such as menus, dialog boxes, and buttons, from the terminal device to the application program. Control operations.
  • the memory 202 may be configured to store a data transmission method provided by one or more embodiments of the present application on the terminal device 20 side. For the implementation of the data transmission method provided by one or more embodiments of this application, please refer to the subsequent embodiments.
  • the terminal device processor 201 may be used to read and execute computer-readable instructions. Specifically, the terminal device processor 201 may be used to call a program stored in the memory 201, for example, a data transmission method provided by one or more embodiments of the present application implements a program on the terminal device 20 side, and executes instructions included in the program .
  • the terminal device 20 may be a terminal device in the wireless communication system 100 shown in FIG. 1, and may be implemented as a mobile device, a mobile station, a mobile unit, a wireless unit, a remote unit, a mobile client, and so on.
  • the terminal device 20 shown in FIG. 3 is only an implementation manner of the embodiment of the present application. In actual applications, the terminal device 20 may further include more or fewer components, which is not limited herein.
  • FIG. 4 is a schematic structural diagram of an access network device 30 provided in this application.
  • the access network device 30 may include one or more access network device processors 301, a memory 302, a communication interface 303, a transmitter 305, a receiver 306, a coupler 307, and an antenna 308. These components may be connected through the bus 304 or in other manners, and FIG. 4 takes the connection through the bus as an example. among them:
  • the communication interface 303 may be used for the access network device 30 to communicate with other communication devices, such as a terminal and a relay node.
  • the communication interface 303 may be a wired communication interface, such as a LAN interface.
  • the transmitter 305 may be configured to perform transmission processing on a signal output by the access network device processor 301, and the receiver 306 may be configured to receive a signal.
  • the number of the transmitters 305 and the receivers 306 may be one or more.
  • the memory 302 is coupled to the access network device processor 301 and is configured to store various software programs and / or multiple sets of instructions.
  • the memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 302 may store an operating system (hereinafter referred to as a system), such as an embedded operating system such as uCOS, VxWorks, and RTLinux.
  • a system such as an embedded operating system such as uCOS, VxWorks, and RTLinux.
  • the memory 302 may also store a network communication program, which can be used to communicate with one or more additional devices, one or more terminal devices, and one or more access network devices.
  • the access network device processor 301 may be configured to read and execute computer-readable instructions. Specifically, the access network device processor 301 may be configured to call a program stored in the memory 302, such as an implementation program of the data transmission method provided by one or more embodiments of this application on the access network device 30 side, and execute the program.
  • the program contains instructions.
  • the access network device 30 may be an access network device in the communication system 100 shown in FIG. 1.
  • the access network device 30 may be implemented as a base transceiver station, a wireless transceiver, a basic service set, and an extended service set. NodeB, eNodeB, gNodeB, access point, etc.
  • the access network device 30 shown in FIG. 4 is only an implementation manner of the embodiment of the present application. In actual applications, the access network device 30 may further include more or fewer components, which is not limited herein.
  • FIG. 5 is a schematic structural diagram of a device 40 for performing a user plane network element function provided by the present application.
  • the device 40 may include a communication interface 401, one or more processors 402, and a memory 403. These components can be connected via a bus or other means. among them:
  • the communication interface 401 may be used for the device 40 to communicate with other communication devices, such as an access network device, a device in a DN, and the like.
  • the communication interface 401 may include a wired communication interface (such as an Ethernet interface) and a wireless communication interface.
  • the memory 403 is coupled to the processor 402 and is configured to store various software programs and / or multiple sets of instructions.
  • the memory 403 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 403 may store an operating system, such as an embedded operating system such as uCOS, VxWorks, RTLinux.
  • the memory 403 may also store a network communication program, which can be used to communicate with other devices in the core network and devices in the DN.
  • the memory 403 may be used to store a data transmission method provided by one or more embodiments of the present application on the device 40 side.
  • a data transmission method provided by one or more embodiments of this application, please refer to the subsequent embodiments.
  • the processor 402 may be used to perform wireless channel management, establishment and removal of a communication link, and the like.
  • the processor 402 may be a general-purpose processor, such as a central processing unit (CPU), and the processor 201 may further include a hardware chip.
  • the foregoing hardware chip may be one or more of the following: application specific integrated circuit (application specific integrated circuit (ASIC), field programmable logic gate array (field programmable gate array, FPGA), complex programmable logic device (complex programmable logic device (CPLD)).
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • CPLD complex programmable logic device
  • the processor 402 may process data received by the communication interface 401, and the processor 402 may also process data to be transmitted to the communication interface 401 for transmission through a wired transmission medium.
  • the processor 402 may be used to read and execute computer-readable instructions. Specifically, the processor 402 may be used to call a program stored in the memory 403, such as an implementation program of the data transmission method provided by one or more embodiments of the present application on the device 40 side, and execute instructions included in the program.
  • a program stored in the memory 403 such as an implementation program of the data transmission method provided by one or more embodiments of the present application on the device 40 side, and execute instructions included in the program.
  • the device 40 may be a device for performing a user plane network element function in the wireless communication system 100 shown in FIG. 1.
  • the device 40 shown in FIG. 5 is only an implementation manner of the present application. In actual applications, the device 40 may further include more or fewer components, which is not limited herein.
  • FIG. 6 is a schematic structural diagram of a device 50 for performing a session management function provided by the present application.
  • the device 50 may include a communication interface 501, one or more processors 502, and a memory 503. These components can be connected via a bus or other means. among them:
  • the communication interface 501 may be used for the device 50 to communicate with other communication devices, such as a broadband remote access server, a billing device, and the like.
  • the communication interface 501 may include a wired communication interface (such as an Ethernet interface) and a wireless communication interface.
  • the memory 503 is coupled to the processor 502 and is configured to store various software programs and / or multiple sets of instructions.
  • the memory 503 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 503 may store an operating system, such as an embedded operating system such as uCOS, VxWorks, RTLinux, and the like.
  • the memory 503 can also store a network communication program, which can be used to communicate with other core network devices and devices in the DN.
  • the memory 503 may be used to store a data transmission method provided by one or more embodiments of the present application on the device 50 side.
  • a data transmission method provided by one or more embodiments of this application, please refer to the subsequent embodiments.
  • the processor 502 may be used to perform wireless channel management, establishment and removal of a communication link, and the like. It may be a general-purpose processor, such as a CPU, and the processor 502 may further include a hardware chip.
  • the above-mentioned hardware chip may be one or more of the following combinations: ASIC, FPGA, and CPLD.
  • the processor 502 may process data received by the communication interface 501, and the processor 502 may also process data to be sent to the communication interface 501 for transmission through a wired transmission medium.
  • the processor 502 may be used to read and execute computer-readable instructions.
  • the processor 502 may be configured to call a program stored in the memory 503, such as an implementation program of the data transmission method provided by one or more embodiments of the present application on the device 50 side, and execute instructions included in the program.
  • the device 50 may be a device for performing a session management function in the wireless communication system 100 shown in FIG. 1.
  • the device 50 shown in FIG. 6 is only an implementation manner of the present application. In actual applications, the device 50 may further include more or fewer components, which is not limited herein.
  • this application provides a data transmission method.
  • the main inventive principle of the present application includes: combining the use of an extensible virtual local area network (VXLAN) technology in the wireless communication system shown in FIG. 1 to implement transmission of Layer 2 data based on a Layer 3 network.
  • VXLAN virtual local area network
  • VxLAN technology is a network virtualization technology that can establish a layer 2 virtual network based on a layer 3 basic network and provide layer 2 network services.
  • FIG. 7A is an implementation scenario diagram of VxLAN technology. As shown in the figure, host devices and VXLAN tunnel endpoints (VTEP) are deployed in two different VxLAN networks, respectively. When two host devices VM1 and VM2 communicate, VTEP is responsible for VxLAN encapsulation or decapsulation of the received data.
  • VTEP VXLAN tunnel endpoints
  • VM1 generates original Layer 2 data packets and sends the original Layer 2 data packets to VTEP1.
  • VTEP1 performs VxLAN encapsulation on the original Layer 2 data packets (that is, adds VxLAN encapsulation information to the original Layer 2 packets) and It is sent to VTEP2 through the layer 3 network.
  • VTEP2 receives the data and de-encapsulates the VxLAN data (that is, removes the VxLAN encapsulation information in the received data).
  • VTEP2 sends the original layer 2 data packet obtained after decapsulation to VM2.
  • FIG. 7B is a schematic structural diagram of a VxLAN packet.
  • the original message includes an inner Ethernet header, an inner IP header, and a payload.
  • the inner Ethernet header includes the MAC addresses of the VMs at both ends of the communication
  • the inner IP header includes the IP addresses of the VMs at both ends of the communication.
  • the payload is the effective data transmitted.
  • the VxLAN encapsulation information includes an outer Ethernet header, an outer IP header, and an outer user datagram protocol (UDP) header (outer UDP). header) and VxLAN header.
  • the outer Ethernet header includes the MAC address of the VTEP that is VxLAN-encapsulated or VxLAN-decapsulated data
  • the outer IP header includes the IP addresses of the two VTEPs
  • the VxLAN includes the VxLAN tag (for example: VxLAN tag or VxLAN flag).
  • VxLAN tags are used to identify the service requested by one end of the communication to the other, and different tags identify different services.
  • the VxLAN tag in the transmitted VxLAN packet must match the currently requested service.
  • the user plane network element implements the VTEP function, and VxLAN encapsulation and VxLAN decapsulation are performed on the data.
  • the user plane network element may be an access network device in the communication system shown in FIG. 1, such as a base station (such as a base station device in 5GRAN and NGRAN), a non-3GPP access gateway (such as N3IWF , Trusted non-3GPP gateway, fixed network access gateway), can also be a device that performs the user plane network element function (UPF) in the core network of the communication system shown in Figure 1, or other network elements with user plane data processing functions .
  • the user plane network element may be an access network device 30 shown in FIG. 4 or a device 40 that performs a user plane network element function shown in FIG. 5.
  • control plane network element may be a device that performs the functions of the control plane network element in the core network of the communication system shown in FIG. 1, for example, a device that executes AMF, SMF, PCF, etc., and the terminal device may be as shown in FIG. Terminal equipment in a communication system.
  • control plane network element may be a device 50 for performing a session management function by the user shown in FIG. 6, and the terminal device may be the terminal device 20 shown in FIG. 3.
  • FIG. 8 is a schematic flowchart of a data transmission method according to Embodiment 1 of the present application. As shown in the figure, the data transmission method may include the following steps:
  • a user plane network element receives user plane data from a terminal device or a data network.
  • the data network can be the Internet, WAP websites, corporate intranets, industry-specific private networks, etc., and can provide various services for terminal equipment, such as video services, webpage services, and industrial Internet services.
  • the data network is a VxLAN network
  • the server or gateway providing various services in the data network is VTEP.
  • a data network may provide only one service for terminal equipment, and may also provide multiple services for terminal equipment.
  • a data network provides multiple services for terminal equipment, a corresponding server or gateway providing the service can be deployed for each service in the data network.
  • a terminal device when a terminal device requests a service from a data network, that is, data transmitted when the terminal device communicates with the data network may be referred to as user plane data.
  • user plane data data transmitted when the terminal device communicates with the data network may be referred to as user plane data.
  • the terminal device and the data network may transmit the user plane data by using a protocol data unit session (packet data unit session, PDU session).
  • PDU session packet data unit session
  • the terminal device can request one or more services from the data network through the established session.
  • the user plane data in this application can have the following two granularities:
  • the user plane data transmitted during the process in which the terminal device requests the service from the data network through the established session can be regarded as being based on session granularity.
  • the user plane data transmitted during the process in which the terminal device requests the data network for the multiple services through the established session can be regarded as being based on service granularity. That is, after the terminal device establishes a session with the data network, the data transmitted by the terminal device in the process of requesting different services can be regarded as user plane data based on different services.
  • the process of transmitting user plane data by the terminal device and the data network can be divided into uplink (that is, the terminal device transmits data to the data network) and downlink (that is, the data network transmits data to the terminal device).
  • the user plane data can also be transmitted. It is divided into uplink user plane data (that is, data transmitted by the terminal device to the data network) and downlink user plane data (that is, data transmitted by the data network to the terminal device).
  • user plane data is transmitted through the user plane network element. Therefore, the user plane network element can receive uplink user plane data from the terminal device, and can also receive downlink user plane data from the data network.
  • the uplink user plane data received by the user plane network element from the terminal device is Layer 2 data, and its data format can refer to the original message part in FIG. 7B;
  • the data is encapsulated by the VxLAN of the data network, and its data format can refer to the VxLAN message in FIG. 7B.
  • the user plane network element uses VxLAN encapsulation information to perform VxLAN encapsulation or VxLAN decapsulation of user plane data.
  • the user plane network element uses the VxLAN encapsulation information to perform VxLAN encapsulation on the uplink user plane data from the terminal device, that is, to add VxLAN information to the layer 2 data from the terminal device; the user plane network element uses the VxLAN encapsulation information to The downlink user plane data is decapsulated by VxLAN, that is, the VxLAN encapsulation information in the downlink user plane data from the data network is removed.
  • the user plane network element may receive VxLAN encapsulation instruction information sent by the control plane network element, and the VxLAN encapsulation instruction information is used to instruct the user plane network element to perform VxLAN encapsulation or VxLAN decapsulation of the user plane data.
  • the VxLAN encapsulation instruction information may be carried in a message sent by any control plane network element to the user plane network element.
  • the form of the VxLAN encapsulation instruction information may be various, for example, a bit value may be "1", etc. This application is not restricted.
  • the user plane network element determines VxLAN encapsulation information for processing user plane data.
  • the VxLAN encapsulation information matches the communication between the terminal device and the data network (for example, the service requested by the terminal device, the server providing the service in the data network, etc.).
  • the VxLAN encapsulation information can be obtained in at least two ways: :
  • the user plane network element determines the VxLAN encapsulation information corresponding to the received user plane data according to the correspondence between the address information and the VxLAN encapsulation information.
  • the user plane data received by the user plane network element carries the complete address information of both ends of the communication, including the IP address and MAC address of the terminal device, and communicates with the terminal device in the data network. IP address and MAC address of the device.
  • the user plane network element may store the correspondence between the address information and the VxLAN encapsulation information, and determine the VxLAN encapsulation information corresponding to the address information in the received user plane data according to the correspondence, that is, determine the VxLAN corresponding to the user plane data.
  • the address information may include at least one of the following carried in the original message: the IP address of the terminal device, the MAC address of the terminal device, and the IP address or MAC address of the device in the data network that communicates with the terminal device.
  • the correspondence between the address information and the VxLAN encapsulation information can be stored in advance by the user plane network element according to the actual situation.
  • Table 1 shows a possible correspondence between address information and VxLAN encapsulation information.
  • the address information is the MAC address of the device communicating with the terminal device in the data network
  • the corresponding VxLAN encapsulation information includes the VxLAN tag corresponding to the service requested by the terminal device.
  • VxLAN package information MAC 1 VxLAN tag 1 MAC 2 VxLAN tag 2 MAC 3 VxLAN tag 3 ... ...
  • the user plane network element receives the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information sent by the control plane network element, and the indication information of the VxLAN encapsulation information is used by the user plane network element to determine the VxLAN encapsulation information.
  • the control plane network element determines the VxLAN encapsulation information that matches the communication between the terminal device and the data network, and indicates the determined VxLAN encapsulation information or VxLAN encapsulation information.
  • the information is sent to the user plane network element.
  • the specific operation steps of the control plane network element to determine the VxLAN encapsulation information may refer to the related description of the subsequent embodiments, and are not described herein again.
  • the indication information of the VxLAN encapsulation information may be an index value of the VxLAN encapsulation information.
  • the control plane network element and the user plane network element can store the same correspondence between the VxLAN encapsulation information and the index value.
  • the index value can be sent to the user plane network element.
  • the user plane network element can determine the VxLAN encapsulation information for processing the user plane data according to the index value.
  • the specific content of the VxLAN encapsulation information can refer to FIG. 7B.
  • some of the information in the VxLAN encapsulation information may be information already existing on the user plane network element itself, such as the user plane network element MAC address in the external Ethernet header in FIG. 7B.
  • the information is obtained in a manner of at least: a VxLAN tag corresponding to a service currently requested by the terminal device, and / or an IP address and a MAC address of a server providing the service in a data network.
  • the VxLAN tag corresponding to the service currently requested by the terminal device is information used to identify the service in the data network.
  • different services correspond to different VxLAN tags.
  • the same service corresponds.
  • the VxLAN tags may also be different, and this application is not limited.
  • the user plane network element may also receive the policy information corresponding to the VxLAN encapsulation information sent by the control plane network element.
  • the policy information includes at least one of the following: charging policies, QoS control policies, or offload policies for terminal devices.
  • the user plane network element implements the VTEP function, performs VxLAN encapsulation and VxLAN decapsulation on user plane data, and can transmit layer 2 data based on a traditional layer 3 network.
  • the terminal device will not perceive the layer 3 network, and the data transmitted by the terminal device is layer 2 data, which simplifies the data transmission process and can provide users with more services.
  • the terminal device implements the VTEP function, and VxLAN encapsulation and VxLAN decapsulation are performed on the data.
  • the implementation of the terminal device, the user plane network element, and the control plane network element is the same as that in the first embodiment, and reference may be made to related descriptions.
  • FIG. 9 is a schematic flowchart of a data transmission method provided in Embodiment 2 of the present application. As shown in the figure, the data transmission method may include the following steps:
  • the terminal device determines VxLAN encapsulation information.
  • the terminal device may determine the VxLAN encapsulation information for processing the user plane data before transmitting the user plane data.
  • the VxLAN encapsulation information determined by the terminal device matches the communication between the terminal device and the data network (such as the service requested by the terminal device, the server providing the service in the data network, etc.). Similar to the first embodiment, the VxLAN encapsulation information Can be obtained in at least the following two ways:
  • the terminal device determines VxLAN encapsulation information corresponding to the requested service.
  • the terminal device may store each service provided in the data network and VxLAN encapsulation information corresponding to each service.
  • a terminal device requests a service from a data network, it can determine the VxLAN encapsulation information corresponding to the requested service according to the stored correspondence relationship.
  • Table 2 shows a correspondence between a service provided in a possible data network and VxLAN encapsulation information.
  • the VxLAN package information includes VxLAN tags.
  • the terminal device may also send the determined VxLAN encapsulation information to the control plane network element, and the VxLAN encapsulation information is used to determine the correspondence between the VxLAN encapsulation information Strategy information.
  • the control plane network element may send the policy information corresponding to the VxLAN encapsulation information to the user plane network element, so that the user plane network element receives the user plane carrying the VxLAN encapsulation information.
  • the policy information may include at least one of the following: a charging policy for a terminal device, a QoS control policy, or an offload policy.
  • the terminal device sends a service identification and / or first instruction information for the requested service to the control plane network element; the first instruction information is used to indicate that the protocol used when transmitting the service is the VxLAN protocol; the terminal device receives the control plane network element
  • the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information, and the indication information of the VxLAN encapsulation information is used for the terminal device to determine the VxLAN encapsulation information.
  • the terminal device first sends a service identifier and / or first indication information of the requested service to the control plane.
  • the service identifier of the terminal device requesting the service may be the data network name (DNN) of the data network, and the control plane network element may learn that the service requested by the terminal device is data according to the DNN.
  • the only service provided by the network can be a service identifier used to distinguish different services in the data network.
  • the control plane network element can know which data network the terminal device requests for service from and the request based on the service identifier. Which kind of business.
  • the first instruction information is used to indicate that a protocol used when transmitting a service requested by the terminal device is a VxLAN protocol.
  • the first indication information may be a session type of a session established with the data network (that is, a session for transmitting user plane data) before the terminal device requests a service from the data network, and the session type is IP-based VxLAN Session (VxLAN over IP).
  • the first indication information may also be VxLAN protocol indication information (VxLAN indication).
  • the form of the VxLAN protocol indication information may be various, which is not limited in this application.
  • the first indication information may also be identification information of a data network, and the data network is a VxLAN network.
  • the identification information of the data network may be a DNN.
  • the control plane network element can obtain another piece of information through other methods, for example, it can be established on the terminal device and the data network. Get another piece of information, etc. during the conversation.
  • the control plane network element requests the service identifier and the first instruction information of the service through the terminal device, and can know that the terminal device needs to use VxLAN protocol to transmit the service, and can know which data network the terminal device requests the service from. And which business is requested.
  • the control plane network element learns the above information, it can determine VxLAN encapsulation information that matches the communication between the terminal device and the data network, and send the determined VxLAN encapsulation information or VxLAN encapsulation information to the terminal device.
  • the indication information of the VxLAN encapsulation information is the same as that in the first embodiment, and reference may be made to related descriptions.
  • the specific operation steps of the control plane network element to determine the VxLAN encapsulation information may refer to the related description of the subsequent embodiments, and are not described herein again.
  • the specific content of the VxLAN encapsulation information can refer to FIG. 7B. Understandably, part of the information in the VxLAN encapsulation information may be information already existing in the terminal device itself, such as the MAC address of the terminal device in the external Ethernet header in FIG. 7B, and some of the information may be obtained through the above two methods.
  • the partial information includes at least: a VxLAN tag corresponding to the service currently requested by the terminal device, and / or, an IP address and a MAC address of a server providing the service in the data network.
  • the terminal device uses VxLAN encapsulation information to perform VxLAN encapsulation or VxLAN decapsulation on the user plane data sent or the user plane data from the data network.
  • the user plane data processed by the terminal device has the following three possible forms:
  • the terminal device as an end communicating with the data network, directly generates user plane data in the uplink transmission process (that is, the terminal device transmits data to the data network).
  • the user plane data generated by the terminal device is layer 2 data, and its data format can refer to the original message part in FIG. 7B.
  • the terminal device as a relay station in the communication process between other remote terminal devices and the data network, receives the data sent by other remote terminal devices in the uplink transmission process (that is, the other remote terminal device transmits data to the data network).
  • User plane data is layer 2 data, and its data format can refer to the original message part in FIG. 7B.
  • the terminal device can be used as an end to communicate with the data network, or the terminal device can be used as a relay station during communication between other remote terminal devices and the data network, and receive the user plane from the data network during downlink transmission.
  • data the user plane data from the data network is encapsulated by the VxLAN of the data network, and its data format can refer to the VxLAN message in FIG. 7B.
  • the terminal device uses the VxLAN encapsulation information determined in step S201 to perform VxLAN encapsulation on the above-mentioned (1) and (2) user plane data, that is, adding VxLAN information to the (1) and (2) layer 2 data ;
  • the terminal device uses the VxLAN encapsulation information determined in step S201 to perform VxLAN decapsulation on the third type of data, that is, remove the VxLAN encapsulation information in the user plane data from the data network.
  • the terminal device implements the VTEP function, performs VxLAN encapsulation and VxLAN decapsulation on user plane data, and can transmit layer 2 data based on a traditional layer 3 network, which simplifies the data transmission process and can provide users with more services.
  • the terminal device or user plane network element that performs the VTEP function learns the IP of the VTEP corresponding to the user plane data in the data network When the address, but the MAC address is unknown, the terminal device or user plane network element that executes VTEP kinetic energy can send an address resolution protocol (ARP) packet to the data network.
  • ARP address resolution protocol
  • the difference between the process of sending ARP packets by the terminal device or user plane network element and sending user plane data is that when VxLAN encapsulation is performed on the ARP packet, the MAC address of the VTEP in the data network in the VxLAN encapsulation information is empty, or Is replaced with the multicast group MAC address. Therefore, all VTEPs in the data network can receive the ARP packet and match the IP address of the VTEP in the ARP packet with its own IP address. If the match is successful, it sends an ARP response to the terminal device or user plane network element. Packet, the ARP response packet carries the MAC address of the successfully matched VTEP.
  • the terminal device or user plane network element After receiving the ARP response packet, the terminal device or user plane network element can obtain the MAC address of the VTEP corresponding to the user plane data in the data network. Therefore, the terminal device or user plane network element can obtain the VxLAN encapsulation information corresponding to the user plane data. , VxLAN encapsulation or VxLAN decapsulation of user plane data can be performed using the VxLAN encapsulation information.
  • the data transmission method of the present application has been described in detail through the two embodiments described above.
  • the specific process of determining the VxLAN encapsulation information by the control plane network element in the first and second embodiments is described in detail through the third embodiment.
  • control plane network element determines the VxLAN encapsulation information, and sends the determined VxLAN encapsulation information or the indication information of the VxLAN encapsulation information to the terminal device or the user plane network element, so that the user plane network element executes the first embodiment.
  • the terminal device executes the data transmission method in the second embodiment.
  • control plane network element is the same as that in the first embodiment, and reference may be made to related descriptions.
  • FIG. 10 is a schematic flowchart of another data transmission method provided by the present application. As shown in the figure, the data transmission method may include the following steps:
  • the control plane network element receives a service identifier of a service requested by a terminal device and / or receives first indication information from the terminal device, where the first indication information is used to indicate that a protocol used when transmitting user plane data is a VxLAN protocol.
  • step S301 is the same as the method for obtaining the VxLAN encapsulation information in step (2) of the second embodiment in step S201, and reference may be made to related descriptions.
  • the control plane network element determines the VxLAN encapsulation information corresponding to the requested service according to the service identifier of the requested service of the terminal device.
  • the control plane network element determines the VxLAN encapsulation information corresponding to the service requested by the terminal device from the at least one VxLAN encapsulation information according to the service identifier of the service requested by the terminal device.
  • the at least one VxLAN encapsulation information may be VxLAN encapsulation information corresponding to all or part of the services provided by the data network, or may be VxLAN encapsulation information corresponding to services to which the terminal device is allowed to access, which is not limited in this application.
  • the manner of determining the at least one VxLAN encapsulation information includes at least the following three methods:
  • the control plane network element determines the at least one VxLAN encapsulation information according to the information of the terminal device.
  • control plane network element can obtain the information of the terminal device in multiple ways.
  • the control plane network element may obtain the information of the terminal device during the process of attaching the terminal device to the core network.
  • the control plane network element may receive a session establishment request message (PDU Session Establishment Request) sent by the terminal device through the AMF, and obtain information about the terminal device from the session establishment request message.
  • PDU Session Establishment Request a session establishment request message sent by the terminal device through the AMF
  • the information of the terminal may include a device identifier of the terminal device.
  • the control plane network element can uniquely determine the terminal device through the device identification, and the device identification can be an international mobile subscriber identification number (IMSI).
  • IMSI international mobile subscriber identification number
  • the terminal information may further include at least one of the following: identification information of the data network, location information of the terminal device, session type of a session transmitting user plane data, and network slice selection assistance information of the terminal device (network slice selection assistance information) information (S-NSSAI), the local area network identification (5GLAN ID) of the data network requested by the terminal device, the type of access network to which the terminal device is connected, or the access technology used when the terminal device is connected to the access network.
  • the session type of a session transmitting user plane data may be an Ethernet type or an IP-based VxLAN session.
  • the access network type may be a 3GPP access network, a trusted non-3GPP access network, or an untrusted non-3GPP.
  • the access network can be WLAN, Wimax, etc.
  • the 5GLAN ID of the data network requested by the terminal is used to identify the data network, and its role is similar to the identification information of the data network.
  • VxLAN encapsulation information when the information of the terminals is different, there is corresponding VxLAN encapsulation information. For example, when the terminal is in the first area, the terminal is allowed to access Service 1 in the data network, and when the terminal is in the second area, the terminal is allowed to access Service 2. As another example, when the type of the access network connected to the terminal is a trusted 3GPP access network, the terminal is allowed to access services 1 and 2 in the data network. When the type of the access network connected to the terminal is an untrusted non-3GPP access network At the same time, the terminal is allowed to access services in the data network3.
  • control plane network element may store at least one VxLAN encapsulation information corresponding to the information of different terminal devices in advance, and the control plane network element may determine the at least one VxLAN encapsulation information according to the information of the terminal device.
  • the control plane network element sends the information of the terminal device to the authentication server in the data network, and the control plane network element receives at least one VxLAN encapsulation information sent by the authentication server.
  • the information of the terminal device is similar to the determination method of (1), except that the device identification of the terminal device is used for the data network to uniquely determine the terminal device, which can be The identification of the terminal device, such as a user equipment permanent identifier (SUPI), and the like.
  • SUPI user equipment permanent identifier
  • control plane network element sends the information of the terminal device to the authentication server in the data network to query the authentication server for the at least one VxLAN encapsulation information.
  • the information of the terminal device sent by the control plane network element may be carried in an Authentication / Authorization Request message, or may be carried in other messages, which is not limited in this application.
  • the authentication server may send the at least one VxLAN encapsulation information to the control plane network element.
  • the authentication server may send VxLAN encapsulation information corresponding to all services provided in the data network to the control plane network element.
  • the authentication server may store VxLAN encapsulation information corresponding to information of different terminal devices in advance, and the control plane network element may determine the corresponding at least one VxLAN encapsulation according to the information of the terminal device. Information, and send the at least one VxLAN encapsulation information to the control plane network element.
  • the control plane network element may also receive the information sent by the authentication server.
  • the second indication information includes at least one of an identifier of a device that is allowed to use the first service or an identifier of a server that is allowed to provide the first service in the first data network.
  • the first service may be all or part of the services provided by the data network, or may be a service to which a terminal device is allowed to access, which is not limited in this application.
  • the control plane network element may send the second indication information to the terminal device or the user plane network element.
  • a terminal device or a user plane network element receives user plane data from another terminal device or other data network, it can judge the legitimacy of these user plane data according to the second instruction information, and can reject illegal user plane data. For example, when the terminal device or the user plane network element receives the user plane data from the terminal device 1, the user plane data corresponds to service 1, but the terminal device 1 is not allowed to use the service 1, the terminal device or the user plane network element may Reject the user plane data.
  • the control plane network element sends information of the terminal device to the policy control network element, and the control plane network element receives at least one VxLAN encapsulation information sent by the policy control network element.
  • the information of the terminal device is the same as that in the determination method (1), and reference may be made to related descriptions.
  • the control plane network element sends the information of the terminal device to the policy control network element in the data network to query the policy control network element for the at least one VxLAN encapsulation information.
  • the policy control network element may be a device for performing PCF in the communication system shown in FIG. 1.
  • the information of the terminal device sent by the control plane network element may be carried in a message sent by any control network element to the policy control network element, which is not limited in this application.
  • the policy control network element may send the at least one VxLAN encapsulation information to the control plane network element.
  • the policy control network element may send VxLAN encapsulation information corresponding to all services provided in the data network to the control plane network element.
  • the policy control network element may store the VxLAN encapsulation information corresponding to the information of different terminal devices in advance, and determine the at least according to the information of the terminal device sent by the control plane network element.
  • control plane network element may also determine the at least one VxLAN encapsulation information by other methods.
  • control plane network element may also query other network elements, and this application is not limited.
  • the control plane network element sends the VxLAN encapsulation information or the VxLAN encapsulation information indication information to the terminal device or the user plane network element.
  • the control plane network element sends the VxLAN encapsulation information or the VxLAN encapsulation information indication information to the terminal device or the user plane network element.
  • the indication information of the VxLAN encapsulation information is used for the terminal device or the user plane network element to determine the VxLAN encapsulation information
  • the VxLAN encapsulation information is used for the terminal device or the user plane network element to perform VxLAN encapsulation or decapsulation of the transmitted user plane data.
  • the specific operation of the user plane network element to perform VxLAN encapsulation or decapsulation of the transmitted user plane data may refer to step S101 in the first embodiment, and the specific operation of the terminal device to perform VxLAN encapsulation or decapsulation of the transmitted user plane data may refer to implementation.
  • Step S202 in the second example is not repeated here.
  • the control plane network element determines the VxLAN encapsulation information and sends the indication information for determining the VxLAN encapsulation information or the VxLAN encapsulation information to the terminal device or the user plane network element, so that the terminal device or the user plane network element can implement the VTEP function.
  • VxLAN encapsulation and VxLAN decapsulation of user plane data are used to transmit layer 2 data based on the traditional layer 3 network, which simplifies the data transmission process and provides users with more services.
  • FIG. 11 is a functional block diagram of a user plane network element provided by the present application.
  • the user plane network element 60 may include a receiving unit 601 and a VxLAN processing unit 602, where:
  • the receiving unit 601 is configured to receive user plane data from a terminal device or a data network. That is, the receiving unit 601 may be configured to execute step S101 in the method shown in FIG. 8 in Embodiment 1, and reference may be made to the foregoing related description.
  • the VxLAN processing unit 602 is configured to perform VxLAN encapsulation or VxLAN decapsulation of user plane data using VxLAN encapsulation information. That is, the VxLAN processing unit 602 may be configured to execute step S102 in the method shown in FIG. 8 in Embodiment 1, and reference may be made to the foregoing related description.
  • the receiving unit 601 is further configured to receive VxLAN encapsulation indication information sent by a control plane network element.
  • the user plane network element 60 may further include a determining unit 603, configured to determine VxLAN encapsulation information.
  • a determining unit 603 configured to determine VxLAN encapsulation information.
  • the receiving unit 601 is further configured to receive the policy information corresponding to the VxLAN encapsulation information sent by the control plane network element.
  • the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
  • FIG. 12 is a functional block diagram of a terminal device provided by the present application.
  • the terminal device 70 may include: a determining unit 701 and a VxLAN processing unit 702, where:
  • the determining unit 701 is configured to determine VxLAN encapsulation information. That is, the determining unit 701 may be configured to execute step S201 in the method shown in FIG. 9 in the second embodiment, and may refer to the foregoing related description.
  • the VxLAN processing unit 702 is configured to use VxLAN encapsulation information to perform VxLAN encapsulation or VxLAN decapsulation on user plane data sent or user plane data from a data network. That is, the VxLAN processing unit 702 may be configured to execute step S202 in the method shown in FIG. 9 in the second embodiment, and may refer to the foregoing related description.
  • the determining unit 701 is specifically configured to determine VxLAN encapsulation information corresponding to the requested service.
  • the terminal device 70 may further include a first sending unit 703, configured to send the VxLAN encapsulation information to the control plane network element; the VxLAN encapsulation information is used to determine policy information corresponding to the VxLAN encapsulation information.
  • the terminal device 70 may further include a second sending unit 704 and a receiving unit 705.
  • the second sending unit 704 is configured to send the service identifier and / or the first indication information of the requested service to the control plane network element; the first indication information is used to indicate that the protocol used when transmitting the service is the VxLAN protocol; the receiving unit 705, The instruction information for receiving the VxLAN encapsulation information or the VxLAN encapsulation information from the control plane network element is used for the determination unit 701 to determine the VxLAN encapsulation information.
  • the first indication information is a session type of a session for transmitting user plane data; or, the first indication information is VxLAN protocol indication information.
  • the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
  • FIG. 13 is a functional block diagram of a control plane network element provided by the present application.
  • the control plane network element 80 may include: a receiving unit 801, a determining unit 802, and a sending unit 803, where:
  • the receiving unit 801 is configured to receive a service identifier of a service requested by a terminal device and / or receive first instruction information from the terminal device; the first instruction information is used to indicate that a protocol used when transmitting user plane data is a VxLAN protocol. That is, the receiving unit 801 may be configured to execute step S301 in the method shown in FIG. 10 in Embodiment 3, and may refer to the foregoing related description.
  • the determining unit 802 is configured to determine VxLAN encapsulation information corresponding to the requested service according to the service identifier. That is, the determining unit 802 may be configured to execute step S302 in the method shown in FIG. 10 in Embodiment 3, and may refer to the foregoing related description.
  • the sending unit 803 is configured to send the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information to the terminal device or the user plane network element; the indication information of the VxLAN encapsulation information is used to determine the VxLAN encapsulation information, and the VxLAN encapsulation information is used to transmit the user plane data. Perform VxLAN encapsulation or decapsulation. That is, the sending unit 803 may be configured to execute step S303 in the method shown in FIG. 10 in Embodiment 3, and may refer to the foregoing related description.
  • the sending unit 803 is further configured to send VxLAN encapsulation instruction information to the user plane network element, and the VxLAN encapsulation instruction information is used to instruct the user plane network element to perform VxLAN encapsulation or decapsulation of the transmitted user plane data.
  • the first indication information is identification information of a data network, and the data network is a VxLAN network; or the first indication information is a session type of a session transmitting user plane data; or, the first indication information is a VxLAN protocol Instructions.
  • the determining unit 802 is specifically configured to determine VxLAN encapsulation information corresponding to the requested service from at least one VxLAN encapsulation information according to the service identifier.
  • the determining unit 802 is specifically configured to determine the at least one VxLAN encapsulation information according to the information of the terminal device.
  • the sending unit 803 is further configured to send the information of the terminal device to the authentication server in the data network; the receiving unit 801 is further configured to receive at least one VxLAN encapsulation information sent by the authentication server.
  • the receiving unit 801 may be further configured to receive second indication information sent by the authentication server, where the second indication information includes: an identifier of a device that is allowed to use the first service, or that the first data network is allowed to provide the first service At least one of the identifiers of the servers; the sending unit 803 is further configured to send the second indication information to the terminal device and / or the user plane network element.
  • the first service reference may be made to the related description of the foregoing second embodiment, and details are not described herein.
  • the sending unit 803 is further configured to send information of the terminal device to the policy control network element; the receiving unit 801 is further configured to receive the at least one VxLAN encapsulation information sent by the policy control network element.
  • the information of the terminal device includes a device identifier of the terminal device.
  • the information of the terminal device further includes at least one of the following: identification information of the data network, location information of the terminal device, session type of a session for transmitting user plane data, auxiliary information for network slice selection of the terminal device, and information requested by the terminal device.
  • identification information of the data network e.g., identification information of the data network
  • location information of the terminal device e.g., location information of the terminal device
  • session type of a session for transmitting user plane data e.g., auxiliary information for network slice selection of the terminal device
  • information requested by the terminal device e.g., the information requested by the terminal device.
  • the local area network identification of the data network e.g., the type of access network to which the terminal device is connected, or the access technology used when the terminal device is connected to the access network.
  • the indication information of the VxLAN encapsulation information is an index value corresponding to the VxLAN encapsulation information.
  • the sending unit 803 is further configured to send the policy information corresponding to the VxLAN encapsulation information to the user plane network element after sending the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information.
  • control plane network element 80 It can be understood that, for specific implementation of each functional unit included in the control plane network element 80, reference may be made to the related description of the foregoing third embodiment, and details are not described herein again.
  • the user plane network element or terminal device performs VxLAN encapsulation and VxLAN decapsulation of user plane data, which can transmit layer 2 data based on a traditional layer 3 network, which simplifies the data transmission process. Users provide more business.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • 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 from a website site, a computer, a server, or a data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes one or more available medium integration.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (Solid State Disk)).

Abstract

Disclosed in the present application are a data transmission method, a related device and a system, the method comprising: a user plane network element receiving user plane data from a terminal device or a data network; and the user plane network element using VxLAN encapsulation information to carry out VxLAN encapsulation or VxLAN de-encapsulation for the user plane data. By implementing the present application, the data transmission process may be simplified in a wireless communication system on the basis of a traditional layer 3 network transmitting layer 2 data by combining the use of VxLAN technology, and more services may be provided to a user.

Description

数据传输方法、相关装置及系统Data transmission method, related device and system
本申请要求于2018年6月19日提交中国国家知识产权局、申请号为201810633183.9、发明名称为“数据传输方法、相关装置及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on June 19, 2018 with the State Intellectual Property Office of China, with the application number 201810633183.9 and the invention name "Data Transmission Method, Related Device and System", the entire contents of which are incorporated by reference in In this application.
技术领域Technical field
本申请涉及通信技术领域,特别涉及数据传输方法、相关装置及系统。The present application relates to the field of communication technologies, and in particular, to a data transmission method, a related device, and a system.
背景技术Background technique
随着通信技术的发展,第三代合作伙伴计划(third generation partnership project,3GPP)制定了下一代移动通信网络架构(next generation system),称为5G网络架构。在未来的应用中,5G网络架构将支持多种业务,例如传统IP服务、低时延高可靠性业务、工业互联网业务等。With the development of communication technology, the Third Generation Partnership Project (3GPP) has formulated a next generation mobile communication network architecture (called a 5G network architecture). In future applications, the 5G network architecture will support a variety of services, such as traditional IP services, low-latency high-reliability services, and industrial Internet services.
为了使得数据传输更为简便,5G网络架构可能会基于2层(layer 2)网络提供部分服务,例如基于2层网络提供工业互联网业务等。其中,通过2层网络传输数据时,数据基于设备的MAC地址在小型局域网中传输,基于设备的MAC地址传输的数据也可称为2层数据,2层数据使得数据寻址更加简单、方便。In order to make data transmission easier, the 5G network architecture may provide some services based on the layer 2 network, such as providing industrial Internet services based on the layer 2 network. Among them, when data is transmitted through a layer 2 network, the data is transmitted in a small local area network based on the MAC address of the device. The data transmitted based on the device's MAC address can also be referred to as layer 2 data. The layer 2 data makes data addressing easier and more convenient.
目前,5G网络架构如何基于2层网络传输数据,是亟需解决的技术问题。At present, how the 5G network architecture transmits data based on the layer 2 network is a technical problem that needs to be solved urgently.
发明内容Summary of the Invention
本申请提供了数据传输方法、相关装置及系统,可在无线通信系统中结合使用VxLAN技术,基于传统的3层网络传输2层数据,简化了数据传输过程,可为用户提供更多的业务。This application provides a data transmission method, related device and system, which can be combined with VxLAN technology in a wireless communication system, and transmits layer 2 data based on a traditional layer 3 network, which simplifies the data transmission process and can provide users with more services.
第一方面,本申请提供一种数据传输方法,应用于用户面网元侧,该方法可包括:用户面网元接收来自终端设备或数据网络的用户面数据;所述用户面网元使用VxLAN封装信息对所述用户面数据进行VxLAN封装或VxLAN解封装。In a first aspect, the present application provides a data transmission method applied to a user plane network element side. The method may include: the user plane network element receives user plane data from a terminal device or a data network; and the user plane network element uses VxLAN The encapsulation information performs VxLAN encapsulation or VxLAN decapsulation on the user plane data.
实施第一方面的方法,用户面网元对用户面数据做VxLAN封装和VxLAN解封装,可基于传统的3层网络传输2层数据。此外,终端设备不会感知到3层网络,终端设备所传输的数据为2层数据,简化了数据传输过程,可为用户提供更多的业务。Implementing the method of the first aspect, the user plane network element performs VxLAN encapsulation and VxLAN decapsulation of user plane data, and can transmit layer 2 data based on a traditional layer 3 network. In addition, the terminal device will not perceive the layer 3 network, and the data transmitted by the terminal device is layer 2 data, which simplifies the data transmission process and can provide users with more services.
具体的,用户面网元接收到的来自终端设备的用户面数据是2层数据,用户面网元接收到的来自数据网络的用户面数据经过数据网络的VxLAN封装。用户面网元使用VxLAN封装信息对来自终端设备的上行用户面数据进行VxLAN封装,即对来自终端设备的2层数据添加VxLAN信息;用户面网元使用VxLAN封装信息对来自数据网络的下行用户面数据进行VxLAN解封装,即去除来自数据网络的下行用户面数据中的VxLAN封装信息。Specifically, the user plane data received by the user plane network element from the terminal device is Layer 2 data, and the user plane data received by the user plane network element from the data network is encapsulated by the VxLAN of the data network. The user plane network element uses VxLAN encapsulation information to perform VxLAN encapsulation on the uplink user plane data from the terminal device, that is, adds VxLAN information to the layer 2 data from the terminal device; the user plane network element uses the VxLAN encapsulation information to the downstream user plane from the data network The data is decapsulated by VxLAN, that is, the VxLAN encapsulation information in the downlink user plane data from the data network is removed.
可选的,第一方面的数据传输方法还包括:用户面网元接收控制面网元发送的VxLAN封装指示信息,所述VxLAN封装指示信息用于指示所述用户面网元对所述用户面数据进行VxLAN封装或VxLAN解封装。这里,VxLAN封装指示信息可以被携带在任意一个控制面网元发送给用户面网元的消息中,VxLAN封装指示信息的形式可以有多种,例如可以是一个比特位取值为“1”等,本申请不作限制。Optionally, the data transmission method of the first aspect further includes: the user plane network element receives VxLAN encapsulation instruction information sent by the control plane network element, and the VxLAN encapsulation instruction information is used to instruct the user plane network element to the user plane Data is VxLAN encapsulated or VxLAN decapsulated. Here, the VxLAN encapsulation instruction information may be carried in a message sent by any control plane network element to the user plane network element. The form of the VxLAN encapsulation instruction information may be various, for example, a bit value may be "1", etc. This application is not restricted.
可选的,第一方面的数据传输方法还包括:用户面网元确定所述VxLAN封装信息。这里,用户面网元至少可通过以下两种方式确定所述VxLAN封装信息:Optionally, the data transmission method of the first aspect further includes: determining, by the user plane network element, the VxLAN encapsulation information. Here, the user plane network element can determine the VxLAN encapsulation information in at least the following two ways:
(1)用户面网元根据地址信息和VxLAN封装信息的对应关系,确定所述用户面数据对应的VxLAN封装信息。其中,所述地址信息包括所述终端设备的地址信息和/或所述数据网络的地址信息。(1) The user plane network element determines the VxLAN encapsulation information corresponding to the user plane data according to the correspondence between the address information and the VxLAN encapsulation information. The address information includes address information of the terminal device and / or address information of the data network.
其中,用户面网元接收到的用户面数据中携带有地址信息。可选的,用户面网元可存储地址信息和VxLAN封装信息的对应关系,并根据该对应关系确定接收到的用户面数据中的地址信息对应的VxLAN封装信息,即确定用户面数据对应的VxLAN封装信息。这里,地址信息可包括以下至少一项:终端设备的IP地址、终端设备的MAC地址、数据网络中和该终端设备通信的设备的IP地址或MAC地址。The user plane data received by the user plane network element carries address information. Optionally, the user plane network element may store the correspondence between the address information and the VxLAN encapsulation information, and determine the VxLAN encapsulation information corresponding to the address information in the received user plane data according to the correspondence, that is, determine the VxLAN corresponding to the user plane data. Package information. Here, the address information may include at least one of the following: the IP address of the terminal device, the MAC address of the terminal device, and the IP address or MAC address of a device in the data network that communicates with the terminal device.
(2)用户面网元接收控制面网元发送的所述VxLAN封装信息或所述VxLAN封装信息的指示信息,所述VxLAN封装信息的指示信息用于所述用户面网元确定所述VxLAN封装信息。(2) The user plane network element receives the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information sent by the control plane network element, and the indication information of the VxLAN encapsulation information is used by the user plane network element to determine the VxLAN encapsulation. information.
在第(2)种获取方式中,由控制面网元确定和终端设备与数据网络之间的通信情况相匹配的VxLAN封装信息,并将确定的VxLAN封装信息或VxLAN封装信息的指示信息发送给用户面网元。In the (2) acquisition method, the control plane network element determines the VxLAN encapsulation information that matches the communication between the terminal device and the data network, and sends the determined VxLAN encapsulation information or the VxLAN encapsulation information indication information to User plane network element.
可选的,第一方面的数据传输方法还包括:所述用户面网元接收控制面网元发送的和所述VxLAN封装信息对应的策略信息。其中,该策略信息可包括以下至少一项:针对终端设备的计费策略、QoS控制策略或分流策略。用户面网元接收到对应的策略信息后,在使用该VxLAN封装信息处理用户面数据时,可根据该策略信息执行相应的操作。Optionally, the data transmission method of the first aspect further includes: receiving, by the user plane network element, policy information corresponding to the VxLAN encapsulation information sent by the control plane network element. The policy information may include at least one of the following: charging policies, QoS control policies, or offload policies for terminal devices. After the user plane network element receives the corresponding policy information, when using the VxLAN encapsulation information to process the user plane data, it can perform corresponding operations according to the policy information.
可选的,所述VxLAN封装信息包括VxLAN标签和/或IP地址。Optionally, the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
第二方面,本申请提供一种数据传输方法,应用于终端设备侧,该方法可包括:终端设备确定VxLAN封装信息;所述终端设备使用所述VxLAN封装信息,对发送的用户面数据或来自数据网络的用户面数据进行VxLAN封装或VxLAN解封装。In a second aspect, the present application provides a data transmission method applied to a terminal device side. The method may include: the terminal device determines VxLAN encapsulation information; the terminal device uses the VxLAN encapsulation information to send user plane data or data from The user plane data of the data network is VxLAN encapsulated or VxLAN decapsulated.
实施第二方面的方法,终端设备对用户面数据做VxLAN封装和VxLAN解封装,可基于传统的3层网络传输2层数据,简化了数据传输过程,可为用户提供更多的业务。Implementing the method of the second aspect, the terminal equipment performs VxLAN encapsulation and VxLAN decapsulation of user plane data, and can transmit layer 2 data based on a traditional layer 3 network, which simplifies the data transmission process and can provide users with more services.
具体的,终端设备处理的用户面数据可以是终端设备生成的用户面数据、终端设备接收到的其他远端终端设备发送的用户面数据或来自数据网络的用户面数据。其中,终端设备生成的用户面数据或来自其他远端终端设备的用户面数据为2层数据,终端设备使用确定的VxLAN封装信息对该2层数据进行VxLAN封装,即添加VxLAN信息;来自数据网络的用户面数据为3层数据,终端设备使用确定的VxLAN封装信息对该3层数据进行VxLAN解封装,即去除来自数据网络的用户面数据中的VxLAN封装信息。Specifically, the user plane data processed by the terminal device may be user plane data generated by the terminal device, user plane data sent by other remote terminal devices received by the terminal device, or user plane data from a data network. Among them, the user plane data generated by the terminal device or the user plane data from other remote terminal devices is layer 2 data. The terminal device uses the determined VxLAN encapsulation information to VxLAN encapsulate the layer 2 data, that is, add VxLAN information; from the data network The user plane data is layer 3 data. The terminal device uses the determined VxLAN encapsulation information to decapsulate the layer 3 data, that is, remove the VxLAN encapsulation information from the user plane data from the data network.
可选的,终端设备确定VxLAN封装信息的方式至少包括以下两种:Optionally, the manner in which the terminal device determines the VxLAN encapsulation information includes at least the following two ways:
(1)所述终端设备确定请求的业务对应的VxLAN封装信息。(1) The terminal device determines VxLAN encapsulation information corresponding to the requested service.
可选的,终端设备可存储数据网络中提供的各个业务以及该各个业务分别对应的VxLAN封装信息。终端设备向数据网络请求业务时,可根据存储的对应关系确定请求的业务对应的VxLAN封装信息。Optionally, the terminal device may store each service provided in the data network and VxLAN encapsulation information corresponding to each service. When a terminal device requests a service from a data network, it can determine the VxLAN encapsulation information corresponding to the requested service according to the stored correspondence relationship.
可选的,由终端设备通过第(1)种方式确定VxLAN封装信息的情况下,终端设备还可向控制面网元发送确定的该VxLAN封装信息,该VxLAN封装信息用于确定VxLAN封装信息对应的策略信息。Optionally, when the terminal device determines the VxLAN encapsulation information through the first method, the terminal device may also send the determined VxLAN encapsulation information to the control plane network element, and the VxLAN encapsulation information is used to determine the correspondence between the VxLAN encapsulation information Strategy information.
(2)所述终端设备向控制面网元发送请求业务的业务标识和/或第一指示信息;所述第 一指示信息用于指示传输所述业务时使用的协议为VxLAN协议;所述终端设备接收来自所述控制面网元的所述VxLAN封装信息或所述VxLAN封装信息的指示信息,所述VxLAN封装信息的指示信息用于所述终端设备确定所述VxLAN封装信息。(2) the terminal device sends a service identifier and / or first indication information of the requested service to the control plane network element; the first indication information is used to indicate that the protocol used when transmitting the service is the VxLAN protocol; the terminal The device receives the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information from the control plane network element, and the indication information of the VxLAN encapsulation information is used by the terminal device to determine the VxLAN encapsulation information.
其中,所述第一指示信息为传输所述用户面数据的会话的会话类型;或者,所述第一指示信息为VxLAN协议指示信息。The first indication information is a session type of a session transmitting the user plane data; or the first indication information is VxLAN protocol indication information.
在第(2)种获取方式中,控制面网元通过终端设备请求业务的业务标识和第一指示信息,可获知终端设备需使用VxLAN协议传输业务,并且可获知终端设备向哪个数据网络请求业务以及请求的哪一种业务。控制面网元获知上述信息后,可确定和终端设备与数据网络之间的通信情况相匹配的VxLAN封装信息,并将确定的VxLAN封装信息或VxLAN封装信息的指示信息发送给终端设备。In the (2) acquisition method, the control plane network element requests the service identifier and the first instruction information of the service through the terminal device, and can know that the terminal device needs to use VxLAN protocol to transmit the service, and can know which data network the terminal device requests the service from. And which business is requested. After the control plane network element learns the above information, it can determine VxLAN encapsulation information that matches the communication between the terminal device and the data network, and send the determined VxLAN encapsulation information or VxLAN encapsulation information to the terminal device.
可选的,VxLAN封装信息包括VxLAN标签和/或IP地址。Optionally, the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
第三方面,本申请提供一种数据传输方法,应用于控制面网元侧,该方法可包括:控制面网元接收终端设备请求业务的业务标识和/或接收来自所述终端设备的第一指示信息;所述第一指示信息用于指示所述传输用户面数据时使用的协议为VxLAN协议;所述控制面网元根据所述业务标识,确定和所述请求的业务对应的VxLAN封装信息;所述控制面网元向所述终端设备或者用户面网元发送所述VxLAN封装信息或所述VxLAN封装信息的指示信息;所述VxLAN封装信息的指示信息用于确定所述VxLAN封装信息,所述VxLAN封装信息用于对传输的用户面数据进行VxLAN封装或解封装。In a third aspect, the present application provides a data transmission method applied to a control plane network element side. The method may include: the control plane network element receives a service identifier of a service requested by a terminal device and / or receives a first service identifier from the terminal device. Instruction information; the first instruction information is used to indicate that a protocol used when transmitting user plane data is a VxLAN protocol; and the control plane network element determines, according to the service identifier, VxLAN encapsulation information corresponding to the requested service The control plane network element sends the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information to the terminal device or the user plane network element; the indication information of the VxLAN encapsulation information is used to determine the VxLAN encapsulation information, The VxLAN encapsulation information is used for VxLAN encapsulation or decapsulation of the transmitted user plane data.
实施第三方面的方法,控制面网元确定VxLAN封装信息,并将确定VxLAN封装信息或VxLAN封装信息的指示信息发送给终端设备或用户面网元,可以使得终端设备或用户面网元实现VTEP功能,对用户面数据做VxLAN封装和VxLAN解封装,从而基于传统的3层网络传输2层数据,简化了数据传输过程,可为用户提供更多的业务。Implementing the method of the third aspect, the control plane network element determines the VxLAN encapsulation information, and sends the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information to the terminal device or the user plane network element, so that the terminal device or the user plane network element can implement VTEP Function, VxLAN encapsulation and VxLAN decapsulation of user plane data, so as to transmit layer 2 data based on the traditional layer 3 network, simplifying the data transmission process, and providing users with more services.
可选的,第三方面的方法还包括:所述控制面网元向所述用户面网元发送VxLAN封装指示信息,所述VxLAN封装指示信息用于指示所述用户面网元对传输的用户面数据进行VxLAN封装或解封装。Optionally, the method of the third aspect further includes: the control plane network element sends VxLAN encapsulation instruction information to the user plane network element, and the VxLAN encapsulation instruction information is used to instruct the user plane network element to a transmitting user The area data is VxLAN encapsulated or decapsulated.
可选的,所述第一指示信息为所述数据网络的标识信息,并且,所述数据网络为VxLAN网络;或者,所述第一指示信息为传输所述用户面数据的会话的会话类型;或者,所述第一指示信息为VxLAN协议指示信息。Optionally, the first indication information is identification information of the data network, and the data network is a VxLAN network; or the first indication information is a session type of a session transmitting the user plane data; Alternatively, the first indication information is VxLAN protocol indication information.
可选的,所述控制面网元根据所述业务标识从至少一个VxLAN封装信息中确定和所述请求业务相对应的VxLAN封装信息。其中,该至少一个VxLAN封装信息的确定方式至少包括以下几种:Optionally, the control plane network element determines the VxLAN encapsulation information corresponding to the requested service from at least one VxLAN encapsulation information according to the service identifier. The method for determining the at least one VxLAN encapsulation information includes at least the following methods:
(1)所述控制面网元根据所述终端设备的信息确定所述至少一个VxLAN封装信息。(1) The control plane network element determines the at least one VxLAN encapsulation information according to the information of the terminal device.
这里,控制面网元可通过多种方式获取终端设备的信息。终端的信息不同时,对应有不同的VxLAN封装信息,控制面网元可预先存储不同终端设备的信息分别对应的至少一个VxLAN封装信息,控制面网元可根据终端设备的信息确定该至少一个VxLAN封装信息。Here, the control plane network element can obtain the information of the terminal device in various ways. When the terminal information is different, there is corresponding VxLAN encapsulation information. The control plane network element can store at least one VxLAN encapsulation information corresponding to the information of different terminal devices in advance. The control plane network element can determine the at least one VxLAN according to the terminal device information. Package information.
(2)所述控制面网元向所述数据网络中的认证服务器发送所述终端设备的信息;所述控制面网元接收所述认证服务器发送的所述至少一个VxLAN封装信息。(2) The control plane network element sends the information of the terminal device to an authentication server in the data network; the control plane network element receives the at least one VxLAN encapsulation information sent by the authentication server.
这里,和上述第(1)种确定方式类似,认证服务器可预先存储不同终端设备的信息分别对应的VxLAN封装信息,控制面网元可根据终端设备的信息确定对应的该至少一个VxLAN封装信息,并将该至少一个VxLAN封装信息发送给控制面网元。Here, similar to the determination method of the above (1), the authentication server may store the VxLAN encapsulation information corresponding to the information of different terminal devices in advance, and the control plane network element may determine the corresponding at least one VxLAN encapsulation information according to the information of the terminal device. And sending the at least one VxLAN encapsulation information to the control plane network element.
在第(2)种确定方式中,所述控制面网元还可接收所述认证服务器发送的第二指示信息,所述第二指示信息包括:被允许使用第一业务的设备的标识,或,所述第一数据网络中被允许提供所述第一业务的服务器的标识中的至少一项;所述控制面网元将所述第二指示信息发送给所述终端设备和/或所述用户面网元。其中,第一业务可以为数据网络提供的业务中的全部或部分业务,也可以是终端设备被允许访问的业务,本申请不作限制。第二指示信息可用于判断用户面数据的合法性。In the (2) determination method, the control plane network element may further receive second instruction information sent by the authentication server, where the second instruction information includes an identifier of a device allowed to use the first service, or At least one of the identifiers of the servers in the first data network that are allowed to provide the first service; the control plane network element sends the second indication information to the terminal device and / or the User plane network element. The first service may be all or part of the services provided by the data network, or may be a service to which a terminal device is allowed to access, which is not limited in this application. The second indication information may be used to judge the legitimacy of the user plane data.
(3)所述控制面网元向策略控制网元发送所述终端设备的信息;所述控制面网元接收所述策略控制网元发送的所述至少一个VxLAN封装信息。(3) The control plane network element sends the information of the terminal device to the policy control network element; the control plane network element receives the at least one VxLAN encapsulation information sent by the policy control network element.
这里,和上述第(1)种确定方式类似,策略控制网元可预先存储不同的终端设备的信息分别对应的VxLAN封装信息,并根据控制面网元发送的终端设备的信息确定该至少一个VxLAN封装信息,并将该至少一个VxLAN封装信息发送给控制面网元。Here, similar to the determination method of the above (1), the policy control network element may store VxLAN encapsulation information corresponding to different terminal device information in advance, and determine the at least one VxLAN according to the terminal device information sent by the control plane network element. Encapsulation information, and send the at least one VxLAN encapsulation information to a control plane network element.
本申请中,所述终端设备的信息包括所述终端设备的设备标识。In this application, the information of the terminal device includes a device identifier of the terminal device.
可选的,所述终端设备的信息还包括以下至少一项:所述数据网络的标识信息、所述终端设备的位置信息、传输所述用户面数据的会话的会话类型、所述终端设备的网络切片选择辅助信息、所述终端设备请求的所述数据网络的局域网标识、所述终端设备连接的接入网类型或所述终端设备连接所述接入网时使用的接入技术。Optionally, the information of the terminal device further includes at least one of the following: identification information of the data network, location information of the terminal device, session type of a session transmitting the user plane data, and The network slice selects auxiliary information, a local area network identifier of the data network requested by the terminal device, an access network type to which the terminal device is connected, or an access technology used when the terminal device connects to the access network.
可选的,所述VxLAN封装信息的指示信息为所述VxLAN封装信息对应的索引值。Optionally, the indication information of the VxLAN encapsulation information is an index value corresponding to the VxLAN encapsulation information.
可选的,在所述控制面网元发送所述VxLAN封装信息或所述VxLAN封装信息的指示信息之后,还包括:所述控制面网元向所述用户面网元发送和所述VxLAN封装信息对应的策略信息。Optionally, after the control plane network element sends the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information, it further includes: the control plane network element sends the user plane network element and the VxLAN encapsulation The corresponding policy information.
第四方面,本申请提供一种用户面网元,该用户面网元可包括多个功能模块,用于执行第一方面或第一方面可能的实施方式所提供的方法。In a fourth aspect, the present application provides a user plane network element. The user plane network element may include multiple function modules for executing the method provided in the first aspect or a possible implementation manner of the first aspect.
第五方面,本申请提供一种终端设备,该终端设备可包括多个功能模块,用于执行第二方面或第二方面可能的实施方式所提供的方法。In a fifth aspect, the present application provides a terminal device, and the terminal device may include multiple function modules for performing the second aspect or the method provided in the second aspect possible implementation manner.
第六方面,本申请提供一种控制面网元,该控制面网元可包括多个功能模块,用于执行第三方面或第三方面可能的实施方式所提供的方法。According to a sixth aspect, the present application provides a control plane network element. The control plane network element may include multiple function modules for performing the third aspect or the method provided by the third aspect possible implementation manner.
第七方面,本申请提供一种接入网设备,用于执行第一方面或第一方面可能的实施方式所提供的方法。该接入网设备可包括:存储器以及与所述存储器耦合的处理器、收发器,其中:所述收发器用于与其他通信设备(如终端设备、控制面网元)通信,所述存储器用于存储第一方面或第一方面可能的实施方式描述的数据传输方法的实现代码,所述处理器用于执行所述存储器中存储的程序代码,即执行第一方面所提供的方法,或者第一方面可能的实施方式中的任意一种所提供的方法。In a seventh aspect, the present application provides an access network device for performing the method provided in the first aspect or a possible implementation manner of the first aspect. The access network device may include a memory, and a processor and a transceiver coupled to the memory, where the transceiver is used to communicate with other communication devices (such as a terminal device and a control plane network element), and the memory is used for Store the implementation code of the data transmission method described in the first aspect or the possible implementation manner of the first aspect, and the processor is configured to execute the program code stored in the memory, that is, execute the method provided in the first aspect, or the first aspect The provided method in any of the possible embodiments.
第八方面,本申请提供一种用户面网元功能设备,用于执行第一方面或第一方面可能的实施方式所提供的方法。该用户面网元功能设备可包括:存储器以及与所述存储器耦合的处理器、通信接口,其中:所述通信接口用于与其他通信设备(如控制面网元、数据网络)通信,所述存储器用于存储第一方面或第一方面可能的实施方式描述的数据传输方法的实现代码,所述处理器用于执行所述存储器中存储的程序代码,即执行第一方面所提供的方法,或者第一方面可能的实施方式中的任意一种所提供的方法。In an eighth aspect, the present application provides a user plane network element function device for performing the method provided in the first aspect or a possible implementation manner of the first aspect. The user plane network element functional device may include: a memory, a processor coupled to the memory, and a communication interface, where the communication interface is used to communicate with other communication devices (such as a control plane network element and a data network), The memory is configured to store the implementation code of the data transmission method described in the first aspect or the possible implementation manner of the first aspect, and the processor is configured to execute the program code stored in the memory, that is, execute the method provided in the first aspect, or The method provided in any one of the possible implementations of the first aspect.
第九方面,本申请提供一种终端设备,用于执行第二方面或第二方面可能的实施方式所 提供的方法。该终端设备可包括:存储器以及与所述存储器耦合的处理器、收发器,其中:所述收发器用于与其他通信设备(如控制面网元、接入网设备等)通信,所述存储器用于存储第二方面或第二方面可能的实施方式描述的数据传输方法的实现代码,所述处理器用于执行所述存储器中存储的程序代码,即执行第二方面所提供的方法,或者第二方面可能的实施方式中的任意一种所提供的方法。In a ninth aspect, the present application provides a terminal device for performing the method provided in the second aspect or a possible implementation manner of the second aspect. The terminal device may include a memory, and a processor and a transceiver coupled to the memory, where the transceiver is used to communicate with other communication devices (such as a control plane network element, an access network device, and the like), and the memory is used for The processor is configured to execute the program code stored in the memory, that is, the method provided by the second aspect, or the second The method provided in any of the possible implementations of the aspect.
第十方面,本申请提供一种控制面网元,用于执行第三方面或第三方面可能的实施方式所提供的方法。该控制面网元可包括:存储器以及与所述存储器耦合的处理器、通信接口,其中:所述通信接口用于与其他通信设备(如终端设备)通信,所述存储器用于存储第三方面或第三方面可能的实施方式描述的数据传输方法的实现代码,所述处理器用于执行所述存储器中存储的程序代码,即执行第三方面所提供的方法,或者第三方面可能的实施方式中的任意一种所提供的方法。In a tenth aspect, the present application provides a control plane network element for performing the method provided in the third aspect or a possible implementation manner of the third aspect. The control plane network element may include a memory, a processor coupled to the memory, and a communication interface, where the communication interface is used to communicate with other communication devices (such as a terminal device), and the memory is used to store the third aspect Or the implementation code of the data transmission method described in the possible implementation manner of the third aspect, the processor is configured to execute the program code stored in the memory, that is, execute the method provided in the third aspect, or the possible implementation manner of the third aspect Any of the provided methods.
第十一方面,本申请提供一种通信系统,该通信系统包括:终端设备、用户面网元和控制面网元。其中,终端设备可以是上述第五方面或第九方面所描述的第一节点;用户面网元可以是上述第四方面所描述的用户面网元,也可以是上述第七方面所描述的接入网设备,还可以是上述第八方面所描述的用户面网元功能设备。According to an eleventh aspect, the present application provides a communication system including a terminal device, a user plane network element, and a control plane network element. The terminal device may be the first node described in the fifth aspect or the ninth aspect; the user plane network element may be the user plane network element described in the fourth aspect above, or may be the interface described in the seventh aspect above. The network access device may also be a user plane network element function device described in the eighth aspect.
第十二方面,本申请提供一种计算机可读存储介质,所述可读存储介质上存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面描述的数据传输方法。In a twelfth aspect, the present application provides a computer-readable storage medium having instructions stored on the readable storage medium, which when run on a computer, causes the computer to execute the data transmission method described in the first aspect above.
第十三方面,本申请提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面描述的数据传输方法。In a thirteenth aspect, the present application provides a computer program product containing instructions that, when run on a computer, causes the computer to execute the data transmission method described in the first aspect above.
第十四方面,本申请提供一种计算机可读存储介质,所述可读存储介质上存储有指令,当其在计算机上运行时,使得计算机执行上述第二方面描述的数据传输方法。In a fourteenth aspect, the present application provides a computer-readable storage medium having instructions stored on the readable storage medium, which when executed on a computer, causes the computer to execute the data transmission method described in the second aspect above.
第十五方面,本申请提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面描述的数据传输方法。In a fifteenth aspect, the present application provides a computer program product containing instructions that, when run on a computer, causes the computer to perform the data transmission method described in the second aspect above.
第十六方面,本申请提供一种计算机可读存储介质,所述可读存储介质上存储有指令,当其在计算机上运行时,使得计算机执行上述第三方面描述的数据传输方法。In a sixteenth aspect, the present application provides a computer-readable storage medium having instructions stored on the readable storage medium, which when run on a computer, causes the computer to execute the data transmission method described in the third aspect above.
第十七方面,本申请提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第三方面描述的数据传输方法。In a seventeenth aspect, the present application provides a computer program product containing instructions that, when run on a computer, causes the computer to execute the data transmission method described in the third aspect above.
实施本申请,用户面网元或终端设备对用户面数据做VxLAN封装和VxLAN解封装,可基于传统的3层网络传输2层数据,简化了数据传输过程,可为用户提供更多的业务。Implementing this application, the user plane network element or terminal device performs VxLAN encapsulation and VxLAN decapsulation of user plane data, which can transmit layer 2 data based on a traditional layer 3 network, simplifying the data transmission process, and providing users with more services.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请提供的通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a communication system provided by this application;
图2为现有技术中无线通信系统基于2层网络传输数据的场景示意图;2 is a schematic diagram of a scenario in which a wireless communication system transmits data based on a layer 2 network in the prior art;
图3为本申请提供的终端设备20的结构示意图;FIG. 3 is a schematic structural diagram of a terminal device 20 provided in this application;
图4为本申请提供的接入网设备30的结构示意图;FIG. 4 is a schematic structural diagram of an access network device 30 provided in this application;
图5为本申请提供的执行用户面网元功能的设备40的结构示意图;FIG. 5 is a schematic structural diagram of a device 40 for performing a user plane network element function provided by this application;
图6为本申请提供的用于执行会话管理功能的设备50的结构示意图;6 is a schematic structural diagram of a device 50 for performing a session management function provided by the present application;
图7A为VxLAN技术的实现场景图;FIG. 7A is an implementation scenario diagram of VxLAN technology; FIG.
图7B为VxLAN报文的结构示意图;7B is a schematic structural diagram of a VxLAN message;
图8为本申请实施例一提供的数据传输方法的流程示意图;8 is a schematic flowchart of a data transmission method according to Embodiment 1 of the present application;
图9为本申请实施例二提供的数据传输方法的流程示意图;9 is a schematic flowchart of a data transmission method provided in Embodiment 2 of the present application;
图10为本申请实施例三提供的数据传输方法的流程示意图;10 is a schematic flowchart of a data transmission method provided in Embodiment 3 of the present application;
图11为本申请提供的用户面网元的功能框图;11 is a functional block diagram of a user plane network element provided by this application;
图12为本申请提供的终端设备的功能框图;12 is a functional block diagram of a terminal device provided by this application;
图13为本申请提供的控制面网元的功能框图。FIG. 13 is a functional block diagram of a control plane network element provided by the present application.
具体实施方式detailed description
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terms used in the embodiments of the present application are only used to explain specific examples of the present application, and are not intended to limit the present application.
首先介绍本申请涉及的无线通信系统,参见图1,图1为本申请提供的无线通信系统100的结构示意图。First, the wireless communication system involved in this application is described. Referring to FIG. 1, FIG. 1 is a schematic structural diagram of a wireless communication system 100 provided by this application.
本申请的无线通信系统可以是未来演进的5G系统、NR系统,机器与机器通信(machine to machine,M2M)系统、无线保真(wIreless fidelity,WiFi)系统等。如图1所示,该通信系统包括终端设备、接入网和核心网。The wireless communication system of the present application may be a future evolved 5G system, an NR system, a machine-to-machine (M2M) system, a wireless fidelity (WiFi) system, and the like. As shown in FIG. 1, the communication system includes a terminal device, an access network, and a core network.
其中,终端设备可以分布在整个无线通信系统100中,可以是静止的,也可以是移动的。在本申请的一些实施例中,终端可以是手机、VR眼镜、移动设备、移动台(mobile station)、移动单元(mobile unit)、机器与机器通信(machine to machine,M2M)终端、无线单元,远程单元、终端代理、移动客户端等等。在本申请的一些实施例中,终端设备可以作为中继站接收来自其他远端(remote)终端的数据。The terminal devices may be distributed throughout the wireless communication system 100, and may be stationary or mobile. In some embodiments of the present application, the terminal may be a mobile phone, VR glasses, a mobile device, a mobile station, a mobile unit, a machine-to-machine (M2M) terminal, or a wireless unit. Remote units, terminal agents, mobile clients, and more. In some embodiments of the present application, the terminal device may serve as a relay station to receive data from other remote terminals.
在图1所示的无线通信系统中,终端设备不仅可以通过3GPP定义的无线技术(例如长期演进(long term evolution,LTE)、新的接入技术(new radio access technology,New RAT)等)接入核心网(core network,CN),还可以通过非3GPP(non-3GPP)定义的技术(例如无线局域网(wireless local area networks,WLAN)、全球微波互联接入(worldwide interoperability for microwave access,Wimax)等)接入核心网。In the wireless communication system shown in FIG. 1, the terminal device can not only be connected through the wireless technology defined by 3GPP (such as Long Term Evolution (LTE), new access technology (New Radio Access Technology, New RAT), etc.) Access to the core network (CN), and also through non-3GPP (non-3GPP) -defined technologies (such as wireless local area networks (WLAN), worldwide microwave interoperability for microwave access, Wimax) Etc.) Access the core network.
这里,当终端设备101通过非3GPP定义的技术接入核心网时,对应的接入网为非3GPP接入网(non-3GPP access)。非3GPP接入网可分为以下两类:可信非3GPP接入网和不可信非3GPP接入网。其中,可信非3GPP接入网包括运营商部署的WIFI接入网或者固定接入网等,不可信非3GPP接入网包括第三方部署的WIFI接入网或者固定接入网等。Here, when the terminal device 101 accesses the core network through a technology not defined by 3GPP, the corresponding access network is a non-3GPP access network (non-3GPP access). Non-3GPP access networks can be divided into the following two categories: trusted non-3GPP access networks and untrusted non-3GPP access networks. The trusted non-3GPP access network includes a WIFI access network or a fixed access network deployed by an operator, and the untrusted non-3GPP access network includes a WIFI access network or a fixed access network deployed by a third party.
其中,接入网可主要包括接入网设备,接入网设备可以分布在整个无线通信系统100中,可以是静止的,也可以是移动的。在本申请的一些实施例中,接入网设备可以为基站,基站可以用于与一个或多个终端设备、核心网进行通信,也可以用于与一个或多个具有部分终端功能的基站进行通信。基站可以是时分同步码分多址(time division synchronous code division multiple access,TD-SCDMA)系统中的基站收发台(base transceiver station,BTS),也可以是LTE系统中的演进型基站(evolved node B,eNB),以及5G系统、NR系统中的基站(next generation nodeB,gNB)。另外,接入网设备也可以为接入点(access point,AP)、传输节点(transmit/receive point,TRP)、中心单元(central unit,CU)或其他网络实体。The access network may mainly include an access network device, and the access network device may be distributed throughout the wireless communication system 100, and may be stationary or mobile. In some embodiments of the present application, the access network device may be a base station. The base station may be used to communicate with one or more terminal devices and the core network, and may also be used to perform communication with one or more base stations with partial terminal functions. Communication. The base station can be a base transceiver station (BTS) in a time division synchronous multiple access (TD-SCDMA) system, or an evolved base station (evolved node in the LTE system). , ENB), and base stations (next generation nodeB, gNB) in 5G systems and NR systems. In addition, the access network device may also be an access point (AP), a transmit / receive point (TRP), a central unit (CU), or other network entities.
其中,核心网的功能实现虚拟化,核心网可包括用户面网元功能(user plane function,UPF)和控制面网元功能(control plane function,CPF)。Among them, the functions of the core network are virtualized, and the core network may include a user plane function (UPF) and a control plane function (CPF).
UPF主要用于转发分组数据、控制服务质量(quality of service,QoS)、统计计费信 息等。UPF可通过传输网络转发分组数据到外部的数据网络(data network,DN),也可以通过传输网络接收DN发送的数据。这里,DN为终端设备提供服务,可以为Internet、WAP网站、集团企业内部网络、行业内部专用网络等。UPF is mainly used to forward packet data, control quality of service (QoS), and statistics and billing information. The UPF can forward packet data to an external data network (DN) through a transmission network, and can also receive data sent by a DN through a transmission network. Here, the DN provides services for terminal equipment, which can be used for the Internet, WAP websites, internal networks of group companies, and private networks within the industry.
CPF主要用于用户注册认证、移动性管理及向UPF下发数据转发策略、QoS控制策略等,可进一步包括接入与移动性管理功能(access and mobility management function,AMF)和会话管理功能(session management function,SMF)。其中,AMF主要用于用户接入和移动性管理,SMF主要用于管理会话并为用户提供具体服务,例如基于SMF与UPF之间的NG4接口向UPF下发数据转发策略、QoS控制策略等。CPF is mainly used for user registration and authentication, mobility management, and data forwarding policies and QoS control policies issued to the UPF. It can further include access and mobility management functions (AMF) and session management functions (session) management function (SMF). Among them, AMF is mainly used for user access and mobility management, and SMF is mainly used for managing sessions and providing specific services to users, such as issuing data forwarding policies and QoS control policies to the UPF based on the NG4 interface between the SMF and the UPF.
这里,CPF还可包括:策略管理功能(policy control function,PCF),主要用于下发业务相关的策略给AMF或SMF;鉴权服务器功能(authentication server function,AUSF),主要用于对用户设备进行鉴权,确定用户设备合法性;统一数据管理功能(unified data management,UDM),主要用于存储用户设备签约数据;应用功能(application function,AF)应用功能,用于发送应用相关需求给PCF,使得PCF生成对应的策略。Here, CPF can also include: policy management function (PCF), which is mainly used to issue business-related policies to AMF or SMF; authentication server function (authentication server function, AUSF), which is mainly used for user equipment Perform authentication to determine the legitimacy of user equipment; unified data management (UDM) function is mainly used to store user equipment contract data; application function (AF) application function is used to send application-related requirements to the PCF So that the PCF generates the corresponding strategy.
为了使得数据传输更为简便,图1所示的无线通信系统有可能基于2层网络和DN传输数据,即UPF和DN之间的传输网络为2层网络。In order to make data transmission easier, the wireless communication system shown in FIG. 1 may transmit data based on the layer 2 network and the DN, that is, the transmission network between the UPF and the DN is a layer 2 network.
目前,现有技术中图1所示的无线通信系统基于2层网络传输数据时,对传输环境有一定的要求。参见图2,图2示出了现有技术中无线通信系统基于2层网络传输数据的场景示意图。如图所示,由于传统的核心网和DN之间的网络为3层数据网(即包括接入层、汇聚层和核心层),如果要基于2层网络传输数据,那么必须在UPF和DN之间重新部署2层网络,或者,UPF和DN在3层网络中处于相同的2层局域网,才能保证UPF和DN之间为2层网络。At present, when the wireless communication system shown in FIG. 1 in the prior art transmits data based on a layer 2 network, there are certain requirements on the transmission environment. Referring to FIG. 2, FIG. 2 is a schematic diagram of a scenario in which a wireless communication system transmits data based on a layer 2 network in the prior art. As shown in the figure, since the network between the traditional core network and the DN is a layer 3 data network (that is, including the access layer, aggregation layer, and core layer), if data is to be transmitted based on the layer 2 network, the UPF and DN must be transmitted. Re-deploy a Layer 2 network between them, or if the UPF and DN are in the same Layer 2 LAN in the Layer 3 network, in order to guarantee a Layer 2 network between the UPF and the DN.
对于上述现有技术的不足,本申请提供一种数据传输方法、相关装置及系统,能够基于传统的3层网络来传输数据寻址更为简便的2层数据,无需重新部署2层网络也能使数据传输更为简单、方便。For the shortcomings of the foregoing prior art, the present application provides a data transmission method, related device, and system, which can transmit layer 2 data with simpler data addressing based on a traditional layer 3 network, without the need to redeploy the layer 2 network. Make data transmission more simple and convenient.
为了更清楚地描述本申请,下面介绍本申请涉及的相关装置。In order to describe this application more clearly, the related devices involved in this application are described below.
参见图3,图3示出了本申请提供的终端设备20的结构示意图。如图所示,终端设备20可包括:一个或多个处理器201、存储器202、通信接口203、接收器205、发射器206、耦合器207、天线208、用户接口209,以及输入输出模块210。这些部件可通过总线204或者其他方式连接,图3以通过总线连接为例。其中:Referring to FIG. 3, FIG. 3 is a schematic structural diagram of a terminal device 20 provided in the present application. As shown, the terminal device 20 may include one or more processors 201, memory 202, communication interface 203, receiver 205, transmitter 206, coupler 207, antenna 208, user interface 209, and input / output module 210. . These components may be connected through the bus 204 or in other manners, and FIG. 3 takes the connection through the bus as an example. among them:
通信接口203可用于终端设备20与其他通信设备,例如和接入网设备、核心网设备等进行通信。具体的,通信接口203可以为有线的通信接口,例如LAN接口。The communication interface 203 may be used for the terminal device 20 to communicate with other communication devices, for example, with an access network device, a core network device, and the like. Specifically, the communication interface 203 may be a wired communication interface, such as a LAN interface.
在终端设备20中,发射器206可用于对处理器201输出的信号进行发射处理,接收器205可用于接收信号。发射器206和接收器205的数量均可以是一个或者多个。In the terminal device 20, the transmitter 206 may be used to perform transmission processing on a signal output by the processor 201, and the receiver 205 may be used to receive a signal. The number of transmitters 206 and receivers 205 may each be one or more.
除了图3所示的发射器206和接收器205,终端设备20还可包括其他通信部件,例如GPS模块、蓝牙模块、WiFi模块等。不限于上述表述的无线通信信号,终端设备20还可以支持其他无线通信信号,例如卫星信号、短波信号等等。In addition to the transmitter 206 and the receiver 205 shown in FIG. 3, the terminal device 20 may further include other communication components, such as a GPS module, a Bluetooth module, a WiFi module, and the like. Not limited to the wireless communication signals described above, the terminal device 20 may also support other wireless communication signals, such as satellite signals, short-wave signals, and the like.
输入输出模块用于实现终端设备20和其他终端设备/外部环境之间的交互。可选的,输入输出模块可包括音频输入输出模块、按键输入模块以及显示器等,还可包括摄像头、触摸屏以及传感器等。The input / output module is used to implement interaction between the terminal device 20 and other terminal devices / external environments. Optionally, the input / output module may include an audio input / output module, a key input module, and a display, and may further include a camera, a touch screen, and a sensor.
存储器202与终端设备处理器201耦合,用于存储各种软件程序和/或多组指令。具体的,存储器202可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器202可以存储操作系统(下述简称系统),例如ANDROID,IOS,WINDOWS,或者LINUX等嵌入式操作系统。存储器202还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端设备设备,一个或多个网络设备进行通信。The memory 202 is coupled to the terminal device processor 201 and is configured to store various software programs and / or multiple sets of instructions. Specifically, the memory 202 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 202 may store an operating system (hereinafter referred to as a system), such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX. The memory 202 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminal device devices, and one or more network devices.
存储器202还可以存储终端设备接口程序,该终端设备接口程序可以通过图形化的操作界面将应用程序的内容形象逼真的显示出来,并通过菜单、对话框以及按键等输入控件接收终端设备对应用程序的控制操作。在本申请的一些实施例中,存储器202可用于存储本申请的一个或多个实施例提供的数据传输方法在终端设备20侧的实现程序。关于本申请的一个或多个实施例提供的数据传输方法的实现,请参考后续实施例。The memory 202 can also store a terminal device interface program. The terminal device interface program can realistically display the content of the application program through a graphical operation interface, and receive input devices, such as menus, dialog boxes, and buttons, from the terminal device to the application program. Control operations. In some embodiments of the present application, the memory 202 may be configured to store a data transmission method provided by one or more embodiments of the present application on the terminal device 20 side. For the implementation of the data transmission method provided by one or more embodiments of this application, please refer to the subsequent embodiments.
终端设备处理器201可用于读取和执行计算机可读指令。具体的,终端设备处理器201可用于调用存储于存储器201中的程序,例如本申请的一个或多个实施例提供的数据传输方法在终端设备20侧的实现程序,并执行该程序包含的指令。The terminal device processor 201 may be used to read and execute computer-readable instructions. Specifically, the terminal device processor 201 may be used to call a program stored in the memory 201, for example, a data transmission method provided by one or more embodiments of the present application implements a program on the terminal device 20 side, and executes instructions included in the program .
这里,终端设备20可以是图1示出的无线通信系统100中的终端设备,可实施为移动设备,移动台,移动单元,无线单元,远程单元,移动客户端等等。Here, the terminal device 20 may be a terminal device in the wireless communication system 100 shown in FIG. 1, and may be implemented as a mobile device, a mobile station, a mobile unit, a wireless unit, a remote unit, a mobile client, and so on.
图3所示的终端设备20仅仅是本申请实施例的一种实现方式,实际应用中,终端设备20还可以包括更多或更少的部件,这里不作限制。The terminal device 20 shown in FIG. 3 is only an implementation manner of the embodiment of the present application. In actual applications, the terminal device 20 may further include more or fewer components, which is not limited herein.
参见图4,图4为本申请提供的接入网设备30的结构示意图。如图4所示,接入网设备30可包括:一个或多个接入网设备处理器301、存储器302、通信接口303、发射器305、接收器306、耦合器307和天线308。这些部件可通过总线304或者其他方式连接,图4以通过总线连接为例。其中:Referring to FIG. 4, FIG. 4 is a schematic structural diagram of an access network device 30 provided in this application. As shown in FIG. 4, the access network device 30 may include one or more access network device processors 301, a memory 302, a communication interface 303, a transmitter 305, a receiver 306, a coupler 307, and an antenna 308. These components may be connected through the bus 304 or in other manners, and FIG. 4 takes the connection through the bus as an example. among them:
通信接口303可用于接入网设备30与其他通信设备,例如和终端、中继节点进行通信。具体的,通信接口303可以为有线的通信接口,例如LAN接口。The communication interface 303 may be used for the access network device 30 to communicate with other communication devices, such as a terminal and a relay node. Specifically, the communication interface 303 may be a wired communication interface, such as a LAN interface.
在本申请的一些实施例中,发射器305和接收器306。发射器305可用于对接入网设备处理器301输出的信号进行发射处理,接收器306可用于接收信号。在接入网设备30中,发射器305和接收器306的数量均可以是一个或者多个。In some embodiments of the present application, the transmitter 305 and the receiver 306. The transmitter 305 may be configured to perform transmission processing on a signal output by the access network device processor 301, and the receiver 306 may be configured to receive a signal. In the access network device 30, the number of the transmitters 305 and the receivers 306 may be one or more.
存储器302与接入网设备处理器301耦合,用于存储各种软件程序和/或多组指令。具体的,存储器302可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。The memory 302 is coupled to the access network device processor 301 and is configured to store various software programs and / or multiple sets of instructions. Specifically, the memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
存储器302可以存储操作系统(下述简称系统),例如uCOS、VxWorks、RTLinux等嵌入式操作系统。存储器302还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端设备,一个或多个接入网设备进行通信。The memory 302 may store an operating system (hereinafter referred to as a system), such as an embedded operating system such as uCOS, VxWorks, and RTLinux. The memory 302 may also store a network communication program, which can be used to communicate with one or more additional devices, one or more terminal devices, and one or more access network devices.
本申请实施例中,接入网设备处理器301可用于读取和执行计算机可读指令。具体的,接入网设备处理器301可用于调用存储于存储器302中的程序,例如本申请的一个或多个实施例提供的数据传输方法在接入网设备30侧的实现程序,并执行该程序包含的指令。In the embodiment of the present application, the access network device processor 301 may be configured to read and execute computer-readable instructions. Specifically, the access network device processor 301 may be configured to call a program stored in the memory 302, such as an implementation program of the data transmission method provided by one or more embodiments of this application on the access network device 30 side, and execute the program. The program contains instructions.
这里,接入网设备30可以是图1示出的通信系统100中的接入网设备,接入网设备30可实施为基站收发台,无线收发器,一个基本服务集,一个扩展服务集,NodeB,eNodeB,gNodeB,接入点等等。Here, the access network device 30 may be an access network device in the communication system 100 shown in FIG. 1. The access network device 30 may be implemented as a base transceiver station, a wireless transceiver, a basic service set, and an extended service set. NodeB, eNodeB, gNodeB, access point, etc.
图4所示的接入网设备30仅仅是本申请实施例的一种实现方式,实际应用中,接入网设备30还可以包括更多或更少的部件,这里不作限制。The access network device 30 shown in FIG. 4 is only an implementation manner of the embodiment of the present application. In actual applications, the access network device 30 may further include more or fewer components, which is not limited herein.
参见图5,图5为本申请提供的执行用户面网元功能的设备40的结构示意图。设备40可包括:通信接口401、一个或多个处理器402和存储器403。这些部件可通过总线或者其它方式连接。其中:Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a device 40 for performing a user plane network element function provided by the present application. The device 40 may include a communication interface 401, one or more processors 402, and a memory 403. These components can be connected via a bus or other means. among them:
通信接口401可用于设备40与其他通信设备通信,例如接入网设备、DN中的设备等。具体实现中,通信接口401可包括有线通信接口(例如以太网接口)和无线通信接口。The communication interface 401 may be used for the device 40 to communicate with other communication devices, such as an access network device, a device in a DN, and the like. In specific implementation, the communication interface 401 may include a wired communication interface (such as an Ethernet interface) and a wireless communication interface.
存储器403与处理器402耦合,用于存储各种软件程序和/或多组指令。具体实现中,存储器403可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器403可以存储操作系统,例如uCOS、VxWorks、RTLinux等嵌入式操作系统。存储器403还可以存储网络通信程序,该网络通信程序可用于与核心网中的其他设备、DN中的设备进行通信。The memory 403 is coupled to the processor 402 and is configured to store various software programs and / or multiple sets of instructions. In specific implementation, the memory 403 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 403 may store an operating system, such as an embedded operating system such as uCOS, VxWorks, RTLinux. The memory 403 may also store a network communication program, which can be used to communicate with other devices in the core network and devices in the DN.
在本申请的一些实施例中,存储器403可用于存储本申请的一个或多个实施例提供的数据传输方法在设备40侧的实现程序。关于本申请的一个或多个实施例提供的数据传输方法的实现,请参考后续实施例。In some embodiments of the present application, the memory 403 may be used to store a data transmission method provided by one or more embodiments of the present application on the device 40 side. For the implementation of the data transmission method provided by one or more embodiments of this application, please refer to the subsequent embodiments.
处理器402可用于进行无线信道管理和通信链路的建立和拆除等。处理器402可以是通用处理器,例如中央处理器(central processing unit,CPU),处理器201还可包括硬件芯片,上述硬件芯片可以是以下一种或多种的组合:专用集成电路(application specific integrated circuit,ASIC)、现场可编程逻辑门阵列(field programmable gate array,FPGA),复杂可编程逻辑器件(complex programmable logic device,CPLD)。处理器402可处理通信接口401接收到的数据,处理器402还可处理将被发送到通信接口401以通过有线传输介质传送的数据。The processor 402 may be used to perform wireless channel management, establishment and removal of a communication link, and the like. The processor 402 may be a general-purpose processor, such as a central processing unit (CPU), and the processor 201 may further include a hardware chip. The foregoing hardware chip may be one or more of the following: application specific integrated circuit (application specific integrated circuit (ASIC), field programmable logic gate array (field programmable gate array, FPGA), complex programmable logic device (complex programmable logic device (CPLD)). The processor 402 may process data received by the communication interface 401, and the processor 402 may also process data to be transmitted to the communication interface 401 for transmission through a wired transmission medium.
本申请中,处理器402可用于读取和执行计算机可读指令。具体的,处理器402可用于调用存储于存储器403中的程序,例如本申请的一个或多个实施例提供的数据传输方法在设备40侧的实现程序,并执行该程序包含的指令。In this application, the processor 402 may be used to read and execute computer-readable instructions. Specifically, the processor 402 may be used to call a program stored in the memory 403, such as an implementation program of the data transmission method provided by one or more embodiments of the present application on the device 40 side, and execute instructions included in the program.
这里,设备40可以是图1示出的无线通信系统100中的用于执行用户面网元功能的设备。图5所示的设备40仅仅是本申请的一种实现方式,实际应用中,设备40还可以包括更多或更少的部件,这里不作限制。Here, the device 40 may be a device for performing a user plane network element function in the wireless communication system 100 shown in FIG. 1. The device 40 shown in FIG. 5 is only an implementation manner of the present application. In actual applications, the device 40 may further include more or fewer components, which is not limited herein.
参见图6,图6为本申请提供的用于执行会话管理功能的设备50的结构示意图。如图所示,设备50可包括:通信接口501、一个或多个处理器502和存储器503。这些部件可通过总线或者其它方式连接。其中:Referring to FIG. 6, FIG. 6 is a schematic structural diagram of a device 50 for performing a session management function provided by the present application. As shown, the device 50 may include a communication interface 501, one or more processors 502, and a memory 503. These components can be connected via a bus or other means. among them:
通信接口501可用于设备50与其他通信设备通信,例如宽带远程接入服务器、计费设备等。具体实现中,通信接口501可包括有线通信接口(例如以太网接口)和无线通信接口。The communication interface 501 may be used for the device 50 to communicate with other communication devices, such as a broadband remote access server, a billing device, and the like. In specific implementation, the communication interface 501 may include a wired communication interface (such as an Ethernet interface) and a wireless communication interface.
存储器503与处理器502耦合,用于存储各种软件程序和/或多组指令。具体实现中,存储器503可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器503可以存储操作系统,例如uCOS、VxWorks、RTLinux等嵌入式操作系统。存储器503还可以存储网络通信程序,该网络通信程序可用于与其他核心网设备、DN中的设备进行通信。The memory 503 is coupled to the processor 502 and is configured to store various software programs and / or multiple sets of instructions. In specific implementation, the memory 503 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 503 may store an operating system, such as an embedded operating system such as uCOS, VxWorks, RTLinux, and the like. The memory 503 can also store a network communication program, which can be used to communicate with other core network devices and devices in the DN.
在本申请的一些实施例中,存储器503可用于存储本申请的一个或多个实施例提供的数据传输方法在设备50侧的实现程序。关于本申请的一个或多个实施例提供的数据传输方法的实现,请参考后续实施例。In some embodiments of the present application, the memory 503 may be used to store a data transmission method provided by one or more embodiments of the present application on the device 50 side. For the implementation of the data transmission method provided by one or more embodiments of this application, please refer to the subsequent embodiments.
处理器502可用于进行无线信道管理和通信链路的建立和拆除等。可以是通用处理器,例如CPU,处理器502还可包括硬件芯片,上述硬件芯片可以是以下一种或多种的组合:ASIC、FPGA,CPLD。处理器502可处理通信接口501接收到的数据,处理器502还可处理将被发送到通信接口501以通过有线传输介质传送的数据。The processor 502 may be used to perform wireless channel management, establishment and removal of a communication link, and the like. It may be a general-purpose processor, such as a CPU, and the processor 502 may further include a hardware chip. The above-mentioned hardware chip may be one or more of the following combinations: ASIC, FPGA, and CPLD. The processor 502 may process data received by the communication interface 501, and the processor 502 may also process data to be sent to the communication interface 501 for transmission through a wired transmission medium.
本申请中,处理器502可用于读取和执行计算机可读指令。具体的,处理器502可用于调用存储于存储器503中的程序,例如本申请的一个或多个实施例提供的数据传输方法在设备50侧的实现程序,并执行该程序包含的指令。In this application, the processor 502 may be used to read and execute computer-readable instructions. Specifically, the processor 502 may be configured to call a program stored in the memory 503, such as an implementation program of the data transmission method provided by one or more embodiments of the present application on the device 50 side, and execute instructions included in the program.
这里,设备50可以是图1所示无线通信系统100中用于执行会话管理功能的设备。图6所示的设备50仅仅是本申请的一种实现方式,实际应用中,设备50还可以包括更多或更少的部件,这里不作限制。Here, the device 50 may be a device for performing a session management function in the wireless communication system 100 shown in FIG. 1. The device 50 shown in FIG. 6 is only an implementation manner of the present application. In actual applications, the device 50 may further include more or fewer components, which is not limited herein.
基于前述的通信系统100以及相关装置,为了使得数据传输更为简便,本申请提供了一种数据传输方法。Based on the foregoing communication system 100 and related devices, in order to make data transmission easier, this application provides a data transmission method.
本申请的主要发明原理包括:在图1所示的无线通信系统中结合使用可扩展虚拟局域网(virtual eXtensible local area network,VxLAN)技术,以实现基于3层网络传输2层数据。The main inventive principle of the present application includes: combining the use of an extensible virtual local area network (VXLAN) technology in the wireless communication system shown in FIG. 1 to implement transmission of Layer 2 data based on a Layer 3 network.
这里,VxLAN技术是一种网络虚拟化技术,可基于三层基础网络建立二层虚拟化网络,提供2层网络服务。参见图7A,图7A为VxLAN技术的实现场景图。如图所示,在两个不同的VxLAN网络中,分别部署有主机设备和VXLAN隧道端点(VXLAN tunnel end points,VTEP)。在两个主机设备VM1和VM2通信时,VTEP负责对接收到的数据进行VxLAN封装或解封装。Here, VxLAN technology is a network virtualization technology that can establish a layer 2 virtual network based on a layer 3 basic network and provide layer 2 network services. Referring to FIG. 7A, FIG. 7A is an implementation scenario diagram of VxLAN technology. As shown in the figure, host devices and VXLAN tunnel endpoints (VTEP) are deployed in two different VxLAN networks, respectively. When two host devices VM1 and VM2 communicate, VTEP is responsible for VxLAN encapsulation or decapsulation of the received data.
具体的,VM1生成原始二层数据报文,并将原始二层数据报文发送至VTEP1,VTEP1对原始二层数据报文进行VxLAN封装(即在原始二层报文上增加VxLAN封装信息)并经过3层网络发送至VTEP2,VTEP2接收到数据并对数据进行VxLAN解封装(即去除接收数据中的VxLAN封装信息),VTEP2将解封装后得到的原始二层数据报文发送给VM2。Specifically, VM1 generates original Layer 2 data packets and sends the original Layer 2 data packets to VTEP1. VTEP1 performs VxLAN encapsulation on the original Layer 2 data packets (that is, adds VxLAN encapsulation information to the original Layer 2 packets) and It is sent to VTEP2 through the layer 3 network. VTEP2 receives the data and de-encapsulates the VxLAN data (that is, removes the VxLAN encapsulation information in the received data). VTEP2 sends the original layer 2 data packet obtained after decapsulation to VM2.
参见图7B,图7B为VxLAN报文的结构示意图。Referring to FIG. 7B, FIG. 7B is a schematic structural diagram of a VxLAN packet.
如图所示,在原始报文中,包括内层以太网头(inner Ethernet head)、内层IP头(inner IP header)和负载(payload)。其中,内层以太网头包括通信两端的VM的MAC地址,内层IP端头包括通信两端的VM的IP地址,负载为传输的有效数据。As shown in the figure, the original message includes an inner Ethernet header, an inner IP header, and a payload. The inner Ethernet header includes the MAC addresses of the VMs at both ends of the communication, and the inner IP header includes the IP addresses of the VMs at both ends of the communication. The payload is the effective data transmitted.
如图所示,在VxLAN封装信息中,包括外层以太网头(outer Ethernet header)、外层IP头(outer Ethernet header)、外层用户数据包协议(user datagram protocol,UDP)头(outer UDP header)和VxLAN头(VxLAN header)。其中,外层以太网头包括对数据做VxLAN封装或VxLAN解封装的VTEP的MAC地址,外层IP头包括两个VTEP的IP地址,VxLAN中包括VxLAN标签(例如:VxLAN tag或VxLAN flag)。As shown in the figure, the VxLAN encapsulation information includes an outer Ethernet header, an outer IP header, and an outer user datagram protocol (UDP) header (outer UDP). header) and VxLAN header. Among them, the outer Ethernet header includes the MAC address of the VTEP that is VxLAN-encapsulated or VxLAN-decapsulated data, the outer IP header includes the IP addresses of the two VTEPs, and the VxLAN includes the VxLAN tag (for example: VxLAN tag or VxLAN flag).
在VxLAN封装信息中,VxLAN标签用于标识通信的一端向另一端请求的业务,不同的标签标识不同的业务。也就是说,通信双方使用VxLAN协议传输数据时,传输的VxLAN报文中的VxLAN标签须匹配当前请求的业务。In VxLAN encapsulation information, VxLAN tags are used to identify the service requested by one end of the communication to the other, and different tags identify different services. In other words, when the two communication parties use the VxLAN protocol to transmit data, the VxLAN tag in the transmitted VxLAN packet must match the currently requested service.
下面通过两个实施例详细说明无线通信系统中的哪个网元来实现VTEP功能,以及,该网元实现VTEP功能的详细过程。In the following, two embodiments are described in detail which network element in the wireless communication system implements the VTEP function, and the detailed process of the network element implementing the VTEP function.
(一)实施例一(A) Embodiment 1
本实施例中,由用户面网元实现VTEP功能,对数据做VxLAN封装和VxLAN解封装。In this embodiment, the user plane network element implements the VTEP function, and VxLAN encapsulation and VxLAN decapsulation are performed on the data.
具体的,本申请中,用户面网元可以为图1所示通信系统中的接入网设备,例如基站(如5G RAN、NG RAN中的基站设备)、non-3GPP接入网关(如N3IWF,可信non-3GPP网关,固网接入网关),也可以是图1所示通信系统核心网中执行用户面网元功能(UPF)的设备,或者其他具有用户面数据处理功能的网元。具体实现中,用户面网元可以是图4所示的接入网设备30或图5所示的执行用户面网元功能的设备40。Specifically, in this application, the user plane network element may be an access network device in the communication system shown in FIG. 1, such as a base station (such as a base station device in 5GRAN and NGRAN), a non-3GPP access gateway (such as N3IWF , Trusted non-3GPP gateway, fixed network access gateway), can also be a device that performs the user plane network element function (UPF) in the core network of the communication system shown in Figure 1, or other network elements with user plane data processing functions . In specific implementation, the user plane network element may be an access network device 30 shown in FIG. 4 or a device 40 that performs a user plane network element function shown in FIG. 5.
具体的,本申请中,控制面网元可以为图1所示通信系统核心网中执行控制面网元功能的设备,例如执行AMF、SMF、PCF等的设备,终端设备可以为图1所示通信系统中的终端设备。具体实现中,控制面网元可以是图6所示的用户执行会话管理功能的设备50,终端设备可以是图3所示的终端设备20。Specifically, in this application, the control plane network element may be a device that performs the functions of the control plane network element in the core network of the communication system shown in FIG. 1, for example, a device that executes AMF, SMF, PCF, etc., and the terminal device may be as shown in FIG. Terminal equipment in a communication system. In specific implementation, the control plane network element may be a device 50 for performing a session management function by the user shown in FIG. 6, and the terminal device may be the terminal device 20 shown in FIG. 3.
参见图8,图8为本申请实施例一提供的数据传输方法的流程示意图。如图所示,该数据传输方法可包括如下步骤:Referring to FIG. 8, FIG. 8 is a schematic flowchart of a data transmission method according to Embodiment 1 of the present application. As shown in the figure, the data transmission method may include the following steps:
S101、用户面网元接收来自终端设备或数据网络的用户面数据。S101. A user plane network element receives user plane data from a terminal device or a data network.
本申请中,数据网络为可以为Internet、WAP网站、集团企业内部网络、行业内部专用网络等,可以为终端设备提供各类业务,例如视频业务、网页业务、工业互联网业务等。本申请中,数据网络为VxLAN网络,数据网络中提供各个业务的服务器或者网关为VTEP。In this application, the data network can be the Internet, WAP websites, corporate intranets, industry-specific private networks, etc., and can provide various services for terminal equipment, such as video services, webpage services, and industrial Internet services. In this application, the data network is a VxLAN network, and the server or gateway providing various services in the data network is VTEP.
可选的,一个数据网络可仅为终端设备提供一种业务,也可为终端设备提供多种业务。当一个数据网络为终端设备提供多种业务时,数据网络中可针对每个业务分别部署对应的提供该业务的服务器或网关。Optionally, a data network may provide only one service for terminal equipment, and may also provide multiple services for terminal equipment. When a data network provides multiple services for terminal equipment, a corresponding server or gateway providing the service can be deployed for each service in the data network.
具体的,终端设备向数据网络请求业务时,即终端设备和数据网络通信时所传输的数据可称为用户面数据。在传输用户面数据之前,终端设备和数据网络可利用协议数据单元会话(packet data unit session,PDU session)传输该用户面数据。Specifically, when a terminal device requests a service from a data network, that is, data transmitted when the terminal device communicates with the data network may be referred to as user plane data. Before transmitting user plane data, the terminal device and the data network may transmit the user plane data by using a protocol data unit session (packet data unit session, PDU session).
可选的,由于数据网络可提供一种或多种业务,因此,终端设备和数据网络建立会话后,终端设备可通过该建立的会话向数据网络请求一种或多种业务。也就是说,本申请中的用户面数据可以有以下两种粒度:Optionally, since the data network can provide one or more services, after the terminal device establishes a session with the data network, the terminal device can request one or more services from the data network through the established session. In other words, the user plane data in this application can have the following two granularities:
(1)当数据网络仅提供一种业务时,终端设备通过建立的会话向数据网络请求该业务的过程中所传输的用户面数据可看作是基于会话粒度的。(1) When the data network provides only one service, the user plane data transmitted during the process in which the terminal device requests the service from the data network through the established session can be regarded as being based on session granularity.
(2)当数据网络提供多种业务时,终端设备通过建立的会话向数据网络请求该多种业务的过程中所传输的用户面数据可看作是基于业务粒度的。即终端设备和数据网络建立会话后,终端设备在请求不同业务的过程中所传输的数据可看作基于不同业务的用户面数据。(2) When the data network provides multiple services, the user plane data transmitted during the process in which the terminal device requests the data network for the multiple services through the established session can be regarded as being based on service granularity. That is, after the terminal device establishes a session with the data network, the data transmitted by the terminal device in the process of requesting different services can be regarded as user plane data based on different services.
本申请中,终端设备和数据网络传输用户面数据的过程可分为上行(即终端设备向数据网络传输数据)和下行(即数据网络向终端设备传输数据),对应的,用户面数据也可分为上行用户面数据(即终端设备向数据网络传输的数据)和下行用户面数据(即数据网络向终端设备传输的数据)。本申请中,用户面数据会经由用户面网元进行传输,因此,用户面网元可接收来自终端设备的上行用户面数据,也可接收来自数据网络的下行用户面数据。In this application, the process of transmitting user plane data by the terminal device and the data network can be divided into uplink (that is, the terminal device transmits data to the data network) and downlink (that is, the data network transmits data to the terminal device). Correspondingly, the user plane data can also be transmitted. It is divided into uplink user plane data (that is, data transmitted by the terminal device to the data network) and downlink user plane data (that is, data transmitted by the data network to the terminal device). In this application, user plane data is transmitted through the user plane network element. Therefore, the user plane network element can receive uplink user plane data from the terminal device, and can also receive downlink user plane data from the data network.
其中,用户面网元接收到的来自终端设备的上行用户面数据是2层数据,其数据格式可参照图7B中的原始报文部分;用户面网元接收到的来自数据网络的下行用户面数据经过数据 网络的VxLAN封装,其数据格式可参照图7B中的VxLAN报文。Among them, the uplink user plane data received by the user plane network element from the terminal device is Layer 2 data, and its data format can refer to the original message part in FIG. 7B; The data is encapsulated by the VxLAN of the data network, and its data format can refer to the VxLAN message in FIG. 7B.
S102、用户面网元使用VxLAN封装信息对用户面数据进行VxLAN封装或VxLAN解封装。S102. The user plane network element uses VxLAN encapsulation information to perform VxLAN encapsulation or VxLAN decapsulation of user plane data.
具体的,用户面网元使用VxLAN封装信息对来自终端设备的上行用户面数据进行VxLAN封装,即对来自终端设备的2层数据添加VxLAN信息;用户面网元使用VxLAN封装信息对来自数据网络的下行用户面数据进行VxLAN解封装,即去除来自数据网络的下行用户面数据中的VxLAN封装信息。Specifically, the user plane network element uses the VxLAN encapsulation information to perform VxLAN encapsulation on the uplink user plane data from the terminal device, that is, to add VxLAN information to the layer 2 data from the terminal device; the user plane network element uses the VxLAN encapsulation information to The downlink user plane data is decapsulated by VxLAN, that is, the VxLAN encapsulation information in the downlink user plane data from the data network is removed.
可选的,在步骤S102之前,用户面网元可接收控制面网元发送的VxLAN封装指示信息,该VxLAN封装指示信息用于指示用户面网元对用户面数据进行VxLAN封装或VxLAN解封装。这里,VxLAN封装指示信息可以被携带在任意一个控制面网元发送给用户面网元的消息中,VxLAN封装指示信息的形式可以有多种,例如可以是一个比特位取值为“1”等,本申请不作限制。Optionally, before step S102, the user plane network element may receive VxLAN encapsulation instruction information sent by the control plane network element, and the VxLAN encapsulation instruction information is used to instruct the user plane network element to perform VxLAN encapsulation or VxLAN decapsulation of the user plane data. Here, the VxLAN encapsulation instruction information may be carried in a message sent by any control plane network element to the user plane network element. The form of the VxLAN encapsulation instruction information may be various, for example, a bit value may be "1", etc. This application is not restricted.
可选的,在步骤S102之前,用户面网元确定用于对用户面数据做处理的VxLAN封装信息。可理解的,VxLAN封装信息和终端设备与数据网络之间的通信情况(例如终端设备请求的业务、数据网络中提供该业务的服务器等)相匹配,VxLAN封装信息的获取方式至少包括以下两种:Optionally, before step S102, the user plane network element determines VxLAN encapsulation information for processing user plane data. Understandably, the VxLAN encapsulation information matches the communication between the terminal device and the data network (for example, the service requested by the terminal device, the server providing the service in the data network, etc.). The VxLAN encapsulation information can be obtained in at least two ways: :
(1)用户面网元根据地址信息和VxLAN封装信息的对应关系,确定接收到的用户面数据对应的VxLAN封装信息。(1) The user plane network element determines the VxLAN encapsulation information corresponding to the received user plane data according to the correspondence between the address information and the VxLAN encapsulation information.
具体的,参见图7B中的原始报文,用户面网元接收到的用户面数据中携带有通信两端的完整地址信息,包括终端设备的IP地址和MAC地址、数据网络中和该终端设备通信的设备的IP地址和MAC地址。Specifically, referring to the original message in FIG. 7B, the user plane data received by the user plane network element carries the complete address information of both ends of the communication, including the IP address and MAC address of the terminal device, and communicates with the terminal device in the data network. IP address and MAC address of the device.
可选的,用户面网元可存储地址信息和VxLAN封装信息的对应关系,并根据该对应关系确定接收到的用户面数据中的地址信息对应的VxLAN封装信息,即确定用户面数据对应的VxLAN封装信息。这里,地址信息可包括原始报文中携带的以下至少一项:终端设备的IP地址、终端设备的MAC地址、数据网络中和该终端设备通信的设备的IP地址或MAC地址。Optionally, the user plane network element may store the correspondence between the address information and the VxLAN encapsulation information, and determine the VxLAN encapsulation information corresponding to the address information in the received user plane data according to the correspondence, that is, determine the VxLAN corresponding to the user plane data. Package information. Here, the address information may include at least one of the following carried in the original message: the IP address of the terminal device, the MAC address of the terminal device, and the IP address or MAC address of the device in the data network that communicates with the terminal device.
这里,地址信息和VxLAN封装信息的对应关系可由用户面网元根据实际情况预先存储。参见表1,表1示出了一种可能的地址信息和VxLAN封装信息的对应关系。在表1中,地址信息为数据网络中和该终端设备通信的设备的MAC地址,对应的VxLAN封装信息包括和该终端设备请求的业务对应的VxLAN标签。Here, the correspondence between the address information and the VxLAN encapsulation information can be stored in advance by the user plane network element according to the actual situation. Referring to Table 1, Table 1 shows a possible correspondence between address information and VxLAN encapsulation information. In Table 1, the address information is the MAC address of the device communicating with the terminal device in the data network, and the corresponding VxLAN encapsulation information includes the VxLAN tag corresponding to the service requested by the terminal device.
地址信息Address information VxLAN封装信息VxLAN package information
MAC 1MAC 1 VxLAN tag 1 VxLAN tag 1
MAC 2 MAC 2 VxLAN tag 2 VxLAN tag 2
MAC 3MAC 3 VxLAN tag 3VxLAN tag 3
... ...
表1Table 1
(2)用户面网元接收控制面网元发送的VxLAN封装信息或VxLAN封装信息的指示信息,VxLAN封装信息的指示信息用于用户面网元确定VxLAN封装信息。(2) The user plane network element receives the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information sent by the control plane network element, and the indication information of the VxLAN encapsulation information is used by the user plane network element to determine the VxLAN encapsulation information.
具体的,在第(2)种获取方式中,由控制面网元确定和终端设备与数据网络之间的通信情况相匹配的VxLAN封装信息,并将确定的VxLAN封装信息或VxLAN封装信息的指示信息发送给用户面网元。这里,控制面网元确定VxLAN封装信息的具体操作步骤可参照后续实施例的相关描述,在此不赘述。Specifically, in the (2) acquisition method, the control plane network element determines the VxLAN encapsulation information that matches the communication between the terminal device and the data network, and indicates the determined VxLAN encapsulation information or VxLAN encapsulation information. The information is sent to the user plane network element. Here, the specific operation steps of the control plane network element to determine the VxLAN encapsulation information may refer to the related description of the subsequent embodiments, and are not described herein again.
可选的,VxLAN封装信息的指示信息可以为VxLAN封装信息的索引值。控制面网元和用户面网元可存储相同的VxLAN封装信息和索引值的对应关系,控制面网元确定用于处理用户面数据的VxLAN封装信息后,可将索引值发送给用户面网元,用户面网元根据索引值即可确定用于处理用户面数据的VxLAN封装信息。Optionally, the indication information of the VxLAN encapsulation information may be an index value of the VxLAN encapsulation information. The control plane network element and the user plane network element can store the same correspondence between the VxLAN encapsulation information and the index value. After the control plane network element determines the VxLAN encapsulation information for processing the user plane data, the index value can be sent to the user plane network element. , The user plane network element can determine the VxLAN encapsulation information for processing the user plane data according to the index value.
在上述两种获取VxLAN封装信息的方式中,VxLAN封装信息的具体内容可参照图7B。可理解的,VxLAN封装信息中的部分信息可以是用户面网元自身已有的信息,例如图7B中外部以太网头中的用户面网元MAC地址等,还有部分信息可通过上述两种方式获取,该部分信息至少包括:和终端设备当前请求的业务相对应的VxLAN标签,和/或,数据网络中提供该业务的服务器的IP地址、MAC地址。其中,和终端设备当前请求的业务相对应的VxLAN标签是数据网络中用于标识业务的信息,在同一数据网络中,不同的业务对应不同的VxLAN标签,在不同的数据网络中,同一业务对应的VxLAN标签也可能不同,本申请不作限制。In the above two methods for obtaining VxLAN encapsulation information, the specific content of the VxLAN encapsulation information can refer to FIG. 7B. Understandably, some of the information in the VxLAN encapsulation information may be information already existing on the user plane network element itself, such as the user plane network element MAC address in the external Ethernet header in FIG. 7B. The information is obtained in a manner of at least: a VxLAN tag corresponding to a service currently requested by the terminal device, and / or an IP address and a MAC address of a server providing the service in a data network. The VxLAN tag corresponding to the service currently requested by the terminal device is information used to identify the service in the data network. In the same data network, different services correspond to different VxLAN tags. In different data networks, the same service corresponds. The VxLAN tags may also be different, and this application is not limited.
可选的,用户面网元还可接收控制面网元发送的和VxLAN封装信息相对应的策略信息。其中,该策略信息包括以下至少一项:针对终端设备的计费策略、QoS控制策略或分流策略。用户面网元接收到对应的策略信息后,在使用该VxLAN封装信息处理用户面数据时,可根据该策略信息执行相应的操作。Optionally, the user plane network element may also receive the policy information corresponding to the VxLAN encapsulation information sent by the control plane network element. The policy information includes at least one of the following: charging policies, QoS control policies, or offload policies for terminal devices. After the user plane network element receives the corresponding policy information, when using the VxLAN encapsulation information to process the user plane data, it can perform corresponding operations according to the policy information.
通过实施例一,用户面网元实现VTEP功能,对用户面数据做VxLAN封装和VxLAN解封装,可基于传统的3层网络传输2层数据。在实施图8所示的的数据传输方法过程中,终端设备不会感知到3层网络,终端设备所传输的数据为2层数据,简化了数据传输过程,可为用户提供更多的业务。According to the first embodiment, the user plane network element implements the VTEP function, performs VxLAN encapsulation and VxLAN decapsulation on user plane data, and can transmit layer 2 data based on a traditional layer 3 network. During the implementation of the data transmission method shown in FIG. 8, the terminal device will not perceive the layer 3 network, and the data transmitted by the terminal device is layer 2 data, which simplifies the data transmission process and can provide users with more services.
(二)实施例二(Two) embodiment two
本实施例中,由终端设备实现VTEP功能,对数据做VxLAN封装和VxLAN解封装。In this embodiment, the terminal device implements the VTEP function, and VxLAN encapsulation and VxLAN decapsulation are performed on the data.
具体的,本实施例中,终端设备、用户面网元和控制面网元的实现和实施例一中相同,可参照相关描述。Specifically, in this embodiment, the implementation of the terminal device, the user plane network element, and the control plane network element is the same as that in the first embodiment, and reference may be made to related descriptions.
参见图9,图9为本申请实施例二提供的数据传输方法的流程示意图。如图所示,该数据传输方法可包括如下步骤:Referring to FIG. 9, FIG. 9 is a schematic flowchart of a data transmission method provided in Embodiment 2 of the present application. As shown in the figure, the data transmission method may include the following steps:
S201、终端设备确定VxLAN封装信息。S201. The terminal device determines VxLAN encapsulation information.
具体的,若和终端设备通信的数据网络为VxLAN网络,则终端设备可在传输用户面数据之前,确定用于处理用户面数据的VxLAN封装信息。这里,终端设备确定的VxLAN封装信息和终端设备与数据网络之间的通信情况(例如终端设备请求的业务、数据网络中提供该业务的服务器等)相匹配,和实施例一类似,VxLAN封装信息的获取方式至少包括以下两种:Specifically, if the data network that communicates with the terminal device is a VxLAN network, the terminal device may determine the VxLAN encapsulation information for processing the user plane data before transmitting the user plane data. Here, the VxLAN encapsulation information determined by the terminal device matches the communication between the terminal device and the data network (such as the service requested by the terminal device, the server providing the service in the data network, etc.). Similar to the first embodiment, the VxLAN encapsulation information Can be obtained in at least the following two ways:
(1)终端设备确定请求的业务对应的VxLAN封装信息。(1) The terminal device determines VxLAN encapsulation information corresponding to the requested service.
具体的,终端设备可存储数据网络中提供的各个业务以及该各个业务分别对应的VxLAN封装信息。终端设备向数据网络请求业务时,可根据存储的对应关系确定请求的业务对应的VxLAN封装信息。Specifically, the terminal device may store each service provided in the data network and VxLAN encapsulation information corresponding to each service. When a terminal device requests a service from a data network, it can determine the VxLAN encapsulation information corresponding to the requested service according to the stored correspondence relationship.
参见表2,表2示出了一种可能的数据网络中提供的业务和VxLAN封装信息的对应关系。在表2中,VxLAN封装信息包括VxLAN标签。Referring to Table 2, Table 2 shows a correspondence between a service provided in a possible data network and VxLAN encapsulation information. In Table 2, the VxLAN package information includes VxLAN tags.
数据网络中提供的业务Services provided in the data network VxLAN封装信息VxLAN package information
业务1Business 1 VxLAN tag 1 VxLAN tag 1
业务2 Business 2 VxLAN tag 2 VxLAN tag 2
业务3Business 3 VxLAN tag 3VxLAN tag 3
... ...
表2Table 2
可选的,由终端设备通过第(1)种方式确定VxLAN封装信息的情况下,终端设备还可向控制面网元发送确定的该VxLAN封装信息,该VxLAN封装信息用于确定VxLAN封装信息对应的策略信息。具体的,控制面网元接收到VxLAN封装信息后,可将和该VxLAN封装信息对应的策略信息发送给用户面网元,以使用户面网元在接收到携带有该VxLAN封装信息的用户面数据时,根据对应的策略信息执行相应的操作。这里,策略信息可包括以下至少一项:针对终端设备的计费策略、QoS控制策略或分流策略。Optionally, when the terminal device determines the VxLAN encapsulation information through the first method, the terminal device may also send the determined VxLAN encapsulation information to the control plane network element, and the VxLAN encapsulation information is used to determine the correspondence between the VxLAN encapsulation information Strategy information. Specifically, after receiving the VxLAN encapsulation information, the control plane network element may send the policy information corresponding to the VxLAN encapsulation information to the user plane network element, so that the user plane network element receives the user plane carrying the VxLAN encapsulation information. When performing data, perform corresponding operations according to the corresponding policy information. Here, the policy information may include at least one of the following: a charging policy for a terminal device, a QoS control policy, or an offload policy.
(2)终端设备向控制面网元发送请求业务的业务标识和/或第一指示信息;第一指示信息用于指示传输该业务时使用的协议为VxLAN协议;终端设备接收来自控制面网元的VxLAN封装信息或VxLAN封装信息的指示信息,VxLAN封装信息的指示信息用于终端设备确定VxLAN封装信息。(2) The terminal device sends a service identification and / or first instruction information for the requested service to the control plane network element; the first instruction information is used to indicate that the protocol used when transmitting the service is the VxLAN protocol; the terminal device receives the control plane network element The VxLAN encapsulation information or the indication information of the VxLAN encapsulation information, and the indication information of the VxLAN encapsulation information is used for the terminal device to determine the VxLAN encapsulation information.
具体的,在第(2)种获取方式中,终端设备首先向控制面发送请求业务的业务标识和/或第一指示信息。Specifically, in the obtaining method (2), the terminal device first sends a service identifier and / or first indication information of the requested service to the control plane.
其中,当数据网络仅提供一种业务时,终端设备请求业务的业务标识可以为该数据网络的网络名称(data network name,DNN),控制面网元可根据DNN获知终端设备请求的业务为数据网络唯一提供的业务。当数据网络提供多种业务时,终端设备请求业务的业务标识可以为数据网络中用于区分不同业务的业务标识,控制面网元可根据该业务标识获知终端设备向哪个数据网络请求业务以及请求的哪一种业务。When the data network provides only one service, the service identifier of the terminal device requesting the service may be the data network name (DNN) of the data network, and the control plane network element may learn that the service requested by the terminal device is data according to the DNN. The only service provided by the network. When the data network provides multiple services, the service identifier of the terminal device requesting the service can be a service identifier used to distinguish different services in the data network. The control plane network element can know which data network the terminal device requests for service from and the request based on the service identifier. Which kind of business.
其中,第一指示信息用于指示传输终端设备请求的业务时使用的协议为VxLAN协议。可选的,第一指示信息可以为终端设备向数据网络请求业务之前和该数据网络建立的会话(即用于传输用户面数据的会话)的会话类型,并且,该会话类型为基于IP的VxLAN会话(VxLAN over IP)。可选的,第一指示信息还可以为VxLAN协议指示信息(VxLAN indication),该VxLAN协议指示信息的形式可以有多种,本申请不作限制。可选的,第一指示信息还可以为数据网络的标识信息,并且,该数据网络为VxLAN网络。这里,数据网络的标识信息可以为DNN。The first instruction information is used to indicate that a protocol used when transmitting a service requested by the terminal device is a VxLAN protocol. Optionally, the first indication information may be a session type of a session established with the data network (that is, a session for transmitting user plane data) before the terminal device requests a service from the data network, and the session type is IP-based VxLAN Session (VxLAN over IP). Optionally, the first indication information may also be VxLAN protocol indication information (VxLAN indication). The form of the VxLAN protocol indication information may be various, which is not limited in this application. Optionally, the first indication information may also be identification information of a data network, and the data network is a VxLAN network. Here, the identification information of the data network may be a DNN.
可理解的,当终端设备仅向控制面网元发送了请求业务的业务标识或第一指示信息时,控制面网元可通过其他方式获取另一项信息,例如可在终端设备和数据网络建立会话的过程中获取另一项信息等。Understandably, when the terminal device only sends the service identification or the first indication information of the requested service to the control plane network element, the control plane network element can obtain another piece of information through other methods, for example, it can be established on the terminal device and the data network. Get another piece of information, etc. during the conversation.
在第(2)种获取方式中,控制面网元通过终端设备请求业务的业务标识和第一指示信息,可获知终端设备需使用VxLAN协议传输业务,并且可获知终端设备向哪个数据网络请求业务以及请求的哪一种业务。控制面网元获知上述信息后,可确定和终端设备与数据网络之间的通信情况相匹配的VxLAN封装信息,并将确定的VxLAN封装信息或VxLAN封装信息的指示信息发送给终端设备。其中,VxLAN封装信息的指示信息和实施例一中相同,可参照相关描述。这里,控制面网元确定VxLAN封装信息的具体操作步骤可参照后续实施例的相关描述,在此不赘述。In the (2) acquisition method, the control plane network element requests the service identifier and the first instruction information of the service through the terminal device, and can know that the terminal device needs to use VxLAN protocol to transmit the service, and can know which data network the terminal device requests the service from. And which business is requested. After the control plane network element learns the above information, it can determine VxLAN encapsulation information that matches the communication between the terminal device and the data network, and send the determined VxLAN encapsulation information or VxLAN encapsulation information to the terminal device. The indication information of the VxLAN encapsulation information is the same as that in the first embodiment, and reference may be made to related descriptions. Here, the specific operation steps of the control plane network element to determine the VxLAN encapsulation information may refer to the related description of the subsequent embodiments, and are not described herein again.
在上述两种获取VxLAN封装信息的方式中,VxLAN封装信息的具体内容可参照图7B。可理解的,VxLAN封装信息中的部分信息可以是是终端设备自身已有的信息,例如图7B中外部以太网头中的终端设备MAC地址等,还有部分信息可通过上述两种方式获取,该部分信息至 少包括:和终端设备当前请求的业务相对应的VxLAN标签,和/或,数据网络中提供该业务的服务器的IP地址及MAC地址。In the above two methods for obtaining VxLAN encapsulation information, the specific content of the VxLAN encapsulation information can refer to FIG. 7B. Understandably, part of the information in the VxLAN encapsulation information may be information already existing in the terminal device itself, such as the MAC address of the terminal device in the external Ethernet header in FIG. 7B, and some of the information may be obtained through the above two methods. The partial information includes at least: a VxLAN tag corresponding to the service currently requested by the terminal device, and / or, an IP address and a MAC address of a server providing the service in the data network.
可理解的,本实施例中,数据网络的具体实现、用户面数据的定义和实施例一中相同,可参照相关描述。It can be understood that in this embodiment, the specific implementation of the data network and the definition of user plane data are the same as those in the first embodiment, and reference may be made to related descriptions.
S202、终端设备使用VxLAN封装信息,对发送的用户面数据或来自数据网络的用户面数据进行VxLAN封装或VxLAN解封装。S202. The terminal device uses VxLAN encapsulation information to perform VxLAN encapsulation or VxLAN decapsulation on the user plane data sent or the user plane data from the data network.
本实施例中,终端设备处理的用户面数据有以下3种可能的形式:In this embodiment, the user plane data processed by the terminal device has the following three possible forms:
(1)终端设备生成的用户面数据。(1) User plane data generated by a terminal device.
在这种情况下,终端设备作为和数据网络通信的一端,在上行传输过程(即终端设备向数据网络传输数据)中直接生成用户面数据。这里,终端设备生成的用户面数据为2层数据,其数据格式可参照图7B中的原始报文部分。In this case, the terminal device, as an end communicating with the data network, directly generates user plane data in the uplink transmission process (that is, the terminal device transmits data to the data network). Here, the user plane data generated by the terminal device is layer 2 data, and its data format can refer to the original message part in FIG. 7B.
(2)终端设备接收到的其他远端终端设备发送的用户面数据。(2) The user plane data received by the terminal equipment from other remote terminal equipment.
在这种情况下,终端设备作为其他远端终端设备和数据网络通信过程中的中继站点,在上行传输过程(即其他远端终端设备向数据网络传输数据)中接收其他远端终端设备发送的用户面数据。这里,其他远端终端设备发送的用户面数据为2层数据,其数据格式可参照图7B中的原始报文部分。In this case, the terminal device, as a relay station in the communication process between other remote terminal devices and the data network, receives the data sent by other remote terminal devices in the uplink transmission process (that is, the other remote terminal device transmits data to the data network). User plane data. Here, the user plane data sent by other remote terminal equipment is layer 2 data, and its data format can refer to the original message part in FIG. 7B.
(3)来自数据网络的用户面数据。(3) User plane data from the data network.
在这种情况下,终端设备可作为和数据网络通信的一端,或者,终端设备可作为其他远端终端设备和数据网络通信过程中的中继站点,在下行传输过程中接收来自数据网络的用户面数据。这里,来自数据网络的用户面数据经过数据网络的VxLAN封装,其数据格式可参照图7B中的VxLAN报文。In this case, the terminal device can be used as an end to communicate with the data network, or the terminal device can be used as a relay station during communication between other remote terminal devices and the data network, and receive the user plane from the data network during downlink transmission. data. Here, the user plane data from the data network is encapsulated by the VxLAN of the data network, and its data format can refer to the VxLAN message in FIG. 7B.
具体的,终端设备使用在步骤S201中确定的VxLAN封装信息对上述第(1)、(2)种用户面数据进行VxLAN封装,即对第(1)、(2)种2层数据添加VxLAN信息;终端设备使用在步骤S201中确定的VxLAN封装信息对第(3)种数据进行VxLAN解封装,即去除来自数据网络的用户面数据中的VxLAN封装信息。Specifically, the terminal device uses the VxLAN encapsulation information determined in step S201 to perform VxLAN encapsulation on the above-mentioned (1) and (2) user plane data, that is, adding VxLAN information to the (1) and (2) layer 2 data ; The terminal device uses the VxLAN encapsulation information determined in step S201 to perform VxLAN decapsulation on the third type of data, that is, remove the VxLAN encapsulation information in the user plane data from the data network.
通过实施例二,终端设备实现VTEP功能,对用户面数据做VxLAN封装和VxLAN解封装,可基于传统的3层网络传输2层数据,简化了数据传输过程,可为用户提供更多的业务。Through the second embodiment, the terminal device implements the VTEP function, performs VxLAN encapsulation and VxLAN decapsulation on user plane data, and can transmit layer 2 data based on a traditional layer 3 network, which simplifies the data transmission process and can provide users with more services.
可选的,结合实施例一和实施例二,在终端设备和数据网络通信的过程中,若执行VTEP功能的终端设备或用户面网元获知了数据网络中和用户面数据对应的VTEP的IP地址,但MAC地址未知时,执行VTEP动能的终端设备或用户面网元可向数据网络发送地址解析协议(address resoloution protocol,ARP)包。这里,终端设备或用户面网元发送ARP包的过程和发送用户面数据的不同之处在于,对ARP包做VxLAN封装时,VxLAN封装信息中的数据网络中的VTEP的MAC地址为空,或者,被替换成多播组MAC地址。因此,数据网络中的所有VTEP都可接收到该ARP包,并将ARP包中的VTEP的IP地址和自己的IP地址进行匹配,若匹配成功,则向终端设备或用户面网元发送ARP应答包,ARP应答包携带有匹配成功的VTEP的MAC地址。Optionally, in combination with the first embodiment and the second embodiment, during the communication between the terminal device and the data network, if the terminal device or user plane network element that performs the VTEP function learns the IP of the VTEP corresponding to the user plane data in the data network When the address, but the MAC address is unknown, the terminal device or user plane network element that executes VTEP kinetic energy can send an address resolution protocol (ARP) packet to the data network. Here, the difference between the process of sending ARP packets by the terminal device or user plane network element and sending user plane data is that when VxLAN encapsulation is performed on the ARP packet, the MAC address of the VTEP in the data network in the VxLAN encapsulation information is empty, or Is replaced with the multicast group MAC address. Therefore, all VTEPs in the data network can receive the ARP packet and match the IP address of the VTEP in the ARP packet with its own IP address. If the match is successful, it sends an ARP response to the terminal device or user plane network element. Packet, the ARP response packet carries the MAC address of the successfully matched VTEP.
终端设备或用户面网元接收到ARP应答包后,可获知数据网络中和用户面数据对应的VTEP的MAC地址,因此,终端设备或用户面网元可获知和用户面数据对应的VxLAN封装信息,可使用该VxLAN封装信息对用户面数据进行VxLAN封装或VxLAN解封装。After receiving the ARP response packet, the terminal device or user plane network element can obtain the MAC address of the VTEP corresponding to the user plane data in the data network. Therefore, the terminal device or user plane network element can obtain the VxLAN encapsulation information corresponding to the user plane data. , VxLAN encapsulation or VxLAN decapsulation of user plane data can be performed using the VxLAN encapsulation information.
上述通过两个实施例详细描述了本申请的数据传输方法,下面通过实施例三详细描述实施例一和实施例二中由控制面网元确定VxLAN封装信息的具体过程。The data transmission method of the present application has been described in detail through the two embodiments described above. The specific process of determining the VxLAN encapsulation information by the control plane network element in the first and second embodiments is described in detail through the third embodiment.
(三)实施例三(Three) embodiment three
本实施例中,由控制面网元确定VxLAN封装信息,并将确定的VxLAN封装信息或VxLAN封装信息的指示信息发送给终端设备或用户面网元,以使得用户面网元执行实施例一中的数据传输方法,终端设备执行实施例二中的数据传输方法。In this embodiment, the control plane network element determines the VxLAN encapsulation information, and sends the determined VxLAN encapsulation information or the indication information of the VxLAN encapsulation information to the terminal device or the user plane network element, so that the user plane network element executes the first embodiment. For the data transmission method, the terminal device executes the data transmission method in the second embodiment.
具体的,本实施例中,控制面网元的实现和实施例一中相同,可参照相关描述。Specifically, in this embodiment, the implementation of the control plane network element is the same as that in the first embodiment, and reference may be made to related descriptions.
参见图10,图10为本申请提供的另一种数据传输方法的流程示意图。如图所示,该数据传输方法可包括如下步骤:Referring to FIG. 10, FIG. 10 is a schematic flowchart of another data transmission method provided by the present application. As shown in the figure, the data transmission method may include the following steps:
S301、控制面网元接收终端设备请求业务的业务标识和/或接收来自所述终端设备的第一指示信息,该第一指示信息用于指示传输用户面数据时使用的协议为VxLAN协议。S301. The control plane network element receives a service identifier of a service requested by a terminal device and / or receives first indication information from the terminal device, where the first indication information is used to indicate that a protocol used when transmitting user plane data is a VxLAN protocol.
本实施例中,步骤S301的实现和实施例二步骤S201中第(2)种VxLAN封装信息的获取方式相同,可参照相关描述。In this embodiment, the implementation of step S301 is the same as the method for obtaining the VxLAN encapsulation information in step (2) of the second embodiment in step S201, and reference may be made to related descriptions.
可理解的,本实施例中,数据网络的具体实现、用户面数据的定义和实施例一中相同,可参照相关描述。It can be understood that in this embodiment, the specific implementation of the data network and the definition of user plane data are the same as those in the first embodiment, and reference may be made to related descriptions.
S302、控制面网元根据终端设备请求业务的业务标识,确定和该请求业务对应的VxLAN封装信息。S302. The control plane network element determines the VxLAN encapsulation information corresponding to the requested service according to the service identifier of the requested service of the terminal device.
具体的,控制面网元根据终端设备请求业务的业务标识,从至少一个VxLAN封装信息中确定和终端设备请求业务相对应的VxLAN封装信息。这里,该至少一个VxLAN封装信息可以是数据网络提供的业务中,全部或部分业务分别对应的VxLAN封装信息,也可以是终端设备被允许访问的业务对应的VxLAN封装信息,本申请不作限制。Specifically, the control plane network element determines the VxLAN encapsulation information corresponding to the service requested by the terminal device from the at least one VxLAN encapsulation information according to the service identifier of the service requested by the terminal device. Here, the at least one VxLAN encapsulation information may be VxLAN encapsulation information corresponding to all or part of the services provided by the data network, or may be VxLAN encapsulation information corresponding to services to which the terminal device is allowed to access, which is not limited in this application.
可选的,控制面网元根据业务标识确定和终端设备请求业务对应的VxLAN封装信息之前,需确定上述的至少一个VxLAN封装信息。本实施例中,确定该至少一个VxLAN封装信息的方式至少包括以下3种:Optionally, before the control plane network element determines the VxLAN encapsulation information corresponding to the service requested by the terminal device according to the service identifier, it is necessary to determine at least one of the above VxLAN encapsulation information. In this embodiment, the manner of determining the at least one VxLAN encapsulation information includes at least the following three methods:
(1)控制面网元根据终端设备的信息确定该至少一个VxLAN封装信息。(1) The control plane network element determines the at least one VxLAN encapsulation information according to the information of the terminal device.
本实施例中,控制面网元可通过多种方式获取终端设备的信息。例如,控制面网元可在终端设备附着到核心网的过程中获取终端设备的信息。又例如,控制面网元可在终端设备和数据网络建立会话的过程中,接收终端设备通过AMF发送的会话建立请求消息(PDU Session Establishment Request),从会话建立请求消息中获取终端设备的信息。In this embodiment, the control plane network element can obtain the information of the terminal device in multiple ways. For example, the control plane network element may obtain the information of the terminal device during the process of attaching the terminal device to the core network. For another example, during the process of establishing a session between the terminal device and the data network, the control plane network element may receive a session establishment request message (PDU Session Establishment Request) sent by the terminal device through the AMF, and obtain information about the terminal device from the session establishment request message.
具体的,终端的信息可包括终端设备的设备标识。在第(1)种确定方式中,控制面网元可以通过设备标识唯一确定终端设备,设备标识可以为国际移动用户识别码(international mobile subscriber identification number,IMSI)等。Specifically, the information of the terminal may include a device identifier of the terminal device. In the (1) determination method, the control plane network element can uniquely determine the terminal device through the device identification, and the device identification can be an international mobile subscriber identification number (IMSI).
可选的,终端的信息还可包括以下至少一项:数据网络的标识信息、终端设备的位置信息、传输用户面数据的会话的会话类型、终端设备的网络切片选择辅助信息(network slice selection assistance information,S-NSSAI)、终端设备请求的数据网络的局域网标识(5GLAN ID)、终端设备连接的接入网类型或终端设备连接接入网时使用的接入技术。其中,传输用户面数据的会话的会话类型可以为以太网类型(Ethernet)或基于IP的VxLAN会话等;接入网类型可以为3GPP接入网、可信非3GPP接入网、不可信非3GPP接入网等,接入技术可以为WLAN、Wimax等;终端请求的数据网络的5GLAN ID用于标识该数据网络,和数据网络的标识信息的作用类似。Optionally, the terminal information may further include at least one of the following: identification information of the data network, location information of the terminal device, session type of a session transmitting user plane data, and network slice selection assistance information of the terminal device (network slice selection assistance information) information (S-NSSAI), the local area network identification (5GLAN ID) of the data network requested by the terminal device, the type of access network to which the terminal device is connected, or the access technology used when the terminal device is connected to the access network. The session type of a session transmitting user plane data may be an Ethernet type or an IP-based VxLAN session. The access network type may be a 3GPP access network, a trusted non-3GPP access network, or an untrusted non-3GPP. The access network can be WLAN, Wimax, etc. The 5GLAN ID of the data network requested by the terminal is used to identify the data network, and its role is similar to the identification information of the data network.
具体的,终端的信息不同时,对应有不同的VxLAN封装信息。例如,当终端处于第一区域时,终端被允许访问数据网络中的业务1,当终端处于第二区域时,终端被允许访问业务2。又例如,当终端连接的接入网类型为可信3GPP接入网时,终端被允许访问数据网络中的业务1和业务2,当终端连接的接入网类型为不可信非3GPP接入网时,终端被允许访问数据网络中的业务3。Specifically, when the information of the terminals is different, there is corresponding VxLAN encapsulation information. For example, when the terminal is in the first area, the terminal is allowed to access Service 1 in the data network, and when the terminal is in the second area, the terminal is allowed to access Service 2. As another example, when the type of the access network connected to the terminal is a trusted 3GPP access network, the terminal is allowed to access services 1 and 2 in the data network. When the type of the access network connected to the terminal is an untrusted non-3GPP access network At the same time, the terminal is allowed to access services in the data network3.
本实施例中,控制面网元可预先存储不同终端设备的信息分别对应的至少一个VxLAN封装信息,控制面网元可根据终端设备的信息确定该至少一个VxLAN封装信息。In this embodiment, the control plane network element may store at least one VxLAN encapsulation information corresponding to the information of different terminal devices in advance, and the control plane network element may determine the at least one VxLAN encapsulation information according to the information of the terminal device.
(2)控制面网元向数据网络中的认证服务器发送终端设备的信息,控制面网元接收该认证服务器发送的至少一个VxLAN封装信息。(2) The control plane network element sends the information of the terminal device to the authentication server in the data network, and the control plane network element receives at least one VxLAN encapsulation information sent by the authentication server.
在第(2)种确定方式中,终端设备的信息和第(1)中确定方式中类似,不同之处在于,终端设备的设备标识用于数据网络唯一确定终端设备,可以是数据网络分配给终端设备的标识,例如用户设备永久标识(subscription permanent identifier,SUPI)等。In the determination method of (2), the information of the terminal device is similar to the determination method of (1), except that the device identification of the terminal device is used for the data network to uniquely determine the terminal device, which can be The identification of the terminal device, such as a user equipment permanent identifier (SUPI), and the like.
具体的,控制面网元向数据网络中的认证服务器发送终端设备的信息,以向该认证服务器询问该至少一个VxLAN封装信息。这里,控制面网元发送的终端设备的信息可以被携带在鉴权/授权请求消息(Authentication/Authorization Request)中,也可以被携带在其他消息中,本申请不作限制。Specifically, the control plane network element sends the information of the terminal device to the authentication server in the data network to query the authentication server for the at least one VxLAN encapsulation information. Here, the information of the terminal device sent by the control plane network element may be carried in an Authentication / Authorization Request message, or may be carried in other messages, which is not limited in this application.
具体的,认证服务器在接收到终端设备的信息之后,可向控制面网元发送该至少一个VxLAN封装信息。可选的,认证服务器可将数据网络中提供的所有业务分别对应的VxLAN封装信息发送给控制面网元。可选的,和上述第(1)种确定方式类似,认证服务器可预先存储不同终端设备的信息分别对应的VxLAN封装信息,控制面网元可根据终端设备的信息确定对应的该至少一个VxLAN封装信息,并将该至少一个VxLAN封装信息发送给控制面网元。Specifically, after receiving the information of the terminal device, the authentication server may send the at least one VxLAN encapsulation information to the control plane network element. Optionally, the authentication server may send VxLAN encapsulation information corresponding to all services provided in the data network to the control plane network element. Optionally, similar to the determination method of the above (1), the authentication server may store VxLAN encapsulation information corresponding to information of different terminal devices in advance, and the control plane network element may determine the corresponding at least one VxLAN encapsulation according to the information of the terminal device. Information, and send the at least one VxLAN encapsulation information to the control plane network element.
可选的,控制面网元向数据网络中的认证服务器发送终端设备的信息之后,除接收到认证服务器发送的至少一个VxLAN封装信息之外,控制面网元还可接收到该认证服务器发送的第二指示信息,该第二指示信息包括:被允许使用第一业务的设备的标识,或,第一数据网络中被允许提供第一业务的服务器的标识中的至少一项。其中,第一业务可以为数据网络提供的业务中的全部或部分业务,也可以是终端设备被允许访问的业务,本申请不作限制。Optionally, after the control plane network element sends the information of the terminal device to the authentication server in the data network, in addition to receiving at least one VxLAN encapsulation information sent by the authentication server, the control plane network element may also receive the information sent by the authentication server. The second indication information includes at least one of an identifier of a device that is allowed to use the first service or an identifier of a server that is allowed to provide the first service in the first data network. The first service may be all or part of the services provided by the data network, or may be a service to which a terminal device is allowed to access, which is not limited in this application.
这里,控制面网元在接收到认证服务器发送的第二指示信息之后,可将第二指示信息发送给终端设备或用户面网元。终端设备或用户面网元在接收到来自其他终端设备或其他数据网络的用户面数据时,可根据第二指示信息判断这些用户面数据的合法性,并可拒绝不合法的用户面数据。例如,当终端设备或用户面网元接收到的来自终端设备1的用户面数据,该用户面数据对应业务1,但是终端设备1不被允许使用业务1,则终端设备或用户面网元可拒绝该用户面数据。Here, after receiving the second indication information sent by the authentication server, the control plane network element may send the second indication information to the terminal device or the user plane network element. When a terminal device or a user plane network element receives user plane data from another terminal device or other data network, it can judge the legitimacy of these user plane data according to the second instruction information, and can reject illegal user plane data. For example, when the terminal device or the user plane network element receives the user plane data from the terminal device 1, the user plane data corresponds to service 1, but the terminal device 1 is not allowed to use the service 1, the terminal device or the user plane network element may Reject the user plane data.
(3)控制面网元向策略控制网元发送终端设备的信息,控制面网元接收该策略控制网元发送的至少一个VxLAN封装信息。(3) The control plane network element sends information of the terminal device to the policy control network element, and the control plane network element receives at least one VxLAN encapsulation information sent by the policy control network element.
在第(3)种确定方式中,终端设备的信息和第(1)种确定方式中相同,可参照相关描述。In the determination method (3), the information of the terminal device is the same as that in the determination method (1), and reference may be made to related descriptions.
具体的,控制面网元向数据网络中的策略控制网元发送终端设备的信息,以向该策略控制网元询问该至少一个VxLAN封装信息。这里,策略控制网元可以为图1所示通信系统中用于执行PCF的设备。控制面网元发送的终端设备的信息可以被携带在任意一个控制网元发送给策略控制网元的消息中,本申请不作限制。Specifically, the control plane network element sends the information of the terminal device to the policy control network element in the data network to query the policy control network element for the at least one VxLAN encapsulation information. Here, the policy control network element may be a device for performing PCF in the communication system shown in FIG. 1. The information of the terminal device sent by the control plane network element may be carried in a message sent by any control network element to the policy control network element, which is not limited in this application.
具体的,策略控制网元在接收到终端设备的信息之后,可向控制面网元发送该至少一个VxLAN封装信息。可选的,策略控制网元可将数据网络中提供的所有业务分别对应的VxLAN封装信息发送给控制面网元。可选的,和上述第(1)种确定方式类似,策略控制网元可预先存储不同的终端设备的信息分别对应的VxLAN封装信息,并根据控制面网元发送的终端设备的信息确定该至少一个VxLAN封装信息,并将该至少一个VxLAN封装信息发送给控制面网元。Specifically, after receiving the information of the terminal device, the policy control network element may send the at least one VxLAN encapsulation information to the control plane network element. Optionally, the policy control network element may send VxLAN encapsulation information corresponding to all services provided in the data network to the control plane network element. Optionally, similar to the determination method of the above (1), the policy control network element may store the VxLAN encapsulation information corresponding to the information of different terminal devices in advance, and determine the at least according to the information of the terminal device sent by the control plane network element. One VxLAN encapsulation information, and sending the at least one VxLAN encapsulation information to a control plane network element.
可理解的,不限于上述3种确定方式,控制面网元还可以通过其他方式确定该至少一个VxLAN封装信息,例如,控制面网元还可向其他网元询问等,本申请不作限制。Understandably, the above three determination methods are not limited. The control plane network element may also determine the at least one VxLAN encapsulation information by other methods. For example, the control plane network element may also query other network elements, and this application is not limited.
S303、控制面网元向终端设备或者用户面网元发送VxLAN封装信息或VxLAN封装信息的指示信息。S303. The control plane network element sends the VxLAN encapsulation information or the VxLAN encapsulation information indication information to the terminal device or the user plane network element.
具体的,控制面网元在确定VxLAN封装信息后,向终端设备或用户面网元发送VxLAN封装信息或VxLAN封装信息的指示信息。其中,VxLAN封装信息的指示信息用于终端设备或用户面网元确定VxLAN封装信息,该VxLAN封装信息用于终端设备或用户面网元对传输的用户面数据进行VxLAN封装或解封装。Specifically, after determining the VxLAN encapsulation information, the control plane network element sends the VxLAN encapsulation information or the VxLAN encapsulation information indication information to the terminal device or the user plane network element. The indication information of the VxLAN encapsulation information is used for the terminal device or the user plane network element to determine the VxLAN encapsulation information, and the VxLAN encapsulation information is used for the terminal device or the user plane network element to perform VxLAN encapsulation or decapsulation of the transmitted user plane data.
这里,用户面网元对传输的用户面数据进行VxLAN封装或解封装的具体操作可参照实施例一中步骤S101,终端设备对传输的用户面数据进行VxLAN封装或解封装的具体操作可参照实施例二中步骤S202,在此不赘述。Here, the specific operation of the user plane network element to perform VxLAN encapsulation or decapsulation of the transmitted user plane data may refer to step S101 in the first embodiment, and the specific operation of the terminal device to perform VxLAN encapsulation or decapsulation of the transmitted user plane data may refer to implementation. Step S202 in the second example is not repeated here.
通过实施例三,控制面网元确定VxLAN封装信息,并将确定VxLAN封装信息或VxLAN封装信息的指示信息发送给终端设备或用户面网元,可以使得终端设备或用户面网元实现VTEP功能,对用户面数据做VxLAN封装和VxLAN解封装,从而基于传统的3层网络传输2层数据,简化了数据传输过程,可为用户提供更多的业务。According to the third embodiment, the control plane network element determines the VxLAN encapsulation information and sends the indication information for determining the VxLAN encapsulation information or the VxLAN encapsulation information to the terminal device or the user plane network element, so that the terminal device or the user plane network element can implement the VTEP function. VxLAN encapsulation and VxLAN decapsulation of user plane data are used to transmit layer 2 data based on the traditional layer 3 network, which simplifies the data transmission process and provides users with more services.
上述详细描述了本申请的数据传输方法,为了更好地实施本申请的上述方法,相应地,下面提供了本申请的相关装置。The above describes the data transmission method of the present application in detail. In order to better implement the above method of the present application, the relevant devices of the present application are provided below accordingly.
参见图11,图11为本申请提供的用户面网元的功能框图。Referring to FIG. 11, FIG. 11 is a functional block diagram of a user plane network element provided by the present application.
如图11所示,用户面网元60可包括:接收单元601和VxLAN处理单元602,其中:As shown in FIG. 11, the user plane network element 60 may include a receiving unit 601 and a VxLAN processing unit 602, where:
接收单元601,用于接收来自终端设备或数据网络的用户面数据。即,接收单元601可用于执行实施例一图8所示方法中的步骤S101,可参照前文相关描述。The receiving unit 601 is configured to receive user plane data from a terminal device or a data network. That is, the receiving unit 601 may be configured to execute step S101 in the method shown in FIG. 8 in Embodiment 1, and reference may be made to the foregoing related description.
VxLAN处理单元602,用于使用VxLAN封装信息对用户面数据进行VxLAN封装或VxLAN解封装。即,VxLAN处理单元602可用于执行实施例一图8所示方法中的步骤S102,可参照前文相关描述。The VxLAN processing unit 602 is configured to perform VxLAN encapsulation or VxLAN decapsulation of user plane data using VxLAN encapsulation information. That is, the VxLAN processing unit 602 may be configured to execute step S102 in the method shown in FIG. 8 in Embodiment 1, and reference may be made to the foregoing related description.
可选的,接收单元601还用于接收控制面网元发送的VxLAN封装指示信息。Optionally, the receiving unit 601 is further configured to receive VxLAN encapsulation indication information sent by a control plane network element.
可选的,用户面网元60还可包括确定单元603,用于确定VxLAN封装信息。这里,确定单元603如何确定VxLAN封装信息可参照上述实施例一的相关描述,在此不赘述。可选的,接收单元601,还用于接收控制面网元发送的和VxLAN封装信息对应的策略信息。Optionally, the user plane network element 60 may further include a determining unit 603, configured to determine VxLAN encapsulation information. Here, for how the determining unit 603 determines the VxLAN encapsulation information, reference may be made to the related description of the first embodiment, and details are not described herein. Optionally, the receiving unit 601 is further configured to receive the policy information corresponding to the VxLAN encapsulation information sent by the control plane network element.
可选的,VxLAN封装信息包括VxLAN标签和/或IP地址。Optionally, the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
可理解的,用户面网元60包括的各个功能单元的具体实现可参考前述实施例一的相关描述,这里不再赘述。It can be understood that, for specific implementation of each functional unit included in the user plane network element 60, reference may be made to the related description of the foregoing Embodiment 1, and details are not described herein again.
参见图12,图12为本申请提供的终端设备的功能框图。如图12所示,终端设备70可包括:确定单元701、VxLAN处理单元702,其中:Referring to FIG. 12, FIG. 12 is a functional block diagram of a terminal device provided by the present application. As shown in FIG. 12, the terminal device 70 may include: a determining unit 701 and a VxLAN processing unit 702, where:
确定单元701,用于确定VxLAN封装信息。即,确定单元701可用于执行实施例二图9所示方法中的步骤S201,可参照前文相关描述。The determining unit 701 is configured to determine VxLAN encapsulation information. That is, the determining unit 701 may be configured to execute step S201 in the method shown in FIG. 9 in the second embodiment, and may refer to the foregoing related description.
VxLAN处理单元702,用于使用VxLAN封装信息,对发送的用户面数据或来自数据网络的用户面数据进行VxLAN封装或VxLAN解封装。即,VxLAN处理单元702可用于执行实施例二图9所示方法中的步骤S202,可参照前文相关描述。The VxLAN processing unit 702 is configured to use VxLAN encapsulation information to perform VxLAN encapsulation or VxLAN decapsulation on user plane data sent or user plane data from a data network. That is, the VxLAN processing unit 702 may be configured to execute step S202 in the method shown in FIG. 9 in the second embodiment, and may refer to the foregoing related description.
可选的,确定单元701,具体用于确定请求的业务对应的VxLAN封装信息。这里,终端设备70还可包括第一发送单元703,用于向控制面网元发送该VxLAN封装信息;该VxLAN封装信息用于确定该VxLAN封装信息对应的策略信息。Optionally, the determining unit 701 is specifically configured to determine VxLAN encapsulation information corresponding to the requested service. Here, the terminal device 70 may further include a first sending unit 703, configured to send the VxLAN encapsulation information to the control plane network element; the VxLAN encapsulation information is used to determine policy information corresponding to the VxLAN encapsulation information.
可选的,终端设备70还可包括第二发送单元704和接收单元705。其中,第二发送单元704用于向控制面网元发送请求业务的业务标识和/或第一指示信息;第一指示信息用于指示传输该业务时使用的协议为VxLAN协议;接收单元705,用于接收来自控制面网元的VxLAN封装信息或VxLAN封装信息的指示信息,VxLAN封装信息的指示信息用于确定单元701确定VxLAN封装信息。Optionally, the terminal device 70 may further include a second sending unit 704 and a receiving unit 705. The second sending unit 704 is configured to send the service identifier and / or the first indication information of the requested service to the control plane network element; the first indication information is used to indicate that the protocol used when transmitting the service is the VxLAN protocol; the receiving unit 705, The instruction information for receiving the VxLAN encapsulation information or the VxLAN encapsulation information from the control plane network element is used for the determination unit 701 to determine the VxLAN encapsulation information.
可选的,第一指示信息为传输用户面数据的会话的会话类型;或者,第一指示信息为VxLAN协议指示信息。Optionally, the first indication information is a session type of a session for transmitting user plane data; or, the first indication information is VxLAN protocol indication information.
可选的,VxLAN封装信息包括VxLAN标签和/或IP地址。Optionally, the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
可理解的,终端设备70包括的各个功能单元的具体实现可参考前述实施例二的相关描述,这里不再赘述。It can be understood that, for specific implementation of each functional unit included in the terminal device 70, reference may be made to the related description of the foregoing Embodiment 2, and details are not described herein again.
参见图13,图13为本申请提供的控制面网元的功能框图。如图13所示,控制面网元80可包括:接收单元801、确定单元802和发送单元803,其中:Referring to FIG. 13, FIG. 13 is a functional block diagram of a control plane network element provided by the present application. As shown in FIG. 13, the control plane network element 80 may include: a receiving unit 801, a determining unit 802, and a sending unit 803, where:
接收单元801,用于接收终端设备请求业务的业务标识和/或接收来自终端设备的第一指示信息;第一指示信息用于指示传输用户面数据时使用的协议为VxLAN协议。即,接收单元801可用于执行实施例三图10所示方法中的步骤S301,可参照前文相关描述。The receiving unit 801 is configured to receive a service identifier of a service requested by a terminal device and / or receive first instruction information from the terminal device; the first instruction information is used to indicate that a protocol used when transmitting user plane data is a VxLAN protocol. That is, the receiving unit 801 may be configured to execute step S301 in the method shown in FIG. 10 in Embodiment 3, and may refer to the foregoing related description.
确定单元802,用于根据业务标识,确定和请求的业务对应的VxLAN封装信息。即,确定单元802可用于执行实施例三图10所示方法中的步骤S302,可参照前文相关描述。The determining unit 802 is configured to determine VxLAN encapsulation information corresponding to the requested service according to the service identifier. That is, the determining unit 802 may be configured to execute step S302 in the method shown in FIG. 10 in Embodiment 3, and may refer to the foregoing related description.
发送单元803,用于向终端设备或者用户面网元发送VxLAN封装信息或VxLAN封装信息的指示信息;VxLAN封装信息的指示信息用于确定VxLAN封装信息,VxLAN封装信息用于对传输的用户面数据进行VxLAN封装或解封装。即,发送单元803可用于执行实施例三图10所示方法中的步骤S303,可参照前文相关描述。The sending unit 803 is configured to send the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information to the terminal device or the user plane network element; the indication information of the VxLAN encapsulation information is used to determine the VxLAN encapsulation information, and the VxLAN encapsulation information is used to transmit the user plane data. Perform VxLAN encapsulation or decapsulation. That is, the sending unit 803 may be configured to execute step S303 in the method shown in FIG. 10 in Embodiment 3, and may refer to the foregoing related description.
可选的,发送单元803,还用于向用户面网元发送VxLAN封装指示信息,VxLAN封装指示信息用于指示用户面网元对传输的用户面数据进行VxLAN封装或解封装。Optionally, the sending unit 803 is further configured to send VxLAN encapsulation instruction information to the user plane network element, and the VxLAN encapsulation instruction information is used to instruct the user plane network element to perform VxLAN encapsulation or decapsulation of the transmitted user plane data.
可选的,第一指示信息为数据网络的标识信息,并且,该数据网络为VxLAN网络;或者,第一指示信息为传输用户面数据的会话的会话类型;或者,第一指示信息为VxLAN协议指示信息。Optionally, the first indication information is identification information of a data network, and the data network is a VxLAN network; or the first indication information is a session type of a session transmitting user plane data; or, the first indication information is a VxLAN protocol Instructions.
可选的,确定单元802,具体用于根据业务标识从至少一个VxLAN封装信息中确定和请求业务相对应的VxLAN封装信息。Optionally, the determining unit 802 is specifically configured to determine VxLAN encapsulation information corresponding to the requested service from at least one VxLAN encapsulation information according to the service identifier.
可选的,确定单元802,具体用于根据终端设备的信息确定该至少一个VxLAN封装信息。Optionally, the determining unit 802 is specifically configured to determine the at least one VxLAN encapsulation information according to the information of the terminal device.
可选的,发送单元803,还用于向数据网络中的认证服务器发送终端设备的信息;接收单元801,还用于接收认证服务器发送的至少一个VxLAN封装信息。可选的,接收单元801 还可用于接收认证服务器发送的第二指示信息,第二指示信息包括:被允许使用第一业务的设备的标识,或,第一数据网络中被允许提供第一业务的服务器的标识中的至少一项;发送单元803,还用于将第二指示信息发送给终端设备和/或用户面网元。这里,第一业务的定义可参照上述实施例二的相关描述,在此不赘述。Optionally, the sending unit 803 is further configured to send the information of the terminal device to the authentication server in the data network; the receiving unit 801 is further configured to receive at least one VxLAN encapsulation information sent by the authentication server. Optionally, the receiving unit 801 may be further configured to receive second indication information sent by the authentication server, where the second indication information includes: an identifier of a device that is allowed to use the first service, or that the first data network is allowed to provide the first service At least one of the identifiers of the servers; the sending unit 803 is further configured to send the second indication information to the terminal device and / or the user plane network element. Here, for the definition of the first service, reference may be made to the related description of the foregoing second embodiment, and details are not described herein.
可选的,发送单元803还用于向策略控制网元发送终端设备的信息;接收单元801还用于接收策略控制网元发送的该至少一个VxLAN封装信息。Optionally, the sending unit 803 is further configured to send information of the terminal device to the policy control network element; the receiving unit 801 is further configured to receive the at least one VxLAN encapsulation information sent by the policy control network element.
可选的,终端设备的信息包括终端设备的设备标识。Optionally, the information of the terminal device includes a device identifier of the terminal device.
可选的,终端设备的信息还包括以下至少一项:数据网络的标识信息、终端设备的位置信息、传输用户面数据的会话的会话类型、终端设备的网络切片选择辅助信息、终端设备请求的数据网络的局域网标识、终端设备连接的接入网类型或终端设备连接接入网时使用的接入技术。Optionally, the information of the terminal device further includes at least one of the following: identification information of the data network, location information of the terminal device, session type of a session for transmitting user plane data, auxiliary information for network slice selection of the terminal device, and information requested by the terminal device. The local area network identification of the data network, the type of access network to which the terminal device is connected, or the access technology used when the terminal device is connected to the access network.
可选的,VxLAN封装信息的指示信息为VxLAN封装信息对应的索引值。Optionally, the indication information of the VxLAN encapsulation information is an index value corresponding to the VxLAN encapsulation information.
可选的,发送单元803,还用于在发送VxLAN封装信息或VxLAN封装信息的指示信息之后,向用户面网元发送和VxLAN封装信息对应的策略信息。Optionally, the sending unit 803 is further configured to send the policy information corresponding to the VxLAN encapsulation information to the user plane network element after sending the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information.
可理解的,控制面网元80包括的各个功能单元的具体实现可参考前述实施例三的相关描述,这里不再赘述。It can be understood that, for specific implementation of each functional unit included in the control plane network element 80, reference may be made to the related description of the foregoing third embodiment, and details are not described herein again.
综上,实施本申请提供的技术方案,用户面网元或终端设备对用户面数据做VxLAN封装和VxLAN解封装,可基于传统的3层网络传输2层数据,简化了数据传输过程,可为用户提供更多的业务。In summary, by implementing the technical solution provided in this application, the user plane network element or terminal device performs VxLAN encapsulation and VxLAN decapsulation of user plane data, which can transmit layer 2 data based on a traditional layer 3 network, which simplifies the data transmission process. Users provide more business.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may 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 processes or functions according to the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. 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 from a website site, a computer, a server, or a data center. Transmission by wire (for example, coaxial cable, optical fiber, digital subscriber line) or wireless (for example, infrared, wireless, microwave, etc.) to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, or the like that includes one or more available medium integration. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (Solid State Disk)).

Claims (31)

  1. 一种数据传输方法,其特征在于,包括:A data transmission method, comprising:
    用户面网元接收来自终端设备或数据网络的用户面数据;The user plane network element receives user plane data from a terminal device or a data network;
    所述用户面网元使用可扩展虚拟局域网VxLAN封装信息对所述用户面数据进行VxLAN封装或VxLAN解封装。The user plane network element uses the extensible virtual local area network VxLAN encapsulation information to perform VxLAN encapsulation or VxLAN decapsulation on the user plane data.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    所述用户面网元接收控制面网元发送的VxLAN封装指示信息,所述VxLAN封装指示信息用于指示所述用户面网元对所述用户面数据进行VxLAN封装或VxLAN解封装。The user plane network element receives VxLAN encapsulation instruction information sent by the control plane network element, and the VxLAN encapsulation instruction information is used to instruct the user plane network element to perform VxLAN encapsulation or VxLAN decapsulation of the user plane data.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, further comprising:
    所述用户面网元确定所述VxLAN封装信息。The user plane network element determines the VxLAN encapsulation information.
  4. 根据权利要求3所述的方法,其特征在于,所述用户面网元确定所述VxLAN封装信息,包括:The method according to claim 3, wherein the determining, by the user plane network element, the VxLAN encapsulation information comprises:
    所述用户面网元根据地址信息和VxLAN封装信息的对应关系,确定所述用户面数据对应的VxLAN封装信息。The user plane network element determines the VxLAN encapsulation information corresponding to the user plane data according to the correspondence between the address information and the VxLAN encapsulation information.
  5. 根据权利要求4所述的方法,其特征在于,所述地址信息包括所述终端设备的地址信息和/或所述数据网络的地址信息。The method according to claim 4, wherein the address information comprises address information of the terminal device and / or address information of the data network.
  6. 根据权利要求3所述的方法,其特征在于,所述用户面网元确定所述VxLAN封装信息,包括:The method according to claim 3, wherein the determining, by the user plane network element, the VxLAN encapsulation information comprises:
    所述用户面网元接收控制面网元发送的所述VxLAN封装信息或所述VxLAN封装信息的指示信息,所述VxLAN封装信息的指示信息用于所述用户面网元确定所述VxLAN封装信息。The user plane network element receives the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information sent by the control plane network element, and the indication information of the VxLAN encapsulation information is used by the user plane network element to determine the VxLAN encapsulation information. .
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-6, further comprising:
    所述用户面网元接收控制面网元发送的和所述VxLAN封装信息对应的策略信息。The user plane network element receives policy information corresponding to the VxLAN encapsulation information sent by the control plane network element.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述VxLAN封装信息包括VxLAN标签和/或IP地址。The method according to any one of claims 1 to 7, wherein the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
  9. 一种数据传输方法,其特征在于,包括:A data transmission method, comprising:
    终端设备确定VxLAN封装信息;The terminal device determines the VxLAN encapsulation information;
    所述终端设备使用所述VxLAN封装信息,对发送的用户面数据或来自数据网络的用户面数据进行VxLAN封装或VxLAN解封装。The terminal device uses the VxLAN encapsulation information to perform VxLAN encapsulation or VxLAN decapsulation on user plane data sent or user plane data from a data network.
  10. 根据权利要求9所述的方法,其特征在于,所述终端设备确定VxLAN封装信息,包括:The method according to claim 9, wherein the determining, by the terminal device, VxLAN encapsulation information comprises:
    所述终端设备确定请求的业务对应的VxLAN封装信息。The terminal device determines VxLAN encapsulation information corresponding to the requested service.
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:The method according to claim 10, further comprising:
    所述终端设备向控制面网元发送所述VxLAN封装信息;所述VxLAN封装信息用于确定所述VxLAN封装信息对应的策略信息。The terminal device sends the VxLAN encapsulation information to a control plane network element; the VxLAN encapsulation information is used to determine policy information corresponding to the VxLAN encapsulation information.
  12. 根据权利要求9所述的方法,其特征在于,所述终端设备确定VxLAN封装信息,包括:The method according to claim 9, wherein the determining, by the terminal device, VxLAN encapsulation information comprises:
    所述终端设备向控制面网元发送请求业务的业务标识和/或第一指示信息;所述第一指示信息用于指示传输所述业务时使用的协议为VxLAN协议;Sending, by the terminal device, a service identifier and / or first indication information of a requested service to a control plane network element; the first indication information is used to indicate that a protocol used when transmitting the service is a VxLAN protocol;
    所述终端设备接收来自所述控制面网元的所述VxLAN封装信息或所述VxLAN封装信息的指示信息,所述VxLAN封装信息的指示信息用于所述终端设备确定所述VxLAN封装信息。The terminal device receives the VxLAN encapsulation information or indication information of the VxLAN encapsulation information from the control plane network element, and the indication information of the VxLAN encapsulation information is used by the terminal device to determine the VxLAN encapsulation information.
  13. 根据权利要求12所述的方法,其特征在于,The method according to claim 12, wherein:
    所述第一指示信息为传输所述用户面数据的会话的会话类型;或者,The first indication information is a session type of a session transmitting the user plane data; or
    所述第一指示信息为VxLAN协议指示信息。The first indication information is VxLAN protocol indication information.
  14. 根据权利要求9-13任一项所述的方法,其特征在于,所述VxLAN封装信息包括VxLAN标签和/或IP地址。The method according to any one of claims 9-13, wherein the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
  15. 一种用户面网元,其特征在于,包括:A user plane network element, comprising:
    接收单元,用于接收来自终端设备或数据网络的用户面数据;A receiving unit, configured to receive user plane data from a terminal device or a data network;
    VxLAN处理单元,用于使用VxLAN封装信息对所述用户面数据进行VxLAN封装或VxLAN解封装。The VxLAN processing unit is configured to perform VxLAN encapsulation or VxLAN decapsulation on the user plane data using VxLAN encapsulation information.
  16. 根据权利要求15所述的用户面网元,其特征在于,The user plane network element according to claim 15, wherein:
    所述接收单元,还用于接收控制面网元发送的VxLAN封装指示信息,所述VxLAN封装指示信息用于指示所述VxLAN处理单元对所述用户面数据进行VxLAN封装或VxLAN解封装。The receiving unit is further configured to receive VxLAN encapsulation instruction information sent by a control plane network element. The VxLAN encapsulation instruction information is used to instruct the VxLAN processing unit to perform VxLAN encapsulation or VxLAN decapsulation of the user plane data.
  17. 根据权利要求15或16所述的用户面网元,其特征在于,还包括:确定单元,The user plane network element according to claim 15 or 16, further comprising: a determining unit,
    所述确定单元,用于确定所述VxLAN封装信息。The determining unit is configured to determine the VxLAN encapsulation information.
  18. 根据权利要求17所述的用户面网元,其特征在于,The user plane network element according to claim 17, wherein:
    所述确定单元,具体用于根据地址信息和VxLAN封装信息的对应关系,确定所述用户面数据对应的VxLAN封装信息。The determining unit is specifically configured to determine the VxLAN encapsulation information corresponding to the user plane data according to the correspondence between the address information and the VxLAN encapsulation information.
  19. 根据权利要求18所述的用户面网元,其特征在于,所述地址信息包括所述终端设备的地址信息和/或所述数据网络的地址信息。The user plane network element according to claim 18, wherein the address information comprises address information of the terminal device and / or address information of the data network.
  20. 根据权利要求17所述的用户面网元,其特征在于,The user plane network element according to claim 17, wherein:
    所述接收单元,还用于接收控制面网元发送的所述VxLAN封装信息或所述VxLAN封装信息的指示信息,所述VxLAN封装信息的指示信息用于所述确定单元确定所述VxLAN封装信息。The receiving unit is further configured to receive the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information sent by the control plane network element, and the indication information of the VxLAN encapsulation information is used by the determining unit to determine the VxLAN encapsulation information. .
  21. 根据权利要求15-20任一项所述的用户面网元,其特征在于,The user plane network element according to any one of claims 15-20, wherein
    所述接收单元,还用于接收控制面网元发送的和所述VxLAN封装信息对应的策略信息。The receiving unit is further configured to receive policy information corresponding to the VxLAN encapsulation information sent by a control plane network element.
  22. 根据权利要求15-21任一项所述的用户面网元,其特征在于,所述VxLAN封装信息包括VxLAN标签和/或IP地址。The user plane network element according to any one of claims 15 to 21, wherein the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
  23. 一种终端设备,其特征在于,包括:A terminal device, comprising:
    确定单元,用于确定VxLAN封装信息;A determining unit for determining VxLAN encapsulation information;
    VxLAN处理单元,用于使用所述VxLAN封装信息,对发送的用户面数据或来自数据网络的用户面数据进行VxLAN封装或VxLAN解封装。A VxLAN processing unit is configured to use the VxLAN encapsulation information to perform VxLAN encapsulation or VxLAN decapsulation on user plane data sent or user plane data from a data network.
  24. 根据权利要求23所述的终端设备,其特征在于,The terminal device according to claim 23, wherein
    所述确定单元,具体用于确定请求的业务对应的VxLAN封装信息。The determining unit is specifically configured to determine VxLAN encapsulation information corresponding to the requested service.
  25. 根据权利要求24所述的终端设备,其特征在于,还包括:第一发送单元,The terminal device according to claim 24, further comprising: a first sending unit,
    所述第一发送单元,用于向控制面网元发送所述VxLAN封装信息;所述VxLAN封装信息用于确定所述VxLAN封装信息对应的策略信息。The first sending unit is configured to send the VxLAN encapsulation information to a control plane network element; the VxLAN encapsulation information is used to determine policy information corresponding to the VxLAN encapsulation information.
  26. 根据权利要求23所述的终端设备,其特征在于,还包括:第二发送单元、接收单元,The terminal device according to claim 23, further comprising: a second sending unit and a receiving unit,
    所述第二发送单元,用于向控制面网元发送请求业务的业务标识和/或第一指示信息;所述第一指示信息用于指示传输所述业务时使用的协议为VxLAN协议;The second sending unit is configured to send a service identifier and / or first indication information of a requested service to a control plane network element; the first indication information is used to indicate that a protocol used when transmitting the service is a VxLAN protocol;
    所述接收单元,用于接收来自所述控制面网元的所述VxLAN封装信息或所述VxLAN封装信息的指示信息,所述VxLAN封装信息的指示信息用于所述终端设备确定所述VxLAN封装信息。The receiving unit is configured to receive the VxLAN encapsulation information or the indication information of the VxLAN encapsulation information from the control plane network element, and the indication information of the VxLAN encapsulation information is used by the terminal device to determine the VxLAN encapsulation. information.
  27. 根据权利要求26所述的终端设备,其特征在于,The terminal device according to claim 26, wherein
    所述第一指示信息为传输所述用户面数据的会话的会话类型;或者,The first indication information is a session type of a session transmitting the user plane data; or
    所述第一指示信息为VxLAN协议指示信息。The first indication information is VxLAN protocol indication information.
  28. 根据权利要求23-27任一项所述的终端设备,其特征在于,所述VxLAN封装信息包括VxLAN标签和/或IP地址。The terminal device according to any one of claims 23-27, wherein the VxLAN encapsulation information includes a VxLAN tag and / or an IP address.
  29. 一种通信装置,包括:A communication device includes:
    存储器,用于存储计算机可执行程序代码,程序代码包括指令;A memory for storing computer executable program code, where the program code includes instructions;
    处理器,用于执行所述指令,使所述通信装置执行如权利要求1-8中任意一项的方法。A processor is configured to execute the instructions, so that the communication device executes the method according to any one of claims 1-8.
  30. 一种通信装置,包括:A communication device includes:
    存储器,用于存储计算机可执行程序代码,程序代码包括指令;A memory for storing computer executable program code, where the program code includes instructions;
    处理器,用于执行所述指令,使终端设备执行如权利要求9-14中任意一项的方法。A processor, configured to execute the instructions, so that the terminal device executes the method according to any one of claims 9-14.
  31. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如权利要求1-8以及9-14中任意一项的方法。A computer-readable storage medium having instructions stored in the computer-readable storage medium, which when executed on a computer, causes the computer to execute the method according to any one of claims 1-8 and 9-14.
PCT/CN2019/090653 2018-06-19 2019-06-11 Data transmission method, related device and system WO2019242525A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810633183.9 2018-06-19
CN201810633183.9A CN110620716B (en) 2018-06-19 2018-06-19 Data transmission method, related device and system

Publications (1)

Publication Number Publication Date
WO2019242525A1 true WO2019242525A1 (en) 2019-12-26

Family

ID=68920518

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/090653 WO2019242525A1 (en) 2018-06-19 2019-06-11 Data transmission method, related device and system

Country Status (2)

Country Link
CN (1) CN110620716B (en)
WO (1) WO2019242525A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766569A (en) * 2021-09-09 2021-12-07 阿里巴巴达摩院(杭州)科技有限公司 Data transmission method, device, system and storage medium
CN115514712A (en) * 2021-06-22 2022-12-23 中移物联网有限公司 Data processing method, device, terminal and network side equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117439890B (en) * 2023-12-20 2024-02-27 江苏未来网络集团有限公司 End-to-end slicing network system of 5G private network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150381494A1 (en) * 2014-06-30 2015-12-31 Nicira, Inc. Methods and systems to offload overlay network packet encapsulation to hardware
CN106330719A (en) * 2016-10-26 2017-01-11 杭州迪普科技有限公司 VXLAN message forwarding method and device
CN107645433A (en) * 2017-08-31 2018-01-30 新华三技术有限公司 Message forwarding method and device
WO2018059496A1 (en) * 2016-09-30 2018-04-05 Huawei Technologies Co., Ltd. Method and apparatus for encapsulating /decapsulating data packets at a radio access node

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102316474A (en) * 2010-07-09 2012-01-11 大唐移动通信设备有限公司 Gateway device and data transmission method
CN102447627B (en) * 2011-12-05 2014-04-23 上海顶竹通讯技术有限公司 Message encapsulation/decapsulation device and method
EP2928123B1 (en) * 2014-04-02 2019-11-06 6Wind Method for processing VXLAN data units
WO2016003489A1 (en) * 2014-06-30 2016-01-07 Nicira, Inc. Methods and systems to offload overlay network packet encapsulation to hardware
GB2538551B (en) * 2015-05-21 2018-11-21 Samsung Electronics Co Ltd Internet protocol address preservation in mobile operator networks
CN107079523B (en) * 2015-08-28 2020-09-08 华为技术有限公司 User data processing device, method and system
WO2017193303A1 (en) * 2016-05-11 2017-11-16 华为技术有限公司 Communication billing method
CN107734517A (en) * 2016-08-10 2018-02-23 中兴通讯股份有限公司 A kind of data transmission method, device and system
US9906401B1 (en) * 2016-11-22 2018-02-27 Gigamon Inc. Network visibility appliances for cloud computing architectures

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150381494A1 (en) * 2014-06-30 2015-12-31 Nicira, Inc. Methods and systems to offload overlay network packet encapsulation to hardware
WO2018059496A1 (en) * 2016-09-30 2018-04-05 Huawei Technologies Co., Ltd. Method and apparatus for encapsulating /decapsulating data packets at a radio access node
CN106330719A (en) * 2016-10-26 2017-01-11 杭州迪普科技有限公司 VXLAN message forwarding method and device
CN107645433A (en) * 2017-08-31 2018-01-30 新华三技术有限公司 Message forwarding method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI: "NG-U Protocol Oblivious Encapsulation Design", R3-162906, NO. 3GPP TSG-RAN WG3 MEETING #94, vol. RAN WG3, 14 November 2016 (2016-11-14) - 18 November 2016 (2016-11-18), pages 1 - 3, XP051179005 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514712A (en) * 2021-06-22 2022-12-23 中移物联网有限公司 Data processing method, device, terminal and network side equipment
CN115514712B (en) * 2021-06-22 2023-09-05 中移物联网有限公司 Data processing method, device, terminal and network side equipment
CN113766569A (en) * 2021-09-09 2021-12-07 阿里巴巴达摩院(杭州)科技有限公司 Data transmission method, device, system and storage medium
CN113766569B (en) * 2021-09-09 2024-03-15 阿里巴巴达摩院(杭州)科技有限公司 Data transmission method, device, system and storage medium

Also Published As

Publication number Publication date
CN110620716B (en) 2021-10-01
CN110620716A (en) 2019-12-27

Similar Documents

Publication Publication Date Title
US10973082B2 (en) Registration method, session establishment method, terminal, and AMF entity
US20210227492A1 (en) Packet transmission method and apparatus
KR101814969B1 (en) Systems and methods for accessing a network
KR102445355B1 (en) Session management method and device for user groups
EP4117340A1 (en) Business processing method, device and system for proximity service
AU2019284169C1 (en) Network configuration method and communications apparatus
WO2022012310A1 (en) Communication method and apparatus
WO2019196811A1 (en) Communication method and related apparatus
WO2023280121A1 (en) Method and apparatus for obtaining edge service
WO2019185062A1 (en) Communication method and device
US11356294B2 (en) Packet processing method and device
US11489760B2 (en) Multicast group creation method, multicast group joining method, and apparatus
US10742476B2 (en) Data packet processing method and device
WO2019242525A1 (en) Data transmission method, related device and system
KR20210024160A (en) Communication method and device
US20220263879A1 (en) Multicast session establishment method and network device
CN113595911B (en) Data forwarding method and device, electronic equipment and storage medium
WO2022021435A1 (en) Data transmission method, device, and storage medium
US20230232318A1 (en) Authentication method and apparatus therefor
US11658866B2 (en) Remotely configuring ethernet layer functionality
EP3220584A1 (en) Wifi sharing method and system, home gateway and wireless local area network gateway
WO2023284551A1 (en) Communication method, device and system
WO2022007657A1 (en) Method and apparatus for sending domain name system request
WO2023216932A1 (en) Communication method and apparatus
WO2023001010A1 (en) Communication method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19822840

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19822840

Country of ref document: EP

Kind code of ref document: A1