WO2018157551A1 - 数据传输的方法与装置 - Google Patents

数据传输的方法与装置 Download PDF

Info

Publication number
WO2018157551A1
WO2018157551A1 PCT/CN2017/095926 CN2017095926W WO2018157551A1 WO 2018157551 A1 WO2018157551 A1 WO 2018157551A1 CN 2017095926 W CN2017095926 W CN 2017095926W WO 2018157551 A1 WO2018157551 A1 WO 2018157551A1
Authority
WO
WIPO (PCT)
Prior art keywords
tunnel
parameter
data
network device
user terminal
Prior art date
Application number
PCT/CN2017/095926
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to CN201780009575.1A priority Critical patent/CN108702798B/zh
Publication of WO2018157551A1 publication Critical patent/WO2018157551A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/04Network layer protocols, e.g. mobile IP [Internet Protocol]

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
  • the user plane data of the user equipment (English: User Equipment, UE for short) is transmitted based on the general packet radio service between the base station and the core network and the transmission between the core network gateways.
  • GPRS General Packet Radio Service
  • GTP GPRS Tunnel Protocol
  • the network side When the UE establishes a connection with the network side through the base station, the network side creates at least one tunnel for each UE session connected thereto to transmit data, and the network side sets different quality of service for different tunnels when it is created (English: Quality of Service) , referred to as: QoS) guarantee. That is, the mechanism for establishing a tunnel on the network side is established based on the UE session and the QoS level.
  • QoS Quality of Service
  • a large number of UEs will establish connections with the network side, such as the Internet of Things (IoT) device. If the network side still creates at least one tunnel for each UE session to transmit data, a large number of tunnels will appear on the network side, resulting in tight network resources and reduced transmission efficiency.
  • IoT Internet of Things
  • the embodiments of the present invention provide a method and an apparatus for data transmission, which enable a network side to bind a session of multiple UEs to a tunnel of a specified type, and transmit UE data through the tunnel of the specified type, thereby reducing a network side tunnel.
  • the number saves network resources and improves transmission efficiency.
  • an embodiment of the present invention provides a data transmission method, where the method includes:
  • the user terminal sends a first message to the first network device, where the first message is used to request to establish a first connection, where the first message includes a first parameter, and the first parameter is used by the first network device Determining to use the tunnel of the specified type to transmit the data of the user terminal; or the first parameter is used by the second network device to receive the first parameter sent by the first network device, determining to use the tunnel transmission of the specified type Describe the data of the user terminal;
  • the user terminal receives a second message sent by the first network device, where the second message is used by the user terminal to accept the establishment of the first connection.
  • the first parameter includes a user terminal type, a user terminal network capability, a service type, network slice information, a single network slice selection auxiliary information S-NSSAI, and a data network name. At least one of the DNNs.
  • the method further includes: receiving, by the user terminal, the second parameter sent by the first network device or the second network device;
  • the second parameter is used to indicate that the tunnel that carries the data of the user terminal is the tunnel of the specified type.
  • the method further includes:
  • the user terminal receives the tunnel identifier information sent by the first network device or the second network device, where the tunnel identifier information is used by the user terminal to be carried in the data when sending data, so that the receiving station
  • the network device of the data identifies that the data is transmitted using a tunnel of the specified type.
  • the method further includes:
  • the user terminal sends data to the AN, where the data includes the third parameter, and the third parameter is used by the AN to identify the first tunnel to transmit the data, where the type of the first tunnel is The specified type.
  • the method further includes:
  • the user terminal receives a fourth parameter sent by the access node AN;
  • the user terminal sends a radio resource control RRC message to the AN, where the RRC message is used to establish or restore RRC connection data, where the RRC message includes a fourth parameter, and the fourth parameter is used by the AN Identifying, by the second tunnel, data of the user terminal, where the type of the second tunnel is the specified type.
  • the method further includes:
  • the user terminal sends data to the access node AN, where the data includes the second parameter, and the second parameter is used to instruct the AN to transmit the data by using the tunnel of the specified type.
  • the method further includes:
  • the third tunnel Transmitting, by the user terminal, data to the access node AN, where the data includes the tunnel identification information, where the tunnel identifier information is used by the AN to identify a third tunnel to transmit the data, the third tunnel
  • the type is the specified type.
  • an embodiment of the present invention provides a data transmission method, where the method includes:
  • the network device performs a process of establishing a first connection, where the first connection is used to carry data of the user terminal.
  • the first parameter includes a user terminal type, a user terminal network capability, a service type, network slice information, a single network slice selection auxiliary information S-NSSAI, and a data network name. At least one of the DNNs.
  • the network device determines, according to the first parameter, that the data of the user terminal is transmitted by using a tunnel of a specified type, specifically:
  • the network device selects, according to the first parameter, data of the first tunnel to transmit the user terminal, where the type of the first tunnel is the specified type.
  • the performing, by the network device, the process of establishing the first connection includes:
  • the network device sends a first indication and/or a first identifier to the access node AN; the first indication is used to instruct the AN to bind the first connection to the tunnel of the specified type, where the An identifier is used to identify the first tunnel.
  • the performing, by the network device, the process of establishing the first connection includes:
  • the performing, by the network device, the process of establishing the first connection includes:
  • the network device sends a first service to the access node AN, the first service is used to establish a second tunnel, the first service includes a first parameter, and the first parameter is used to indicate the second
  • the type of the tunnel is the specified type.
  • the network device receives the identifier information corresponding to the second tunnel that is sent by the AN.
  • the network device performs a process of establishing a first connection Specifically, including:
  • the network device sends a second service to the access user plane function entity UPF, the second service is used to establish a third tunnel, the second service includes a second parameter, and the second parameter is used to indicate the
  • the tunnel type of the three tunnels is the specified type
  • the network device receives the identifier information corresponding to the third tunnel that is sent by the UPF.
  • the method further includes:
  • the network device sends a third parameter and/or a fourth parameter to the user terminal, where the third parameter is used to indicate that the tunnel carrying the data of the user terminal is the tunnel of the specified type.
  • the fourth parameter is used to identify the tunnel of the specified type.
  • an embodiment of the present invention provides a user terminal, where the user terminal includes:
  • a processor configured to generate a first message, and transmit the first message to a sender, where the first message is used to request to establish a first connection; wherein the first message includes a first parameter, the first The parameter is used by the first network device to determine that the data of the user terminal is transmitted by using a tunnel of a specified type; or the first parameter is used by the second network device when receiving the first parameter sent by the first network device Determining to transmit data of the user terminal by using a tunnel of a specified type;
  • a transmitter configured to receive the first message transmitted by the processor, and send a first message to the first network device;
  • a receiver configured to receive a second message sent by the first network device, and transmit the second message to the processor
  • the processor is further configured to receive the second message transmitted by the receiver, and accept to establish the first connection according to the second message.
  • the first parameter sent by the transmitter includes a user terminal type, a user terminal network capability, a service type, network slice information, and a single network slice selection auxiliary information S. - at least one of NSSAI, data network name DNN.
  • the receiver is further configured to receive a second parameter sent by the first network device or the second network device, and the second parameter Transfer to the processor;
  • the processor is further configured to receive the second parameter that is transmitted by the receiver, and explicitly indicate, according to the second parameter, that a tunnel that carries data of the user terminal is the tunnel of the specified type.
  • the receiver is further configured to receive tunnel identifier information sent by the first network device or the second network device, and use the tunnel identifier information Transfer to the processor;
  • the processor is further configured to receive the tunnel identifier information that is transmitted by the receiver, and store the tunnel identifier information, where the tunnel identifier information is used by the sender to carry the data when the data is sent.
  • the network device receiving the data is identified to transmit the data using a tunnel of a specified type.
  • the receiver is further configured to receive a third parameter sent by the access node AN, and transmit the third parameter to the processor;
  • the processor is further configured to receive the third parameter transmitted by the receiver, and generate data according to the third parameter, and transmit the data to the transmitter, where the data includes the first a third parameter, where the third parameter is used by the AN to identify the first tunnel to transmit the data, where the type of the first tunnel is the specified type;
  • the transmitter is further configured to receive the data transmitted by the processor and send data to the AN.
  • the receiver is further configured to receive a fourth parameter sent by the access node AN, and transmit the fourth parameter to the processor;
  • the processor is further configured to: receive the fourth parameter that is transmitted by the receiver, and generate a radio resource control RRC message according to the fourth parameter, and send the RRC message to the sender, where the RRC message is sent For establishing or restoring RRC connection data, where the RRC message includes a fourth parameter, where the fourth parameter is used by the AN to identify a second tunnel to transmit data of the user terminal, and the type of the second tunnel For the specified type;
  • the transmitter is further configured to receive the RRC message transmitted by the processor, and send the RRC message to the AN.
  • the processor is further configured to: generate the data, and transmit the data to the transmitter, where The data includes the second parameter, where the second parameter is used to indicate that the AN transmits the data by using the tunnel of the specified type;
  • the transmitter is further configured to receive the data transmitted by the processor and send data to the access node AN.
  • the processor is further configured to: generate the data, and transmit the data to the transmitter, where
  • the data includes the tunnel identification information, where the tunnel identifier information is used by the AN to identify the third tunnel to transmit the data, and the type of the third tunnel is the specified type;
  • the transmitter is further configured to receive the data transmitted by the processor and send data to the access node AN.
  • an embodiment of the present invention provides a network device, where the network device includes:
  • a receiver configured to receive a first parameter sent by the user terminal, and transmit the first parameter to the processor
  • a processor configured to receive the first parameter that is transmitted by the receiver, and determine, according to the first parameter, that data of the user terminal is transmitted by using a tunnel of a specified type;
  • the processor is further configured to perform a process of establishing a first connection, where the first connection is used to carry data of the user terminal.
  • the first parameter received by the receiver includes a user terminal type, a user terminal network capability, a service type, network slice information, and a single network slice selection auxiliary information S. - at least one of NSSAI, data network name DNN.
  • the processor is specifically configured to: according to the first parameter, select a first tunnel to transmit data of the user terminal, where the type of the first tunnel is The specified type.
  • the network device further includes: a transmitter
  • the processor is specifically configured to: generate a first indication and/or a first identifier, and transmit the first indication and/or the first identifier to the sender; the first indication is used to indicate that the AN The first connection is bound to the tunnel of the specified type, and the first identifier is used to identify the first tunnel;
  • the transmitter is configured to receive the first indication and/or the first identifier transmitted by the processor, and send the first indication and/or the first identifier to the access node AN.
  • the processor is specifically configured to generate a second indication and/or a second identifier, And transmitting the second indication and/or the second identifier to the sender; the second indication is used to instruct the UPF to bind the first connection to the tunnel of the specified type, the second The identifier is used to identify the first tunnel;
  • the transmitter is further configured to receive the second indication and/or the second identifier transmitted by the processor, and send the second indication and/or the second identifier to an access user plane function entity UPF.
  • the processor is specifically configured to generate a first service, and The transmitter transmits the first service; the first service is used to establish a second tunnel; the first service includes a first parameter, and the first parameter is used to indicate that the type of the second tunnel is Specified type
  • the transmitter is further configured to receive the first service that is transmitted by the processor, and send a first service to the access node AN;
  • the receiver is further configured to receive identifier information corresponding to the second tunnel sent by the AN, and transmit identifier information corresponding to the second tunnel to the processor;
  • the processor is further configured to receive the identifier information corresponding to the second tunnel that is transmitted by the receiver, and store the identifier information corresponding to the second tunnel.
  • the processor is specifically configured to generate a second Serving and transmitting the second service to the sender; the second service is used to establish a third tunnel; the second service includes a second parameter, and the second parameter is used to indicate the third tunnel
  • the tunnel type is the specified type
  • the transmitter is further configured to receive the second service that is transmitted by the processor, and send a second service to an access user plane function entity UPF;
  • the receiver is further configured to receive the identifier information corresponding to the third tunnel that is sent by the UPF, and transmit the identifier information corresponding to the third tunnel to the processor;
  • the processor is further configured to receive the identifier information corresponding to the third tunnel that is transmitted by the receiver, and store the identifier information corresponding to the third tunnel.
  • the processor is further configured to generate a third parameter and/or a fourth parameter, and transmit the third parameter and/or the fourth parameter to the transmitter,
  • the third parameter is used to indicate that the tunnel that carries the data of the user terminal is the tunnel of the specified type.
  • the fourth parameter is used to identify the tunnel of the specified type;
  • the transmitter is further configured to receive the third parameter and/or the fourth parameter transmitted by the processor, and send a third parameter and/or a fourth parameter to the user terminal, where the third parameter is used by The tunnel indicating the data carrying the user terminal is the tunnel of the specified type.
  • the fourth parameter is used to identify the tunnel of the specified type.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and the computer program is executed by the processor according to any one of the first aspects. The method described.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and the computer program is executed by a processor according to any one of the second aspects. The method described.
  • the user terminal sends a first message to the first network device, where the first message is used to request to establish the first connection.
  • the first message includes a first parameter, where the first parameter is used by the first network device to determine data of the user terminal that is transmitted using the specified type of tunnel.
  • the user terminal receives the second message sent by the first network device, and the user terminal accepts to establish the first connection according to the second message, after the user terminal receives the first connection, after sending the data to the first network device, the first network device can pass
  • the specified type of tunnel transmits the data of the user terminal, where the tunnel of the specified type is a node level tunnel.
  • the network side can transmit UE data through the node level tunnel, thereby reducing the number of tunnels on the network side, saving network resources, and improving transmission efficiency.
  • FIG. 1 is a structural diagram of a network according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for data transmission according to an embodiment of the present invention
  • FIG. 3 is a flowchart of another method for data transmission according to an embodiment of the present invention.
  • FIG. 4 is a timing diagram of a SMF associating a UE session to a stored node level tunnel according to an embodiment of the present invention
  • FIG. 5 is a timing diagram of establishing a node level tunnel by an SMF according to an embodiment of the present invention.
  • FIG. 6 is a timing diagram of sending data through a node level tunnel according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an apparatus for data transmission according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of another apparatus for data transmission according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a network device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 1 is a structural diagram of a network according to an embodiment of the present invention.
  • the UE, the access node (English: Access Node, abbreviation: AN), the Access and Mobility Management Function (English: Access and Mobility Management Function, AMF), and the Session Management Function (English: Session Management Function, simple It is called: SMF) and User Plan Function (UPF).
  • AMF, SMF, and UPF are functional entities, and AMF and SMF can exist in the same network device.
  • the UE is specifically a smart terminal having a function of transmitting, receiving, processing, and displaying a message, and the smart terminal may include a desktop computer, a personal computer, a tablet computer, and the like.
  • the UE establishes a connection with the base station through the wireless network.
  • the base station can communicate with the terminal for communication. For example, the terminal sends uplink data to the base station. After receiving the uplink data sent by the terminal, the base station transmits the uplink data to the network side, and processes the uplink data on the network side, and then feeds back to the terminal.
  • the UE is connected to the AMF and the SMF through the N1 interface; the AN is connected to the AMF and the SMF through the N2 interface; the AN and the UPF are connected through the N3 interface; and the UPF and the SMF are connected through the N4 interface.
  • An embodiment of the present invention provides a data transmission method, in which a user terminal sends a first message to a first network device, where the first message is used to request to establish a first connection.
  • the first message includes a first parameter, where the first parameter is used by the first network device to determine data of the user terminal that is transmitted using the specified type of tunnel.
  • the user terminal receives the second message sent by the first network device, and the user terminal accepts to establish the first connection according to the second message, after the user terminal receives the first connection, after sending the data to the first network device, the first network device can pass Specifies the type of tunneling data for the user terminal.
  • the network side can transmit UE data through the node level tunnel, thereby reducing the number of tunnels on the network side, saving network resources, and improving transmission efficiency.
  • FIG. 2 is a flowchart of a method for data transmission according to an embodiment of the present invention.
  • the execution subject is a network device, and the network device may be a device that implements SMF or AMF functions. Specifically, the following steps are included:
  • Step 210 The network device receives the first parameter sent by the user terminal.
  • the UE wants to establish a connection with the network, and the UE sends the first parameter to the network device by using the AN.
  • the network device is an AMF
  • the UE sends a registration request message to the AMF through the AN, where the first parameter is carried in the registration request message.
  • the AMF obtains the first parameter from the registration request message.
  • the UE when the network device is an SMF, the UE sends a session establishment request message to the AMF through the AN, and the first parameter is carried in the session establishment request message. After receiving the session establishment request message, the AMF forwards the session establishment request message to the SMF. The SMF obtains the first parameter from the session establishment request message.
  • the UE when the network device is an SMF, the UE sends a first parameter and a session establishment request message to the AMF through the AN, and the AMF forwards the first parameter and the session establishment request message to the SMF.
  • the first parameter includes a user terminal type, a user terminal network capability, a service type, a network slice information, and a single network slice selection auxiliary information (English: Single network sections select auxiliary information, referred to as S-NSSAI). ), data network name (English: Data Network Name, referred to as: DNN), at least one of QoS. Specific examples are as follows:
  • the types of user terminals may include car-to-external information exchange (English: vehicle to X, referred to as V2X) type (vehicle networking related), IoT type, mobile broadband (English: Mobile Broadband, MBB) type and other types, Used to identify that the terminal is a V2X type, IoT type, MBB type or other type of terminal.
  • V2X vehicle to X
  • MBB Mobile Broadband
  • User terminal network capabilities can include capabilities to support IoT, support for V2X, and support for MBB.
  • the service type may include a V2X service, an IoT service, and an MBB service, indicating that the terminal requests to obtain a V2X service, an IoT service, an MBB service, or other services.
  • Network slice information can include V2X type (Internet of Vehicles related), IoT (Internet of Things type), MBB (Mobile) Broadband type), Ultra-reliable and Low Latency Communications (URLLC) type and other types, indicating that the terminal requests access to a V2X type, IoT type, MBB type, high reliability and low latency. Or other types of slices.
  • V2X type Internet of Vehicles related
  • IoT Internet of Things type
  • MBB Mobile Broadband type
  • URLLC Ultra-reliable and Low Latency Communications
  • S-NSSAI Single Network Slice Selection Auxiliary Information S-NSSAI includes Slice/Service Type (SST), Slice Differentiation (SD).
  • the SST may include: V2X type (vehicle networking related), IoT (Internet of Things type), MBB (mobile broadband type), URLLC (high reliability low latency) and other types, etc., indicating that the terminal requests access to a V2X type, IoT type, MBB type, high reliability low latency or other types of slices.
  • Step 220 The network device determines, according to the first parameter, that data of the user terminal is transmitted by using a tunnel of a specified type.
  • the network device may determine that the terminal of the IoT type uses the tunnel of the specified type according to the type of the user terminal, and when the first parameter is the service type, the network device may be based on the service type.
  • the network device may determine, according to the slice information, that the terminal requesting the IoT slice type uses the tunnel of the specified type;
  • the network device may determine that the terminal requesting the IoT type uses the tunnel of the specified type according to the SST type of IoT;
  • the network device may determine the session usage of the specific QoS.
  • a tunnel of the specified type it is determined that the terminal that requests the IoT service type uses the tunnel of the specified type.
  • the determining, by the network device, that the data of the user terminal is transmitted by using the tunnel of the specified type according to the first parameter may include: all data of the terminal is transmitted through a tunnel of a specified type; or Or some specific session is transmitted through a tunnel of a specified type. For example, when the terminal requests to establish a specific session, the network device determines, according to the first parameter, that the session is transmitted through a tunnel of a specified type.
  • the network device selects the first tunnel to transmit data of the terminal.
  • the type of the first tunnel is a specified type.
  • the first type is based on a node-level tunnel (per-node tunnel), that is, the specified type is based on a node level. That is, there is a common tunnel between two network nodes to carry data streams of terminals of the same type of multiple user terminals, or data streams of a certain type of session of multiple terminals, or multiple terminals The data flow of a particular QoS session.
  • a node-level tunnel per-node tunnel
  • the network node may allocate a dedicated tunnel for a certain type of UE session, or a certain type of service related session, or a certain QoS session, or a handover related session, and the dedicated tunnel is used for multiple UE sharing. , or multiple sessions of a certain UE are shared. For example, a tunnel between AN and UPF, or between two UPFs, may use the first type.
  • Step 230 The network device performs a process of establishing a first connection, where the first connection is used to carry data of the user terminal.
  • the network device After the network device determines to use the node-level tunneling to transmit the data of the UE, the network device establishes the first connection, so that the established first connection can be used to carry data of the UE.
  • the first connection may be a connection between the AN and the UPF or a connection between the UPFs.
  • the process of the network device performing the establishing the first connection specifically includes: the network device sending the first indication and/or the first identifier to the AN.
  • the first indication is used to indicate that the AN binds the first connection to the tunnel of the specified type, and the first identifier is used to identify the first tunnel, that is, the first tunnel is used to carry the data transmitted by the first connection.
  • the network device sends a second indication and/or a second identity to the UPF.
  • the second indication is used to indicate that the UPF will be the first
  • the connection is bound to the tunnel of the specified type, and the second identifier is used to identify the first tunnel, that is, the UPF is configured to use the first tunnel to carry data transmitted through the first connection.
  • the first tunnel is a node-level tunnel that has been established in the AN and the UPF.
  • the AN, UPF binds the first connection to the established node level based tunnel based on the received indication and/or identification.
  • the indication and/or the identifier may be carried in the request message, or the indication and/or the identifier may be carried in the service request. send.
  • the network device sends a first service request to the AN, where the first service request includes a first indication and/or a first identifier; the network device sends a second service request to the UPF, where the second service request includes a second indication and / or second logo.
  • the AN or the UPF respectively sends a service response, such as a first service response and a second service response, to the network device.
  • the network device clarifies that the AN, UPF has bound the first connection to the node-level tunnel based on the service response.
  • the aforementioned identification may be one or more.
  • the tunnel ID, or the IP address of the AN side corresponding to the tunnel the tunnel endpoint identifier TEID, the IP address on the UPF side, and the tunnel endpoint identifier TEID.
  • the network device receives the first parameter sent by the UE by applying the data transmission method provided by the embodiment of the present invention.
  • the data of the UE is transmitted using the specified type of tunnel according to the first parameter.
  • the network device performs a process of establishing a first connection, where the first connection is used to carry data of the UE, and the tunnel of the specified type is a node level tunnel.
  • the network side can transmit UE data through the node level tunnel, thereby reducing the number of tunnels on the network side, saving network resources, and improving transmission efficiency.
  • the method further includes: when there is no node level tunnel that can be used to carry UE data in the AN and the UPF.
  • the network device triggers the AN, the UPF to establish a node level tunnel that can be used to carry the UE data, and carries the UE data by the newly established node level tunnel.
  • the network device sends a third service request to the access node AN, where the third service request is used by the AN to establish a second tunnel.
  • the third service request includes a first parameter, where the first parameter is used to indicate that the type of the second tunnel is a specified type, that is, the second tunnel is a node-level tunnel.
  • the AN After establishing the second tunnel (assigning the identifier information corresponding to the second tunnel), the AN sends a third service response to the network device.
  • the third service response includes the identifier information corresponding to the second tunnel, and the identifier information may be specifically an IP of the AN side and a tunnel end point IP address (TEID).
  • the network device receives the third service response sent by the AN, and obtains the identifier information corresponding to the second tunnel.
  • TEID tunnel end point IP address
  • the network device sends a fourth service request to the UPF, where the fourth service request is used by the UPF to establish a third tunnel.
  • the fourth service request includes a second parameter, where the second parameter is used to indicate that the tunnel type of the third tunnel is a specified type, that is, the third tunnel is a node-level tunnel.
  • the fourth service response is sent to the network device.
  • the fourth service response includes the identifier information corresponding to the third tunnel, and the identifier information may be specifically the IP and TEID of the UPF side.
  • the network device receives the fourth service response sent by the UPF, and obtains the identifier information corresponding to the third tunnel.
  • the network device After receiving the identifier information corresponding to the second tunnel and the identifier information corresponding to the third tunnel, the network device stores the identifier information as context information based on the node level tunnel. The network device uses the identifier information corresponding to the second tunnel and the identifier information corresponding to the third tunnel as the identifier information of the endpoints on both sides of the node level tunnel.
  • the method further includes: the step of the network device sending the third parameter and/or the fourth parameter to the UE.
  • the third parameter is used to indicate that the tunnel carrying the data of the UE is a tunnel of the specified type, that is, the third parameter makes the UE clear, and the data of the UE can be sent by using the node-level tunnel bearer.
  • the third parameter can also have an authorized role.
  • the third parameter is an authorization ID, which can be carried when the UE sends data to the AN.
  • the AN determines that the data of the UE is sent by the node-level tunnel bearer according to the authorization ID, and determines the context information based on the node level tunnel according to the authorization ID, or the third parameter may also be the tunnel identification information, such as the tunnel ID and the AN side.
  • the IP address and tunnel endpoint identify the TEID, the UPF side IP address, the TEID, and so on.
  • the fourth parameter is used to identify the tunnel of the specified type.
  • the fourth parameter may be specifically a tunnel ID, or an IP address on the AN side corresponding to the tunnel, a TEID, an IP address on the UPF side, and a TEID.
  • FIG. 3 is a flowchart of another method for establishing a connection according to an embodiment of the present invention.
  • the execution subject is a UE. Specifically, the following steps are included:
  • Step 310 The user terminal sends a first message to the first network device, where the first message is used to request to establish a first connection, where the first message includes a first parameter, and the first parameter is used by the first Determining, by the network device, that the data of the user terminal is transmitted by using a tunnel of a specified type; or, the first parameter is used by the second network device to receive the first parameter sent by the first network device, determining that the specified type is used. Tunneling data of the user terminal.
  • the UE needs to establish a connection with the network side, and the UE sends a first message to the first network device by using the AN, where the first message is used to request to establish the first connection.
  • the first message includes a first parameter, where the first parameter is used by the first network device to determine to use the specified type of tunnel to transmit data of the UE; or the first parameter is used by the second network device to receive the first network device When the first parameter is determined, it is determined that the data of the UE is transmitted using the tunnel of the specified type.
  • the specified type of tunnel is a node level based tunnel.
  • the first parameter includes at least one of a user terminal type, a user terminal network capability, a service type, network slice information, a single network slice selection auxiliary information S-NSSAI, a data network name DNN, and a quality of service QoS.
  • a user terminal type a user terminal network capability
  • a service type a service type
  • network slice information a single network slice selection auxiliary information S-NSSAI
  • data network name DNN a quality of service QoS.
  • the user terminal type may include a V2X type (vehicle networking related), an IoT (Internet of Things type), an MBB (Mobile Broadband Type), and the like, and is used to identify that the terminal is a V2X type, an IoT type, an MBB type, or the like. terminal.
  • V2X type vehicle networking related
  • IoT Internet of Things type
  • MBB Mobile Broadband Type
  • User terminal network capabilities can include capabilities to support IoT, support for V2X, and support for MBB.
  • the service type may include a V2X service, an IoT service, and an MBB service, indicating that the terminal requests to obtain a V2X service, an IoT service, an MBB service, or other services.
  • the network slice information may include V2X type (vehicle networking related), IoT (Internet of Things type), MBB (mobile broadband type), URLLC (high reliability low latency) and other types, etc., indicating that the terminal requests access to a V2X type, IoT Type, MBB type, high reliability low latency or other types of slices.
  • V2X type vehicle networking related
  • IoT Internet of Things type
  • MBB mobile broadband type
  • URLLC high reliability low latency
  • S-NSSAI Single Network Slice Selection Auxiliary Information S-NSSAI includes Slice/Service Type (SST), Slice Differentiation (SD).
  • the SST may include: V2X type (vehicle networking related), IoT (Internet of Things type), MBB (mobile broadband type), URLLC (high reliability low latency) and other types, etc., indicating that the terminal requests access to a V2X type, IoT type, MBB type, high reliability low latency or other types of slices.
  • the first network device is an AMF
  • the first message is a registration request message
  • the first parameter is included in the registration request message.
  • the first connection refers to establishing a NAS (Non Access Spectrum) connection between the UE and the network.
  • the first network device is an SMF
  • the first message is a session establishment request message
  • the session establishment request is The first parameter is included in the message.
  • the first connection refers to establishing a user plane connection between the UE and the network.
  • the first network device is an AMF
  • the second network device is an SMF
  • the first message is a NAS message, including a first parameter and a session establishment request message.
  • the SMF determines to transmit the UE's data using the specified type of tunnel.
  • the first connection refers to establishing a user plane connection between the UE and the network.
  • determining, by the first network device or the second network device, that the data of the user terminal is transmitted by using a tunnel of a specified type according to the first parameter may include: all data of the terminal is transmitted through a tunnel of a specified type. Or, a certain session or a specific session of the terminal is transmitted through a tunnel of a specified type, for example, when the terminal requests to establish a specific session, the network device determines, according to the first parameter, that the session is transmitted through a specified type of tunnel. .
  • Step 320 The user terminal receives a second message sent by the first network device, where the second message is used by the user terminal to accept the establishment of the first connection.
  • the network device determines, according to the first parameter sent by the UE, that the data of the UE is transmitted by using the tunnel of the specified type.
  • the network device performs a process of establishing a first connection, where the first connection is used to carry data of the UE.
  • the network device After performing the process of establishing the first connection, the network device sends a second message to the UE. The UE accepts the established first connection according to the second message.
  • the second message is a registration accept message.
  • the second message is a session establishment accept message.
  • the first network device is an AMF
  • the second network device is an SMF
  • the second message is a NAS message, which includes a session establishment request message.
  • the network device determines, according to the first parameter, that the data of the UE is transmitted by using the specified type of tunnel, and the process of the network device performing the establishment of the first connection is described in detail in the foregoing embodiment, and is not repeatedly described herein.
  • the UE sends a first message to the first network device, where the first message is used to request to establish the first connection.
  • the first message includes a first parameter, where the first parameter is used by the first network device to determine to transmit data of the UE by using a specified type of tunnel.
  • the UE receives the second message sent by the first network device, and the UE accepts to establish the first connection according to the second message.
  • the UE may send the data to the first network device, and the first network device may The tunnel transmits the data of the UE, where the tunnel of the specified type is a node level tunnel.
  • the network side can transmit UE data through the node level tunnel, thereby reducing the number of tunnels on the network side, saving network resources, and improving transmission efficiency.
  • the embodiment of the present invention further includes the step of the UE receiving the second parameter sent by the first network device or the second network device.
  • the second parameter is used to indicate that the tunnel carrying the data of the UE is a tunnel of a specified type.
  • the embodiment of the present invention further includes the step of the UE receiving the tunnel identification information sent by the first network device or the second network device.
  • the tunnel identifier information is used by the UE to carry the data in the data when the data is sent, so that the network device that receives the data recognizes that the data is transmitted using the tunnel of the specified type.
  • the embodiment of the present invention further includes the step of the UE receiving the third parameter sent by the AN.
  • the UE receives the third parameter sent by the AN.
  • the third parameter is used by the AN to identify the first tunnel transmission number
  • the type of the first tunnel is a specified type, that is, the first tunnel is a node-level tunnel.
  • the third parameter may be specifically the tunnel identification information, such as the tunnel ID, the AN side IP address, the tunnel end point identifier TEID, the UPF side IP address, and the TEID.
  • the third parameter can also have an authorized role.
  • the third parameter is an authorization ID, which can be carried when the UE sends data to the AN.
  • the UE transmits data to the AN, wherein the data includes a third parameter.
  • the third parameter can be located in the header of the packet or outside the header of the packet.
  • the AN identifies the first tunnel to transmit the data according to the third parameter.
  • the type of the first tunnel is a specified type, that is, based on a node level tunnel.
  • the embodiment of the present invention further includes the step of the UE receiving the fourth parameter sent by the AN.
  • the UE receives the fourth parameter sent by the AN.
  • the fourth parameter is used by the AN to identify the data of the second tunnel transmission UE, and the type of the second tunnel is a specified type, that is, the second tunnel is a node-level tunnel.
  • the UE sends a Radio Resource Control RRC message to the AN.
  • the RRC message is used to establish or restore RRC connection data.
  • the fourth parameter is included in the RRC message.
  • the embodiment of the present invention further includes the step of the UE sending data to the AN.
  • the UE transmits data to the AN.
  • the data includes a second parameter, and the second parameter may be located in the packet header or outside the packet header.
  • the second parameter is used to indicate that the AN uses the specified type of tunnel to transmit data, that is, the AN uses the node-level tunnel to carry the UE's data.
  • the embodiment of the present invention further includes the step of the UE sending data to the AN.
  • the UE transmits data to the AN.
  • the data includes tunnel identification information, and the tunnel identification information may be located in the data packet header or outside the data packet header.
  • the tunnel identification information is used by the AN to identify the third tunnel transmission data, and the third tunnel type is a specified type, that is, the third tunnel is a node-level tunnel.
  • FIG. 4 is a timing diagram of processes in a method for data transmission according to an embodiment of the present invention.
  • FIG. 4 illustrates a process in which the network device determines to transmit data of the UE using a specified type of tunnel and performs a setup of the first connection.
  • the following is an example in which the first network device is the AMF and the second network device is the SMF.
  • Step 400 The UE sends a NAS message to the AMF through the AN.
  • the NAS message includes a first parameter.
  • one of the first parameters of the NAS message may include the first parameter and the session establishment request message, and the other may be that the NAS message includes a session establishment request message, where the session request message includes the first parameter. .
  • the UE needs to establish a connection with the network side, and the UE sends the NAS message to the AMF through the AN, and includes the first parameter in the NAS request message.
  • Step 401 AMF and SDM perform authentication authentication.
  • the AMF after receiving the NAS request message, the AMF initiates an authentication process between itself and the SDM.
  • the process is specifically for verifying the legitimacy of the UE.
  • Step 402 The AMF sends a first service request to the SMF, where the first service request includes a first parameter.
  • the AMF when the UE is a legal UE, the AMF generates a first service request and sends a first service request to the SMF.
  • the first service request includes a first parameter.
  • one of the first service requests including the first parameter may include the first parameter and the session establishment request message for the first service request; another possibility is
  • the first request service includes a session establishment request message, wherein the session request message includes a first parameter.
  • Step 403 The SMF determines, according to the first parameter, that the data of the UE is transmitted by using a tunnel of a specified type.
  • step 403 has been described in detail in the foregoing embodiments, and will not be repeated herein.
  • the SMF determines, based on the first parameter, that after transmitting data for the terminal using the specified type of tunnel, there is no node level tunnel available for carrying UE data, then the SMF establishes a node level tunnel that can be used to carry UE data.
  • the SMF establishes a node level tunnel that can be used to carry UE data. Please also refer to the description of FIG.
  • Step 404 The network device sends a second service request to the AN, where the second service request includes the first indication and/or the first identifier.
  • step 404 has been described in detail in the foregoing embodiments, and will not be repeated herein.
  • Step 405 The AN establishes a mapping relationship between the UE context information and the node level tunnel.
  • the AN after receiving the second service request, the AN obtains the first indication and/or the first identifier.
  • the mapping between the UE context information and the node level tunnel is specifically determined by the AN to bind the UE context information to the node level tunnel.
  • the AN determines, according to the first indication and/or the first identifier, the node level tunnel to be bound from among multiple tunnels that have been established by the AN.
  • the AN binds the context information of the UE to the determined node level tunnel according to the first indication and/or the first identity.
  • the UE context information specifically includes the attribute information of the UE (such as the type, level, identifier, and session identifier of the UE), the air interface connection relationship created by the AN for the UE, and the connection resource allocated by the AN for the UE.
  • the AN may also generate a first service response and send the first service response to the SMF to make the SMF clear that the AN has completed the binding.
  • Step 406 The network device sends a third service request to the UPF, where the third service request includes a second indication and/or a second identifier.
  • step 406 has been described in detail in the foregoing embodiments, and will not be repeated herein.
  • Step 407 The UPF establishes a mapping relationship between the UE context information and the node level tunnel.
  • the UPF after receiving the second service request, the UPF obtains the second indication and/or the second identifier from the second service request.
  • the mapping relationship between the UE context information and the node level tunnel is determined by the UPF. Specifically, the UPF binds the UE context information to the node level tunnel.
  • the UPF determines, according to the second indication and/or the second identifier, the node level tunnel to be bound from the multiple tunnels that have been established by the UPF. Based on the second indication and/or the second identity, the UPF tunnels the context of the UE to the determined node level.
  • the UPF may also generate a second service response and send the second service response to the SMF to make the SMF clear that the UPF has completed the binding.
  • the context information of the UE may be stored in the UPF, or the SMF may carry the context information of the UE in the second service message and send it to the UPF.
  • step 408 a handshake confirmation is performed between the SMF and the AN.
  • the SMF determines that the UPF has completed tunnel binding. At this point, the SMF generates a handshake service and sends a handshake service to the AN. Based on the handshake service, the AN determines that the UPF has also completed tunnel binding. The AN generates a handshake service response and sends a handshake service response to the SMF.
  • Step 409 The SMF sends a third service response to the AMF.
  • the SMF After the SMF receives the handshake service response sent by the AN, the SMF generates a third service response message.
  • the SMF sends the third service response to the AN, and the third service response includes the second parameter.
  • the second parameter is used when the UE sends data, so that the AN determines, according to the second parameter, that the data of the UE is transmitted using the tunnel of the specified type.
  • the SMF can also carry the tunnel identification information to the AMF in the third service response.
  • Step 410 The AMF sends an initial context setup request message to the AN.
  • the AMF obtains the second parameter therefrom.
  • the AMF generates an initial context setup request message, and the non-access stratum (English: non-access stratum, nas) message is carried in the initial context setup request message.
  • the AMF carries the acquired second parameter in the nas message.
  • the AMF sends an Initial Context Setup Request message to the AN.
  • the AMF may also send the tunnel identity information to the AN along with the initial context setup request message.
  • Step 411 Perform RRC connection reconfiguration between the AN and the UE.
  • the AN after receiving the initial context setup request message, the AN obtains the second parameter therefrom. According to the second parameter, the AN explicitly uses the node level tunnel to transmit the data of the UE. Based on the tunnel identification information, the AN determines the UPF to which the context information of the UE is bound.
  • the AN generates a third parameter according to the second parameter and the tunnel identification information.
  • the third parameter is used when the UE sends data to the AN, so that the AN identifies the data of the first tunnel transmission UE by using the third parameter, and the type of the first tunnel is a specified type.
  • the AN generates an RRC connection reconfiguration ("RRC connection reconfigration" message) and carries the third parameter and the tunnel identification information in the RRC connection reconfiguration message.
  • the AN sends an RRC Connection Reconfiguration message to the UE.
  • the UE After receiving the RRC connection reconfiguration message, the UE obtains the third parameter and the tunnel identification information.
  • the third parameter of the UE and the tunnel identifier information are stored, and are carried when the uplink data is subsequently sent.
  • the UE generates an RRC connection complete message and transmits an RRC Connection Complete message to the AN.
  • Step 412 The AN sends an initial context setup response message to the AMF.
  • the AN receives the RRC connection complete message sent by the UE, and specifies that the UE has received the node level authorization identifier.
  • the AN generates an initial context setup response message.
  • the AN sends an initial context setup response message to the AMF.
  • the AMF establishes a response message according to the initial context to clarify that the AN has completed RRC connection reconfiguration with the UE.
  • FIG. 5 shows a process in which the SMF establishes a node level tunnel.
  • Step 500 The SMF sends a fourth service request to the AN.
  • the SMF after determining that the data of the UE is transmitted using the specified type of tunnel, there is no node level tunnel that can be used to carry the UE data, and the SMF establishes a node level tunnel that can be used to carry the UE data.
  • the SMF generates a fourth service request.
  • the fourth service request is used to establish a second tunnel, and the fourth service request includes a first parameter, where the first parameter is used to indicate that the type of the second tunnel is a specified type.
  • the SMF sends a fourth service request to the AN.
  • Step 501 The AN sends a fourth service response to the SMF.
  • the AN after receiving the fourth service request, the AN obtains the first parameter therefrom. According to the first parameter, AN determines Identification information corresponding to the second tunnel of the AN that matches the first parameter. The AN generates a fourth service response. The fourth service response includes the identifier information corresponding to the second tunnel of the AN. The AN sends a fourth service response to the SMF.
  • Step 502 The SMF sends a fifth service request to the UPF.
  • the SMF receives the fourth service response sent by the AN, and obtains the identifier information corresponding to the second tunnel of the AN, and also determines that the AN has selected the identifier information corresponding to the second tunnel of the matched AN according to the first parameter.
  • the SMF generates a fifth service request.
  • the fifth tunnel request is used to establish a third tunnel
  • the fifth service request includes a second parameter
  • the second parameter is used to indicate that the tunnel type of the third tunnel is a specified type.
  • the SMF sends a fifth service request to the UPF.
  • Step 503 The UPF sends a fifth service response to the SMF.
  • the UPF receives the fifth service request sent by the SMF, and obtains the second parameter therefrom. According to the second parameter, the UPF determines the identification information corresponding to the third tunnel of the UPF that matches the second parameter.
  • the UPF generates a fifth service response.
  • the fifth service response includes the identifier information corresponding to the third tunnel of the UPF.
  • the UPF sends a fifth service response to the SMF.
  • Step 504 The UPF saves context information of the node level tunnel.
  • Step 505 The SMF sends a sixth service request to the AN.
  • the SMF receives the fifth service response, and obtains the identifier information corresponding to the third tunnel of the UPF, and also clarifies that the UPF has selected the identifier information corresponding to the third tunnel of the matched UPF according to the second parameter.
  • the SMF generates a fifth service request.
  • the sixth service request includes the identifier information corresponding to the third tunnel of the UPF.
  • the SMF sends a sixth service request to the AN.
  • Step 506 The AN sends a sixth service response to the SMF.
  • the AN receives the sixth service request sent by the SMF, and obtains the identifier information corresponding to the third tunnel of the UPF.
  • the AN specifies that the identifier information corresponding to the third tunnel of the UPF is information that matches the identifier information corresponding to the second tunnel of the previously determined AN.
  • the AN generates a sixth service response and sends a sixth service response to the SMF.
  • Step 507 The AN saves context information of the node level tunnel.
  • Step 508 The SMF saves context information of the node level tunnel.
  • the SMF receives the resource setup update response message sent by the AN. Based on the resource establishment update response message, the SMF determines that the AN has stored context information for the node level tunnel. At this time, the SMF also stores the context information of the node level tunnel, the identifier information corresponding to the second tunnel of the AN, and the identifier information corresponding to the third tunnel of the UPF as the context information of the node level tunnel, thereby completing the data that can be used to carry the UE.
  • the creation of a node level tunnel is a node level tunnel.
  • the SMF can bind the created node level tunnel with the UE context information.
  • the SMF can bind the created node level tunnel with the UE context information.
  • FIG. 6 shows a process of transmitting data through a node level tunnel.
  • each request message and each response message in the foregoing embodiment are embodied.
  • the naming of each message may be changed according to actual conditions.
  • Step 700 The UE sends data to the AN.
  • the UE transmits data to the AN.
  • the data includes a second parameter.
  • the second parameter is used to instruct the AN to transmit data using a tunnel of the specified type.
  • the data is sent in the form of a packet, and the second parameter can be in the header of the packet. Can be outside the header of the packet.
  • the data includes tunnel identification information.
  • the tunnel identification information is used by the AN to identify tunneling data of a specified type.
  • Step 701 The AN sends data through a node level tunnel.
  • the AN receives data sent by the UE, and according to the second parameter or the tunnel identification information, the AN determines to use the tunnel of the specified type to transmit data.
  • the tunnel of the specified type is a node level tunnel.
  • the AN may also determine a node level tunnel for carrying data based on the second parameter or the tunnel identification information.
  • the AN sends data to the UPF through the determined node level tunnel.
  • the embodiment of the present invention further provides a data transmission device, which is used to implement the connection establishment method provided in the foregoing embodiment, as shown in FIG.
  • the device includes: a sending unit 710 and a receiving and receiving unit 720.
  • the sending unit 710 is configured to send a first message to the first network device, where the first message is used to request to establish a first connection, where the first message includes a first parameter, and the first parameter is used by Determining, by the first network device, that data of the device is transmitted by using a tunnel of a specified type; or, the first parameter is used by the second network device to determine a usage specification when receiving the first parameter sent by the first network device a type of tunnel to transmit data of the device;
  • the receiving unit 720 is configured to receive a second message sent by the first network device, where the second message is used by the device to accept establishing the first connection.
  • the first parameter sent by the sending unit 710 includes at least one of a user terminal type, a user terminal network capability, a service type, network slice information, a single network slice selection auxiliary information S-NSSAI, and a data network name DNN. item.
  • the receiving unit 720 is further configured to receive the second parameter sent by the first network device or the second network device;
  • the second parameter is used to indicate that the tunnel that carries the data of the user terminal is the tunnel of the specified type.
  • the receiving unit 720 is further configured to receive tunnel identifier information sent by the first network device or the second network device, where the tunnel identifier information is used by the device to be carried when the data is sent.
  • the network device receiving the data is identified to transmit the data using a tunnel of a specified type.
  • the receiving unit 720 is further configured to receive a third parameter sent by the access node AN;
  • the sending unit 710 is further configured to send data to the AN, where the data includes the third parameter, and the third parameter is used by the AN to identify the first tunnel to transmit the data, where the The type of a tunnel is the specified type.
  • the receiving unit 720 is further configured to receive a fourth parameter sent by the access node AN;
  • the sending unit 710 is further configured to send a radio resource control RRC message to the AN, where the RRC message is used to establish or restore RRC connection data, where the RRC message includes a fourth parameter, the fourth parameter And the AN is configured to identify, by the second tunnel, data of the user terminal, where the type of the second tunnel is the specified type.
  • the sending unit 710 is further configured to: send data to the access node AN, where the data includes the second parameter, where the second parameter is used to indicate that the AN uses the specified type
  • the tunnel transmits the data.
  • the sending unit 710 is further configured to send data to the access node AN, where the number is The tunnel identification information is used by the AN to identify the third tunnel to transmit the data, and the type of the third tunnel is the specified type. Therefore, by applying the apparatus for data transmission provided by the embodiment of the present invention, the apparatus sends a first message to the first network device, where the first message is used to request to establish the first connection.
  • the first message includes a first parameter, and the first parameter is used by the first network device to determine to transmit data of the device by using a tunnel of a specified type.
  • the device receives a second message sent by the first network device, and the device accepts to establish a first connection according to the second message, after the device receives the first connection, after sending the data to the first network device, the first network
  • the device may transmit data of the device through a tunnel of a type, wherein the tunnel of the specified type is a node level tunnel.
  • the network side can transmit UE data through the node level tunnel, thereby reducing the number of tunnels on the network side, saving network resources, and improving transmission efficiency.
  • the embodiment of the present invention further provides a data transmission device, which is used to implement the connection establishment method provided in the foregoing embodiment, as shown in FIG.
  • the device includes a receiving unit 810, a determining unit 820, and an executing unit 830.
  • the receiving unit 810 is configured to receive a first parameter sent by the user terminal
  • a determining unit 820 configured to determine, according to the first parameter, that the data of the user terminal is transmitted by using a tunnel of a specified type
  • the executing unit 830 is configured to perform, by the network device, a process of establishing a first connection, where the first connection is used to carry data of the user terminal.
  • the first parameter received by the receiving unit 810 includes at least one of a user terminal type, a user terminal network capability, a service type, network slice information, a single network slice selection auxiliary information S-NSSAI, and a data network name DNN. item.
  • the determining unit 820 is specifically configured to: according to the first parameter, select a first tunnel to transmit data of the user terminal, where the type of the first tunnel is the specified type.
  • the executing unit 830 specifically includes: a sending subunit 831, configured to send a first indication and/or a first identifier to the access node AN; the first indication is used to indicate that the AN will be the first The connection is bound to the tunnel of the specified type, and the first identifier is used to identify the first tunnel.
  • the sending sub-unit 831 is further configured to: send a second indication and/or a second identifier to the access user plane function entity UPF; the second indication is used to instruct the UPF to bind the first connection The tunnel of the specified type is determined, and the second identifier is used to identify the first tunnel.
  • the sending subunit 831 is further configured to send a first service to the access node AN, where the first service is used to establish a second tunnel, and the first service includes a first parameter, where the A parameter is used to indicate that the type of the second tunnel is the specified type.
  • the receiving unit 810 is further configured to receive identifier information corresponding to the second tunnel that is sent by the AN.
  • the sending subunit 831 is further configured to: send a second service to the access user plane function entity UPF, the second service is used to establish a third tunnel; the second service includes a second parameter, The second parameter is used to indicate that the tunnel type of the third tunnel is the specified type;
  • the receiving unit 810 is further configured to receive identifier information corresponding to the third tunnel that is sent by the UPF.
  • the device further includes: a sending unit 840, configured to send, to the user terminal, a third parameter and/or a fourth parameter, where the third parameter is used to indicate that the tunnel carrying the data of the user terminal is A tunnel of the specified type.
  • the fourth parameter is used to identify the tunnel of the specified type. Therefore, by applying the number provided by the embodiment of the present invention
  • the device receives the first parameter sent by the UE.
  • the first parameter all the data of the UE is transmitted using the tunnel of the specified type.
  • the apparatus performs a process of establishing a first connection, where the first connection is used to carry data of the UE, and the tunnel of the specified type is a node level tunnel.
  • the network side can transmit UE data through the node level tunnel, thereby reducing the number of tunnels on the network side, saving network resources, and improving transmission efficiency. .
  • the embodiment of the present invention further provides a user terminal, which is used to implement the data transmission method in the foregoing embodiment of the present invention.
  • the user terminal includes: a receiver 910, a processor 920, and a sending The device 930 and the memory 940.
  • the receiver 910, the processor 920, the transmitter 930, and the memory 940 are connected to each other through a bus 950;
  • the bus 950 may be a peripheral component interconnect standard (English: peripheral component interconnect (PCI) bus or an extended industry standard structure (English: Extended industry standard architecture, referred to as: EISA) bus.
  • PCI peripheral component interconnect
  • EISA Extended industry standard architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus.
  • the receiver 910 and the transmitter 930 are communication interfaces for communication and interaction between the user terminal and other devices. It can be a wired communication access port, a wireless communication interface or a combination thereof, wherein the wired communication interface can be, for example, an Ethernet interface.
  • the Ethernet interface can be an optical interface, an electrical interface, or a combination thereof.
  • the wireless communication interface may be a wireless local area network (Wireless Local Area Networks, WLAN for short) interface, a cellular network communication interface, or a combination thereof.
  • the processor 920 can be a central processing unit (English: central processing unit, CPU for short), a network processor (English: network processor, NP for short) or a combination of CPU and NP.
  • CPU central processing unit
  • NP network processor
  • Processor 920 can also further include a hardware chip.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above PLD can be a complex programmable logic device (English: complex programmable logic device, CPLD for short), field-programmable gate array (English: field-programmable gate array, referred to as: FPGA), general array logic (English: general array Logic, abbreviated as: GAL) or any combination thereof.
  • the memory 940 may include a volatile memory (English: volatile memory), such as random-access memory (RAM: RAM); the memory may also include non-volatile memory (English: non-volatile memory) For example, a flash memory (English: flash memory), a hard disk (English: hard disk drive, HDD) or a solid state drive (English: solid-state drive, SSD); the memory 940 may also include the above types of memory. combination.
  • volatile memory such as random-access memory (RAM: RAM
  • non-volatile memory English: non-volatile memory
  • flash memory English: flash memory
  • HDD hard disk drive
  • SSD solid state drive
  • the memory 940 can also be used to store program instructions.
  • the processor 920 calls the program instructions stored in the memory 940; when the processor 920 is hardware such as an FPGA, an ASIC, etc., the processor 920 Without the need for the memory 940 to store program instructions, the technician can directly write the program instructions into the hardware processor of the FPGA or the ASIC, and the FPGA and the ASIC can directly execute the program instructions.
  • the above program instructions may implement one or more steps in the embodiment shown in Figures 2-6, or an optional embodiment thereof, such that the user terminal implements the function of data transmission in the above method.
  • the processor 920 is configured to generate a first message, and transmit the first message to a sender, where the first message is used to request to establish a first connection, where the first The message includes a first parameter, the first parameter is used by the first network device to determine to transmit data of the terminal by using a tunnel of a specified type; or the first parameter is used by the second network device to receive the Determining, by using a tunnel of the specified type, the data of the terminal when the first parameter sent by the network device is sent;
  • the transmitter 930 is configured to receive the first message that is sent by the processor, and send the first message to the first network device.
  • the receiver 910 is configured to receive a second message sent by the first network device, and transmit the second message to the processor.
  • the processor 920 is further configured to receive the second message transmitted by the receiver, and accept to establish the first connection according to the second message.
  • the first parameter sent by the transmitter 930 includes at least one of a user terminal type, a user terminal network capability, a service type, network slice information, a single network slice selection auxiliary information S-NSSAI, and a data network name DNN. item.
  • the receiver 910 is further configured to receive the second parameter sent by the first network device or the second network device, and transmit the second parameter to the processor;
  • the processor 920 is further configured to receive the second parameter that is transmitted by the receiver, and explicitly indicate, according to the second parameter, that a tunnel that carries data of the user terminal is the tunnel of the specified type.
  • the receiver 910 is further configured to: receive tunnel identification information sent by the first network device or the second network device, and transmit the tunnel identification information to the processor;
  • the processor 920 is further configured to receive the tunnel identifier information that is transmitted by the receiver, and store the tunnel identifier information, where the tunnel identifier information is used by the sender to carry data when transmitting data.
  • the network device receiving the data is identified to transmit the data using a tunnel of a specified type.
  • the receiver 910 is further configured to receive a third parameter sent by the access node AN, and transmit the third parameter to the processor;
  • the processor 920 is further configured to receive the third parameter transmitted by the receiver, and generate data according to the third parameter, and transmit the data to the transmitter, where the data includes the a third parameter, where the third parameter is used by the AN to identify the first tunnel to transmit the data, where the type of the first tunnel is the specified type;
  • the transmitter 930 is further configured to receive the data transmitted by the processor and send data to the AN.
  • the receiver 910 is further configured to receive a fourth parameter sent by the access node AN, and transmit the fourth parameter to the processor;
  • the processor 920 is further configured to receive the fourth parameter that is transmitted by the receiver, generate a radio resource control RRC message according to the fourth parameter, and transmit the RRC message to the transmitter, where the RRC The message is used to establish or restore RRC connection data, where the RRC message includes a fourth parameter, where the fourth parameter is used by the AN to identify a second tunnel to transmit data of the user terminal, where the second tunnel Type is the specified type;
  • the transmitter 930 is further configured to receive the RRC message transmitted by the processor, and send the RRC message to the AN.
  • the processor 920 is further configured to: generate the data, and transmit the data to the transmitter, where the data includes the second parameter, and the second parameter is used to indicate The AN transmits the data using the tunnel of the specified type;
  • the transmitter 930 is further configured to receive the data transmitted by the processor and send data to the access node AN.
  • the processor 920 is further configured to: generate the data, and transmit the data to the transmitter, where the data includes the tunnel identification information, and the tunnel identifier information is used by the AN identifies the third tunnel Transmitting the data, the type of the third tunnel is the specified type;
  • the transmitter 930 is further configured to receive the data transmitted by the processor and send data to the access node AN.
  • the UE sends a first message to the first network device, where the first message is used to request to establish the first connection.
  • the first message includes a first parameter, where the first parameter is used by the first network device to determine to transmit data of the UE by using a specified type of tunnel.
  • the UE receives the second message sent by the first network device, and the UE accepts to establish the first connection according to the second message.
  • the UE may send the data to the first network device, and the first network device may The tunnel transmits the data of the UE, where the tunnel of the specified type is a node level tunnel.
  • the network side can transmit UE data through the node level tunnel, thereby reducing the number of tunnels on the network side, saving network resources, and improving transmission efficiency.
  • the embodiment of the present invention further provides a network device, which is used to implement the data transmission method in the foregoing embodiment of the present invention.
  • the network device includes: a receiver 1010, a processor 1020, and a sending The device 1030 and the memory 1040.
  • the receiver 1010, the processor 1020, the transmitter 1030, and the memory 1040 are connected to one another via a bus 1050.
  • the receiver 1010, the processor 1020, the transmitter 1030, the memory 1040, and the bus 1050 are the same as the configurations and types of the devices included in the user terminal in the foregoing embodiment, and are not repeatedly described herein.
  • the network device in the embodiment of the present invention may be the foregoing AMF or SMF.
  • the receiver 1010 is configured to receive a first parameter sent by a user terminal, and transmit the first parameter to a processor;
  • the processor 1020 is configured to receive the first parameter that is transmitted by the receiver, and determine, according to the first parameter, that the data of the user terminal is transmitted by using a tunnel of a specified type;
  • the processor 1020 is further configured to perform a process of establishing a first connection, where the first connection is used to carry data of the user terminal.
  • the first parameter received by the receiver 1010 includes at least one of a user terminal type, a user terminal network capability, a service type, network slice information, a single network slice selection auxiliary information S-NSSAI, and a data network name DNN. item.
  • the processor 1020 is specifically configured to: according to the first parameter, select a first tunnel to transmit data of the user terminal, where the type of the first tunnel is the specified type.
  • the processor 1020 is specifically configured to generate a first indication and/or a first identifier, and transmit the first indication and/or the first identifier to the transmitter; the first indication is used to indicate The AN binds the first connection to the tunnel of the specified type, and the first identifier is used to identify the first tunnel;
  • the transmitter 1030 is configured to receive the first indication and/or the first identifier that is sent by the processor, and send the first indication and/or the first identifier to the access node AN.
  • the processor 1020 is specifically configured to generate a second indication and/or a second identifier, and transmit the second indication and/or the second identifier to the transmitter; the second indication is used to indicate The UPF binds the first connection to the tunnel of the specified type, and the second identifier is used to identify the first tunnel;
  • the transmitter 1030 is further configured to receive the second indication and/or the second identifier that is sent by the processor, and send the second indication and/or the second identifier to an access user plane function entity UPF.
  • the processor 1020 is specifically configured to generate a first service, and transmit the first to the sender a service, the first service is configured to establish a second tunnel, the first service includes a first parameter, and the first parameter is used to indicate that the type of the second tunnel is the specified type
  • the transmitter 1030 is further configured to receive the first service that is transmitted by the processor, and send a first service to the access node AN;
  • the receiver 1010 is further configured to receive the identifier information corresponding to the second tunnel that is sent by the AN, and transmit the identifier information corresponding to the second tunnel to the processor;
  • the processor 1020 is further configured to receive the identifier information corresponding to the second tunnel that is transmitted by the receiver, and store the identifier information corresponding to the second tunnel.
  • the processor 1020 is specifically configured to: generate a second service, and transmit the second service to the sender; the second service is used to establish a third tunnel; and the second service includes a second a parameter, where the second parameter is used to indicate that the tunnel type of the third tunnel is the specified type;
  • the transmitter 1030 is further configured to receive the second service that is sent by the processor, and send a second service to the access user plane function entity UPF;
  • the receiver 1010 is further configured to receive the identifier information corresponding to the third tunnel that is sent by the UPF, and transmit the identifier information corresponding to the third tunnel to the processor.
  • the processor 1020 is further configured to receive the identifier information corresponding to the third tunnel that is transmitted by the receiver, and store the identifier information corresponding to the third tunnel.
  • the processor 1020 is further configured to generate a third parameter and/or a fourth parameter, and transmit the third parameter and/or the fourth parameter to the transmitter, where the third parameter is used to indicate The tunnel carrying the data of the user terminal is the tunnel of the specified type.
  • the fourth parameter is used to identify the tunnel of the specified type;
  • the transmitter 1030 is further configured to receive the third parameter and/or the fourth parameter transmitted by the processor, and send a third parameter and/or a fourth parameter to the user terminal, where the third parameter A tunnel for indicating data carrying the user terminal is the tunnel of the specified type.
  • the fourth parameter is used to identify the tunnel of the specified type.
  • the network device receives the first parameter sent by the UE by using the network device provided by the embodiment of the present invention. According to the first parameter, all the data of the UE is transmitted using the tunnel of the specified type.
  • the network device performs a process of establishing a first connection, where the first connection is used to carry data of the UE, and the tunnel of the specified type is a node level tunnel.
  • the network side can transmit UE data through the node level tunnel, thereby reducing the number of tunnels on the network side, saving network resources, and improving transmission efficiency.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明实施例提供一种数据传输的方法与装置,所述方法包括:用户终端向第一网络设备发送第一消息,所述第一消息用于请求建立第一连接;其中,所述第一消息包括第一参数,所述第一参数用于所述第一网络设备确定使用指定类型的隧道传输所述终端的数据;或者,所述第一参数用于第二网络设备接收到所述第一网络设备发送的第一参数时,确定使用指定类型的隧道传输所述终端的数据;所述用户终端接收所述第一网路设备发送的第二消息,所述第二消息用于所述用户终端接受建立所述第一连接。

Description

数据传输的方法与装置 技术领域
本发明涉及通信技术领域,尤其涉及一种数据传输的方法与装置。
背景技术
在3G/4G通信系统中,用户终端(英文:User Equipment,简称:UE)的用户面数据在从基站到核心网之间的传输和在核心网网关之间的传输均是基于通用分组无线服务(英文:General Packet Radio Service,简称:GPRS)隧道协议(英文:GPRS Tunnel Protocol,简称:GTP)隧道机制进行。
当UE通过基站与网络侧建立连接时,网络侧会为每个与其连接的UE会话创建至少一个隧道来传输数据,网络侧在创建时为不同的隧道设置不同的服务质量(英文:Quality of Service,简称:QoS)保障。也即是,网络侧建立隧道的机制是基于UE会话和QoS级别建立的。
在下一代移动通信中,将会出现大量的UE与网络侧建立连接,如物联网(英文:Internet of Things,简称:IoT)设备。若网络侧仍为每个UE会话创建至少一个隧道来传输数据,则此时,网络侧将会出现大量的隧道,导致网络资源紧张,也降低传输效率。
发明内容
本发明实施例提供了一种数据传输的的方法与装置,实现了网络侧将多个UE的会话绑定至指定类型的隧道,并通过该指定类型的隧道传输UE数据,从而减少网络侧隧道数目,节省网络资源,提高传输效率。
在第一方面,本发明实施例提供了一种数据传输的方法,所述方法包括:
用户终端向第一网络设备发送第一消息,所述第一消息用于请求建立第一连接;其中,所述第一消息包括第一参数,所述第一参数用于所述第一网络设备确定使用指定类型的隧道传输所述用户终端的数据;或者,所述第一参数用于第二网络设备接收到所述第一网络设备发送的第一参数时,确定使用指定类型的隧道传输所述用户终端的数据;
所述用户终端接收所述第一网路设备发送的第二消息,所述第二消息用于所述用户终端接受建立所述第一连接。
结合第一方面,在第一种可能的实现方式中,所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
结合第一方面,在第二种可能的实现方式中,所述方法还包括:所述用户终端接收所述第一网络设备或者所述第二网络设备发送的第二参数;
其中,所述第二参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。
结合第一方面,在第三种可能的实现方式中,所述方法还包括:
所述用户终端接收所述第一网络设备或者所述第二网络设备发送的隧道标识信息,所述隧道标识信息用于所述用户终端在发送数据时携带在所述数据中,以使接收所述数据的网络设备识别出使用指定类型的隧道传输所述数据。
结合第一方面,在第四种可能的实现方式中,所述方法还包括:
所述用户终端接收接入节点AN发送的第三参数;
所述用户终端向所述AN发送数据,其中,所述数据包括所述第三参数,所述第三参数用于所述AN识别第一隧道传输所述数据,所述第一隧道的类型为所述指定类型。
结合第一方面,在第五种可能的实现方式中,所述方法还包括:
所述用户终端接收接入节点AN发送的第四参数;
所述用户终端向所述AN发送无线资源控制RRC消息,所述RRC消息用于建立或者恢复RRC连接数据,其中,所述RRC消息中包括第四参数,所述第四参数用于所述AN识别第二隧道传输所述用户终端的数据,所述第二隧道的类型为所述指定类型。
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述方法还包括:
所述用户终端向所述接入节点AN发送数据,其中,所述数据包括所述第二参数,所述第二参数用于指示所述AN使用所述指定类型的隧道传输所述数据。
结合第一方面的第二种可能的实现方式,在第四种可能的实现方式中,所述方法还包括:
所述用户终端向所述接入节点AN发送数据,其中,所述数据包括所述隧道标识信息,所述隧道标识信息用于所述AN识别第三隧道传输所述数据,所述第三隧道的类型为所述指定类型。
在第二方面,本发明实施例提供了一种数据传输的方法,所述方法包括:
网络设备接收用户终端发送的第一参数;
所述网络设备根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据;
所述网络设备执行建立第一连接的过程,所述第一连接用于承载所述用户终端的数据。
结合第二方面,在第一种可能的实现方式中,所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
结合第二方面,在第二种可能的实现方式中,所述网络设备根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据,具体包括:
所述网络设备根据所述第一参数,选择第一隧道传输所述用户终端的数据,所述第一隧道的类型为所述指定类型。
结合第二方面的第一种和第二种可能的实现方式,在第三种可能的实现方式中,所述网络设备执行建立第一连接的过程,具体包括:
所述网络设备向接入节点AN发送第一指示和/或第一标识;所述第一指示用于指示所述AN将所述第一连接绑定到所述指定类型的隧道,所述第一标识用于标识所述第一隧道。
结合第二方面的第一种、第二种和第三种可能的实现方式,在第四种可能的实现方式中,所述网络设备执行建立第一连接的过程,具体包括:
所述网路设备向接入用户面功能实体UPF发送第二指示和/或第二标识;所述第二指示用于指示所述UPF将所述第一连接绑定到所述指定类型的隧道,所述第二标识用于标识所述第一隧道。
结合第二方面的第一种、第二种、第三种和第四种可能的实现方式,在第五种可能的实现方式中,所述网络设备执行建立第一连接的过程,具体包括:
所述网络设备向所述接入节点AN发送第一服务,所述第一服务用于建立第二隧道;所述第一服务包括第一参数,所述第一参数用于指示所述第二隧道的类型为所述指定类型。
所述网络设备接收所述AN发送的所述第二隧道对应的标识信息。
结合第二方面的第一种、第二种、第三种、第四种和第五种可能的实现方式,在第六种可能的实现方式中,所述网络设备执行建立第一连接的过程,具体包括:
所述网络设备向接入用户面功能实体UPF发送第二服务,所述第二服务用于建立第三隧道;所述第二服务包括第二参数,所述第二参数用于指示所述第三隧道的隧道类型为所述指定类型;
所述网络设备接收所述UPF发送的所述第三隧道对应的标识信息。
结合第二方面的第一种、第二种、第三种、第四种、第五种和第六种可能的实现方式,在第七种可能的实现方式中,还包括:
所述网络设备向所述用户终端发送第三参数和/或第四参数,所述第三参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。所述第四参数用于标识所述指定类型的隧道。
在第三方面,本发明实施例提供了一种用户终端,所述用户终端包括:
处理器,用于生成第一消息,并向发送器传输所述第一消息,所述第一消息用于请求建立第一连接;其中,所述第一消息包括第一参数,所述第一参数用于所述第一网络设备确定使用指定类型的隧道传输所述用户终端的数据;或者,所述第一参数用于第二网络设备接收到所述第一网络设备发送的第一参数时,确定使用指定类型的隧道传输所述用户终端的数据;
发送器,用于接收所述处理器传输的所述第一消息,并向第一网络设备发送第一消息;
接收器,用于接收所述第一网路设备发送的第二消息,并向所述处理器传输所述第二消息;
所述处理器还用于,接收所述接收器传输的所述第二消息,根据所述第二消息,接受建立所述第一连接。
结合第三方面,在第一种可能的实现方式中,所述发送器发送的所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
结合第三方面,在第二种可能的实现方式中,所述接收器还用于,接收所述第一网络设备或者所述第二网络设备发送的第二参数,并将所述第二参数传输至所述处理器;
所述处理器还用于,接收所述接收器传输的所述第二参数,并根据所述第二参数明确指示承载所述用户终端的数据的隧道为所述指定类型的隧道。
结合第三方面,在第三种可能的实现方式中,所述接收器还用于,接收所述第一网络设备或者所述第二网络设备发送的隧道标识信息,并将所述隧道标识信息传输至所述处理器;
所述处理器还用于,接收所述接收器传输的所述隧道标识信息,并将所述隧道标识信息进行存储,所述隧道标识信息用于所述发送器在发送数据时携带在所述数据中,以使接收所述数据的网络设备识别出使用指定类型的隧道传输所述数据。
结合第三方面,在第四种可能的实现方式中,所述接收器还用于,接收接入节点AN发送的第三参数,并向所述处理器传输所述第三参数;
所述处理器还用于,接收所述接收器传输的所述第三参数,并根据所述第三参数生成数据,向所述发送器传输所述数据,其中,所述数据包括所述第三参数,所述第三参数用于所述AN识别第一隧道传输所述数据,所述第一隧道的类型为所述指定类型;
所述发送器还用于,接收所述处理器传输的所述数据,并向所述AN发送数据。
结合第三方面,在第五种可能的实现方式中,所述接收器还用于,接收接入节点AN发送的第四参数,并向所述处理器传输所述第四参数;
所述处理器还用于,接收所述接收器传输的所述第四参数,并根据所述第四参数生成无线资源控制RRC消息,向所述发送器传输所述RRC消息,所述RRC消息用于建立或者恢复RRC连接数据,其中,所述RRC消息中包括第四参数,所述第四参数用于所述AN识别第二隧道传输所述用户终端的数据,所述第二隧道的类型为所述指定类型;
所述发送器还用于,接收所述处理器传输的所述RRC消息,并向所述AN发送所述RRC消息。
结合第三方面的第二种可能的实现方式,在第六种可能的实现方式中,所述处理器还用于,生成所述数据,并将所述数据传输至所述发送器,其中,所述数据包括所述第二参数,所述第二参数用于指示所述AN使用所述指定类型的隧道传输所述数据;
所述发送器还用于,接收所述处理器传输的所述数据,并向所述接入节点AN发送数据。
结合第三方面的第三种可能的实现方式,在第七种可能的实现方式中,所述处理器还用于,生成所述数据,并将所述数据传输至所述发送器,其中,所述数据包括所述隧道标识信息,所述隧道标识信息用于所述AN识别第三隧道传输所述数据,所述第三隧道的类型为所述指定类型;
所述发送器还用于,接收所述处理器传输的所述数据,并向所述接入节点AN发送数据。
在第四方面,本发明实施例提供了一种网络设备,所述网络设备包括:
接收器,用于接收用户终端发送的第一参数,并将第一参数传输至处理器;
处理器,用于接收所述接收器传输的所述第一参数,并根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据;
所述处理器还用于,执行建立第一连接的过程,所述第一连接用于承载所述用户终端的数据。
结合第四方面,在第一种可能的实现方式中,所述接收器接收的所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
结合第四方面,在第二种可能的实现方式中,所述处理器具体用于,根据所述第一参数,选择第一隧道传输所述用户终端的数据,所述第一隧道的类型为所述指定类型。
结合第四方面的第一种、第二种可能的实现方式,在第三种可能的实现方式中,其特征在于,所述网络设备还包括:发送器;
所述处理器具体用于,生成第一指示和/或第一标识,并向所述发送器传输所述第一指示和/或第一标识;所述第一指示用于指示所述AN将所述第一连接绑定到所述指定类型的隧道,所述第一标识用于标识所述第一隧道;
所述发送器,用于接收所述处理器传输的所述第一指示和/或第一标识,并向接入节点AN发送所述第一指示和/或第一标识。
结合第四方面的第一种、第二种和第三种可能的实现方式,在第四种可能的实现方式中,所述处理器具体用于,生成第二指示和/或第二标识,并向所述发送器传输所述第二指示和/或第二标识;所述第二指示用于指示所述UPF将所述第一连接绑定到所述指定类型的隧道,所述第二标识用于标识所述第一隧道;
所述发送器还用于,接收所述处理器传输的所述第二指示和/或第二标识,并向接入用户面功能实体UPF发送所述第二指示和/或第二标识。
结合第四方面的第一种、第二种、第三种和第四种可能的实现方式,在第五种可能的实现方式中,所述处理器具体用于,生成第一服务,并向所述发送器传输所述第一服务;所述第一服务用于建立第二隧道;所述第一服务包括第一参数,所述第一参数用于指示所述第二隧道的类型为所述指定类型
所述发送器还用于,接收所述处理器传输的所述第一服务,并向所述接入节点AN发送第一服务;
所述接收器还用于,接收所述AN发送的所述第二隧道对应的标识信息,并向所述处理器传输所述第二隧道对应的标识信息;
所述处理器还用于,接收所述接收器传输的所述第二隧道对应的标识信息,并将所述第二隧道对应的标识信息进行存储。
结合第四方面的第一种、第二种、第三种、第四种和第五种可能的实现方式,在第六种可能的实现方式中,所述处理器具体用于,生成第二服务,并向所述发送器传输所述第二服务;所述第二服务用于建立第三隧道;所述第二服务包括第二参数,所述第二参数用于指示所述第三隧道的隧道类型为所述指定类型;
所述发送器还用于,接收所述处理器传输的所述第二服务,并向接入用户面功能实体UPF发送第二服务;
所述接收器还用于,接收所述UPF发送的所述第三隧道对应的标识信息,并向所述处理器传输所述第三隧道对应的标识信息;
所述处理器还用于,接收所述接收器传输的所述第三隧道对应的标识信息,并将所述第三隧道对应的标识信息进行存储。
结合第四方面的第一种、第二种、第三种、第四种、第五种和第六种可能的实现方 式,在第七种可能的实现方式中,所述处理器还用于,生成第三参数和/或第四参数,并向所述发送器传输所述第三参数和/或第四参数,所述第三参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。所述第四参数用于标识所述指定类型的隧道;
所述发送器还用于,接收所述处理器传输的所述第三参数和/或第四参数,并向所述用户终端发送第三参数和/或第四参数,所述第三参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。所述第四参数用于标识所述指定类型的隧道。
在第五方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上储存有计算机程序,所述计算机程序被处理器执行如第一方面提供的任意一项所述的方法。
在第六方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上储存有计算机程序,所述计算机程序被处理器执行如第二方面提供的任意一项所述的方法。
因此,通过应用本发明实施例提供的数据传输的方法与装置,用户终端向第一网络设备发送第一消息,第一消息用于请求建立第一连接。其中,第一消息包括第一参数,第一参数用于第一网络设备确定使用指定类型的隧道传输用户终端的数据。用户终端接收第一网络设备发送的第二消息,根据第二消息用户终端接受建立第一连接,用户终端在接受第一连接后,在向第一网络设备发送数据后,第一网络设备可通过指定类型的隧道传输用户终端的数据,其中,指定类型的隧道为节点级别隧道。实现了网络侧可通过节点级别隧道传输UE数据,从而减少网络侧隧道数目,节省网络资源,提高传输效率。
附图说明
图1为本发明实施例提供的网络结构图;
图2为本发明实施例提供的一种数据传输的方法流程图;
图3为本发明实施例提供的另一种数据传输的方法流程图;
图4为本发明实施例提供的SMF将UE会话关联到已存储的节点级别隧道时序图;
图5为本发明实施例提供的SMF建立节点级别隧道时序图;
图6为本发明实施例提供的通过节点级别隧道发送数据时序图;
图7为本发明实施例提供的一种数据传输的装置结构示意图;
图8为本发明实施例提供的另一种数据传输的装置结构示意图;
图9为本发明实施例提供的一种网络设备结构示意图;
图10为本发明实施例提供的一种终端结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员所获得的所有其它实施例,都属于本发明保护的范围。
请参考图1,图1为本发明实施例提供的网络结构图。由UE、接入节点(英文:Access Node,简称:AN)、接入与移动性管理功能实体(英文:Access and mobility Management Function,简称:AMF)、会话管理功能实体(英文:Session Management Function,简 称:SMF)以及用户面功能(User Plan Function,简称:UPF)构成。AMF、SMF以及UPF为功能性实体,AMF、SMF可同存在于同一个网络设备中。其中,UE具体为具有对消息进行收发、处理以及显示功能的智能终端,该智能终端可以包括台式电脑、个人电脑、平板电脑等等。
如图1所示,UE通过无线网络与基站建立连接。基站可与终端进行通信交互。例如:终端向基站发送上行数据,基站接收到终端发送的上行数据后,将上行数据传输至网络侧,并在网络侧对上行数据进行处理后反馈至终端等等。在本发明实施例中,UE与AMF、SMF之间通过N1接口连接;AN与AMF、SMF之间通过N2接口连接;AN与UPF之间通过N3接口连接;UPF与SMF之间通过N4接口连接。
本发明实施例提供了一种数据传输的方法,用户终端向第一网络设备发送第一消息,第一消息用于请求建立第一连接。其中,第一消息包括第一参数,第一参数用于第一网络设备确定使用指定类型的隧道传输用户终端的数据。用户终端接收第一网络设备发送的第二消息,根据第二消息用户终端接受建立第一连接,用户终端在接受第一连接后,在向第一网络设备发送数据后,第一网络设备可通过指定类型的隧道传输用户终端的数据。实现了网络侧可通过节点级别隧道传输UE数据,从而减少网络侧隧道数目,节省网络资源,提高传输效率。
下面结合附图2,对本发明的实施例提供的方案进行说明。图2为本发明实施例提供的一种数据传输的方法流程图。在所述方法中,执行主体为网络设备,该网络设备可以为实现SMF或者AMF功能的设备。具体包括以下步骤:
步骤210、网络设备接收用户终端发送的第一参数。
具体地,UE希望与网络建立连接,UE通过AN向网络设备发送第一参数。在一个例子中,当网络设备为AMF时,UE通过AN向AMF发送注册请求消息,在该注册请求消息中携带第一参数。AMF从注册请求消息中获取第一参数。
在另一个例子中,当网络设备为SMF时,UE通过AN向AMF发送会话建立请求消息,在该会话建立请求消息中携带第一参数。AMF接收到会话建立请求消息后向SMF转发该会话建立请求消息。SMF从会话建立请求消息中获取第一参数。
在另一个例子中,网络设备为SMF时,UE通过AN向AMF发送第一参数和会话建立请求消息,AMF向SMF转发第一参数和会话建立请求消息。
其中,在本发明实施例中,第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息(英文:Single network sections select auxiliary information,简称:S-NSSAI)、数据网络名称(英文:Data Network Name,简称:DNN),QoS中的至少一项。具体举例如下:
用户终端类型可以包括车对外界的信息交换(英文:vehicle to X,简称:V2X)类型(车联网相关),IoT类型,移动宽带(英文:Mobile Broadband,简称:MBB)类型及其他类型等,用于标识该终端是一个V2X类型,IoT类型,MBB类型或者其他类型的终端。
用户终端网络能力可以包括支持IoT的能力,支持V2X的能力,支持MBB的能力等。
业务类型可以包括V2X业务,IoT业务,MBB业务,表示终端请求获得V2X业务,IoT业务,MBB业务或者其他业务。
网络切片信息可以包括V2X类型(车联网相关),IoT(物联网类型),MBB(移动 宽带类型),高可靠低时延(英文:Ultra-reliable and Low Latency Communications,简称:URLLC)类型及其他类型等,表示终端请求接入一个V2X类型,IoT类型,MBB类型,高可靠低时延或者其他类型的切片。
单一网络切片选择辅助信息S-NSSAI包括切片/服务类型(SST),切片区分(SD)。其中,SST可以包括:V2X类型(车联网相关),IoT(物联网类型),MBB(移动宽带类型),URLLC(高可靠低时延)及其他类型等,表示终端请求接入一个V2X类型,IoT类型,MBB类型,高可靠低时延或者其他类型的切片。
步骤220、所述网络设备根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据。
例如,当第一参数为用户终端类型时,网络设备可以根据用户终端类型为IoT类型,确定将IoT类型的终端使用指定类型的隧道;当第一参数为业务类型时,网络设备可以根据业务类型为IoT类型,确定将请求IoT业务类型的终端使用指定类型的隧道;当第一参数为网络切片信息时,网络设备可以根据切片信息为IoT确定将请求IoT切片类型的终端使用指定类型的隧道;当第一参数为S-NSSAI时,网络设备可以根据SST为IoT类型,确定将请求IoT类型的终端使用指定类型的隧道;当第一参数为QoS时,网络设备可以确定特定的QoS的会话使用指定类型的隧道。
需要说明的是,网络设备根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据可以包括:所述终端的所有数据都通过指定类型的隧道传输;或者,所述终端的某个或者某些特定会话通过指定类型的隧道传输,例如,当所述终端请求建立一个特定的会话时,网络设备根据第一参数确定该会话通过指定类型的隧道传输。
具体地,网络设备在确定使用指定类型的隧道传输所述终端的数据后,,选择第一隧道传输所述终端的数据。其中,第一隧道的类型为指定类型。
在本发明实施例中,第一类型为基于节点级别隧道(per-node tunnel),也即是,指定类型为基于节点级别。也就是说,在两个网络节点之间存在一个公共的隧道来承载多个用户终端的类型相同的终端的数据流,或者多个终端的某一特定类型的会话的数据流,或者多个终端的某一特定QoS的会话的数据流。
例如,网络节点可以为某一类UE的会话,或者某一类业务相关的会话,或者某一QoS的会话,或者某一切换相关的会话分配一个专用隧道,该专用隧道用于多个UE共享,或者某个UE的多个会话共享。如,AN与UPF之间,或者两个UPF之间的隧道可以使用第一类型。
步骤230、所述网络设备执行建立第一连接的过程,所述第一连接用于承载所述用户终端的数据。
具体地,网络设备确定使用基于节点级别隧道传输UE的数据后,网络设备建立第一连接,进而使得建立后的第一连接可用于承载UE的数据。第一连接可以是AN到UPF之间的连接或者UPF之间的连接。
其中,网络设备执行建立第一连接的过程具体包括:网络设备向AN发送第一指示和/或第一标识。其中,第一指示用于指示AN将第一连接绑定到指定类型的隧道,第一标识用于标识第一隧道,即指示AN将第一隧道用于承载通过第一连接传输的数据。
网路设备向UPF发送第二指示和/或第二标识。其中,第二指示用于指示UPF将第一 连接绑定到指定类型的隧道,第二标识用于标识第一隧道,即指示UPF将第一隧道用于承载通过第一连接传输的数据。
在本发明实施例中,第一隧道为AN、UPF中已建立的基于节点级别隧道。AN、UPF根据接收的指示和/或标识,将第一连接绑定到已经建立的基于节点级别的隧道。
需要说明的是,网络设备在向AN或UPF发送指示和/或标识时,可以将该指示和/或标识携带在请求消息中发送,也可以是将该指示和/或标识携带在服务请求中发送。例如,网络设备向AN发送第一服务请求,该第一服务请求中包括第一指示和/或第一标识;网络设备向UPF发送第二服务请求,该第二服务请求中包括第二指示和/或第二标识。AN或UPF在将第一连接绑定到基于节点级别隧道后,分别向网络设备发送服务响应,如第一服务响应、第二服务响应。网络设备根据服务响应,明确AN、UPF已将第一连接绑定到基于节点级别隧道。
前述所说的标识可为一个或者多个。例如,隧道ID,或者,与隧道对应的AN侧的IP地址、隧道端点标识TEID,UPF侧的IP地址、隧道端点标识TEID。
因此,通过应用本发明实施例提供的数据传输的方法,网络设备接收UE发送的第一参数。根据第一参数确定使用指定类型的隧道传输UE的数据。网络设备执行建立第一连接的过程,其中,第一连接用于承载UE的数据,指定类型的隧道为节点级别隧道。实现了网络侧可通过节点级别隧道传输UE数据,从而减少网络侧隧道数目,节省网络资源,提高传输效率。
可选地,在本发明实施例中,还包括当AN、UPF中未存在可用于承载UE数据的节点级别隧道的情况。在这种情况下,网络设备触发AN、UPF建立可用于承载UE数据的节点级别隧道,并通过新建立的节点级别隧道对UE数据进行承载。
具体地,网络设备向接入节点AN发送第三服务请求,该第三服务请求用于AN建立第二隧道。其中,第三服务请求包括第一参数,该第一参数用于指示第二隧道的类型为指定类型,即第二隧道为基于节点级别隧道。AN建立第二隧道(分配第二隧道对应的标识信息)后,向网络设备发送第三服务响应。其中,第三服务响应包括第二隧道对应的标识信息,该标识信息可具体为AN侧的IP、隧道端点标识(英文:tunnel end point IP address,简称:TEID)。网络设备接收AN发送的第三服务响应,从中获取第二隧道对应的标识信息。
网络设备向UPF发送第四服务请求,该第四服务请求用于UPF建立第三隧道。所述第四服务请求包括第二参数,该第二参数用于指示第三隧道的隧道类型为指定类型,即第三隧道为基于节点级别隧道。UPF建立第三隧道后,向网络设备发送第四服务响应。其中,第四服务响应包括第三隧道对应的标识信息,该标识信息可具体为UPF侧的IP、TEID。网络设备接收UPF发送的第四服务响应,从中获取第三隧道对应的标识信息。
网络设备接收到第二隧道对应的标识信息、第三隧道对应的标识信息后,将标识信息作为基于节点级别隧道的上下文信息进行存储。网络设备将第二隧道对应的标识信息、第三隧道对应的标识信息作为基于节点级别隧道的两侧端点的标识信息。
可选地,在本发明实施例中,还包括:网络设备向UE发送第三参数和/或第四参数的步骤。其中,第三参数用于指示承载UE的数据的隧道为指定类型的隧道,即第三参数使UE明确,UE的数据可通过基于节点级别隧道承载发送。第三参数还可具有授权的作用。 例如,第三参数为授权ID,该授权ID可在UE向AN发送数据时携带。AN根据授权ID确定该UE的数据可通过基于节点级别隧道承载发送,同时,根据授权ID确定基于节点级别隧道的上下文信息,或者,第三参数也可为隧道标识信息,如隧道ID、AN侧IP地址和隧道端点标识TEID、UPF侧IP地址和TEID等等。第四参数用于标识指定类型的隧道。该第四参数可具体为隧道ID,或者,与隧道对应的AN侧的IP地址、TEID,UPF侧的IP地址、TEID。
下面结合附图3,对本发明的实施例提供的方案进行说明。图3为本发明实施例提供的另一种连接建立的方法流程图。在所述方法中,执行主体为UE。具体包括以下步骤:
步骤310、用户终端向第一网络设备发送第一消息,所述第一消息用于请求建立第一连接;其中,所述第一消息包括第一参数,所述第一参数用于所述第一网络设备确定使用指定类型的隧道传输所述用户终端的数据;或者,所述第一参数用于第二网络设备接收到所述第一网络设备发送的第一参数时,确定使用指定类型的隧道传输所述用户终端的数据。
具体地,UE希望与网络侧建立连接,UE通过AN向第一网络设备发送第一消息,该第一消息用于请求建立第一连接。
其中,第一消息包括第一参数,该第一参数用于第一网络设备确定使用指定类型的隧道传输UE的数据;或者,第一参数用于第二网络设备接收到第一网络设备发送的第一参数时,确定使用指定类型的隧道传输UE的数据。所述指定类型的隧道为基于节点级别隧道。
在本发明实施例中,第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN、服务质量QoS中的至少一项。具体举例如下:
用户终端类型可以包括V2X类型(车联网相关),IoT(物联网类型),MBB(移动宽带类型)及其他类型等,用于标识该终端是一个V2X类型,IoT类型,MBB类型或者其他类型的终端。
用户终端网络能力可以包括支持IoT的能力,支持V2X的能力,支持MBB的能力等。
业务类型可以包括V2X业务,IoT业务,MBB业务,表示终端请求获得V2X业务,IoT业务,MBB业务或者其他业务。
网络切片信息可以包括V2X类型(车联网相关),IoT(物联网类型),MBB(移动宽带类型),URLLC(高可靠低时延)及其他类型等,表示终端请求接入一个V2X类型,IoT类型,MBB类型,高可靠低时延或者其他类型的切片。
单一网络切片选择辅助信息S-NSSAI包括切片/服务类型(SST),切片区分(SD)。其中,SST可以包括:V2X类型(车联网相关),IoT(物联网类型),MBB(移动宽带类型),URLLC(高可靠低时延)及其他类型等,表示终端请求接入一个V2X类型,IoT类型,MBB类型,高可靠低时延或者其他类型的切片。
需要说明的是,如果第一网络设备为AMF,则第一消息为注册请求消息,在注册请求消息中包括第一参数。此时第一连接指UE与网络之间建立NAS(Non Access Spectrum)连接。
或者,如果第一网络设备为SMF,则第一消息为会话建立请求消息,在会话建立请求 消息中包括第一参数。此时第一连接指UE与网络之间建立用户面连接。
或者,第一网络设备为AMF,第二网络设备为SMF,第一消息为NAS消息,包括第一参数和会话建立请求消息。AMF将第一参数和会话机那里请求消息发送给SMF后,SMF确定使用指定类型的隧道传输UE的数据。此时第一连接指UE与网络之间建立用户面连接。
需要进一步说明的是,第一网络设备或者第二网络设备根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据可以包括:所述终端的所有数据都通过指定类型的隧道传输;或者,所述终端的某个或者某些特定会话通过指定类型的隧道传输,例如,当所述终端请求建立一个特定的会话时,网络设备根据第一参数确定该会话通过指定类型的隧道传输。
步骤320、所述用户终端接收所述第一网路设备发送的第二消息,所述第二消息用于所述用户终端接受建立所述第一连接。
具体地,网络设备根据UE发送的第一参数,确定使用指定类型的隧道传输UE的数据。网络设备执行建立第一连接的过程,第一连接用于承载UE的数据。
网络设备在执行建立第一连接的过程后,向UE发送第二消息。UE根据第二消息接受建立的第一连接。
根据前述的例子,如果第一网络设备为AMF,则第二消息为注册接受消息。
或者,如果第一网络设备为SMF,则第二消息为会话建立接受消息。
或者,第一网络设备为AMF,第二网络设备为SMF,第二消息为NAS消息,其中包括会话建立请求消息。
在本发明实施例中,网络设备根据第一参数确定使用指定类型的隧道传输UE的数据以及网络设备执行建立第一连接的过程在前述实施例中已进行了详细描述,在此不再复述。
因此,通过应用本发明实施例提供的数据传输的方法,UE向第一网络设备发送第一消息,第一消息用于请求建立第一连接。其中,第一消息包括第一参数,第一参数用于第一网络设备确定使用指定类型的隧道传输UE的数据。UE接收第一网络设备发送的第二消息,根据第二消息UE接受建立第一连接,UE在接受第一连接后,在向第一网络设备发送数据后,第一网络设备可通过制定类型的隧道传输UE的数据,其中,指定类型的隧道为节点级别隧道。实现了网络侧可通过节点级别隧道传输UE数据,从而减少网络侧隧道数目,节省网络资源,提高传输效率。
可选地,本发明实施例还包括UE接收第一网络设备或者第二网络设备发送的第二参数的步骤。其中,第二参数用于指示承载UE的数据的隧道为指定类型的隧道。
在前述实施例中,已详细说明网络设备向UE发送第二参数的过程,在此不再复述。
可选地,本发明实施例还包括UE接收第一网络设备或者第二网络设备发送的隧道标识信息的步骤。其中,隧道标识信息用于UE在发送数据时携带在数据中,以使接收数据的网络设备识别出使用指定类型的隧道传输数据。
在前述实施例中,已详细说明网络设备向UE发送隧道标识信息的过程,在此不再复述。
可选地,本发明实施例还包括UE接收AN发送的第三参数的步骤。
具体地,UE接收AN发送的第三参数。其中,第三参数用于AN识别第一隧道传输数 据,第一隧道的类型为指定类型,即第一隧道为基于节点级别隧道。第三参数可具体为隧道标识信息、如隧道ID、AN侧IP地址和隧道端点标识TEID、UPF侧IP地址和TEID等。第三参数还可具有授权的作用。例如,第三参数为授权ID,该授权ID可在UE向AN发送数据时携带。
UE向AN发送数据,其中,所述数据包括第三参数。第三参数可位于数据包头内,或者位于数据包头外。AN根据第三参数识别第一隧道传输该数据。其中,第一隧道的类型为指定类型,即基于节点级别隧道。
可选地,本发明实施例还包括UE接收AN发送的第四参数的步骤。
具体地,UE接收AN发送的第四参数。其中,第四参数用于AN识别第二隧道传输UE的数据,第二隧道的类型为指定类型,即第二隧道为基于节点级别隧道。
UE向AN发送无线资源控制RRC消息。其中,RRC消息用于建立或者恢复RRC连接数据。RRC消息中包括第四参数。
可选地,本发明实施例还包括UE向AN发送数据的步骤。
具体地,UE向AN发送数据。其中,数据包括第二参数,第二参数可位于数据包头内,或者位于数据包头外。第二参数用于指示AN使用指定类型的隧道传输数据,即AN使用基于节点级别隧道承载UE的数据。
可选地,本发明实施例还包括UE向AN发送数据的步骤。
具体地,UE向AN发送数据。其中,数据包括隧道标识信息,隧道标识信息可位于数据包头内,或者位于数据包头外。隧道标识信息用于AN识别第三隧道传输数据,第三隧道的类型为指定类型,即第三隧道为基于节点级别隧道。
在前述实施例中,简要描述了数据传输的方法,下面结合附图4-附图6,对本发明实施例提供的方案进行说明。图4-图6为本发明实施例提供的数据传输的方法中各过程的时序图。
如图4所示,图4示出了网络设备确定使用指定类型的隧道传输UE的数据并执行建立第一连接的过程。下面以第一网络设备为AMF、第二网络设备为SMF为例进行说明。
具体包括以下步骤:
步骤400、UE通过AN向AMF发送NAS消息。该NAS消息包括第一参数。
需要说明的是,NAS消息包括第一参数的一种可能为NAS消息包括第一参数和会话建立请求消息;另一种可能是NAS消息包括会话建立请求消息,其中会话请求消息中包括第一参数。
具体地,UE希望与网络侧建立连接,UE通过AN向AMF发送NAS消息,在NAS请求消息中包括第一参数。
步骤401、AMF与SDM进行鉴权认证。
具体地,AMF接收到NAS请求消息后,启动自身与SDM之间的认证过程。该过程具体为对UE的合法性进行验证。
步骤402、AMF向SMF发送第一服务请求,该第一服务请求包括第一参数。
具体地,当UE为合法UE时,AMF生成第一服务请求,并向SMF发送第一服务请求。其中,第一服务请求包括第一参数。需要说明的是,与步骤400相对应,第一服务请求包括第一参数的一种可能为第一服务请求包括第一参数和会话建立请求消息;另一种可能是 第一请求服务包括会话建立请求消息,其中会话请求消息中包括第一参数。
步骤403、SMF根据第一参数,确定使用指定类型的隧道传输UE的数据。
具体地,前述实施例中已详细描述了步骤403的过程,在此不再复述。
如果SMF根据第一参数,确定使用指定类型的隧道传输所述终端的数据后,没有可用于承载UE数据的节点级别隧道,则SMF建立可用于承载UE数据的节点级别隧道。
SMF建立可用于承载UE数据的节点级别隧道还请参考附图5的描述。
步骤404、网络设备向AN发送第二服务请求,该第二服务请求包括第一指示和/或第一标识。
具体地,前述实施例中已详细描述了步骤404的过程,在此不再复述。
步骤405、AN建立UE上下文信息与节点级别隧道之间的映射关系。
具体地,AN接收到第二服务请求后,从中获取第一指示和/或第一标识。
在本发明实施例中,AN建立UE上下文信息与节点级别隧道之间的映射关系具体是指,AN将UE上下文信息与节点级别隧道进行绑定。
进一步地,AN根据第一指示和/或第一标识,AN从自身已建立的多条隧道中确定待绑定的节点级别隧道。根据第一指示和/或第一标识,AN将UE的上下文信息与确定的节点级别隧道绑定。
其中,UE上下文信息具体包括UE的属性信息(如,UE的类型、级别、标识,会话标识等)、AN为UE创建的空口连接关系、AN为UE分配的连接资源等内容。
在进行绑定结束后,AN还可生成第一服务响应,并向SMF发送该第一服务响应,以使SMF明确AN已完成绑定。
步骤406、网路设备向UPF发送第三服务请求,该第三服务请求包括第二指示和/或第二标识。
具体地,前述实施例中已详细描述了步骤406的过程,在此不再复述。
步骤407、UPF建立UE上下文信息与节点级别隧道之间的映射关系。
具体地,UPF接收到第二服务请求后,从中获取第二指示和/或第二标识。
在本发明实施例中,UPF建立UE上下文信息与节点级别隧道之间的映射关系具体是指,UPF将UE上下文信息与节点级别隧道进行绑定。
进一步地,UPF根据第二指示和/或第二标识,UPF从自身已建立的多条隧道中确定待绑定的节点级别隧道。根据第二指示和/或第二标识,UPF将UE的上下文与确定的节点级别隧道绑定。
在进行绑定结束后,UPF还可生成第二服务响应,并向SMF发送该第二服务响应,以使SMF明确UPF已完成绑定。
在本步骤中,UPF中可在先存储了UE的上下文信息,或者,SMF可将UE的上下文信息一同携带在第二服务消息中下发至UPF。
步骤408、SMF与AN之间进行握手确认。
具体地,SMF接收到UPF发送的第二服务响应后,确定UPF已完成隧道绑定。此时,SMF生成握手服务,并向AN发送握手服务。AN根据该握手服务,确定UPF也已完成隧道绑定。AN生成握手服务响应,并向SMF发送握手服务响应。
步骤409、SMF向AMF发送第三服务响应。
具体地,SMF接收到AN发送的握手服务响应后,SMF生成第三服务响应消息。SMF向AN发送该第三服务响应,第三服务响应包括第二参数。第二参数用于在UE发送数据时携带,以使AN根据第二参数确定使用指定类型的隧道传输UE的数据。
SMF还可将隧道标识信息携带在第三服务响应中一同下发至AMF。
步骤410、AMF向AN发送初始上下文建立请求消息。
具体地,AMF接收到第三服务响应后,从中获取第二参数。AMF生成初始上下文建立请求(initial context setup request)消息,在初始上下文建立请求消息中携带非接入层(英文:non-access stratum,简称:nas)消息。AMF将获取的第二参数携带在nas消息中。AMF向AN发送初始上下文建立请求消息。AMF还可将隧道标识信息携带在初始上下文建立请求消息中一同下发至AN。
步骤411、AN与UE之间进行RRC连接重配置。
具体地,AN接收到初始上下文建立请求消息后,从中获取第二参数。根据第二参数,AN明确使用节点级别隧道发送UE的数据。根据隧道标识信息,AN确定为UE的上下文信息所绑定的UPF。
AN根据第二参数和隧道标识信息,生成第三参数。该第三参数用于UE在向AN发送数据时携带,以使AN通过该第三参数识别第一隧道传输UE的数据,第一隧道的类型为指定类型。
AN生成RRC连接重配置(RRC connection reconfigration)消息,并将第三参数和隧道标识信息携带在RRC连接重配置消息中。
AN向UE发送RRC连接重配置消息。UE接收到RRC连接重配置消息后,从中获取第三参数和隧道标识信息。UE第三参数和隧道标识信息进行存储,在后续发送上行数据时携带。
UE生成RRC连接完成(RRC connection complete)消息,并将RRC连接完成消息发送至AN。
步骤412、AN向AMF发送初始上下文建立响应消息。
具体地,AN接收到UE发送的RRC连接完成消息,明确UE已收到节点级别授权标识。AN生成初始上下文建立响应(initial context setup response)消息。
AN向AMF发送初始上下文建立响应消息。AMF根据初始上下文建立响应消息明确AN已与UE完成RRC连接重配置。
如图5所示,图5示出了SMF建立节点级别隧道的过程。
具体包括以下步骤:
步骤500、SMF向AN发送第四服务请求。
具体地,根据第一参数,确定使用指定类型的隧道传输UE的数据后,没有可用于承载UE数据的节点级别隧道,则SMF建立可用于承载UE数据的节点级别隧道。SMF生成第四服务请求。其中,第四服务请求用于建立第二隧道,第四服务请求包括第一参数,第一参数用于指示第二隧道的类型为指定类型。
SMF向AN发送第四服务请求。
步骤501、AN向SMF发送第四服务响应。
具体地,AN接收到第四服务请求后,从中获取第一参数。根据第一参数,AN确定出 与第一参数匹配的AN的第二隧道对应的标识信息。AN生成第四服务响应。其中,第四服务响应包括AN的第二隧道对应的标识信息。AN向SMF发送第四服务响应。
步骤502、SMF向UPF发送第五服务请求。
具体地,SMF接收AN发送的第四服务响应,从中获取AN的第二隧道对应的标识信息,同时,也明确AN已根据第一参数选择出匹配的AN的第二隧道对应的标识信息。此时,SMF生成第五服务请求。其中,第五隧道请求用于建立第三隧道,第五服务请求包括第二参数,第二参数用于指示第三隧道的隧道类型为指定类型。SMF向UPF发送第五服务请求。
步骤503、UPF向SMF发送第五服务响应。
具体地,UPF接收SMF发送的第五服务请求,从中获取第二参数。根据第二参数,UPF确定出与第二参数匹配的UPF的第三隧道对应的标识信息。
UPF生成第五服务响应。其中,第五服务响应包括UPF的第三隧道对应的标识信息。UPF向SMF发送第五服务响应。
步骤504、UPF保存节点级别隧道的上下文信息。
步骤505、SMF向AN发送第六服务请求。
具体地,SMF接收第五服务响应,从中获取UPF的第三隧道对应的标识信息,同时,也明确UPF已根据第二参数选择出匹配的UPF的第三隧道对应的标识信息。此时,SMF生成第五服务请求。其中,第六服务请求包括UPF的第三隧道对应的标识信息。SMF向AN发送第六服务请求。
步骤506、AN向SMF发送第六服务响应。
具体地,AN接收SMF发送的第六服务请求,从中获取UPF的第三隧道对应的标识信息。AN明确该UPF的第三隧道对应的标识信息为与在先确定出的AN的第二隧道对应的标识信息匹配的信息。
AN生成第六服务响应,并向SMF发送第六服务响应。
步骤507、AN保存节点级别隧道的上下文信息。
步骤508、SMF保存节点级别隧道的上下文信息。
具体地,SMF接收AN发送的资源建立更新响应消息。根据资源建立更新响应消息,SMF确定AN已存储了节点级别隧道的上下文信息。此时,SMF也将节点级别隧道的上下文信息、AN的第二隧道对应的标识信息和UPF的第三隧道对应的标识信息作为节点级别隧道的上下文信息进行存储,进而完成可用于承载UE数据的节点级别隧道的创建。
可以理解的是,SMF在完成可用于承载UE数据的节点级别隧道的创建后,SMF可将已创建的节点级别隧道与UE的上下文信息进行绑定。具体绑定过程可参见前述实施例步骤404-步骤412的描述,在此不再复述。
如图6所示,图6示出了通过节点级别隧道发送数据的过程。
在下述步骤中,将前述实施例中的各请求消息、各响应消息进行了具体化,在实际应用中,各消息的命名可根据实际情况进行改变。
具体包括以下步骤:
步骤700、UE向AN发送数据。
具体地,UE向AN发送数据。其中,数据包括第二参数。第二参数用于指示AN使用指定类型的隧道传输数据。数据以数据包的形式发送,第二参数可以处于数据包头内,也 可处于数据包头外。
或者,数据包括隧道标识信息。隧道标识信息用于AN识别出指定类型的隧道传输数据。
步骤701、AN通过节点级别隧道发送数据。
具体地,AN接收UE发送的数据,根据第二参数或者隧道标识信息,AN确定使用指定类型的隧道发送数据。本发明实施例中,指定类型的隧道为节点级别隧道。AN还可根据第二参数或者隧道标识信息确定出用于承载数据的某个节点级别隧道。
AN通过确定出的节点级别隧道,向UPF发送数据。
上述实施例描述的内容均可实现连接建立的方法,相应地,本发明实施例还提供了一种数据传输的装置,用以实现前述实施例中提供的连接建立的方法,如图7所示,所述装置包括:发送单元710以及接收收单元720。
所述发送单元710,用于向第一网络设备发送第一消息,所述第一消息用于请求建立第一连接;其中,所述第一消息包括第一参数,所述第一参数用于所述第一网络设备确定使用指定类型的隧道传输所述装置的数据;或者,所述第一参数用于第二网络设备接收到所述第一网络设备发送的第一参数时,确定使用指定类型的隧道传输所述装置的数据;
接收单元720,用于接收所述第一网路设备发送的第二消息,所述第二消息用于所述装置接受建立所述第一连接。
进一步地,所述发送单元710发送的所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
进一步地,所述接收单元720还用于,接收所述第一网络设备或者所述第二网络设备发送的第二参数;
其中,所述第二参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。
进一步地,所述接收单元720还用于,接收所述第一网络设备或者所述第二网络设备发送的隧道标识信息,所述隧道标识信息用于所述装置在发送数据时携带在所述数据中,以使接收所述数据的网络设备识别出使用指定类型的隧道传输所述数据。
进一步地,所述接收单元720还用于,接收接入节点AN发送的第三参数;
所述发送单元710还用于,向所述AN发送数据,其中,所述数据包括所述第三参数,所述第三参数用于所述AN识别第一隧道传输所述数据,所述第一隧道的类型为所述指定类型。
进一步地,所接收单元720还用于,接收接入节点AN发送的第四参数;
所述发送单元710还用于,向所述AN发送无线资源控制RRC消息,所述RRC消息用于建立或者恢复RRC连接数据,其中,所述RRC消息中包括第四参数,所述第四参数用于所述AN识别第二隧道传输所述用户终端的数据,所述第二隧道的类型为所述指定类型。
进一步地,所述发送单元710还用于,向所述接入节点AN发送数据,其中,所述数据包括所述第二参数,所述第二参数用于指示所述AN使用所述指定类型的隧道传输所述数据。
进一步地,所述发送单元710还用于,向所述接入节点AN发送数据,其中,所述数 据包括所述隧道标识信息,所述隧道标识信息用于所述AN识别第三隧道传输所述数据,所述第三隧道的类型为所述指定类型。因此,通过应用本发明实施例提供的数据传输的装置,所述装置向第一网络设备发送第一消息,第一消息用于请求建立第一连接。其中,第一消息包括第一参数,第一参数用于第一网络设备确定使用指定类型的隧道传输所述装置的数据。所述装置接收第一网络设备发送的第二消息,根据第二消息所述装置接受建立第一连接,所述装置在接受第一连接后,在向第一网络设备发送数据后,第一网络设备可通过制定类型的隧道传输所述装置的数据,其中,指定类型的隧道为节点级别隧道。实现了网络侧可通过节点级别隧道传输UE数据,从而减少网络侧隧道数目,节省网络资源,提高传输效率。
上述实施例描述的内容均可实现连接建立的方法,相应地,本发明实施例还提供了一种数据传输的装置,用以实现前述实施例中提供的连接建立的方法,如图8所示,所述装置包括:接收单元810、确定单元820以及执行单元830。
所述接收单元810,用于接收用户终端发送的第一参数;
确定单元820,用于根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据;
执行单元830,用于网络设备执行建立第一连接的过程,所述第一连接用于承载所述用户终端的数据。
进一步地,所述接收单元810接收的所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
进一步地,所述确定单元820具体用于,根据所述第一参数,选择第一隧道传输所述用户终端的数据,所述第一隧道的类型为所述指定类型。
进一步地,所述执行单元830具体包括:发送子单元831,用于向接入节点AN发送第一指示和/或第一标识;所述第一指示用于指示所述AN将所述第一连接绑定到所述指定类型的隧道,所述第一标识用于标识所述第一隧道。
进一步地,所述发送子单元831还用于,向接入用户面功能实体UPF发送第二指示和/或第二标识;所述第二指示用于指示所述UPF将所述第一连接绑定到所述指定类型的隧道,所述第二标识用于标识所述第一隧道。
进一步地,所述发送子单元831还用于,向所述接入节点AN发送第一服务,所述第一服务用于建立第二隧道;所述第一服务包括第一参数,所述第一参数用于指示所述第二隧道的类型为所述指定类型。
所述接收单元810还用于,接收所述AN发送的所述第二隧道对应的标识信息。
进一步地,所述发送子单元831还用于,向接入用户面功能实体UPF发送第二服务,所述第二服务用于建立第三隧道;所述第二服务包括第二参数,所述第二参数用于指示所述第三隧道的隧道类型为所述指定类型;
所述接收单元810还用于,接收所述UPF发送的所述第三隧道对应的标识信息。
进一步地,所述装置还包括:发送单元840,用于向所述用户终端发送第三参数和/或第四参数,所述第三参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。所述第四参数用于标识所述指定类型的隧道。因此,通过应用本发明实施例提供的数 据传输的装置,所述装置接收UE发送的第一参数。根据第一参数全都使用指定类型的隧道传输UE的数据。所述装置执行建立第一连接的过程,其中,第一连接用于承载UE的数据,指定类型的隧道为节点级别隧道。实现了网络侧可通过节点级别隧道传输UE数据,从而减少网络侧隧道数目,节省网络资源,提高传输效率。。
另外,本发明实施例还提供了一种用户终端,用以实现前述本发明实施例中的数据传输的方法,如图9所示,所述用户终端包括:接收器910、处理器920、发送器930以及存储器940。接收器910、处理器920、发送器930以及存储器940通过总线950相互连接;总线950可以是外设部件互连标准(英文:peripheral component interconnect,简称:PCI)总线或扩展工业标准结构(英文:extended industry standard architecture,简称:EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
接收器910、发送器930为用户终端与其它设备进行通信交互的通信接口。可以为有线通信接入口,无线通信接口或其组合,其中,有线通信接口例如可以为以太网接口。以太网接口可以是光接口,电接口或其组合。无线通信接口可以为无线局域网(英文:Wireless Local Area Networks,简称:WLAN)接口,蜂窝网络通信接口或其组合等。
处理器920可以是中央处理器(英文:central processing unit,简称:CPU),网络处理器(英文:network processor,简称:NP)或者CPU和NP的组合。
处理器920还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(英文:application-specific integrated circuit,简称:ASIC),可编程逻辑器件(英文:programmable logic device,简称:PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(英文:complex programmable logic device,简称:CPLD),现场可编程逻辑门阵列(英文:field-programmable gate array,简称:FPGA),通用阵列逻辑(英文:generic array logic,简称:GAL)或其任意组合。
存储器940可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,简称:RAM);存储器也可以包括非易失性存储器(英文:non-volatile memory),例如快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,简称:HDD)或固态硬盘(英文:solid-state drive,简称:SSD);存储器940还可以包括上述种类的存储器的组合。
可选地,存储器940还可以用于存储程序指令,当处理器920是CPU时,处理器920调用该存储器940中存储的程序指令;当处理器920是FPGA,ASIC等硬件时,处理器920无需存储器940存储程序指令,技术人员可将程序指令直接写入FPGA、ASIC的硬件处理器中,FPGA、ASIC可直接执行程序指令。
上述程序指令可实现图2-图6所示实施例中的一个或多个步骤,或其中可选的实施方式,使得所述用户终端实现上述方法中数据传输的功能。
在本发明实施例中,所述处理器920,用于生成第一消息,并向发送器传输所述第一消息,所述第一消息用于请求建立第一连接;其中,所述第一消息包括第一参数,所述第一参数用于所述第一网络设备确定使用指定类型的隧道传输所述终端的数据;或者,所述第一参数用于第二网络设备接收到所述第一网络设备发送的第一参数时,确定使用指定类型的隧道传输所述终端的数据;
发送器930,用于接收所述处理器传输的所述第一消息,并向第一网络设备发送第一消息;
接收器910,用于接收所述第一网路设备发送的第二消息,并向所述处理器传输所述第二消息;
所述处理器920还用于,接收所述接收器传输的所述第二消息,根据所述第二消息,接受建立所述第一连接。
进一步地,所述发送器930发送的所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
进一步地,所述接收器910还用于,接收所述第一网络设备或者所述第二网络设备发送的第二参数,并将所述第二参数传输至所述处理器;
所述处理器920还用于,接收所述接收器传输的所述第二参数,并根据所述第二参数明确指示承载所述用户终端的数据的隧道为所述指定类型的隧道。
进一步地,所述接收器910还用于,接收所述第一网络设备或者所述第二网络设备发送的隧道标识信息,并将所述隧道标识信息传输至所述处理器;
所述处理器920还用于,接收所述接收器传输的所述隧道标识信息,并将所述隧道标识信息进行存储,所述隧道标识信息用于所述发送器在发送数据时携带在所述数据中,以使接收所述数据的网络设备识别出使用指定类型的隧道传输所述数据。
进一步地,所述接收器910还用于,接收接入节点AN发送的第三参数,并向所述处理器传输所述第三参数;
所述处理器920还用于,接收所述接收器传输的所述第三参数,并根据所述第三参数生成数据,向所述发送器传输所述数据,其中,所述数据包括所述第三参数,所述第三参数用于所述AN识别第一隧道传输所述数据,所述第一隧道的类型为所述指定类型;
所述发送器930还用于,接收所述处理器传输的所述数据,并向所述AN发送数据。
进一步地,所述接收器910还用于,接收接入节点AN发送的第四参数,并向所述处理器传输所述第四参数;
所述处理器920还用于,接收所述接收器传输的所述第四参数,并根据所述第四参数生成无线资源控制RRC消息,向所述发送器传输所述RRC消息,所述RRC消息用于建立或者恢复RRC连接数据,其中,所述RRC消息中包括第四参数,所述第四参数用于所述AN识别第二隧道传输所述用户终端的数据,所述第二隧道的类型为所述指定类型;
所述发送器930还用于,接收所述处理器传输的所述RRC消息,并向所述AN发送所述RRC消息。
进一步地,所述处理器920还用于,生成所述数据,并将所述数据传输至所述发送器,其中,所述数据包括所述第二参数,所述第二参数用于指示所述AN使用所述指定类型的隧道传输所述数据;
所述发送器930还用于,接收所述处理器传输的所述数据,并向所述接入节点AN发送数据。
进一步地,所述处理器920还用于,生成所述数据,并将所述数据传输至所述发送器,其中,所述数据包括所述隧道标识信息,所述隧道标识信息用于所述AN识别第三隧 道传输所述数据,所述第三隧道的类型为所述指定类型;
所述发送器930还用于,接收所述处理器传输的所述数据,并向所述接入节点AN发送数据。
因此,通过应用本发明实施例提供的用户终端,UE向第一网络设备发送第一消息,第一消息用于请求建立第一连接。其中,第一消息包括第一参数,第一参数用于第一网络设备确定使用指定类型的隧道传输UE的数据。UE接收第一网络设备发送的第二消息,根据第二消息UE接受建立第一连接,UE在接受第一连接后,在向第一网络设备发送数据后,第一网络设备可通过制定类型的隧道传输UE的数据,其中,指定类型的隧道为节点级别隧道。实现了网络侧可通过节点级别隧道传输UE数据,从而减少网络侧隧道数目,节省网络资源,提高传输效率。
另外,本发明实施例还提供了一种网络设备,用以实现前述本发明实施例中的数据传输的方法,如图10所示,所述网络设备包括:接收器1010、处理器1020、发送器1030以及存储器1040。接收器1010、处理器1020、发送器1030以及存储器1040通过总线1050相互连接。
其中,所述接收器1010、处理器1020、发送器1030、存储器1040以及总线1050与前述实施例中用户终端包括的各器件的构造、类型相同,在此不再复述。
需要说明的是,本发明实施例中的网络设备可以为前述的AMF或者SMF。
在本发明实施例中,所述接收器1010,用于接收用户终端发送的第一参数,并将第一参数传输至处理器;
处理器1020,用于接收所述接收器传输的所述第一参数,并根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据;
所述处理器1020还用于,执行建立第一连接的过程,所述第一连接用于承载所述用户终端的数据。
进一步地,所述接收器1010接收的所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
进一步地,所述处理器1020具体用于,根据所述第一参数,选择第一隧道传输所述用户终端的数据,所述第一隧道的类型为所述指定类型。
进一步地,所述处理器1020具体用于,生成第一指示和/或第一标识,并向所述发送器传输所述第一指示和/或第一标识;所述第一指示用于指示所述AN将所述第一连接绑定到所述指定类型的隧道,所述第一标识用于标识所述第一隧道;
所述发送器1030,用于接收所述处理器传输的所述第一指示和/或第一标识,并向接入节点AN发送所述第一指示和/或第一标识。
进一步地,所述处理器1020具体用于,生成第二指示和/或第二标识,并向所述发送器传输所述第二指示和/或第二标识;所述第二指示用于指示所述UPF将所述第一连接绑定到所述指定类型的隧道,所述第二标识用于标识所述第一隧道;
所述发送器1030还用于,接收所述处理器传输的所述第二指示和/或第二标识,并向接入用户面功能实体UPF发送所述第二指示和/或第二标识。
进一步地,所述处理器1020具体用于,生成第一服务,并向所述发送器传输所述第 一服务;所述第一服务用于建立第二隧道;所述第一服务包括第一参数,所述第一参数用于指示所述第二隧道的类型为所述指定类型
所述发送器1030还用于,接收所述处理器传输的所述第一服务,并向所述接入节点AN发送第一服务;
所述接收器1010还用于,接收所述AN发送的所述第二隧道对应的标识信息,并向所述处理器传输所述第二隧道对应的标识信息;
所述处理器1020还用于,接收所述接收器传输的所述第二隧道对应的标识信息,并将所述第二隧道对应的标识信息进行存储。
进一步地,所述处理器1020具体用于,生成第二服务,并向所述发送器传输所述第二服务;所述第二服务用于建立第三隧道;所述第二服务包括第二参数,所述第二参数用于指示所述第三隧道的隧道类型为所述指定类型;
所述发送器1030还用于,接收所述处理器传输的所述第二服务,并向接入用户面功能实体UPF发送第二服务;
所述接收器1010还用于,接收所述UPF发送的所述第三隧道对应的标识信息,并向所述处理器传输所述第三隧道对应的标识信息;
所述处理器1020还用于,接收所述接收器传输的所述第三隧道对应的标识信息,并将所述第三隧道对应的标识信息进行存储。
进一步地,所述处理器1020还用于,生成第三参数和/或第四参数,并向所述发送器传输所述第三参数和/或第四参数,所述第三参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。所述第四参数用于标识所述指定类型的隧道;
所述发送器1030还用于,接收所述处理器传输的所述第三参数和/或第四参数,并向所述用户终端发送第三参数和/或第四参数,所述第三参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。所述第四参数用于标识所述指定类型的隧道。
因此,通过应用本发明实施例提供的网络设备,网络设备接收UE发送的第一参数。根据第一参数全都使用指定类型的隧道传输UE的数据。网络设备执行建立第一连接的过程,其中,第一连接用于承载UE的数据,指定类型的隧道为节点级别隧道。实现了网络侧可通过节点级别隧道传输UE数据,从而减少网络侧隧道数目,节省网络资源,提高传输效率。
专业人员应该还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详 细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (34)

  1. 一种数据传输的方法,其特征在于,所述方法包括:
    用户终端向第一网络设备发送第一消息,所述第一消息用于请求建立第一连接;其中,所述第一消息包括第一参数,所述第一参数用于所述第一网络设备确定使用指定类型的隧道传输所述用户终端的数据;或者,所述第一参数用于第二网络设备接收到所述第一网络设备发送的第一参数时,确定使用指定类型的隧道传输所述用户终端的数据;
    所述用户终端接收所述第一网路设备发送的第二消息,所述第二消息用于所述用户终端接受建立所述第一连接。
  2. 根据权利要求1所述的方法,其特征在于,所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:所述用户终端接收所述第一网络设备或者所述第二网络设备发送的第二参数;
    其中,所述第二参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述用户终端接收所述第一网络设备或者所述第二网络设备发送的隧道标识信息;所述隧道标识信息用于所述用户终端在发送数据时携带在所述数据中,以使接收所述数据的网络设备识别出使用指定类型的隧道传输所述数据。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述用户终端接收接入节点AN发送的第三参数;
    所述用户终端向所述AN发送数据,其中,所述数据包括所述第三参数,所述第三参数用于所述AN识别第一隧道传输所述数据,所述第一隧道的类型为所述指定类型。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述用户终端接收接入节点AN发送的第四参数;
    所述用户终端向所述AN发送无线资源控制RRC消息,所述RRC消息用于建立或者恢复RRC连接数据,其中,所述RRC消息中包括第四参数,所述第四参数用于所述AN识别第二隧道传输所述用户终端的数据,所述第二隧道的类型为所述指定类型。
  7. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    所述用户终端向所述接入节点AN发送数据,其中,所述数据包括所述第二参数,所述第二参数用于指示所述AN使用所述指定类型的隧道传输所述数据。
  8. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    所述用户终端向所述接入节点AN发送数据,其中,所述数据包括所述隧道标识信息,所述隧道标识信息用于所述AN识别第三隧道传输所述数据,所述第三隧道的类型为所述指定类型。
  9. 一种数据传输的方法,其特征在于,所述方法包括:
    网络设备接收用户终端发送的第一参数;
    所述网络设备根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据;
    所述网络设备执行建立第一连接的过程,所述第一连接用于承载所述用户终端的数据。
  10. 根据权利要求9所述的方法,其特征在于,所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
  11. 根据权利要求9所述的方法,其特征在于,所述网络设备根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据,包括:
    所述网络设备根据所述第一参数,选择第一隧道传输所述用户终端的数据,所述第一隧道的类型为所述指定类型。
  12. 根据权利要求9至11任一项所述的方法,其特征在于,所述网络设备执行建立第一连接的过程,包括:
    所述网络设备向接入节点AN发送第一指示和/或第一标识;所述第一指示用于指示所述AN将所述第一连接绑定到所述指定类型的隧道,所述第一标识用于标识所述第一隧道。
  13. 根据权利要求9至12任一项所述的方法,其特征在于,所述网络设备执行建立第一连接的过程,包括:
    所述网路设备向接入用户面功能实体UPF发送第二指示和/或第二标识;所述第二指示用于指示所述UPF将所述第一连接绑定到所述指定类型的隧道,所述第二标识用于标识所述第一隧道。
  14. 根据权利要求9至13任一项所述的方法,其特征在于,所述网络设备执行建立第一连接的过程,包括:
    所述网络设备向所述接入节点AN发送第一服务,所述第一服务用于建立第二隧道;所述第一服务包括第一参数,所述第一参数用于指示所述第二隧道的类型为所述指定类型。
    所述网络设备接收所述AN发送的所述第二隧道对应的标识信息。
  15. 根据权利要求9至14任一项所述的方法,其特征在于,所述网络设备执行建立第一连接的过程,具体包括:
    所述网络设备向接入用户面功能实体UPF发送第二服务,所述第二服务用于建立第三隧道;所述第二服务包括第二参数,所述第二参数用于指示所述第三隧道的隧道类型为所述指定类型;
    所述网络设备接收所述UPF发送的所述第三隧道对应的标识信息。
  16. 根据权利要求9至15任一项所述的方法,其特征在于,还包括:
    所述网络设备向所述用户终端发送第三参数和/或第四参数,所述第三参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。所述第四参数用于标识所述指定类型的隧道。
  17. 一种用户终端,其特征在于,所述用户终端包括:
    处理器,用于生成第一消息,并向发送器传输所述第一消息,所述第一消息用于请求建立第一连接;其中,所述第一消息包括第一参数,所述第一参数用于所述第一网络设备确定使用指定类型的隧道传输所述用户终端的数据;或者,所述第一参数用于第二网络设备接收到所述第一网络设备发送的第一参数时,确定使用指定类型的隧道传输所述用户终 端的数据;
    发送器,用于接收所述处理器传输的所述第一消息,并向第一网络设备发送第一消息;
    接收器,用于接收所述第一网路设备发送的第二消息,并向所述处理器传输所述第二消息;
    所述处理器还用于,接收所述接收器传输的所述第二消息,根据所述第二消息,接受建立所述第一连接。
  18. 根据权利要求17所述的用户终端,其特征在于,所述发送器发送的所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
  19. 根据权利要求17所述的用户终端,其特征在于,所述接收器还用于,接收所述第一网络设备或者所述第二网络设备发送的第二参数,并将所述第二参数传输至所述处理器;
    所述处理器还用于,接收所述接收器传输的所述第二参数,并根据所述第二参数明确指示承载所述用户终端的数据的隧道为所述指定类型的隧道。
  20. 根据权利要求17所述的用户终端,其特征在于,所述接收器还用于,接收所述第一网络设备或者所述第二网络设备发送的隧道标识信息,并将所述隧道标识信息传输至所述处理器;
    所述处理器还用于,接收所述接收器传输的所述隧道标识信息,并将所述隧道标识信息进行存储,所述隧道标识信息用于所述发送器在发送数据时携带在所述数据中,以使接收所述数据的网络设备识别出使用指定类型的隧道传输所述数据。
  21. 根据权利要求17所述的用户终端,其特征在于,所述接收器还用于,接收接入节点AN发送的第三参数,并向所述处理器传输所述第三参数;
    所述处理器还用于,接收所述接收器传输的所述第三参数,并根据所述第三参数生成数据,向所述发送器传输所述数据,其中,所述数据包括所述第三参数,所述第三参数用于所述AN识别第一隧道传输所述数据,所述第一隧道的类型为所述指定类型;
    所述发送器还用于,接收所述处理器传输的所述数据,并向所述AN发送数据。
  22. 根据权利要求17所述的用户终端,其特征在于,所述接收器还用于,接收接入节点AN发送的第四参数,并向所述处理器传输所述第四参数;
    所述处理器还用于,接收所述接收器传输的所述第四参数,并根据所述第四参数生成无线资源控制RRC消息,向所述发送器传输所述RRC消息,所述RRC消息用于建立或者恢复RRC连接数据,其中,所述RRC消息中包括第四参数,所述第四参数用于所述AN识别第二隧道传输所述用户终端的数据,所述第二隧道的类型为所述指定类型;
    所述发送器还用于,接收所述处理器传输的所述RRC消息,并向所述AN发送所述RRC消息。
  23. 根据权利要求19所述的用户终端,其特征在于,所述处理器还用于,生成所述数据,并将所述数据传输至所述发送器,其中,所述数据包括所述第二参数,所述第二参数用于指示所述AN使用所述指定类型的隧道传输所述数据;
    所述发送器还用于,接收所述处理器传输的所述数据,并向所述接入节点AN发送数据。
  24. 根据权利要求20所述的用户终端,其特征在于,所述处理器还用于,生成所述数据,并将所述数据传输至所述发送器,其中,所述数据包括所述隧道标识信息,所述隧道标识信息用于所述AN识别第三隧道传输所述数据,所述第三隧道的类型为所述指定类型;
    所述发送器还用于,接收所述处理器传输的所述数据,并向所述接入节点AN发送数据。
  25. 一种网络设备,其特征在于,所述网络设备包括:
    接收器,用于接收用户终端发送的第一参数,并将第一参数传输至处理器;
    处理器,用于接收所述接收器传输的所述第一参数,并根据所述第一参数确定使用指定类型的隧道传输所述用户终端的数据;
    所述处理器还用于,执行建立第一连接的过程,所述第一连接用于承载所述用户终端的数据。
  26. 根据权利要求25所述的网络设备,其特征在于,所述接收器接收的所述第一参数包括用户终端类型、用户终端网络能力、业务类型、网络切片信息、单一网络切片选择辅助信息S-NSSAI、数据网络名称DNN中的至少一项。
  27. 根据权利要求25所述的网络设备,其特征在于,所述处理器具体用于,根据所述第一参数,选择第一隧道传输所述用户终端的数据,所述第一隧道的类型为所述指定类型。
  28. 根据权利要求25至27任一项所述的网络设备,其特征在于,所述网络设备还包括:发送器;
    所述处理器具体用于,生成第一指示和/或第一标识,并向所述发送器传输所述第一指示和/或第一标识;所述第一指示用于指示所述AN将所述第一连接绑定到所述指定类型的隧道,所述第一标识用于标识所述第一隧道;
    所述发送器,用于接收所述处理器传输的所述第一指示和/或第一标识,并向接入节点AN发送所述第一指示和/或第一标识。
  29. 根据权利要求25至28任一项所述的网络设备,其特征在于,所述处理器具体用于,生成第二指示和/或第二标识,并向所述发送器传输所述第二指示和/或第二标识;所述第二指示用于指示所述UPF将所述第一连接绑定到所述指定类型的隧道,所述第二标识用于标识所述第一隧道;
    所述发送器还用于,接收所述处理器传输的所述第二指示和/或第二标识,并向接入用户面功能实体UPF发送所述第二指示和/或第二标识。
  30. 根据权利要求25至29任一项所述的网络设备,其特征在于,所述处理器具体用于,生成第一服务,并向所述发送器传输所述第一服务;所述第一服务用于建立第二隧道;所述第一服务包括第一参数,所述第一参数用于指示所述第二隧道的类型为所述指定类型
    所述发送器还用于,接收所述处理器传输的所述第一服务,并向所述接入节点AN发送第一服务;
    所述接收器还用于,接收所述AN发送的所述第二隧道对应的标识信息,并向所述处理器传输所述第二隧道对应的标识信息;
    所述处理器还用于,接收所述接收器传输的所述第二隧道对应的标识信息,并将所述 第二隧道对应的标识信息进行存储。
  31. 根据权利要求25至30任一项所述的网络设备,其特征在于,所述处理器具体用于,生成第二服务,并向所述发送器传输所述第二服务;所述第二服务用于建立第三隧道;所述第二服务包括第二参数,所述第二参数用于指示所述第三隧道的隧道类型为所述指定类型;
    所述发送器还用于,接收所述处理器传输的所述第二服务,并向接入用户面功能实体UPF发送第二服务;
    所述接收器还用于,接收所述UPF发送的所述第三隧道对应的标识信息,并向所述处理器传输所述第三隧道对应的标识信息;
    所述处理器还用于,接收所述接收器传输的所述第三隧道对应的标识信息,并将所述第三隧道对应的标识信息进行存储。
  32. 根据权利要求25至31任一项所述的网络设备,其特征在于,所述处理器还用于,生成第三参数和/或第四参数,并向所述发送器传输所述第三参数和/或第四参数,所述第三参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。所述第四参数用于标识所述指定类型的隧道;
    所述发送器还用于,接收所述处理器传输的所述第三参数和/或第四参数,并向所述用户终端发送第三参数和/或第四参数,所述第三参数用于指示承载所述用户终端的数据的隧道为所述指定类型的隧道。所述第四参数用于标识所述指定类型的隧道。
  33. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上储存有计算机程序,所述计算机程序被处理器执行如权利要求1-8任意一项所述的方法。
  34. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上储存有计算机程序,所述计算机程序被处理器执行如权利要求9-16任意一项所述的方法。
PCT/CN2017/095926 2017-03-01 2017-08-04 数据传输的方法与装置 WO2018157551A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201780009575.1A CN108702798B (zh) 2017-03-01 2017-08-04 数据传输的方法与装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710117954 2017-03-01
CN201710117954.4 2017-03-01

Publications (1)

Publication Number Publication Date
WO2018157551A1 true WO2018157551A1 (zh) 2018-09-07

Family

ID=63371126

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/095926 WO2018157551A1 (zh) 2017-03-01 2017-08-04 数据传输的方法与装置

Country Status (2)

Country Link
CN (1) CN108702798B (zh)
WO (1) WO2018157551A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114513789B (zh) 2019-05-31 2023-09-01 荣耀终端有限公司 获取安全上下文的通信系统和方法
CN112105091B (zh) * 2019-06-17 2022-11-15 中国移动通信有限公司研究院 会话管理方法、会话管理功能smf实体、终端及网络侧实体
CN112153756B (zh) * 2019-06-27 2022-12-13 中国移动通信有限公司研究院 一种基于隧道建立服务的数据处理方法和通信设备
CN112584548B (zh) * 2019-09-29 2023-05-05 中国移动通信有限公司研究院 一种隧道复用方法和核心网设备
WO2021087802A1 (en) * 2019-11-06 2021-05-14 Qualcomm Incorporated Provision of application related parameters
WO2022160123A1 (zh) * 2021-01-27 2022-08-04 Oppo广东移动通信有限公司 接入方式选择方法、终端设备和网络设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009133772A1 (ja) * 2008-04-30 2009-11-05 日本電気株式会社 異種網間のハンドオーバ装置、ハンドオーバ方法及びハンドオーバの制御用プログラム
WO2010074033A1 (ja) * 2008-12-26 2010-07-01 日本電気株式会社 通信システム、フェムトセル用基地局、認証装置、通信方法及び記録媒体
CN103607793A (zh) * 2007-10-25 2014-02-26 思达伦特网络有限责任公司 用于移动节点的互通网关
CN104335668A (zh) * 2012-05-24 2015-02-04 日本电气株式会社 服务控制装置、中继装置、毫微微蜂窝基站、通信系统、控制方法和程序

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607793A (zh) * 2007-10-25 2014-02-26 思达伦特网络有限责任公司 用于移动节点的互通网关
WO2009133772A1 (ja) * 2008-04-30 2009-11-05 日本電気株式会社 異種網間のハンドオーバ装置、ハンドオーバ方法及びハンドオーバの制御用プログラム
WO2010074033A1 (ja) * 2008-12-26 2010-07-01 日本電気株式会社 通信システム、フェムトセル用基地局、認証装置、通信方法及び記録媒体
CN104335668A (zh) * 2012-05-24 2015-02-04 日本电气株式会社 服务控制装置、中继装置、毫微微蜂窝基站、通信系统、控制方法和程序

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ERICSSON; HUAWEI: "Protocol at SGi for non-IP case / Support for small data transmission without UDP/IP header", SA WG2 MEETING #110-AH, S2-152902, 3 September 2015 (2015-09-03), XP051034612, Retrieved from the Internet <URL:http://www.3gpp.org/ftp/tsg_sa/WG2_Arch/TSGS2_110AH_Sophia/Docs/> *

Also Published As

Publication number Publication date
CN108702798B (zh) 2021-03-30
CN108702798A (zh) 2018-10-23

Similar Documents

Publication Publication Date Title
WO2018157551A1 (zh) 数据传输的方法与装置
US20210250767A1 (en) Systems and methods for accessing a network
US11140071B2 (en) Multipath data transmission method and device
US11812496B2 (en) User group session management method and apparatus
TWI336577B (en) Method and mobile terminal for communicating data in a wireless communications system
KR102469973B1 (ko) 통신 방법 및 장치
WO2018006306A1 (zh) 一种网络连接配置方法及装置
WO2016191963A1 (zh) 一种建立承载的方法、用户设备及基站
WO2019157689A1 (zh) 一种信息上报的方法、装置及系统
US20230189368A1 (en) Associating transport identifiers with quality of service flows
WO2016197689A1 (zh) 处理报文的方法、装置和系统
WO2019196000A1 (en) Methods and system for carrying out small data fast path communication
CN109429366B (zh) 一种pdu会话处理方法及设备
EP4075866A1 (en) Communication method and apparatus
WO2022052798A1 (zh) QoS控制方法、装置及处理器可读存储介质
WO2022012370A1 (zh) 多接入连接建立的方法、装置和系统
WO2022067818A1 (zh) 一种数据传输方法及装置
WO2020238957A1 (zh) 验证方法及装置
US20220263879A1 (en) Multicast session establishment method and network device
CN110475296B (zh) 业务服务质量协商方法及装置
WO2014110763A1 (zh) 设备到设备通信的信息上报方法、用户设备以及基站
WO2022088889A1 (zh) 切片资源分配方法、smf实体、upf实体及存储介质
CN114301831A (zh) 一种业务传输方法、装置及存储介质
WO2022027341A1 (zh) 无线通信方法和终端设备
WO2022021142A1 (zh) QoS参数的设置方法、装置、通信设备及存储介质

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: 17898643

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: 17898643

Country of ref document: EP

Kind code of ref document: A1