CN110636535B - A data transmission method and device - Google Patents
A data transmission method and device Download PDFInfo
- Publication number
- CN110636535B CN110636535B CN201810664864.1A CN201810664864A CN110636535B CN 110636535 B CN110636535 B CN 110636535B CN 201810664864 A CN201810664864 A CN 201810664864A CN 110636535 B CN110636535 B CN 110636535B
- Authority
- CN
- China
- Prior art keywords
- network element
- data
- user plane
- terminal device
- function network
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0016—Hand-off preparation specially adapted for end-to-end data sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A data transmission method and device are provided, wherein the method comprises the following steps: the first session management function network element determines to switch the data of the terminal equipment from a control plane to a user plane for transmission; and the first session management function network element sends a first message to a user plane function network element, wherein the first message is used for indicating the user plane function network element to stop sending the downlink data of the terminal equipment.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
Background
In a wireless communication system, two data transmission methods can be adopted to transmit data: user plane transport and control plane transport. The control plane transmission method may be used to transmit packets with small data volume (for example, packets with about 20 bytes, hereinafter referred to as small packet data), while the user plane transmission method is suitable for transmitting packets with large data volume (for example, packets with size of 200 bytes or more, hereinafter referred to as large packet data). In the data packet transmission process, the transmission mode can be switched according to the actual situation. For example, assuming that the terminal device is currently transmitting the small packet data by using the control plane transmission scheme, when the server updates the software on the terminal, the server may send out the large packet data (200-byte data packet), so that the terminal device or the network device triggers switching of the control plane transmission mode to the user plane transmission mode, thereby transmitting the large packet data by the user plane transmission mode.
In a 5G system, for example, in a New Radio (NR) system, when data of a terminal device is switched from a control plane to a user plane for transmission, a User Plane Function (UPF) network element cannot sense whether the data of the terminal device is switched from the control plane to the user plane for transmission. In the switching process, the user plane functional network element transmits the downlink data of the terminal equipment through the control plane before the user plane data transmission tunnel is established, and the downlink data of the terminal equipment through the user plane after the user plane data transmission tunnel is established, because the downlink data transmission fails because the downlink data transmission does not occur out of order through the same plane. Further, a failure in downlink data transmission may trigger the UPF network element to repeatedly send the downlink data, resulting in a waste of transmission resources.
Disclosure of Invention
The embodiment of the application provides a data transmission method and a data transmission device, which are used for providing a data transmission scheme switching method.
In a first aspect, an embodiment of the present application provides a data transmission method, where the method includes:
the first session management function network element determines to switch the data of the terminal equipment from a control plane to a user plane for transmission; and the first session management function network element sends a first message to a user plane function network element, wherein the first message is used for indicating the user plane function network element to stop sending the downlink data of the terminal equipment.
In the method, when the first session management function network element determines to switch the data of the terminal equipment from the control plane to the user plane for transmission, the first message indicates the user plane function network element to stop transmitting the downlink data of the terminal equipment, so that the problem that the downlink data of the terminal equipment transmitted by the user plane function network element through the control plane before the user plane data transmission tunnel is established is out of order with the downlink data of the terminal equipment transmitted by the user plane after the user plane data transmission tunnel is established in the switching process can be avoided, and the data transmission efficiency is improved.
In an optional implementation manner, the first message is further used to instruct the user plane functional network element to delete control plane data transmission tunnel information corresponding to the terminal device; wherein the control plane data transmission tunnel information is tunnel information of a control plane data transmission tunnel between the user plane functional network element and the access and mobility management functional network element, or tunnel information of a control plane data transmission tunnel between the user plane functional network element and the first session management functional network element.
In the method, the storage space of the user plane function network element can be saved by instructing the user plane function network element to delete the control plane data transmission tunnel information, and the implicit instruction can be used for switching the data of the terminal equipment from the control plane to the user plane for transmission.
In an optional implementation manner, the first message is further used to instruct the user plane function network element to allocate core network tunnel information of the user plane tunnel.
In an optional embodiment, the method further comprises: and the first session management function network element receives a response message of the first message from the user plane function network element, wherein the response message comprises the core network tunnel information.
In an optional embodiment, the method further comprises: and the first session management function network element distributes the core network tunnel information of the user plane tunnel.
In an optional implementation manner, after the first session management function network element sends the first message to the user plane function network element, the method further includes: and the first session management function network element sends a second message to an access and mobility management function network element, wherein the second message comprises the core network tunnel information.
In an optional implementation manner, after the first session management function network element determines to switch data of the terminal device from a control plane to a user plane for transmission, the method further includes: and the first session management function network element instructs the terminal equipment to stop transmitting the uplink data through a control plane, or instructs the terminal equipment to stop transmitting the uplink data.
By the method, the first session management function network element instructs the terminal device to stop transmitting the uplink data, so that the problem that the uplink data transmitted by the terminal device fails to be transmitted in the process of switching the control plane to the user plane can be avoided, and meanwhile, the problem that the uplink data which fails to be transmitted needs to be repeatedly transmitted to cause transmission resource waste can be avoided.
In an optional implementation manner, the determining, by the first session management function network element, to switch data of the terminal device from a control plane to a user plane for transmission includes: the first session management functional network element obtains data statistical information of the terminal equipment according to the data of the terminal equipment transmitted by the control plane; and when the data statistical information meets a preset condition, the first session management function network element determines to switch the data of the terminal equipment from a control plane to a user plane for transmission.
By the method, the first session management function network element can switch the data of the terminal equipment to the user plane for transmission when the data statistical information meets the preset condition according to the detected data statistical information, such as the size and/or the number of the data packets transmitted by the terminal equipment on the control plane, so that the data transmission efficiency of the terminal equipment is improved.
In an optional implementation manner, the data statistics information includes a packet size of the terminal device transmitted through the control plane, and the preset condition is that the packet size of the terminal device is greater than a first threshold; or the data statistical information includes the number of data packets of the terminal device, and the preset condition is that the number is greater than a second threshold; or the data statistical information includes the size of the data packets of the terminal device and the number of the data packets of the terminal device, and the preset condition is that the size of the data packets of the terminal device is larger than a first threshold value and the number of the data packets is larger than a second threshold value.
In an optional implementation manner, the determining, by the first session management function network element, to switch data of the terminal device from a control plane to a user plane for transmission includes: when the first session management function network element receives first indication information from first equipment, the first session management function network element determines to switch data of the terminal equipment from a control plane to a user plane for transmission; the first indication information is used for indicating that the data of the terminal equipment is switched from a control plane to a user plane for transmission; or, the first indication information is used to indicate that a size of a data packet of the terminal device transmitted by the control plane is greater than a first threshold; or, the first indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than a second threshold; or, the first indication information is used to indicate that the size of the data packet of the terminal device transmitted on the control plane is greater than the first threshold, and the number of the data packets of the terminal device transmitted on the control plane is greater than the second threshold.
By the method, the first session management function network element can determine whether to switch the data of the terminal equipment to the user plane for transmission according to the first indication information, the method is simple to implement, and the complexity of implementing the first session management function network element is reduced while the data transmission efficiency of the terminal equipment is improved.
In an optional embodiment, the first device is any one of:
the user plane functional network element; the access and mobility management function network element; the access network element;
the terminal equipment.
In a second aspect, an embodiment of the present application provides a communication apparatus, which may be a first session management function network element, where the communication apparatus includes a memory, a communication interface, and a processor, where: the memory is used for storing instructions; the processor is configured to execute the instructions stored in the memory and control the communication interface to perform signal reception and signal transmission, and when the processor executes the instructions stored in the memory, the processor is configured to perform the method according to the first aspect or any one of the possible designs of the first aspect.
In a third aspect, an embodiment of the present application provides a communication apparatus, which may be a first session management function network element, configured to implement any one of the above first aspect or the first aspect, where the communication apparatus includes corresponding functional modules, for example, including a processing unit, a transceiver unit, and the like, and are respectively configured to implement the steps in the above method.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer-readable instructions are stored, and when the computer-readable instructions are read and executed by a computer, the computer is caused to perform the method in the first aspect or any one of the possible designs of the first aspect.
In a fifth aspect, the present application provides a computer program product, which when read and executed by a computer, causes the computer to perform the method of the first aspect or any one of the possible designs of the first aspect.
In a sixth aspect, an embodiment of the present application provides a chip, where the chip is connected to a memory, and is configured to read and execute a software program stored in the memory, so as to implement the method in the first aspect or any one of the possible designs of the first aspect.
In a seventh aspect, an embodiment of the present application provides a data transmission method, including:
a user plane function network element receives a first message from a first session management function network element, wherein the first message is used for indicating the user plane function network element to stop sending downlink data of the terminal equipment; and the user plane functional network element stops sending downlink data to the terminal equipment according to the first message.
By the method, the user plane functional network element does not transmit downlink data after receiving the first message of the first session management functional network element. Therefore, the problem that downlink data of the terminal equipment transmitted by the control plane before the user plane data transmission tunnel is established and downlink data of the terminal equipment transmitted by the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
In an eighth aspect, an embodiment of the present application provides a data transmission method, including:
the access and mobility management function network element receives conversion indication information from a first session management function network element, wherein the conversion indication information is used for indicating the mobility management function network element to switch data of terminal equipment from a control plane to a user plane for transmission; and the access and mobility management functional network element sends user plane transmission indication information to a second session management network element according to the conversion indication information, wherein the user plane transmission indication information is used for indicating the second session management network element to switch the data of the terminal equipment from a control plane to a user plane for transmission.
In the method, when the access and mobility management functional network element determines that the first session management functional network element switches the data of the terminal equipment to the user plane for transmission, the access and mobility management functional network element instructs the second session management functional network element to switch the data of the terminal equipment from the control plane to the user plane for transmission, so that the terminal equipment only adopts one transmission mode for transmitting the data, the complexity of the terminal equipment for transmitting the data is reduced, and the transmission efficiency can be improved.
In a ninth aspect, an embodiment of the present application provides a communication apparatus, which may be an access and mobility management function network element, where the communication apparatus includes a memory, a communication interface, and a processor, where: the memory is used for storing instructions; the processor is configured to execute the instructions stored in the memory and control the communication interface to perform signal receiving and signal transmitting, and when the processor executes the instructions stored in the memory, the processor is configured to perform the method in the design of the seventh aspect or the eighth aspect.
In a tenth aspect, an embodiment of the present application provides a communication apparatus, which may be an access and mobility management function network element, configured to implement any one of the methods in the seventh aspect or the eighth aspect, where the communication apparatus includes corresponding functional modules, for example, including a processing unit, a transceiver unit, and the like, and is respectively configured to implement the steps in the above methods.
In an eleventh aspect, embodiments of the present application provide a computer-readable storage medium having computer-readable instructions stored thereon, which, when read and executed by a computer, cause the computer to perform the method of any one of the possible designs of the seventh or eighth aspects.
In a twelfth aspect, embodiments of the present application provide a computer program product, which when read and executed by a computer, causes the computer to perform the method of any one of the possible designs of the seventh or eighth aspects.
In a thirteenth aspect, an embodiment of the present application provides a chip, where the chip is connected to a memory, and is configured to read and execute a software program stored in the memory, so as to implement the method in any one of the possible designs of the seventh aspect or the eighth aspect.
In a fourteenth aspect, an embodiment of the present application provides a data transmission method, including:
the access and mobile management function network element determines to switch the data of the terminal equipment from a control plane to a user plane for transmission; and the access and mobility management function network element sends user plane transmission indication information to the first session management function network element, wherein the user plane transmission indication information is used for indicating that the data of the terminal equipment is switched from a control plane to a user plane for transmission.
By the method, when the access and mobility management functional network element determines to switch the data of the terminal equipment to the user plane for transmission, the access and mobility management functional network element sends user plane transmission indication information to the first session management functional network element, and the first session management functional network element indicates the user plane functional network element to stop transmitting the downlink data of the terminal equipment according to the user plane transmission indication information. The user plane function network element stops the downlink data of the terminal equipment before the data of the terminal equipment is switched to the user plane for transmission, so that the problem that the downlink data of the terminal equipment transmitted by the user plane function network element through the control plane before the user plane data transmission tunnel is established and the downlink data of the terminal equipment transmitted by the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
In an optional embodiment, the method further comprises: and the access and mobility management function network element receives a second message from the first session management function network element, wherein the second message comprises core network tunnel information.
In an optional embodiment, the method further comprises: and the access and mobility management function network element deletes the control plane data transmission tunnel information between the user plane function network element and the access and mobility management function network element.
In an optional embodiment, the method further comprises: and the network element with the access and mobile management functions instructs the terminal equipment to stop transmitting the uplink data through a control plane, or instructs the terminal equipment to stop transmitting the uplink data.
By the method, the access and mobility management function network element instructs the terminal equipment to stop transmitting the uplink data, so that the problem that the uplink data transmitted by the terminal equipment fails to be transmitted in the process of switching the control plane to the user plane can be avoided, and the problem that the uplink data which fails to be transmitted needs to be repeatedly transmitted to cause transmission resource waste can be avoided.
In an optional embodiment, the determining, by the access and mobility management function network element, to switch data of the terminal device from a control plane to a user plane for transmission includes: the access and mobile management functional network element obtains data statistical information of the terminal equipment according to the data of the terminal equipment transmitted by the control plane; and when the data statistical information meets a preset condition, the access and mobile management functional network element determines to switch the data of the terminal equipment from a control plane to a user plane for transmission.
By the method, the access and mobile management functional network element can accurately determine the size and/or the number of the data packets transmitted by the terminal equipment on the control plane according to the detected data statistical information, so that the data of the terminal equipment can be switched to the user plane for transmission when the data statistical information meets the preset condition, and the data transmission efficiency of the terminal equipment is improved.
In an optional implementation manner, the data statistics information includes a packet size of the terminal device transmitted through the control plane, and the preset condition is that the packet size of the terminal device is greater than a first threshold; or the data statistical information includes the number of data packets of the terminal device, and the preset condition is that the number is greater than a second threshold; or the data statistical information includes the size of the data packets of the terminal device and the number of the data packets of the terminal device, and the preset condition is that the size of the data packets of the terminal device is larger than a first threshold value and the number of the data packets is larger than a second threshold value.
In an optional embodiment, the determining, by the access and mobility management function network element, to switch data of the terminal device from a control plane to a user plane for transmission includes: when the access and mobility management function network element receives first indication information from first equipment, the access and mobility management function network element determines to switch data of the terminal equipment from a control plane to a user plane for transmission; the first indication information is used for indicating that the data of the terminal equipment is switched from a control plane to a user plane for transmission; or, the first indication information is used to indicate that a size of a data packet of the terminal device transmitted by the control plane is greater than a first threshold; or, the first indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than a second threshold; or, the first indication information is used to indicate that the size of the data packet of the terminal device transmitted on the control plane is greater than the first threshold, and the number of the data packets of the terminal device transmitted on the control plane is greater than the second threshold.
By the method, the access and mobility management function network element can determine whether to switch the data of the terminal equipment to the user plane for transmission according to the first indication information, the method is simple to implement, the data transmission efficiency of the terminal equipment is improved, and meanwhile, the complexity of implementing the access and mobility management function network element is reduced.
In an optional embodiment, the first device is any one of:
a user plane functional network element; the first session management function network element; an access network element; the terminal equipment.
In a fifteenth aspect, an embodiment of the present application provides a communication device, including a memory, a communication interface, and a processor, wherein: the memory is used for storing instructions; the processor is configured to execute the instructions stored in the memory and control the communication interface to perform signal receiving and signal transmitting, and when the processor executes the instructions stored in the memory, the processor is configured to perform the method in the design of the fourteenth aspect or the fourteenth aspect.
Sixthly, an embodiment of the present application provides a communication apparatus, configured to implement any one of the methods in the fourteenth or fourteenth aspects, where the communication apparatus includes corresponding functional modules, for example, a processing unit, a transceiver unit, and the like, which are respectively configured to implement the steps in the above methods.
In a seventeenth aspect, embodiments of the present application provide a computer-readable storage medium having computer-readable instructions stored thereon, which, when read and executed by a computer, cause the computer to perform the method of any one of the possible designs of the fourteenth or fourteenth aspects.
In an eighteenth aspect, embodiments of the present application provide a computer program product, which when read and executed by a computer, causes the computer to perform the method of any one of the possible designs of the fourteenth or fourteenth aspects.
In a nineteenth aspect, an embodiment of the present application provides a chip, where the chip is connected to a memory, and is configured to read and execute a software program stored in the memory, so as to implement the method in any one of the possible designs of the fourteenth or fourteenth aspects.
In a twentieth aspect, an embodiment of the present application provides a data transmission method, including:
a first session management function network element receives user plane transmission indication information from an access and mobility management function network element, wherein the user plane transmission indication information is used for indicating that data of the terminal equipment is switched from a control plane to a user plane for transmission; the first session management function network element sends a first message to a user plane function network element according to the user plane transmission indication information; the first message is used for requesting to stop sending the downlink data of the terminal equipment.
By the method, the first session management function network element sends the first message according to the user plane transmission indication information sent by the access and mobility management function network element, so that the user plane function network element is indicated by the first message to stop transmitting the downlink data of the terminal equipment. The user plane function network element stops the downlink data of the terminal equipment before the data of the terminal equipment is switched to the user plane for transmission, so that the problem that the downlink data of the terminal equipment transmitted by the user plane function network element through the control plane before the user plane data transmission tunnel is established and the downlink data of the terminal equipment transmitted by the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
In an optional implementation manner, the first message is further used to indicate to delete control plane data transmission tunnel information corresponding to the terminal device; the control plane data transmission tunnel information is tunnel information of a control plane data transmission tunnel between the user plane functional network element and the access and mobility management functional network element, or the control plane data transmission tunnel information is tunnel information of a control plane data transmission tunnel between the user plane functional network element and the first session management functional network element.
In an optional implementation manner, the first message is further used to instruct the user plane function network element to allocate core network tunnel information of the user plane tunnel.
In an optional embodiment, the method further comprises: and the first session management function network element receives a response message of the first message from the user plane function network element, wherein the response message comprises the core network tunnel information.
In an optional embodiment, the method further comprises: and the first session management function network element distributes the core network tunnel information of the user plane tunnel.
In an optional implementation manner, after the first session management function network element receives the user plane transmission indication information from the access and mobility management function network element, the method further includes: and the first session management function network element sends a second message to the access and mobility management function network element, wherein the second message comprises the core network tunnel information.
In an optional implementation manner, the second message is further used to indicate that the deletion of the control plane data transmission tunnel information corresponding to the terminal device is completed.
In a twenty-first aspect, an embodiment of the present application provides a communication apparatus, which includes a memory, a communication interface, and a processor, where: the memory is used for storing instructions; the processor is configured to execute the instructions stored in the memory and control the communication interface to perform signal receiving and signal transmitting, and when the processor executes the instructions stored in the memory, the processor is configured to perform the method of the twentieth aspect or the twentieth aspect.
In a twenty-second aspect, an embodiment of the present application provides a communication apparatus for implementing any one of the methods in the twentieth or twentieth aspects, which includes corresponding functional modules, for example, including a processing unit, a transceiver unit, and the like, for implementing the steps in the above methods, respectively.
In a twenty-third aspect, embodiments of the present application provide a computer-readable storage medium having computer-readable instructions stored thereon, which, when read and executed by a computer, cause the computer to perform the method of any one of the possible designs of the twentieth or twentieth aspects.
In a twenty-fourth aspect, embodiments of the present application provide a computer program product which, when read and executed by a computer, causes the computer to perform the method of any one of the possible designs of the twentieth or twentieth aspects described above.
In a twenty-fifth aspect, an embodiment of the present application provides a chip, where the chip is connected to a memory, and is configured to read and execute a software program stored in the memory, so as to implement the method in any one of the above-mentioned twentieth or twentieth possible designs.
An embodiment of the present application further provides a communication system, where the communication system includes the first session management function network element, the access and mobility management function network element, and the user plane function network element, which are provided in any one of the foregoing aspects or any one of the foregoing aspects of the communication apparatus.
Optionally, the communication system may further include, in the solution provided in this embodiment of the present application, other devices, such as a terminal device and an access network element, that interact with the first session management function network element, the access and mobility management function network element, and the user plane function network element.
Drawings
FIG. 1 is a schematic diagram of a system architecture suitable for use with embodiments of the present application;
fig. 2 is a schematic flow chart of a data transmission method according to an embodiment of the present application;
fig. 3 is a schematic diagram of data transmission according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 5 is a schematic diagram of data transmission provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a communication device according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described in detail below with reference to the drawings attached hereto.
The embodiment of the application can be applied to various mobile communication systems, such as: a 5G system, a Long Term Evolution (LTE) system, an advanced long term evolution (LTE-a) system, an evolved Long Term Evolution (LTE) system, etc., which are not limited herein.
For the convenience of understanding the embodiments of the present application, a communication system applicable to the embodiments of the present application will be first described in detail by taking the communication system shown in fig. 1 as an example. Fig. 1 is a schematic diagram of a system architecture of a 5G system according to an embodiment of the present disclosure.
As shown in fig. 1, in a 5G system architecture, a terminal device 101 may communicate with a core network via AN Access Network (AN) network element 102. The core network may include: a Session Management Function (SMF) network element 103, a User Plane Function (UPF) network element 104, an access and mobility management function (AMF) network element 105, a Policy Control Function (PCF) network element 106, and so on.
The terminal device 101 may be a device having a wireless transceiving function or a chip that can be disposed in any device, and may also be referred to as a User Equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent, or a user equipment. The terminal device 101 may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal, an Augmented Reality (AR) terminal, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like.
The access network element 102, which may also be referred to as a Radio Access Network (RAN) element, is mainly responsible for providing wireless connection for the terminal device 101, and ensuring reliable transmission of uplink and downlink data of the terminal device 101. The access network element 102 may be a gnb (generation Node b) in a 5G system. Of course, in other system architectures, the access network element 102 may be a Base Transceiver Station (BTS) in a global system for mobile communication (GSM) system or a Code Division Multiple Access (CDMA) system, a base station (nodeB, NB) in a Wideband Code Division Multiple Access (WCDMA) system, an evolved node B (eNB) in an LTE system, or the like, without limitation.
And the SMF network element 103 is mainly responsible for establishing sessions, managing sessions and the like for the terminal equipment 101.
The main functions of the UPF network element 104 include routing and forwarding of data packets, buffering of downlink data packets, and Quality of Service (QoS) processing of user plane data.
The main functions of the AMF network element 105 include a termination point of a radio access network control plane, a termination point of a non-access signaling, mobility management, access authorization or authentication, and the like.
The PCF network element 106 is mainly responsible for the functions of establishing, deleting, and changing the user plane transmission path.
A Data Network (DN) 107 may refer to a network that provides services for terminal apparatus 101.
It should be understood that fig. 1 is only an example, and other network elements, such as an authentication server function (AUSF) network element, a Unified Data Management (UDM) network element, and the like, may also be included in the system shown in fig. 1, and are not shown in sequence here.
It should be noted that the network elements included in the core network may be independent physical devices, or may also be functional modules, that is, logical devices, and multiple functional modules may be located on the same physical device, which is not limited.
The network architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person of ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
Referring to fig. 2, a schematic flow chart of a data transmission method provided in the embodiment of the present application is shown. The method comprises the following steps:
step 201: the first session management function network element determines to switch data of the terminal device from the control plane to the user plane for transmission.
In step 201, the first session management function network element may determine to switch the data of the terminal device from the control plane to the user plane for transmission in various ways, as described below.
In the first mode, a first session management function network element detects data transmitted by terminal equipment on a control plane to obtain data statistical information; when the data statistics information satisfies the preset condition, the first session management function network element may determine to switch the data of the terminal device from the control plane to the user plane for transmission.
By the method provided by the first mode, the first session management function network element may switch the data of the terminal device to the user plane for transmission when the data statistical information meets the preset condition according to the detected data statistical information, for example, the size and/or the number of the data packets transmitted by the terminal device on the control plane, so as to improve the data transmission efficiency of the terminal device.
For example, when the data statistics information includes a packet size transmitted by the terminal device on the control plane, the preset condition may be that the packet size of the terminal device is greater than a first threshold.
The size of the data packet transmitted by the terminal device on the control plane may refer to an average value of the number of bytes included in the data packet transmitted by the terminal device on the control plane, which is detected within a preset time period; or may refer to a maximum value of the number of bytes included in a data packet transmitted by the terminal device on the control plane within a preset time length; the term may also refer to a median (mean) of the number of bytes included in the data packet transmitted by the terminal device on the control plane, which is detected within a preset time length. In addition, the preset time length may be dynamically configured, for example, configured to the first session management function network element through a human-machine interface, or statically configured on the first session management function network element, and the preset time length is one hour, or may be 10 minutes, which is not limited.
For example, when the data statistics information includes the number of data packets transmitted by the terminal device on the control plane, the preset condition is that the number is greater than the second threshold.
The number of the data packets transmitted by the terminal device on the control plane may be the number of the detected data packets transmitted by the terminal device on the control plane within a preset time length.
For another example, the data statistics information includes a size of a data packet of the terminal device and a number of the data packets of the terminal device, and the preset condition is that the size of the data packet of the terminal device is greater than a first threshold, and the number of the data packets is greater than a second threshold.
It should be noted that specific values of the first threshold and the second threshold may be determined according to actual situations, and this is not limited in this embodiment of the application. For example, an internet of things (IoT) device generally transmits 20 bytes of data and in a special case transmits 200 bytes of data, in which case the first threshold may be set to a value greater than 100 bytes.
In a second mode, the first session management function network element receives the first indication information from the first device, and determines to switch the data of the terminal device from the control plane to the user plane for transmission according to the first indication information.
By the method provided by the second mode, the first session management function network element can determine whether to switch the data of the terminal device to the user plane for transmission according to the first indication information.
For example, the first indication information may be used to indicate that the size of the data packet of the terminal device transmitted on the control plane is larger than a first threshold; alternatively, the first indication information may be used to indicate that the number of data packets of the terminal device transmitted at the control plane is greater than the second threshold; alternatively, the first indication information may be used to indicate that the size of the data packet of the terminal device transmitted on the control plane is greater than a first threshold, and the number of the data packets of the terminal device transmitted on the control plane is greater than a second threshold.
For example, the first indication information may be used as a trigger message, and after receiving the first indication information, the first session management function network element may determine whether to switch the data of the terminal device to the user plane transmission according to the capability of the terminal device. For example, the first session management function network element determines that the network capability parameters of the terminal device can only establish 3 user plane channels, and before switching the data of the terminal device to the user plane for transmission, the first session management function network element determines that 3 user plane channels have been established for the terminal device, and the first session management function network element may terminate or adjust the switching.
It should be noted that the first device may be an access network element, a terminal device, a user plane function network element, or an access and mobility management function network element.
Step 202: the first session management function network element sends a first message to the user plane function network element.
The first message is used for instructing the user plane functional network element to stop sending the downlink data of the terminal equipment.
In this embodiment of the present application, the name of the first message is not limited, and the first message may be referred to as a release access bearer request (release bearer request) message, or may also be referred to as a modification request (modification request) message, and details of the first message are not described herein again.
In this embodiment, the first message may include indication information, where the indication information may indicate that the user plane function network element stops sending downlink data of the terminal device. The first message may not include the indication information, the first session management function network element and the user plane function network element agree on the function of the first message in advance, and when the user plane function network element receives the first message, the sending of the downlink data of the terminal device is stopped. Or, the user plane functional network element may be instructed to stop sending the downlink data of the terminal device by using a manner that the first message does not carry a specific cell, without limitation.
It should be noted that, before the first session management functional network element sends the first message in step 202, the first session management functional network element may send the buffered uplink data of the terminal device to the user plane functional network element, and then send the first message.
Step 203: the user plane function network element receives a first message from the first session management function network element.
Optionally, when the first message is further used to instruct to delete control plane data transmission tunnel information corresponding to the terminal device, the method further includes: and the user plane functional network element deletes the stored control plane data transmission tunnel information corresponding to the terminal equipment.
Step 204: and the user plane functional network element stops sending the downlink data to the terminal equipment according to the first message.
Optionally, the method further includes: and the user plane function network element sends a response message of the first message to the first session management function network element. The response message is used to indicate that the user plane function network element successfully received the first message.
Through the flow shown in fig. 2, when the first session management function network element determines to switch the data of the terminal device from the control plane to the user plane for transmission, the first message indicates the user plane function network element to stop transmitting the downlink data of the terminal device, so that the problem that the downlink data of the terminal device transmitted by the user plane function network element through the control plane before the user plane data transmission tunnel is established and the downlink data of the terminal device transmitted by the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
Optionally, in step 201, after the first session management function network element determines to switch the data of the terminal device from the control plane to the user plane for transmission, the method may further include: the first session management function network element sends an evolved packet system session management (ESM) data transmission message (data transport message) to the terminal device, where the ESM data transmission message is used to instruct the terminal device to stop transmitting uplink data through a control plane or instruct the terminal device to stop transmitting uplink data.
It should be noted that the ESM data transmission message may also be other messages, and the name of the message is only an example and does not represent any limitation to the message.
By the method, the first session management function network element instructs the terminal device to stop transmitting the uplink data, so that the problem that the uplink data transmitted by the terminal device fails to be transmitted in the process of switching the control plane to the user plane can be avoided, and meanwhile, the problem that the uplink data which fails to be transmitted needs to be repeatedly transmitted to cause transmission resource waste can be avoided.
In this embodiment, when the terminal device transmits data through the control plane, a control plane data transmission tunnel exists between the first session management function network element and the user plane function network element, or a control plane data transmission tunnel exists between the access and mobility management function network element and the user plane function network element. After the first session management function network element determines to switch the data of the terminal device from the control plane to the user plane for transmission, the control plane data transmission tunnel may be deleted, or the control plane data transmission tunnel may not be deleted, which is described below.
Optionally, in step 202, the first message sent by the first session management function network element may also be used to instruct the user plane function network element to delete the control plane data transmission tunnel information corresponding to the terminal device.
Correspondingly, the method may further include: and the user plane functional network element deletes the control plane data transmission tunnel information corresponding to the terminal equipment according to the first message.
The control plane data transmission tunnel information includes, but is not limited to, an Internet Protocol (IP) address of an access network element, a downlink Tunnel Endpoint Identifier (TEID), and other information. The control plane data transmission tunnel information may be tunnel information of a control plane data transmission tunnel between the user plane functional network element and the access and mobility management functional network element, or tunnel information of a control plane data transmission tunnel between the user plane functional network element and the first session management functional network element. The control plane data transmission tunnel information deleted by the user plane functional network element is tunnel information of the control plane data transmission tunnel in the downlink data transmission direction. The tunnel information of the control plane data transmission tunnel in the downlink data transmission direction can be distributed by the access and mobility management function network element, and also can be distributed by the first session management function network element.
It should be noted that, the first message may include deletion instruction information, where the deletion instruction information is used to instruct the user plane function network element to delete the control plane data transmission tunnel information corresponding to the terminal device. The first message may not include the deletion indication information, the first session management function network element and the user plane function network element agree on the function of the first message in advance, and when the user plane function network element receives the first message, the control plane data transmission tunnel information corresponding to the terminal device is deleted.
Optionally, in step 202, the first message does not instruct the user plane function network element to delete the control plane data transmission tunnel information corresponding to the terminal device, and the user plane function network element may reserve the control plane data transmission tunnel information corresponding to the terminal device, that is, a control plane data transmission tunnel between the first session management function network element and the user plane function network element is reserved, or a control plane data transmission tunnel between the access and mobility management function network element and the user plane function network element is reserved.
It should be noted that, when the user plane functional network element retains control plane data transmission tunnel information corresponding to the terminal device, in this scenario, when the user plane functional network element receives downlink data of the terminal device, two processing manners may be used: in the first processing mode, downlink data of the terminal device is sent to the first session management function network element through a control plane data transmission tunnel between the first session management function network element and the user plane function network element, and the first session management function network element caches the downlink data of the terminal device. In the second processing mode, the user plane functional network element autonomously buffers the downlink data of the terminal device without sending the downlink data to the first session management functional network element.
The downlink data cached by the first session management function network element or the user plane function network element needs to be transmitted to the terminal device through the user plane tunnel of the terminal device. The process of establishing the user plane tunnel of the terminal device will be described in detail below, and will not be described herein again.
Further, optionally, in the 5G system, when data of the terminal device is transmitted on the user plane, that is, the data is transmitted through the user plane tunnel, in the uplink data transmission direction, the terminal device sends the uplink data to the access network element, and then the uplink data is forwarded to the user plane functional network element by the access network element; in the downlink data transmission direction, the user plane functional network element sends the downlink data of the terminal equipment to the access network element, and then the downlink data is forwarded to the terminal equipment by the access network element. For this reason, in the 5G system, the process of establishing the user plane tunnel for the terminal device may include two aspects: 1, allocating core network tunnel information (core netwok tunnel info) and access network tunnel information (access netwok tunnel info) of a user plane tunnel of a terminal device, so that data of the terminal device can be transmitted between an access network element and a user plane functional network element; and 2, establishing a radio bearer between the terminal equipment and the access network element, so that the data can be transmitted between the terminal equipment and the access network element through the radio bearer.
The core network tunnel information of the user plane tunnel may refer to information such as a core network address of the user plane tunnel. The user plane tunnel may also be referred to as a user plane data transmission tunnel or N3 tunnel, and thus the core network address of the user plane tunnel may also be referred to as the core network address of the N3 tunnel. The core network address includes, but is not limited to, an IP address, an uplink TEID, and the like of the user plane function network element.
The access network tunnel information of the user plane tunnel may refer to information such as an access network address of the user plane tunnel. The access network address of the user plane tunnel may also be referred to as the access network address of the N3 tunnel. The access network address includes, but is not limited to, an IP address, a downlink TEID, etc. of the network element of the access network.
Optionally, in the above embodiment, the method further includes: and distributing the core network tunnel information of the user plane tunnel of the terminal equipment.
The core network tunnel information of the user plane tunnel of the terminal device may be allocated by the user plane functional network element, or may be allocated by the first session management functional network element.
In an implementation manner, when the core network tunnel information of the user plane tunnel of the terminal device is allocated by the user plane function network element, the first message in step 202 may also be used to instruct the user plane function network element to allocate the core network tunnel information of the user plane tunnel of the terminal device. Correspondingly, the method may further include: and the user plane functional network element distributes the core network tunnel information of the user plane tunnel of the terminal equipment. Further, the response message in step 204 may include core network tunnel information allocated by the user plane function network element.
In another implementation manner, when the core network tunnel information of the user plane tunnel of the terminal device is allocated by the first session management function network element, the first message in step 202 is not used to instruct the user plane function network element to allocate the core network tunnel information of the user plane tunnel. The above method may further comprise: and the first session management function network element distributes the core network tunnel information of the user plane tunnel of the terminal equipment.
Further, the first session management function network element allocates core network tunnel information of a user plane tunnel of the terminal device, or after receiving the core network tunnel information allocated by the user plane function network element, sends the core network tunnel information to the access network element through the access and mobility management function network element. The access network element may forward the uplink data of the terminal device to the user plane functional network element according to the core network tunnel information.
In a specific implementation process, the first session management function network element may send a second message to the access and mobility management function network element, where the second message includes core network tunnel information. The second message may be referred to as a user plane transport handover message, and the name of the second message is not limited in the embodiment of the present application.
Optionally, in the above embodiment, the method further includes: and distributing the access network tunnel information of the user plane tunnel of the terminal equipment. The access network tunnel information of the user plane tunnel of the terminal device may be allocated by an access network element.
In the specific implementation process, the access network element receives the core network tunnel information sent by the access and mobility management function network element, allocates the access network tunnel information, and sends the access network tunnel information to the access and mobility management function network element. And the access and mobility management function network element forwards the access network tunnel information to the first session management function network element, and the first session management function network element sends the received access network tunnel information to the user plane function network element. The user plane functional network element can send the downlink data of the terminal equipment to the access network element according to the access network tunnel information.
Optionally, in the above embodiment, the method further includes: and establishing a radio bearer between the terminal equipment and the access network element. In the specific implementation process, after receiving the core network tunnel information sent by the access and mobility management function network element, the access network element establishes a radio bearer between the access network element and the terminal device, and after the radio bearer is established, the terminal device and the access network element can transmit data through the radio bearer. The establishment process of the radio bearer belongs to the prior art, and is not described in detail.
Further, optionally, in a scenario of a multi-session management function network element, for example, a terminal has a plurality of network slices, and each network slice has at least one session management function network element serving the terminal. And in the same time, each network slice of the terminal uses the same data transmission mode. When data of the terminal in one network slice is switched from the control plane to the user plane for transmission, data of the terminal in other network slices is also switched to the user plane for transmission. In the above embodiment, the method further includes: the first session management function network element may also send a switch indication message to the access and mobility management function network element. The conversion indication information is used for indicating the mobility management function network element to switch the data of the terminal equipment from the control plane to the user plane for transmission.
Optionally, the conversion indication information may be carried by a second message sent by the first session management function network element.
Correspondingly, the method further comprises the following steps: and the access and mobility management functional network element sends the user plane transmission indication information to the second session management network element according to the conversion indication information.
The user plane transmission indication information is used for indicating the second session management network element to switch the data of the terminal equipment from the control plane to the user plane for transmission.
Correspondingly, the method further comprises the following steps: after receiving the user plane transmission indication information, the second session management function network element establishes a user plane tunnel for the terminal device through the user plane function network element corresponding to the second session management function network element and the access network element corresponding to the second session management function network element, and accordingly, the access network element corresponding to the second session management function network element establishes a radio bearer for the terminal device.
In the method, when the access and mobility management functional network element determines that the first session management functional network element switches the data of the terminal equipment to the user plane for transmission, the access and mobility management functional network element instructs the second session management functional network element to switch the data of the terminal equipment from the control plane to the user plane for transmission, so that the terminal equipment only adopts one transmission mode for transmitting the data, the complexity of the terminal equipment for transmitting the data is reduced, and the transmission efficiency can be improved.
The embodiments of the present application are further described below with reference to fig. 3 of the specification.
It should be noted that, in all the flows shown below, names of messages or indication information transmitted between network elements are only examples, and do not represent any limitation on the messages or indication information.
In the flow shown in fig. 3 below, for convenience of description, the first session management function network element is referred to as a first SMF network element, the second session management function network element is referred to as a second SMF network element, the access and mobility management function network element is referred to as an AMF network element, the user plane function network element is referred to as an UPF network element, and the access network element is referred to as a RAN network element. In the flow shown in fig. 3, the first message is taken as a modification request message, and the second message is taken as an example of transmitting a handover message on the user plane, which is not described in detail in other cases.
Fig. 3 is a schematic diagram of a data transmission process provided in the embodiment of the present application.
In the flow shown in fig. 3, before step 301, it is assumed that the terminal device is transmitting data using the control plane. In the control plane, uplink data and downlink data of the terminal device are both encapsulated in a non-access stratum (NAS) Protocol Data Unit (PDU) for transmission.
Step 301: and the first SMF network element determines to switch the data of the terminal equipment from the control plane to the user plane for transmission, and sends a modification request message to the UPF network element.
Wherein, the modification request message is used for instructing the UPF network element to stop sending the downlink data of the terminal equipment.
Illustratively, the first SMF network element may detect data of the terminal device, obtain data statistics information, and determine to switch the data of the terminal device to the user plane for transmission according to the data statistics information; the first SMF network element may also receive the first indication information from the first device, so as to determine to switch the data of the terminal device to the user plane for transmission according to the first indication request, which may specifically refer to the description in step 201 and is not described herein again.
Optionally, the modification request message may also be used to request to delete control plane data transmission tunnel information corresponding to the terminal device.
Optionally, the modification request message may also be used to instruct the UPF network element to allocate core network tunnel information of the user plane tunnel of the terminal device.
Step 302: and the UPF network element stops sending the downlink data of the terminal equipment according to the modification request message and sends a modification response message to the first SMF network element.
Wherein, the modification response message is used for indicating that the UPF network element successfully receives the modification request message.
Optionally, the method further includes: and the modification request message is also used for deleting the control plane data transmission tunnel information corresponding to the terminal equipment according to the modification request message when the control plane data transmission tunnel information corresponding to the terminal equipment is requested to be deleted. Correspondingly, the modification response message is also used for indicating that the control plane data transmission tunnel information corresponding to the terminal device is successfully deleted.
Optionally, the method further includes: and the modification request message is also used for indicating the UPF network element to distribute the core network tunnel information of the user plane tunnel of the terminal equipment, and the UPF network element distributes the core network tunnel information according to the modification request message. Correspondingly, the modification response message also includes the core network tunnel information allocated by the UPF network element.
Step 303: and the first SMF network element sends a user plane transmission switching message to the AMF network element.
Wherein, the user plane transmission switching message includes the core network tunnel information.
When the modification response message comprises the core network tunnel information, the core network tunnel information in the user plane transmission switching message comes from the modification response message; and when the modification response message does not comprise the core network tunnel information, the core network tunnel information in the user plane transmission switching message is allocated to the first SMF network element.
Step 304: and the AMF network element sends a session request message to the RAN network element.
The session request message is used for requesting to establish a radio bearer between the RAN network element and the terminal device, and includes the core network tunnel information.
Step 305: the RAN network element establishes a radio bearer between the RAN network element and the terminal device.
After the radio bearer setup in step 305 is completed, the terminal device may send uplink data to the RAN network element through the established radio bearer. The RAN network element may also forward the uplink data of the terminal device to the UPF network element according to the core network tunnel information received in step 304.
Step 306: and the RAN network element sends a session response message to the AMF network element.
Wherein, the session response message includes the access network tunnel information distributed by the RAN network element.
Step 307: and the AMF network element sends an updating request message to the first SMF network element, wherein the updating request message comprises access network tunnel information and the like.
Step 308: and the first SMF network element sends a modification request message to the UPF network element, wherein the modification request message comprises access network tunnel information and the like.
At this time, the method may further include: the UPF network element may send downlink data of the terminal device to the terminal device according to the access network tunnel information.
Step 309: and the UPF network element sends a modification response message to the first SMF network element.
Step 310: and the first SMF network element sends an update response message to the AMF network element.
The user plane tunnel establishment of the terminal device is completed through steps 303 to 310. Further, the above process further includes: the terminal equipment can send uplink data to the RAN network element through a radio bearer between the terminal equipment and the RAN network element, and the RAN network element sends the uplink data of the terminal equipment to the UPF network element according to the core network tunnel information; and the UPF network element sends the received downlink data of the terminal equipment to the RAN network element according to the access network tunnel information, and the RAN network element sends the downlink data to the terminal equipment through a wireless bearer.
In the flow shown in fig. 3, when the first SMF determines to switch the data of the terminal device from the control plane to the user plane for transmission, the UPF network element is instructed to stop transmitting the downlink data of the terminal device, so that the problem that the downlink data of the terminal device transmitted by the control plane before the user plane data transmission tunnel is established by the UPF network element and the downlink data of the terminal device transmitted by the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
Optionally, the above process further includes: step 311: and the first SMF network element sends an ESM data transmission message to the terminal equipment.
The ESM data transmission message is used to instruct the terminal device to stop transmitting the uplink data through the control plane, or instruct the terminal device to stop transmitting the uplink data.
It should be noted that step 311 may be executed after step 301, and the embodiment of the present application is not limited.
Correspondingly, the above process further includes: step 312: and the terminal equipment stops transmitting the uplink data according to the ESM data transmission message and sends an ESM data transmission response message to the first SMF network element.
The ESM data transmission response message is used for indicating the terminal equipment to successfully receive the ESM data transmission message.
In the above flow, the first SMF instructs the terminal device to stop transmitting the uplink data, so that the problem that the uplink data transmitted by the terminal device fails to be transmitted in the process of switching the control plane to the user plane can be avoided, and meanwhile, the problem that the uplink data failed to be transmitted needs to be repeatedly transmitted, which causes transmission resource waste can be avoided.
Optionally, in a scenario of multiple SMF network elements, the process further includes: step 313: and the AMF network element sends the user plane transmission indication information to the second SMF network element.
The user plane transmission indication information is used for indicating that the data of the terminal equipment is switched from the control plane to the user plane transmission.
Correspondingly, the above process further includes: after receiving the user plane transmission indication information, the second SMF network element establishes a user plane tunnel for the terminal device through the UPF network element corresponding to the second SMF network element and the RAN network element corresponding to the second SMF network element, and establishes a radio bearer for the terminal device through the RAN network element corresponding to the second SMF network element.
In this embodiment of the present application, it may also be determined, by the access and mobility management function network element, whether to switch data of the terminal device to user plane transmission, which is described below with reference to fig. 4.
Referring to fig. 4, a schematic flow chart of a data transmission method provided in the embodiment of the present application is shown as follows.
Step 401: and the access and mobile management function network element determines to switch the data of the terminal equipment from the control plane to the user plane for transmission.
In step 401, the access and mobility management functional network element may determine to switch the data of the terminal device from the control plane to the user plane for transmission in various ways, as described below.
In the first mode, the access and mobility management functional network element detects data transmitted by the terminal equipment on a control plane to obtain data statistical information; when the data statistical information meets the preset condition, the access and mobility management functional network element may determine to switch the data of the terminal device from the control plane to the user plane for transmission.
By the method provided by the first mode, the access and mobility management functional network element can accurately determine the size and/or the number of the data packets transmitted by the terminal equipment on the control plane according to the detected data statistical information, so that the data of the terminal equipment can be switched to the user plane for transmission when the data statistical information meets the preset condition, and the data transmission efficiency of the terminal equipment is improved.
The content included in the data statistics information and the preset condition may refer to the description in step 201, and are not described herein again.
In a second mode, when the access and mobility management function network element receives the first indication information from the first device, the access and mobility management function network element may determine to switch data of the terminal device from the control plane to the user plane for transmission.
By the method provided by the second mode, the access and mobility management function network element can determine whether to switch the data of the terminal equipment to the user plane for transmission according to the first indication information.
The specific content of the first indication information may refer to the description in step 201, and is not described herein again.
It should be noted that the first device may be an access network element, a terminal device, a user plane function network element, or a first session management function network element.
Step 402: and the access and mobility management function network element sends user plane transmission indication information to the first session management function network element.
The user plane transmission indication information is used for indicating that the data of the terminal equipment is switched from the control plane to the user plane transmission.
Step 403: the first session management function network element receives the user plane transmission indication information from the access and mobility management function network element.
Step 404: and the first session management functional network element sends a first message to the user plane functional network element according to the user plane transmission indication information.
The first message is used for instructing the user plane functional network element to stop sending the downlink data of the terminal equipment.
And the first session management function network element receives the user plane transmission indication information, and then can determine that the data of the terminal equipment needs to be switched from the control plane to the user plane for transmission. In order to avoid out-of-order downlink data of the terminal device transmitted by the user plane functional network element during the handover process, the first session management functional network element needs to instruct the user plane functional network element to stop sending the downlink data of the terminal device, that is, the first session management functional network element sends the first message to the user plane functional network element.
The first message may be referred to as a release access bearer request message, or may also be referred to as a modification request message, and the name of the first message is not limited in the embodiment of the present application.
In step 404, if the first session management function network element receives the uplink data of the terminal device, after the first session management function network element transmits the uplink data to the user plane function network element, the first message is sent.
In this embodiment, the first message may include indication information, where the indication information may indicate that the user plane function network element stops sending downlink data of the terminal device. The first message may not include the indication information, the first session management function network element and the user plane function network element agree on the function of the first message in advance, and when the user plane function network element receives the first message, the sending of the downlink data of the terminal device is stopped. Or, the user plane functional network element may be instructed to stop sending the downlink data of the terminal device by using a manner that the first message does not carry a specific cell, without limitation.
Step 405: the user plane function network element receives a first message from the first session management function network element.
Step 406: and the user plane functional network element stops sending the downlink data to the terminal equipment according to the first message.
After receiving the first message, the user plane function network element may further send a response message of the first message to the first session management function network element. The response message is used to indicate that the user plane function network element successfully received the first message.
Through the process shown in fig. 4, when the access and mobility management functional network element determines to switch the data of the terminal device to the user plane transmission, the access and mobility management functional network element sends user plane transmission indication information to the first session management functional network element, and the first session management functional network element sends a first message according to the user plane transmission indication information, so that the user plane functional network element is instructed by the first message to stop transmitting the downlink data of the terminal device. The user plane function network element stops the downlink data of the terminal equipment before the data of the terminal equipment is switched to the user plane for transmission, so that the problem that the downlink data of the terminal equipment transmitted by the user plane function network element through the control plane before the user plane data transmission tunnel is established and the downlink data of the terminal equipment transmitted by the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
Optionally, in step 401, after the access and mobility management function network element determines to switch the data of the terminal device from the control plane to the user plane for transmission, the method may further include: and the access and mobile management functional network element sends an ESM data transmission message to the terminal equipment, wherein the ESM data transmission message is used for indicating the terminal equipment to stop transmitting the uplink data through the control plane or indicating the terminal equipment to stop transmitting the uplink data.
It should be noted that the ESM data transmission message may also be other messages, and the name of the message is only an example and does not represent any limitation to the message.
By the method, the access and mobility management function network element instructs the terminal equipment to stop transmitting the uplink data, so that the problem that the uplink data transmitted by the terminal equipment fails to be transmitted in the process of switching the control plane to the user plane can be avoided, and the problem that the uplink data which fails to be transmitted needs to be repeatedly transmitted to cause transmission resource waste can be avoided.
In this embodiment, when the terminal device transmits data through the control plane, a control plane data transmission tunnel exists between the first session management function network element and the user plane function network element, or a control plane data transmission tunnel exists between the access and mobility management function network element and the user plane function network element. After the access and mobility management functional network element determines to switch the data of the terminal device from the control plane to the user plane for transmission, the control plane data transmission tunnel may be deleted, or the control plane data transmission tunnel may not be deleted, which is described below.
Optionally, the method may further include: in step 404, the first message sent by the first session management function network element may also be used to instruct the user plane function network element to delete the control plane data transmission tunnel information corresponding to the terminal device.
Correspondingly, the method may further include: and the user plane functional network element deletes the control plane data transmission tunnel information corresponding to the terminal equipment according to the first message.
Optionally, the method may further include: in step 404, the first message does not instruct the user plane function network element to delete the control plane data transmission tunnel information corresponding to the terminal device, and the user plane function network element may retain the control plane data transmission tunnel information corresponding to the terminal device.
It should be noted that, when the user plane functional network element retains control plane data transmission tunnel information corresponding to the terminal device, in this scenario, when the user plane functional network element receives downlink data of the terminal device, two processing manners may be used: in the first processing mode, downlink data of the terminal device is sent to the first session management function network element through a control plane data transmission tunnel between the first session management function network element and the user plane function network element, and the first session management function network element caches the downlink data of the terminal device. In the second processing mode, the user plane functional network element autonomously buffers the downlink data of the terminal device without sending the downlink data to the first session management functional network element.
The downlink data cached by the first session management function network element or the user plane function network element needs to be transmitted to the terminal device through the user plane tunnel of the terminal device. The process of establishing the user plane tunnel of the terminal device will be described in detail below, and will not be described herein again.
Further, optionally, in the 5G system, when data of the terminal device is transmitted on the user plane, that is, the data is transmitted through the user plane tunnel, in the uplink data transmission direction, the terminal device sends the uplink data to the access network element, and then the uplink data is forwarded to the user plane functional network element by the access network element; in the downlink data transmission direction, the user plane functional network element sends the downlink data of the terminal equipment to the access network element, and then the downlink data is forwarded to the terminal equipment by the access network element. For this reason, in the 5G system, the process of establishing the user plane tunnel for the terminal device may include two aspects: 1, allocating core network tunnel information and access network tunnel information of a user plane tunnel of a terminal device, so that data of the terminal device can be transmitted between an access network element and a user plane functional network element; and 2, establishing a radio bearer between the terminal equipment and the access network element, so that the data can be transmitted between the terminal equipment and the access network element through the radio bearer. The details of the above process can refer to the description related to fig. 2 or fig. 3, and are not described herein again.
The embodiments of the present application are further described below with reference to fig. 5 of the specification.
It should be noted that, in all the flows shown below, names of messages or indication information transmitted between network elements are only examples, and do not represent any limitation on the messages or indication information.
In the following flow shown in fig. 5, for convenience of description, the first session management function network element is referred to as an SMF network element, the access and mobility management function network element is referred to as an AMF network element, the user plane function network element is referred to as an UPF network element, and the access network element is referred to as an RAN network element. In the flow shown in fig. 3, the first message is taken as a modification request message, and the second message is taken as an example of transmitting a handover message on the user plane, which is not described in detail in other cases.
Fig. 5 is a schematic diagram of a data transmission process provided in the embodiment of the present application.
In the flow shown in fig. 5, before step 501, it is assumed that the terminal device is transmitting data using the control plane.
Step 501: the AMF network element determines to switch the data of the terminal equipment from the control plane to the user plane for transmission, and sends user plane transmission indication information to the SMF network element, wherein the user plane transmission indication information is used for indicating to switch the data of the terminal equipment from the control plane to the user plane for transmission.
The AMF network element can detect the data of the terminal equipment and obtain data statistical information, so that the data of the terminal equipment is determined to be transmitted to a user plane according to the data statistical information; the AMF network element may also receive the first indication information from the first device, so as to determine to switch the data of the terminal device to the user plane for transmission according to the first indication request, which may specifically refer to the foregoing description and is not described herein again.
Step 502: and the SMF network element receives the user plane transmission indication information and sends a modification request message to the UPF network element according to the user plane transmission indication information.
Wherein, the modification request message is used for instructing the user plane functional network element to stop sending the downlink data of the terminal equipment.
Optionally, the modification request message may also be used to request to delete control plane data transmission tunnel information corresponding to the terminal device.
Optionally, the modification request message may also be used to instruct the UPF network element to allocate core network tunnel information of the user plane tunnel of the terminal device.
Step 503: and the UPF network element stops sending the downlink data of the terminal equipment according to the modification request message and sends a modification response message to the SMF network element.
Wherein, the modification response message is used for indicating that the UPF network element successfully receives the modification request message.
Optionally, the modification request message is further configured to request to delete control plane data transmission tunnel information corresponding to the terminal device, and the method further includes: and the UPF network element deletes the control plane data transmission tunnel information corresponding to the terminal equipment according to the modification request message. Correspondingly, the modification response message is also used for indicating that the control plane data transmission tunnel information corresponding to the terminal device is successfully deleted.
Optionally, the modification request message is further used to indicate a UPF network element to allocate core network tunnel information of a user plane tunnel of the terminal device, and the method further includes: and the UPF network element distributes the core network tunnel information according to the modification request message. Correspondingly, the modification response message also includes the core network tunnel information allocated by the UPF network element.
Step 504: and the SMF network element sends a user plane transmission switching message to the AMF network element.
Wherein, the user plane transmission switching message includes the core network tunnel information.
Illustratively, when the modification response message includes the core network tunnel information, the core network tunnel information in the user plane transmission switching message comes from the modification response message; and when the modification response message does not comprise the core network tunnel information, the core network tunnel information in the user plane transmission switching message is distributed to the SMF network element.
Step 505: and the AMF network element sends a session request message to the RAN network element.
The session request message is used for requesting to establish a radio bearer between the RAN network element and the terminal device, and includes the core network tunnel information.
Step 506: the RAN network element establishes a radio bearer between the RAN network element and the terminal device.
After the radio bearer establishment in step 506 is completed, the terminal device may send uplink data to the RAN network element through the established radio bearer. The RAN network element may also forward the uplink data of the terminal device to the UPF network element according to the core network tunnel information received in step 506.
Step 507: and the RAN network element sends a session response message to the AMF network element.
Wherein, the session response message includes the access network tunnel information distributed by the RAN network element.
Step 508: and the AMF network element sends an updating request message to the SMF network element, wherein the updating request message comprises access network tunnel information and the like.
Step 509: and the SMF network element sends a modification request message to the UPF network element, wherein the modification request message comprises access network tunnel information and the like.
At this time, the above process may further include: the UPF network element may send downlink data of the terminal device to the terminal device according to the access network tunnel information.
Step 510: and the UPF network element sends a modification response message to the SMF network element.
Step 511: and the SMF network element sends an update response message to the AMF network element.
The user plane tunnel establishment of the terminal device is completed through steps 504 to 511. Further, the above process further includes: the terminal equipment can send uplink data to the RAN network element through a radio bearer between the terminal equipment and the RAN network element, and the RAN network element sends the uplink data of the terminal equipment to the UPF network element according to the core network tunnel information; and the UPF network element sends the received downlink data of the terminal equipment to the RAN network element according to the access network tunnel information, and the RAN network element sends the downlink data to the terminal equipment through a wireless bearer.
Optionally, the above process further includes: step 512: and the AMF network element sends an ESM data transmission message to the terminal equipment.
The ESM data transmission message is used to instruct the terminal device to stop transmitting the uplink data through the control plane, or instruct the terminal device to stop transmitting the uplink data.
It should be noted that step 512 may be executed after step 501, and the embodiment of the present application is not limited.
Correspondingly, the above process further includes: step 513: and the terminal equipment stops transmitting the uplink data according to the ESM data transmission message and sends an ESM data transmission response message to the AMF network element.
The ESM data transmission response message is used for indicating the terminal equipment to successfully receive the ESM data transmission message.
In the flow shown in fig. 5, when the AMF network element determines to switch the data of the terminal device from the control plane to the user plane for transmission, the SMF network element is indicated by the user plane transmission indication information that the SMF network element needs to switch the data of the terminal device to the user plane for transmission, and the SMF network element thus indicates the UPF network element to stop transmitting the downlink data of the terminal device according to the user plane transmission indication information. In the switching process, because the UPF network element stops the downlink data of the terminal equipment, the problem that the downlink data of the terminal equipment transmitted through the control plane and the downlink data of the terminal equipment transmitted through the user plane are out of order can be avoided, and therefore the data transmission efficiency is improved. Further, the AMF may avoid a problem that the uplink data sent by the terminal device fails to be transmitted in the process of switching the control plane to the user plane by instructing the terminal device to stop transmitting the uplink data, and may also avoid a problem that the uplink data that fails to be transmitted needs to be repeatedly transmitted to cause a waste of transmission resources.
As shown in fig. 6, a schematic structural diagram of a communication device, which may be an SMF network element, is provided for the embodiment of the present application. The communication device may be configured to perform the actions of the SMF network element or the first session management network element in the above-described embodiments of the methods. The communication device 600 includes: a processing unit 601 and a transceiving unit 602.
When the communication apparatus is used to execute the actions of the SMF network element in the flow shown in fig. 2 or fig. 3, the processing unit 601 and the transceiver unit 602 respectively execute the following:
a processing unit 601, configured to determine to switch data of a terminal device from a control plane to a user plane for transmission;
a transceiver 602, configured to send a first message to a user plane function network element, where the first message is used to instruct the user plane function network element to stop sending downlink data of the terminal device.
In the above scheme, when the communication device determines to switch the data of the terminal device from the control plane to the user plane for transmission, the first message indicates the user plane functional network element to stop transmitting the downlink data of the terminal device, so that the problem that the downlink data of the terminal device transmitted by the user plane functional network element through the control plane before the user plane data transmission tunnel is established and the downlink data of the terminal device transmitted through the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
In an optional implementation manner, the first message is further used to instruct the user plane functional network element to delete control plane data transmission tunnel information corresponding to the terminal device; the control plane data transmission tunnel information is tunnel information of a control plane data transmission tunnel between the user plane functional network element and the access and mobility management functional network element, or tunnel information of a control plane data transmission tunnel between the user plane functional network element and the first session management functional network element.
In the above scheme, the communication device may save the storage space of the user plane function network element by instructing the user plane function network element to delete the control plane data transmission tunnel information, or implicitly instruct to switch the data of the terminal device from the control plane to the user plane for transmission.
In an optional implementation manner, the first message is further used to instruct the user plane function network element to allocate core network tunnel information of the user plane tunnel.
In an optional implementation, the transceiving unit 602 is further configured to:
receiving a response message of the first message from the user plane function network element, wherein the response message includes the core network tunnel information.
In an optional implementation, the processing unit 601 is further configured to:
and distributing the core network tunnel information of the user plane tunnel.
In an optional implementation manner, after sending the first message to the user plane function network element, the transceiving unit 602 is further configured to:
and sending a second message to an access and mobility management function network element, wherein the second message comprises the core network tunnel information.
In an optional implementation manner, after determining to switch the data of the terminal device from the control plane to the user plane for transmission, the processing unit 601 is further configured to:
and instructing the terminal equipment to stop transmitting the uplink data through a control plane, or instructing the terminal equipment to stop transmitting the uplink data.
In the above scheme, the communication device instructs the terminal device to stop transmitting the uplink data, so that the problem that the uplink data transmitted by the terminal device fails to be transmitted in the process of switching the control plane to the user plane can be avoided, and meanwhile, the problem that the uplink data failed to be transmitted needs to be repeatedly transmitted to cause transmission resource waste can be avoided.
In an optional implementation manner, the processing unit 601 is specifically configured to:
acquiring data statistical information of the terminal equipment according to the data of the terminal equipment transmitted by the control plane; and when the data statistical information meets a preset condition, determining to switch the data of the terminal equipment from a control plane to a user plane for transmission.
In the above scheme, the communication device may switch the data of the terminal device to the user plane for transmission when the data statistics information satisfies the preset condition according to the detected data statistics information, for example, the size and/or the number of the data packets transmitted by the terminal device at the control plane, so as to improve the data transmission efficiency of the terminal device.
In an optional implementation manner, the data statistics information includes a packet size of the terminal device transmitted through the control plane, and the preset condition is that the packet size of the terminal device is greater than a first threshold; or the data statistical information includes the number of data packets of the terminal device, and the preset condition is that the number is greater than a second threshold; or the data statistical information includes the size of the data packets of the terminal device and the number of the data packets of the terminal device, and the preset condition is that the size of the data packets of the terminal device is larger than a first threshold value and the number of the data packets is larger than a second threshold value.
In an optional implementation manner, the processing unit 601 is specifically configured to:
when first indication information from first equipment is received, determining to switch data of the terminal equipment from a control plane to a user plane for transmission; the first indication information is used for indicating that the data of the terminal equipment is switched from a control plane to a user plane for transmission; or, the first indication information is used to indicate that a size of a data packet of the terminal device transmitted by the control plane is greater than a first threshold; or, the first indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than a second threshold; or, the first indication information is used to indicate that the size of the data packet of the terminal device transmitted on the control plane is greater than the first threshold, and the number of the data packets of the terminal device transmitted on the control plane is greater than the second threshold.
In the above scheme, the communication device may determine whether to switch the data of the terminal device to the user plane for transmission according to the first indication information, and the method is simple to implement, and reduces the complexity of implementing the first session management function network element while improving the data transmission efficiency of the terminal device.
In an optional embodiment, the first device is any one of:
a user plane functional network element; a first session management function network element; an access network element; the terminal equipment.
When the communication apparatus is used to execute the actions of the SMF network element or the first session management network element in the flow shown in fig. 4 or fig. 5, the processing unit 601 and the transceiver unit 602 execute the following contents respectively:
a processing unit 601, configured to determine to switch data of a terminal device from a control plane to a user plane for transmission;
a transceiving unit 602, configured to send user plane transmission indication information to a first session management function network element, where the user plane transmission indication information is used to indicate that data of the terminal device is switched from a control plane to a user plane for transmission.
In the above scheme, when the communication device determines to switch the data of the terminal device to the user plane transmission, the communication device sends the user plane transmission indication information to the first session management function network element, and the first session management function network element thereby indicates the user plane function network element to stop transmitting the downlink data of the terminal device according to the user plane transmission indication information, so that the problem that the downlink data of the terminal device transmitted by the user plane function network element through the control plane before the user plane data transmission tunnel is established and the downlink data of the terminal device transmitted by the user plane after the user plane data transmission tunnel is established can be avoided in the switching process, thereby improving the data transmission efficiency.
In an optional implementation, the transceiving unit 602 is further configured to:
and receiving a second message from the first session management function network element, wherein the second message comprises core network tunnel information.
In an optional implementation, the processing unit 601 is further configured to:
and deleting the control plane data transmission tunnel information between the user plane functional network element and the access and mobility management functional network element.
In an optional implementation, the processing unit 601 is further configured to:
and instructing the terminal equipment to stop transmitting the uplink data through a control plane, or instructing the terminal equipment to stop transmitting the uplink data.
In the above scheme, the communication device instructs the terminal device to stop transmitting the uplink data, so that the problem that the uplink data transmitted by the terminal device fails to be transmitted in the process of switching the control plane to the user plane can be avoided, and meanwhile, the problem that the uplink data failed to be transmitted needs to be repeatedly transmitted to cause transmission resource waste can be avoided.
In an optional implementation manner, the processing unit 601 is specifically configured to:
acquiring data statistical information of the terminal equipment according to the data of the terminal equipment transmitted by the control plane;
and when the data statistical information meets a preset condition, determining to switch the data of the terminal equipment from a control plane to a user plane for transmission.
In the above scheme, the communication device can accurately determine the size and/or the number of the data packets transmitted by the terminal device on the control plane according to the detected data statistical information, so that the data of the terminal device can be switched to the user plane for transmission when the data statistical information meets the preset condition, and the data transmission efficiency of the terminal device is improved.
In an optional implementation manner, the data statistics information includes a packet size of the terminal device transmitted through the control plane, and the preset condition is that the packet size of the terminal device is greater than a first threshold; or the data statistical information includes the number of data packets of the terminal device, and the preset condition is that the number is greater than a second threshold; or the data statistical information includes the size of the data packets of the terminal device and the number of the data packets of the terminal device, and the preset condition is that the size of the data packets of the terminal device is larger than a first threshold value and the number of the data packets is larger than a second threshold value.
In an optional implementation manner, the processing unit 601 is specifically configured to:
when first indication information from first equipment is received, determining to switch data of the terminal equipment from a control plane to a user plane for transmission; the first indication information is used for indicating that the data of the terminal equipment is switched from a control plane to a user plane for transmission; or, the first indication information is used to indicate that a size of a data packet of the terminal device transmitted by the control plane is greater than a first threshold; or, the first indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than a second threshold; or, the first indication information is used to indicate that the size of the data packet of the terminal device transmitted on the control plane is greater than the first threshold, and the number of the data packets of the terminal device transmitted on the control plane is greater than the second threshold.
In the above scheme, the communication device may determine whether to switch the data of the terminal device to the user plane for transmission according to the first indication information, and the method is simple to implement, and reduces the complexity of implementing the access and mobility management function network element while improving the data transmission efficiency of the terminal device.
In an optional embodiment, the first device is any one of:
a user plane functional network element; the first session management function network element; an access network element; the terminal equipment.
As shown in fig. 7, a schematic structural diagram of a communication device is provided for the embodiment of the present application, and the communication device shown in fig. 7 may be an implementation manner of a hardware circuit of the communication device shown in fig. 7. The communication device may be an SMF network element or a chip or a system on chip located within an SMF network element. The communication device may be configured to perform the actions of the SMF network element or the first session management network element in the above-described embodiments of the methods. The communication apparatus 700 includes: a processor 701, a communication interface 702, and a memory 703.
The memory 703 may be used to store program instructions that the processor 701 invokes stored in the memory 703.
When the communication apparatus is used to execute the actions of the SMF network element in the flow shown in fig. 2 or fig. 3, the processor 701 and the communication interface 702 respectively execute the following: determining to switch data of the terminal equipment from a control plane to a user plane for transmission;
a communication interface 702, configured to send a first message to a user plane function network element, where the first message is used to instruct the user plane function network element to stop sending downlink data of the terminal device.
In the above scheme, when the communication device determines to switch the data of the terminal device from the control plane to the user plane for transmission, the first message indicates the user plane functional network element to stop transmitting the downlink data of the terminal device, so that the problem that the downlink data of the terminal device transmitted by the user plane functional network element through the control plane before the user plane data transmission tunnel is established and the downlink data of the terminal device transmitted through the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
In an optional implementation manner, the first message is further used to instruct the user plane functional network element to delete control plane data transmission tunnel information corresponding to the terminal device; the control plane data transmission tunnel information is tunnel information of a control plane data transmission tunnel between the user plane functional network element and the access and mobility management functional network element, or tunnel information of a control plane data transmission tunnel between the user plane functional network element and the first session management functional network element.
In the above scheme, the communication device may save the storage space of the user plane function network element by instructing the user plane function network element to delete the control plane data transmission tunnel information, or implicitly instruct to switch the data of the terminal device from the control plane to the user plane for transmission.
In an optional implementation manner, the first message is further used to instruct the user plane function network element to allocate core network tunnel information of the user plane tunnel.
In an optional implementation, the communication interface 702 is further configured to:
receiving a response message of the first message from the user plane function network element, wherein the response message includes the core network tunnel information.
In an optional implementation, the processor 701 is further configured to:
and distributing the core network tunnel information of the user plane tunnel.
In an optional implementation manner, after sending the first message to the user plane function network element, the communication interface 702 is further configured to:
and sending a second message to an access and mobility management function network element, wherein the second message comprises the core network tunnel information.
In an optional embodiment, after determining to switch the data of the terminal device from the control plane to the user plane for transmission, the processor 701 is further configured to:
and the first session management function network element instructs the terminal equipment to stop transmitting the uplink data through a control plane, or instructs the terminal equipment to stop transmitting the uplink data.
In the above scheme, the communication device instructs the terminal device to stop transmitting the uplink data, so that the problem that the uplink data transmitted by the terminal device fails to be transmitted in the process of switching the control plane to the user plane can be avoided, and meanwhile, the problem that the uplink data failed to be transmitted needs to be repeatedly transmitted to cause transmission resource waste can be avoided.
In an optional implementation, the processor 701 is specifically configured to:
acquiring data statistical information of the terminal equipment according to the data of the terminal equipment transmitted by the control plane;
and when the data statistical information meets a preset condition, determining to switch the data of the terminal equipment from a control plane to a user plane for transmission.
In the above scheme, the communication device may switch the data of the terminal device to the user plane for transmission when the data statistics information satisfies the preset condition according to the detected data statistics information, for example, the size and/or the number of the data packets transmitted by the terminal device at the control plane, so as to improve the data transmission efficiency of the terminal device.
In an optional implementation manner, the data statistics information includes a packet size of the terminal device transmitted through the control plane, and the preset condition is that the packet size of the terminal device is greater than a first threshold; or the data statistical information includes the number of data packets of the terminal device, and the preset condition is that the number is greater than a second threshold; or the data statistical information includes the size of the data packets of the terminal device and the number of the data packets of the terminal device, and the preset condition is that the size of the data packets of the terminal device is larger than a first threshold value and the number of the data packets is larger than a second threshold value.
In an optional implementation manner, the processor 701 is specifically configured to:
when first indication information from first equipment is received, determining to switch data of the terminal equipment from a control plane to a user plane for transmission; the first indication information is used for indicating that the data of the terminal equipment is switched from a control plane to a user plane for transmission; or, the first indication information is used to indicate that a size of a data packet of the terminal device transmitted by the control plane is greater than a first threshold; or, the first indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than a second threshold; or, the first indication information is used to indicate that the size of the data packet of the terminal device transmitted on the control plane is greater than the first threshold, and the number of the data packets of the terminal device transmitted on the control plane is greater than the second threshold.
In the above scheme, the communication device may determine whether to switch the data of the terminal device to the user plane for transmission according to the first indication information, and the method is simple to implement, and reduces the complexity of implementing the first session management function network element while improving the data transmission efficiency of the terminal device.
In an optional embodiment, the first device is any one of:
a user plane functional network element; a first session management function network element; an access network element; the terminal equipment.
When the communication apparatus is configured to execute the actions of the SMF network element or the first session management network element in the flow shown in fig. 4 or fig. 5, the processor 701 and the communication interface 702 may further execute the following contents respectively:
a communication interface 702, configured to receive user plane transmission indication information from an access and mobility management function network element, where the user plane transmission indication information is used to indicate that data of the terminal device is switched from a control plane to a user plane for transmission;
a processor 701, configured to send a first message to a user plane functional network element through a communication interface 702 according to the user plane transmission indication information; the first message is used for requesting to stop sending the downlink data of the terminal equipment.
In the above solution, the communication device sends the first message according to the user plane transmission indication information sent by the access and mobility management function network element, so as to instruct the user plane function network element to stop transmitting the downlink data of the terminal device through the first message. The user plane function network element stops the downlink data of the terminal equipment before the data of the terminal equipment is switched to the user plane for transmission, so that the problem that the downlink data of the terminal equipment transmitted by the user plane function network element through the control plane before the user plane data transmission tunnel is established and the downlink data of the terminal equipment transmitted by the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
In an optional implementation manner, the first message is further used to indicate to delete control plane data transmission tunnel information corresponding to the terminal device;
the control plane data transmission tunnel information is tunnel information of a control plane data transmission tunnel between the user plane functional network element and the access and mobility management functional network element, or the control plane data transmission tunnel information is tunnel information of a control plane data transmission tunnel between the user plane functional network element and the first session management functional network element.
In an optional implementation manner, the first message is further used to instruct the user plane function network element to allocate core network tunnel information of the user plane tunnel.
In an optional implementation, the communication interface 702 is further configured to:
receiving a response message of the first message from the user plane function network element, wherein the response message includes the core network tunnel information.
In an optional implementation, the processor 701 is further configured to:
and distributing the core network tunnel information of the user plane tunnel.
In an optional embodiment, after receiving the user plane transmission indication information from the access and mobility management function network element, the communication interface 702 is further configured to:
and sending a second message to the access and mobility management function network element, wherein the second message comprises the core network tunnel information.
In an optional implementation manner, the second message is further used to indicate that the deletion of the control plane data transmission tunnel information corresponding to the terminal device is completed.
As shown in fig. 8, a schematic structural diagram of a communication device, which may be an AMF network element, is provided for the embodiment of the present application. The communication device may be configured to perform the actions of the AMF network element in the foregoing method embodiments. The communication apparatus 800 includes: a processing unit 801 and a transceiving unit 802.
When the communication apparatus is used to execute the actions of the AMF network element in the flow shown in fig. 2 or fig. 3, the processing unit 801 and the transceiver unit 802 respectively execute the following:
a transceiver 802, configured to receive a first message from a first session management function network element, where the first message is used to instruct the user plane function network element to stop sending downlink data of the terminal device;
a processing unit 801, configured to stop sending downlink data to the terminal device according to the first message.
In the above solution, after receiving the first message of the first session management function network element, the communication device does not transmit downlink data. Therefore, the problem that downlink data of the terminal equipment transmitted by the control plane before the user plane data transmission tunnel is established and downlink data of the terminal equipment transmitted by the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
When the communication apparatus is used to execute the actions of the AMF network element in the flow shown in fig. 4 or fig. 5, the processing unit 801 and the transceiver unit 802 may further execute the following steps:
a processing unit 801 configured to determine to switch data of a terminal device from a control plane to a user plane for transmission;
a transceiving unit 802, configured to send user plane transmission indication information to a first session management function network element, where the user plane transmission indication information is used to indicate that data of the terminal device is switched from a control plane to a user plane for transmission.
In the above scheme, when the communication device determines to switch the data of the terminal device to the user plane transmission, the communication device sends the user plane transmission indication information to the first session management function network element, and the first session management function network element thereby indicates the user plane function network element to stop transmitting the downlink data of the terminal device according to the user plane transmission indication information, so that the problem that the downlink data of the terminal device transmitted by the user plane function network element through the control plane before the user plane data transmission tunnel is established and the downlink data of the terminal device transmitted by the user plane after the user plane data transmission tunnel is established can be avoided in the switching process, thereby improving the data transmission efficiency.
In an optional embodiment, the transceiving unit 802 is further configured to:
and receiving a second message from the first session management function network element, wherein the second message comprises core network tunnel information.
In an optional implementation, the processing unit 801 is further configured to:
and deleting the control plane data transmission tunnel information between the user plane functional network element and the access and mobility management functional network element.
In an optional implementation, the processing unit 801 is further configured to:
and instructing the terminal equipment to stop transmitting the uplink data through a control plane, or instructing the terminal equipment to stop transmitting the uplink data.
In the above scheme, the communication device instructs the terminal device to stop transmitting the uplink data, so that the problem that the uplink data transmitted by the terminal device fails to be transmitted in the process of switching the control plane to the user plane can be avoided, and meanwhile, the problem that the uplink data failed to be transmitted needs to be repeatedly transmitted to cause transmission resource waste can be avoided.
In an optional implementation manner, the processing unit 801 is specifically configured to:
acquiring data statistical information of the terminal equipment according to the data of the terminal equipment transmitted by the control plane;
and when the data statistical information meets a preset condition, determining to switch the data of the terminal equipment from a control plane to a user plane for transmission.
In the above scheme, the communication device can accurately determine the size and/or the number of the data packets transmitted by the terminal device on the control plane according to the detected data statistical information, so that the data of the terminal device can be switched to the user plane for transmission when the data statistical information meets the preset condition, and the data transmission efficiency of the terminal device is improved.
In an optional implementation manner, the data statistics information includes a packet size of the terminal device transmitted through the control plane, and the preset condition is that the packet size of the terminal device is greater than a first threshold; or the data statistical information includes the number of data packets of the terminal device, and the preset condition is that the number is greater than a second threshold; or the data statistical information includes the size of the data packets of the terminal device and the number of the data packets of the terminal device, and the preset condition is that the size of the data packets of the terminal device is larger than a first threshold value and the number of the data packets is larger than a second threshold value.
In an optional implementation manner, the processing unit 801 is specifically configured to:
when first indication information from first equipment is received, determining to switch data of the terminal equipment from a control plane to a user plane for transmission; the first indication information is used for indicating that the data of the terminal equipment is switched from a control plane to a user plane for transmission; or, the first indication information is used to indicate that a size of a data packet of the terminal device transmitted by the control plane is greater than a first threshold; or, the first indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than a second threshold; or, the first indication information is used to indicate that the size of the data packet of the terminal device transmitted on the control plane is greater than the first threshold, and the number of the data packets of the terminal device transmitted on the control plane is greater than the second threshold.
In the above scheme, the communication device may determine whether to switch the data of the terminal device to the user plane for transmission according to the first indication information, and the method is simple to implement, and reduces the complexity of implementing the access and mobility management function network element while improving the data transmission efficiency of the terminal device.
In an optional embodiment, the first device is any one of:
a user plane functional network element; the first session management function network element; an access network element; the terminal equipment.
As shown in fig. 9, a schematic structural diagram of a communication device is provided for the embodiment of the present application, and the communication device shown in fig. 9 may be an implementation manner of a hardware circuit of the communication device shown in fig. 8. The communication device may be an AMF network element or a chip or system on chip located within the AMF network element. The communication device may be configured to perform the actions of the AMF network element in the foregoing method embodiments. The communication apparatus 900 includes: a processor 901, a communication interface 902, a memory 903.
In the embodiment of the present application, the communication interface 902 may be a wired communication interface, a wireless communication interface, or a combination thereof. The wired communication interface may be, for example, an ethernet interface. The wireless communication interface may be, for example, a wireless local area network transceiver, a cellular network transceiver, or a combination thereof. The processor 901 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP. The memory 903 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory (flash memory), a Hard Disk Drive (HDD), or a solid-state drive (SSD); the memory may also comprise a combination of memories of the kind described above.
The memory 903 may be used to store program instructions that the processor 901 calls upon stored in the memory 903.
When the communication apparatus is used to execute the actions of the AMF network element in the flow shown in fig. 2 or fig. 3, the processor 901 and the communication interface 902 respectively execute the following:
a communication interface 902, configured to receive a first message from a first session management function network element, where the first message is used to instruct the user plane function network element to stop sending downlink data of the terminal device;
a processor 901, configured to stop sending downlink data to the terminal device according to the first message.
In the above solution, after receiving the first message of the first session management function network element, the communication device does not transmit downlink data. Therefore, the problem that downlink data of the terminal equipment transmitted by the control plane before the user plane data transmission tunnel is established and downlink data of the terminal equipment transmitted by the user plane after the user plane data transmission tunnel is established are out of order in the switching process can be avoided, and the data transmission efficiency is improved.
When the communication apparatus is used to execute the actions of the AMF network element in the flow shown in fig. 4 or fig. 5, the processor 901 and the communication interface 902 may further execute the following steps:
a processor 901 configured to determine to switch data of a terminal device from a control plane to a user plane for transmission;
a communication interface 902, configured to send user plane transmission indication information to the first session management function network element, where the user plane transmission indication information is used to indicate that data of the terminal device is switched from a control plane to a user plane for transmission.
In the above scheme, when the communication device determines to switch the data of the terminal device to the user plane transmission, the communication device sends the user plane transmission indication information to the first session management function network element, and the first session management function network element thereby indicates the user plane function network element to stop transmitting the downlink data of the terminal device according to the user plane transmission indication information, so that the problem that the downlink data of the terminal device transmitted by the user plane function network element through the control plane before the user plane data transmission tunnel is established and the downlink data of the terminal device transmitted by the user plane after the user plane data transmission tunnel is established can be avoided in the switching process, thereby improving the data transmission efficiency.
In an optional implementation, the communication interface 902 is further configured to:
and receiving a second message from the first session management function network element, wherein the second message comprises core network tunnel information.
In an optional implementation, the processor 901 is further configured to:
and deleting the control plane data transmission tunnel information between the user plane functional network element and the access and mobility management functional network element.
In an optional implementation, the processor 901 is further configured to:
and instructing the terminal equipment to stop transmitting the uplink data through a control plane, or instructing the terminal equipment to stop transmitting the uplink data.
In the above scheme, the communication device instructs the terminal device to stop transmitting the uplink data, so that the problem that the uplink data transmitted by the terminal device fails to be transmitted in the process of switching the control plane to the user plane can be avoided, and meanwhile, the problem that the uplink data failed to be transmitted needs to be repeatedly transmitted to cause transmission resource waste can be avoided.
In an optional implementation, the processor 901 is specifically configured to:
acquiring data statistical information of the terminal equipment according to the data of the terminal equipment transmitted by the control plane;
and when the data statistical information meets a preset condition, determining to switch the data of the terminal equipment from a control plane to a user plane for transmission.
In the above scheme, the communication device can accurately determine the size and/or the number of the data packets transmitted by the terminal device on the control plane according to the detected data statistical information, so that the data of the terminal device can be switched to the user plane for transmission when the data statistical information meets the preset condition, and the data transmission efficiency of the terminal device is improved.
In an optional implementation manner, the data statistics information includes a packet size of the terminal device transmitted through the control plane, and the preset condition is that the packet size of the terminal device is greater than a first threshold; or the data statistical information includes the number of data packets of the terminal device, and the preset condition is that the number is greater than a second threshold; or the data statistical information includes the size of the data packets of the terminal device and the number of the data packets of the terminal device, and the preset condition is that the size of the data packets of the terminal device is larger than a first threshold value and the number of the data packets is larger than a second threshold value.
In an optional implementation, the processor 901 is specifically configured to:
when first indication information from first equipment is received, determining to switch data of the terminal equipment from a control plane to a user plane for transmission; the first indication information is used for indicating that the data of the terminal equipment is switched from a control plane to a user plane for transmission; or, the first indication information is used to indicate that a size of a data packet of the terminal device transmitted by the control plane is greater than a first threshold; or, the first indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than a second threshold; or, the first indication information is used to indicate that the size of the data packet of the terminal device transmitted on the control plane is greater than the first threshold, and the number of the data packets of the terminal device transmitted on the control plane is greater than the second threshold.
In the above scheme, the communication device may determine whether to switch the data of the terminal device to the user plane for transmission according to the first indication information, and the method is simple to implement, and reduces the complexity of implementing the access and mobility management function network element while improving the data transmission efficiency of the terminal device.
In an optional embodiment, the first device is any one of:
a user plane functional network element; the first session management function network element; an access network element; the terminal equipment.
As shown in fig. 10, a schematic structural diagram of a communication device, which may be a UPF network element, is provided for the embodiment of the present application. The communication device may be configured to perform the UPF network element actions in the above-described embodiments of the methods. The communication apparatus 1000 includes: a receiving unit 1001 and a transmitting unit 1002.
A receiving unit 1001, configured to receive conversion indication information from a first session management function network element, where the conversion indication information is used to indicate that a mobility management function network element switches data of a terminal device from a control plane to a user plane for transmission;
a sending unit 1002, configured to send, according to the conversion indication information, user plane transmission indication information to a second session management network element, where the user plane transmission indication information is used to instruct the second session management network element to switch data of the terminal device from a control plane to a user plane for transmission.
In the above scheme, when it is determined that the first session management function network element switches the data of the terminal device to the user plane for transmission, the access and mobility management function network element instructs the second session management function network element to switch the data of the terminal device from the control plane to the user plane for transmission, so that the terminal device only adopts one transmission mode for transmitting the data, the complexity of data transmission of the terminal device is reduced, and the transmission efficiency can be improved.
As shown in fig. 11, a schematic structural diagram of a communication apparatus is provided for the embodiment of the present application, where the communication apparatus shown in fig. 11 may be an implementation manner of a hardware circuit of the communication apparatus shown in fig. 10, and the communication apparatus may be a UPF network element or a chip or a system on chip located in the UPF network element. The communication device may be configured to perform the UPF network element actions in the above-described embodiments of the methods. The communication apparatus 1100 includes: a processor 1101, a communication interface 1102, and a memory 1103.
The memory 1103 may be configured to store program instructions, and the processor 1101 calls the program instructions stored in the memory 1103 to perform:
receiving, by a communication interface 1102, transition indication information from a first session management function network element, where the transition indication information is used to indicate that a mobility management function network element is to switch data of a terminal device from a control plane to a user plane for transmission; and sending user plane transmission indication information to a second session management network element according to the conversion indication information, wherein the user plane transmission indication information is used for indicating the second session management network element to switch the data of the terminal equipment from a control plane to a user plane for transmission.
In the above scheme, when it is determined that the first session management function network element switches the data of the terminal device to the user plane for transmission, the access and mobility management function network element instructs the second session management function network element to switch the data of the terminal device from the control plane to the user plane for transmission, so that the terminal device only adopts one transmission mode for transmitting the data, the complexity of data transmission of the terminal device is reduced, and the transmission efficiency can be improved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (28)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810664864.1A CN110636535B (en) | 2018-06-25 | 2018-06-25 | A data transmission method and device |
| PCT/CN2019/090421 WO2020001257A1 (en) | 2018-06-25 | 2019-06-06 | Data transmission method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810664864.1A CN110636535B (en) | 2018-06-25 | 2018-06-25 | A data transmission method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110636535A CN110636535A (en) | 2019-12-31 |
| CN110636535B true CN110636535B (en) | 2021-02-23 |
Family
ID=68968797
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810664864.1A Active CN110636535B (en) | 2018-06-25 | 2018-06-25 | A data transmission method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110636535B (en) |
| WO (1) | WO2020001257A1 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111935660B (en) * | 2020-08-12 | 2021-07-20 | 中国联合网络通信集团有限公司 | Session methods and session management functional entities |
| CN111970635B (en) * | 2020-08-26 | 2023-07-07 | 展讯通信(上海)有限公司 | Positioning data transmission method and device |
| CN114125910B (en) * | 2020-08-31 | 2025-02-25 | 华为技术有限公司 | Tunnel keep-alive method, network device, system and storage medium |
| CN115334014B (en) * | 2021-04-27 | 2023-05-16 | 阿里巴巴新加坡控股有限公司 | Virtual switch and data transmission system |
| CN115348685A (en) * | 2021-05-12 | 2022-11-15 | 华为技术有限公司 | Communication method and device |
| CN117062142A (en) * | 2022-05-05 | 2023-11-14 | 华为技术有限公司 | Communication methods and devices |
| GB202211689D0 (en) * | 2022-08-10 | 2022-09-21 | Samsung Electronics Co Ltd | External exposure of control plane to user plane switch parameter |
| WO2025054761A1 (en) * | 2023-09-11 | 2025-03-20 | Oppo广东移动通信有限公司 | Method for data transmission, and communication device |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105704760A (en) * | 2014-11-26 | 2016-06-22 | 电信科学技术研究院 | Method, device and system for data packet transmission |
| CN106572505A (en) * | 2015-10-13 | 2017-04-19 | 中兴通讯股份有限公司 | Communication method, apparatus and terminal |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10681150B2 (en) * | 2016-03-31 | 2020-06-09 | Huawei Technologies Co., Ltd. | Systems and methods for management plane—control plane interaction in software defined topology management |
-
2018
- 2018-06-25 CN CN201810664864.1A patent/CN110636535B/en active Active
-
2019
- 2019-06-06 WO PCT/CN2019/090421 patent/WO2020001257A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105704760A (en) * | 2014-11-26 | 2016-06-22 | 电信科学技术研究院 | Method, device and system for data packet transmission |
| CN106572505A (en) * | 2015-10-13 | 2017-04-19 | 中兴通讯股份有限公司 | Communication method, apparatus and terminal |
Non-Patent Citations (1)
| Title |
|---|
| Addressing open issues in Solution 2;CATT;《3GPP SA WG2 Meeting #127-bis S2-185760》;20180601;全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2020001257A1 (en) | 2020-01-02 |
| CN110636535A (en) | 2019-12-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110636535B (en) | A data transmission method and device | |
| US11825540B2 (en) | Communication method and communications apparatus | |
| US12477384B2 (en) | Data transmission method and data transmission apparatus | |
| US11159976B2 (en) | Handling of mapped EPS bearer context for invalid QoS flow description | |
| US11968565B2 (en) | User plane information reporting method and apparatus | |
| WO2020030077A1 (en) | Enhanced handling on qos flow description | |
| US20190313289A1 (en) | Quality of Service Rule Management in 5G | |
| CN108605269B (en) | A session management method and device | |
| US11202338B2 (en) | Session establishment method and apparatus | |
| US20160234851A1 (en) | Data transmission apparatus and method | |
| KR20200017523A (en) | Session management method, interworking method, and network device | |
| KR20190133031A (en) | Communication method and device | |
| KR102337091B1 (en) | Multiple access communication method, apparatus and terminal | |
| KR102335276B1 (en) | Communication method and communication device | |
| CN105409285B (en) | A device and control method for controlling bearer switching | |
| KR102390546B1 (en) | User plane link establishment method, base station and mobility management device | |
| EP3664507A1 (en) | Communication method, base station, terminal device and system | |
| CN110636553A (en) | A data transmission method and device | |
| CN114026929B (en) | F1 interface management method and device | |
| US11153925B2 (en) | Handling of QoS flow description without valid EPS bearer context | |
| CN110582126A (en) | Communication method and device | |
| JP2020506636A (en) | Method and apparatus for configuring a GTP transmission channel and storage medium | |
| KR20200016685A (en) | Method and apparatus for downlink data transmission in a wireless communication system | |
| CN111132241B (en) | Communication method, mobility management entity, user equipment and serving gateway | |
| CN117545086A (en) | Wireless resource allocation method, network element, device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |