CN110636553A - A data transmission method and device - Google Patents
A data transmission method and device Download PDFInfo
- Publication number
- CN110636553A CN110636553A CN201810662621.4A CN201810662621A CN110636553A CN 110636553 A CN110636553 A CN 110636553A CN 201810662621 A CN201810662621 A CN 201810662621A CN 110636553 A CN110636553 A CN 110636553A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- data
- indication information
- control plane
- user plane
- 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.)
- Pending
Links
Classifications
-
- 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/0033—Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/08—Load balancing or load distribution
- H04W28/088—Load balancing or load distribution among core entities
-
- 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/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
- H04W36/302—Reselection being triggered by specific parameters by measured or perceived connection quality data due to low signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/12—Setup of transport tunnels
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
- H04W76/32—Release of transport tunnels
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
一种数据传输方法及装置,其中方法包括:核心网设备确定将终端设备的数据从控制面切换到用户面传输;所述核心网设备向所述终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备停止通过控制面传输上行数据,或者,所述第一指示信息用于指示所述终端设备停止传输上行数据。
A data transmission method and apparatus, wherein the method includes: a core network device determines to switch data of a terminal device from a control plane to a user plane for transmission; the core network device sends first indication information to the terminal device, the first The indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to instruct the terminal device to stop transmitting uplink data.
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种数据传输方法及装置。The present application relates to the field of communication technologies, and in particular, to a data transmission method and apparatus.
背景技术Background technique
无线通信系统中,可以采用两种数据传输方式传输数据:用户面传输方式和控制面传输方式。控制面传输方式可以用于传输数据量较小的数据包(比如20字节左右的数据包,以下称之为小包数据),而用户面传输方式适合传输数据量较大的数据包(比如200字节及以上大小的数据包,以下称之为大包数据)。在数据包传输过程中,可以根据实际情况切换传输方式。举例来说,假设终端设备当前正采用控制面传输方案传输小包数据,当服务器更新终端上的软件时,会下发大包数据(200字节大小的数据包),因此终端设备或者网络设备触发将控制面传输方式切换为用户面传输方式,从而通过用户面传输方式传输大包数据。In a wireless communication system, two data transmission modes can be used to transmit data: a user plane transmission mode and a control plane transmission mode. The control plane transmission mode can be used to transmit data packets with a small amount of data (such as data packets of about 20 bytes, hereinafter referred to as small data packets), while the user plane transmission mode is suitable for transmitting data packets with a large amount of data (such as 200 bytes of data). Data packets of bytes and above are hereinafter referred to as large packet data). In the process of data packet transmission, the transmission mode can be switched according to the actual situation. For example, assuming that the terminal device is currently using the control plane transmission scheme to transmit small packets of data, when the server updates the software on the terminal, it will send large packets of data (200-byte data packets), so the terminal device or network device triggers Switch the control plane transmission mode to the user plane transmission mode, so as to transmit large packet data through the user plane transmission mode.
在网络侧设备发起的从控制面传输方式切换到用户面传输方式的过程中,控制面隧道已被释放,但终端设备仍通过控制面继续向网络侧设备发送上行数据,导致上行数据包传输失败。进一步地,上行数据传输失败导致终端设备重复发送该上行数据,造成传输资源浪费。In the process of switching from the control plane transmission mode to the user plane transmission mode initiated by the network side device, the control plane tunnel has been released, but the terminal device continues to send uplink data to the network side device through the control plane, resulting in the failure of uplink data packet transmission . Further, the failure of uplink data transmission causes the terminal device to repeatedly send the uplink data, resulting in waste of transmission resources.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种数据传输方法及装置,用以解决数据传输方案切换时,终端设备重复发送上行数据,造成传输资源浪费的问题。Embodiments of the present application provide a data transmission method and apparatus, which are used to solve the problem of waste of transmission resources caused by the terminal equipment repeatedly sending uplink data when the data transmission scheme is switched.
第一方面,本申请实施例提供一种数据传输方法,该方法包括:In a first aspect, an embodiment of the present application provides a data transmission method, which includes:
核心网设备确定将终端设备的数据从控制面切换到用户面传输;所述核心网设备向所述终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备停止通过控制面传输上行数据,或者,所述第一指示信息用于指示所述终端设备停止传输上行数据。The core network device determines to switch data of the terminal device from the control plane to the user plane for transmission; the core network device sends first indication information to the terminal device, where the first indication information is used to instruct the terminal device to stop passing the control or the first indication information is used to instruct the terminal device to stop transmitting uplink data.
通过上述方法,核心网设备确定将终端设备的数据切换到用户面传输之后,通过第一指示信息,指示终端设备停止传输上行数据,终端设备不再传输上行数据。因此,可以避免在控制面切换到用户面的过程中,终端设备发送的上行数据传输失败的问题,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。Through the above method, after the core network device determines to switch data of the terminal device to user plane transmission, it instructs the terminal device to stop transmitting uplink data through the first indication information, and the terminal device no longer transmits uplink data. Therefore, in the process of switching from the control plane to the user plane, the problem of transmission failure of uplink data sent by the terminal device can be avoided, and at the same time, the problem of waste of transmission resources caused by the need to repeatedly transmit uplink data which fails to be transmitted can be avoided.
一种可选地实施方式中,所述核心网设备确定将终端设备的数据从控制面切换到用户面传输,包括:In an optional implementation manner, the core network device determines to switch data of the terminal device from the control plane to the user plane for transmission, including:
所述核心网设备根据通过所述控制面传输的所述终端设备的数据,获得所述终端设备的数据统计信息;obtaining, by the core network device, data statistics of the terminal device according to the data of the terminal device transmitted through the control plane;
当所述数据统计信息满足预设条件时,所述核心网设备确定将所述终端设备的数据从控制面切换到用户面传输。When the data statistical information satisfies a preset condition, the core network device determines to switch the data of the terminal device from the control plane to the user plane for transmission.
通过上述方法,核心网设备可以根据检测到的数据统计信息,例如,终端设备在控制面传输的数据包大小和/或数量,从而可以在数据统计信息满足预设条件时,将所述终端设备的数据切换到用户面传输,提高终端设备的数据传输效率。Through the above method, the core network device can, according to the detected data statistical information, for example, the size and/or number of data packets transmitted by the terminal device on the control plane, so that when the data statistical information meets the preset conditions, the terminal device can The data is switched to the user plane transmission to improve the data transmission efficiency of the terminal equipment.
一种可选地实施方式中,所述数据统计信息包括所述终端设备的数据包大小,所述预设条件为所述终端设备的数据包大小大于第一阈值;或者,所述数据统计信息包括所述终端设备的数据包的数量,所述预设条件为所述数量大于第二阈值;或者,所述数据统计信息包括所述终端设备的数据包大小和所述终端设备的数据包的数量,所述预设条件为所述终端设备的数据包大小大于第一阈值,且所述数量大于第二阈值。In an optional implementation manner, the data statistical information includes the data packet size of the terminal device, and the preset condition is that the data packet size of the terminal device is greater than a first threshold; or, the data statistical information Including the number of data packets of the terminal device, and the preset condition is that the number is greater than the second threshold; or, the data statistical information includes the data packet size of the terminal device and the data packet of the terminal device. The preset condition is that the size of the data packet of the terminal device is greater than the first threshold, and the number is greater than the second threshold.
一种可选地实施方式中,所述核心网设备确定将终端设备的数据从控制面切换到用户面传输,包括:In an optional implementation manner, the core network device determines to switch data of the terminal device from the control plane to the user plane for transmission, including:
当所述核心网设备接收来自第一设备的第二指示信息时,所述核心网设备确定将所述终端设备的数据从控制面切换到用户面传输;When the core network device receives the second indication information from the first device, the core network device determines to switch the data of the terminal device from the control plane to the user plane for transmission;
其中,所述第二指示信息用于指示将所述终端设备的数据从控制面切换到用户面传输;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包的数量大于第二阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值,且在所述控制面传输的所述终端设备的数据包的数量大于第二阈值。Wherein, the second indication information is used to instruct to switch the data of the terminal device from the control plane to the user plane for transmission; or, the second indication information is used to indicate the data of the terminal device transmitted on the control plane. The data packet size is greater than the first threshold; or, the second indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than the second threshold; or, the second indication information is used to Indicates that the size of the data packets of the terminal equipment transmitted on the control plane is greater than a first threshold, and the number of data packets of the terminal equipment transmitted on the control plane is greater than a second threshold.
通过上述方法,核心网设备可以根据第二指示信息,确定将所述终端设备的数据切换到用户面传输,该方式实现简单,在提高终端设备的数据传输效率的同时,降低核心网设备实现的复杂度。Through the above method, the core network device can determine to switch the data of the terminal device to the user plane transmission according to the second indication information. This method is simple to implement. While improving the data transmission efficiency of the terminal device, it also reduces the data transmission efficiency of the core network device. the complexity.
一种可选地实施方式中,所述第一设备为以下任一项:In an optional implementation manner, the first device is any of the following:
服务网关SGW;分组数据网关PGW;接入网网元;所述终端设备;会话管理功能SMF网元;用户面功能UPF网元;或,接入和移动管理功能AMF网元。The service gateway SGW; the packet data gateway PGW; the access network element; the terminal equipment; the session management function SMF network element; the user plane function UPF network element; or, the access and mobility management function AMF network element.
一种可选地实施方式中,所述核心网设备向所述终端设备发送第一指示信息之前,所述方法还包括:In an optional implementation manner, before the core network device sends the first indication information to the terminal device, the method further includes:
所述核心网设备确定所述核心网设备的负载大于第三阈值。The core network device determines that the load of the core network device is greater than a third threshold.
通过上述方法,核心网设备根据自身的负载确定是否发送第一指示信息,可以保证核心网设备的负载均衡。Through the above method, the core network device determines whether to send the first indication information according to its own load, which can ensure the load balance of the core network device.
第二方面,本申请实施例提供一种通信装置,所述通信装置包括存储器、通信接口和处理器,其中:存储器用于存储指令;处理器用于根据执行存储器存储的指令,并控制通信接口进行信号接收和信号发送,当处理器执行存储器存储的指令时,用于执行上述第一方面或第一方面中任一种可能的设计中的方法。In a second aspect, an embodiment of the present application provides a communication device, the communication device includes a memory, a communication interface, and a processor, wherein: the memory is used for storing instructions; the processor is used for executing the instructions stored in the memory and controlling the communication interface to perform Signal reception and signal transmission, when the processor executes the instructions stored in the memory, are used to perform the method in the above first aspect or any possible design of the first aspect.
第三方面,本申请实施例提供一种通信装置,用于实现上述第一方面或第一方面中的任意一种方法,包括相应的功能模块,例如包括处理单元、收发单元等,分别用于实现以上方法中的步骤。In a third aspect, an embodiment of the present application provides a communication device for implementing the first aspect or any method in the first aspect, including corresponding functional modules, such as a processing unit, a transceiver unit, etc., respectively used for 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 in the computer storage medium, and when a computer reads and executes the computer-readable instructions, the computer executes the first A method in the aspect or any possible design of the first aspect.
第五方面,本申请实施例提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述第一方面或第一方面中任一种可能的设计中的方法。In a fifth aspect, an embodiment of the present application provides a computer program product that, when a computer reads and executes the computer program product, causes the computer to execute the method in the first aspect or any possible design of the first aspect.
第六方面,本申请实施例提供一种芯片,所述芯片与存储器相连,用于读取并执行所述存储器中存储的软件程序,以实现上述第一方面或第一方面中任一种可能的设计中的方法。In a sixth aspect, an embodiment of the present application provides a chip, which is connected to a memory and used to read and execute a software program stored in the memory, so as to realize the first aspect or any one of the first aspects. method in the design.
第七方面,本申请实施例提供一种数据传输方法,包括:In a seventh aspect, an embodiment of the present application provides a data transmission method, including:
终端设备接收来自核心网设备的第一指示信息,所述第一指示信息用于指示所述终端设备停止通过控制面传输上行数据,或者,所述第一指示信息用于指示所述终端设备停止传输上行数据;所述终端设备根据所述第一指示信息,停止通过控制面传输上行数据。The terminal device receives first indication information from the core network device, where the first indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to instruct the terminal device to stop transmitting uplink data; the terminal device stops transmitting uplink data through the control plane according to the first indication information.
通过上述方法,终端设备接收到核心网设备发送的第一指示信息后,不再传输上行数据。因此,可以避免在控制面切换到用户面的过程中,终端设备发送的上行数据传输失败的问题,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。Through the above method, after the terminal device receives the first indication information sent by the core network device, it does not transmit uplink data. Therefore, in the process of switching from the control plane to the user plane, the problem of transmission failure of uplink data sent by the terminal device can be avoided, and at the same time, the problem of waste of transmission resources caused by the need to repeatedly transmit uplink data which fails to be transmitted can be avoided.
第八方面,本申请实施例提供一种通信装置,所述通信装置包括存储器、收发机和处理器,其中:存储器用于存储指令;处理器用于根据执行存储器存储的指令,并控制收发机进行信号接收和信号发送,当处理器执行存储器存储的指令时,用于执行上述第七方面或第七方面中任一种可能的设计中的方法。In an eighth aspect, an embodiment of the present application provides a communication device, the communication device includes a memory, a transceiver, and a processor, wherein: the memory is used to store instructions; the processor is used to execute the instructions stored in the memory and control the transceiver to perform Signal reception and signal transmission, when the processor executes the instructions stored in the memory, are used to perform the method in the above seventh aspect or any possible design of the seventh aspect.
第九方面,本申请实施例提供一种通信装置,用于实现上述第七方面或第七方面中的任意一种方法,包括相应的功能模块,例如包括接收单元、发送单元等,分别用于实现以上方法中的步骤。In a ninth aspect, an embodiment of the present application provides a communication device for implementing any one of the seventh aspect or the seventh aspect, including corresponding functional modules, such as a receiving unit, a sending unit, etc., respectively used for Implement the steps in the above method.
第十方面,本申请实施例提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述第七方面或第七方面中任一种可能的设计中的方法。In a tenth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer-readable instructions are stored in the computer storage medium, and when a computer reads and executes the computer-readable instructions, the computer executes the seventh A method in any possible design of the aspect or seventh aspect.
第十一方面,本申请实施例提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述第七方面或第七方面中任一种可能的设计中的方法。In an eleventh aspect, an embodiment of the present application provides a computer program product that, when a computer reads and executes the computer program product, causes the computer to execute the method in the seventh aspect or any possible design of the seventh aspect .
第十二方面,本申请实施例提供一种芯片,所述芯片与存储器相连,用于读取并执行所述存储器中存储的软件程序,以实现上述第七方面或第七方面中任一种可能的设计中的方法。In a twelfth aspect, an embodiment of the present application provides a chip, which is connected to a memory and used to read and execute a software program stored in the memory, so as to implement any one of the seventh aspect or the seventh aspect possible design methods.
第十三方面,本申请实施例提供一种数据传输方法,该方法包括:In a thirteenth aspect, an embodiment of the present application provides a data transmission method, the method comprising:
核心网设备确定触发为终端设备建立用户面承载,所述用户面承载用于传输所述终端设备的数据;所述核心网设备向所述终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备停止通过控制面传输上行数据,或者,所述第一指示信息用于指示所述终端设备停止传输上行数据。The core network device determines to trigger the establishment of a user plane bearer for the terminal device, where the user plane bearer is used to transmit data of the terminal device; the core network device sends first indication information to the terminal device, the first indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to instruct the terminal device to stop transmitting uplink data.
通过上述方法,核心网设备确定触发为终端设备建立用户面承载之后,通过第一指示信息,指示终端设备停止传输上行数据,终端设备不再传输上行数据。因此,可以避免在控制面切换到用户面的过程中,终端设备发送的上行数据传输失败的问题,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。Through the above method, after the core network device determines to trigger the establishment of a user plane bearer for the terminal device, it instructs the terminal device to stop transmitting uplink data through the first indication information, and the terminal device no longer transmits uplink data. Therefore, in the process of switching from the control plane to the user plane, the problem of transmission failure of uplink data sent by the terminal device can be avoided, and at the same time, the problem of waste of transmission resources caused by the need to repeatedly transmit uplink data which fails to be transmitted can be avoided.
一种可选地实施方式中,所述核心网设备确定触发为终端设备建立用户面承载,包括:In an optional implementation manner, the core network device determines to trigger the establishment of a user plane bearer for the terminal device, including:
所述核心网设备根据通过所述控制面传输的所述终端设备的数据,获得所述终端设备的数据统计信息;obtaining, by the core network device, data statistics of the terminal device according to the data of the terminal device transmitted through the control plane;
当所述数据统计信息满足预设条件时,所述核心网设备确定触发为终端设备建立用户面承载。When the data statistical information satisfies a preset condition, the core network device determines to trigger the establishment of a user plane bearer for the terminal device.
通过上述方法,核心网设备可以根据检测到的数据统计信息,例如,终端设备在控制面传输的数据包大小和/或数量,从而可以在数据统计信息满足预设条件时,确定触发为终端设备建立用户面承载,提高终端设备的数据传输效率。Through the above method, the core network device can determine the trigger as the terminal device according to the detected data statistical information, for example, the size and/or number of data packets transmitted by the terminal device on the control plane, when the data statistical information meets the preset conditions The user plane bearer is established to improve the data transmission efficiency of terminal equipment.
一种可选地实施方式中,所述数据统计信息包括所述终端设备的数据包大小,所述预设条件为所述终端设备的数据包大小大于第一阈值;或者,所述数据统计信息包括所述终端设备的数据包的数量,所述预设条件为所述数量大于第二阈值;或者,所述数据统计信息包括所述终端设备的数据包大小和所述终端设备的数据包的数量,所述预设条件为所述终端设备的数据包大小大于第一阈值,且所述数量大于第二阈值。In an optional implementation manner, the data statistical information includes the data packet size of the terminal device, and the preset condition is that the data packet size of the terminal device is greater than a first threshold; or, the data statistical information Including the number of data packets of the terminal device, and the preset condition is that the number is greater than the second threshold; or, the data statistical information includes the data packet size of the terminal device and the data packet of the terminal device. The preset condition is that the size of the data packet of the terminal device is greater than the first threshold, and the number is greater than the second threshold.
一种可选地实施方式中,所述核心网设备确定触发为终端设备建立用户面承载,包括:In an optional implementation manner, the core network device determines to trigger the establishment of a user plane bearer for the terminal device, including:
当所述核心网设备接收来自第一设备的第二指示信息时,所述核心网设备确定触发为终端设备建立用户面承载;When the core network device receives the second indication information from the first device, the core network device determines to trigger the establishment of a user plane bearer for the terminal device;
其中,所述第二指示信息用于指示将所述终端设备的数据从控制面切换到用户面传输;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包的数量大于第二阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值,且在所述控制面传输的所述终端设备的数据包的数量大于第二阈值。Wherein, the second indication information is used to instruct to switch the data of the terminal device from the control plane to the user plane for transmission; or, the second indication information is used to indicate the data of the terminal device transmitted on the control plane. The data packet size is greater than the first threshold; or, the second indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than the second threshold; or, the second indication information is used to Indicates that the size of the data packets of the terminal equipment transmitted on the control plane is greater than a first threshold, and the number of data packets of the terminal equipment transmitted on the control plane is greater than a second threshold.
通过上述方法,核心网设备可以根据第二指示信息,确定触发为终端设备建立用户面承载,该方式实现简单,在提高终端设备的数据传输效率的同时,降低核心网设备实现的复杂度。Through the above method, the core network device can determine to trigger the establishment of a user plane bearer for the terminal device according to the second indication information, which is simple to implement, and reduces the complexity of core network device implementation while improving the data transmission efficiency of the terminal device.
一种可选地实施方式中,所述第一设备为以下任一项:In an optional implementation manner, the first device is any of the following:
服务网关SGW;分组数据网关PGW;接入网网元;所述终端设备;会话管理功能SMF网元;用户面功能UPF网元;或,接入和移动管理功能AMF网元。The service gateway SGW; the packet data gateway PGW; the access network element; the terminal equipment; the session management function SMF network element; the user plane function UPF network element; or, the access and mobility management function AMF network element.
一种可选地实施方式中,所述核心网设备向所述终端设备发送第一指示信息之前,所述方法还包括:In an optional implementation manner, before the core network device sends the first indication information to the terminal device, the method further includes:
所述核心网设备确定所述核心网设备的负载大于第三阈值。The core network device determines that the load of the core network device is greater than a third threshold.
通过上述方法,核心网设备根据自身的负载确定是否发送第一指示信息,可以保证核心网设备的负载均衡。Through the above method, the core network device determines whether to send the first indication information according to its own load, which can ensure the load balance of the core network device.
第十四方面,本申请实施例提供一种通信装置,所述通信装置包括存储器、通信接口和处理器,其中:存储器用于存储指令;处理器用于根据执行存储器存储的指令,并控制通信接口进行信号接收和信号发送,当处理器执行存储器存储的指令时,用于执行上述第十三方面或第十三方面中任一种可能的设计中的方法。In a fourteenth aspect, an embodiment of the present application provides a communication device, the communication device includes a memory, a communication interface, and a processor, wherein: the memory is used for storing instructions; the processor is used for executing the instructions stored in the memory and controlling the communication interface Signal reception and signal transmission are performed, and when the processor executes the instructions stored in the memory, the method is used to perform the method in the thirteenth aspect or any possible design of the thirteenth aspect.
第十五方面,本申请实施例提供一种通信装置,用于实现上述第十三方面或第十三方面中的任意一种方法,包括相应的功能模块,例如包括处理单元、收发单元等,分别用于实现以上方法中的步骤。A fifteenth aspect, an embodiment of the present application provides a communication device for implementing any one of the thirteenth aspect or the thirteenth aspect, including corresponding functional modules, such as a processing unit, a transceiver unit, and the like, They are respectively used to implement the steps in the above method.
第十六方面,本申请实施例提供一种计算机可读存储介质,所述计算机存储介质中存储有计算机可读指令,当计算机读取并执行所述计算机可读指令时,使得计算机执行上述第十三方面或第十三方面中任一种可能的设计中的方法。In a sixteenth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer-readable instructions are stored in the computer storage medium, and when a computer reads and executes the computer-readable instructions, the computer executes the above-mentioned first The method in the thirteenth aspect or any possible design of the thirteenth aspect.
第十七方面,本申请实施例提供一种计算机程序产品,当计算机读取并执行所述计算机程序产品时,使得计算机执行上述第十三方面或第十三方面中任一种可能的设计中的方法。In a seventeenth aspect, an embodiment of the present application provides a computer program product, which, when a computer reads and executes the computer program product, causes the computer to execute the thirteenth aspect or any of the possible designs of the thirteenth aspect. Methods.
第十八方面,本申请实施例提供一种芯片,所述芯片与存储器相连,用于读取并执行所述存储器中存储的软件程序,以实现上述第十三方面或第十三方面中任一种可能的设计中的方法。In an eighteenth aspect, an embodiment of the present application provides a chip, which is connected to a memory, and is used to read and execute a software program stored in the memory, so as to realize the thirteenth aspect or any one of the thirteenth aspects. A possible method in design.
附图说明Description of drawings
图1适用于本申请实施例的一种系统架构示意图;FIG. 1 is a schematic diagram of a system architecture applicable to an embodiment of the present application;
图2为本申请实施例提供的一种数据传输方法流程示意图;2 is a schematic flowchart of a data transmission method provided by an embodiment of the present application;
图3为本申请实施例提供的一种数据传输示意图;3 is a schematic diagram of data transmission provided by an embodiment of the present application;
图4为本申请实施例提供的一种数据传输示意图;FIG. 4 is a schematic diagram of data transmission provided by an embodiment of the present application;
图5为本申请实施例提供的一种数据传输示意图;FIG. 5 is a schematic diagram of data transmission provided by an embodiment of the present application;
图6为本申请实施例提供的一种数据传输示意图;FIG. 6 is a schematic diagram of data transmission provided by an embodiment of the present application;
图7为本申请实施例提供的一种数据传输示意图;FIG. 7 is a schematic diagram of data transmission provided by an embodiment of the present application;
图8为本申请实施例提供的一种数据传输示意图;FIG. 8 is a schematic diagram of data transmission provided by an embodiment of the present application;
图9为本申请实施例提供的一种通信装置结构示意图;FIG. 9 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图10为本申请实施例提供的一种通信装置结构示意图;FIG. 10 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图11为本申请实施例提供的一种通信装置结构示意图;FIG. 11 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图12为本申请实施例提供的一种通信装置结构示意图;FIG. 12 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图13为本申请实施例提供的一种通信装置结构示意图;FIG. 13 is a schematic structural diagram of a communication device according to an embodiment of the present application;
图14为本申请实施例提供的一种通信装置结构示意图。FIG. 14 is a schematic structural diagram of a communication device according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合说明书附图对本申请实施例做详细描述。The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
本申请实施例可以应用于各种移动通信系统,例如:新无线(new radio,NR)系统、长期演进(long term evolution,LTE)系统、先进的长期演进(advanced long termevolution,LTE-A)系统、演进的长期演进(evolved long term evolution,eLTE)系统等,在此不做限制。The embodiments of the present application may be applied to various mobile communication systems, for example, a new radio (NR) system, a long term evolution (LTE) system, and an advanced long term evolution (LTE-A) system , an evolved long term evolution (evolved long term evolution, eLTE) system, etc., which are not limited here.
为便于理解本申请实施例,首先以图1中示出的通信系统为例详细说明适用于本申请实施例的通信系统。图1示例性示出了适用于本申请实施例的一种系统架构示意图,如图1所示,在5G系统架构中,终端设备101可以经接入网(access network,AN)网元102与核心网进行通信。终端设备101可以为具有无线收发功能的设备或可设置于任一设备中的芯片,也可以称为用户设备(user equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、无线通信设备、用户代理或用户装置。本申请实施例中的终端设备101可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。To facilitate understanding of the embodiments of the present application, firstly, a communication system applicable to the embodiments of the present application is described in detail by taking the communication system shown in FIG. 1 as an example. FIG. 1 exemplarily shows a schematic diagram of a system architecture applicable to this embodiment of the present application. As shown in FIG. 1 , in the 5G system architecture, a terminal device 101 may communicate with a network element 102 of an access network (AN) communicate with the core network. The terminal device 101 may be a device with a wireless transceiver function or a chip that may be provided in any device, and may also be referred to as user equipment (user equipment, UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, a mobile station , remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user device. The terminal device 101 in this embodiment of the present application may be a mobile phone (mobile phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, Wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical, wireless terminals in smart grid, transportation safety ), wireless terminals in smart cities, wireless terminals in smart homes, and so on.
接入网网元102,也可以称之为无线接入网(radio access network,RAN)网元,主要负责为终端设备101提供无线连接,保证终端设备101的上下行数据的可靠传输等。接入网网元102可为5G系统中的gNB(generation Node B),可以是全球移动通讯(globalsystem of mobile communication,GSM)系统或码分多址(code division multipleaccess,CDMA)中的基站(base transceiver station,BTS),也可以是宽带码分多址(wideband code division multiple access,WCDMA)系统中的基站(nodeB,NB),还可以是LTE系统中的演进型基站(evolutional node B,eNB)等。The access network element 102, also referred to as a radio access network (RAN) network element, is mainly responsible for providing a wireless connection for the terminal device 101, ensuring reliable transmission of uplink and downlink data of the terminal device 101, and the like. The access network element 102 may be a gNB (generation Node B) in a 5G system, a global system of mobile communication (GSM) system or a base station (base station) in code division multiple access (code division multiple access, CDMA). transceiver station, BTS), can also be a base station (nodeB, NB) in a wideband code division multiple access (WCDMA) system, or can be an evolved base station (evolutional node B, eNB) in an LTE system Wait.
会话管理功能(session management function,SMF)网元103,该网元主要负责为终端设备101建立会话、管理会话等。A session management function (session management function, SMF) network element 103, the network element is mainly responsible for establishing a session for the terminal device 101, managing the session, and the like.
用户面功能(user plane function,UPF)网元104,主要功能包括数据包的路由与转发,下行数据包缓存,以及用户面数据的服务质量(Quality of Service,QoS)处理等。The user plane function (UPF) network element 104 has main functions including routing and forwarding of data packets, buffering of downlink data packets, and quality of service (Quality of Service, QoS) processing of user plane data.
接入和移动性管理功能(access and mobility management function,AMF)网元105,主要功能包括无线接入网络控制平面的终结点,非接入信令的终结点,移动性管理,接入授权或鉴权等。Access and mobility management function (AMF) network element 105, the main functions include the termination point of the radio access network control plane, the termination point of non-access signaling, mobility management, access authorization or Authentication, etc.
策略控制功能(policy control funtion,PCF)网元106,主要负责用户面传输路径的建立、删除和更改等功能。The policy control function (policy control function, PCF) network element 106 is mainly responsible for functions such as establishment, deletion and modification of user plane transmission paths.
数据网络(data network,DN)107,可以是指为终端设备101提供服务的网络。The data network (DN) 107 may refer to a network that provides services for the terminal device 101 .
应理解,图1只是示例,图1所示的系统中还可以包括其他网元,例如鉴权服务器功能(authentication server function,AUSF)网元,以及统一用户数据管理(unified datamanagement,UDM)网元等,在此不再逐一示出。It should be understood that FIG. 1 is only an example, and the system shown in FIG. 1 may also include other network elements, such as authentication server function (authentication server function, AUSF) network elements, and unified user data management (unified data management, UDM) network elements etc., which are not shown one by one here.
本申请实施例中,用户面传输可以是指S1-U数据传输,也可以是指用户面蜂窝物联网(cellular internet of things,CIoT)演进分组系统(evolved packet system,EPS)优化数据传输,还可以是指上述S1-U数据传输与用户面CIoT EPS优化数据传输的结合。控制面传输可以是指控制面CIoT EPS优化数据传输。In this embodiment of the present application, the user plane transmission may refer to S1-U data transmission, or may refer to the user plane cellular internet of things (CIoT) evolved packet system (evolved packet s y stem, EPS) optimized data transmission , may also refer to the combination of the above-mentioned S1-U data transmission and user plane CIoT EPS optimized data transmission. Control plane transmission may refer to control plane CIoT EPS optimized data transmission.
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and service scenarios described in the embodiments of the present application are for the purpose of illustrating the technical solutions of the embodiments of the present application more clearly, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. The evolution of the architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
参见图2,为本申请实施例提供的一种数据传输方法流程示意图,该方法包括:Referring to FIG. 2, a schematic flowchart of a data transmission method provided by an embodiment of the present application includes:
步骤201:核心网设备确定将终端设备的数据从控制面切换到用户面传输。Step 201: The core network device determines to switch data of the terminal device from the control plane to the user plane for transmission.
本申请实施例中,核心网设备可以为4G通信系统中的移动性管理实体(mobilitymanagement entity,MME),或5G通信系统中的SMF网元或AMF网元等,在此不再逐一举例说明。In the embodiment of the present application, the core network device may be a mobility management entity (mobility management entity, MME) in a 4G communication system, or an SMF network element or an AMF network element in a 5G communication system, etc., which will not be described one by one here.
在步骤201中,核心网设备可以根据多种方式确定将终端设备的数据从控制面切换到用户面传输,如下所述。In step 201, the core network device may determine to switch the data of the terminal device from the control plane to the user plane transmission according to various methods, as described below.
方式一,核心网设备对终端设备在控制面传输的数据进行检测,获得数据统计信息;当数据统计信息满足预设条件时,核心网设备可以确定将该终端设备的数据从控制面切换到用户面传输。Mode 1: The core network device detects the data transmitted by the terminal device on the control plane to obtain data statistics; when the data statistics meet the preset conditions, the core network device can determine to switch the data of the terminal device from the control plane to the user surface transmission.
通过上述方法,核心网设备可以根据检测到的数据统计信息,例如,终端设备在控制面传输的数据包大小和/或数量,从而可以在数据统计信息满足预设条件时,将所述终端设备的数据切换到用户面传输,提高终端设备的数据传输效率。Through the above method, the core network device can, according to the detected data statistical information, for example, the size and/or number of data packets transmitted by the terminal device on the control plane, so that when the data statistical information meets the preset conditions, the terminal device can The data is switched to the user plane transmission to improve the data transmission efficiency of the terminal equipment.
举例来说,当该终端设备的数据统计信息包括该终端设备在控制面传输的数据包大小时,预设条件可以为该终端设备的数据包大小大于第一阈值。For example, when the data statistics information of the terminal device includes the data packet size transmitted by the terminal device on the control plane, the preset condition may be that the data packet size of the terminal device is greater than the first threshold.
其中,该终端设备的数据包大小可以是核心网设备在预设时间长度内,检测到的该终端设备的数据包所包括的字节数的平均值;也可以是指核心网设备在预设时间长度内,检测到的该终端设备的数据包所包括的字节数的最大值;还可以是指核心网设备在预设时间长度内,检测到的该终端设备的数据包所包括的字节数的中值(median)等。预设时间长度可以为一小时,也可以为10分钟,具体可以根据实际情况确定。Wherein, the data packet size of the terminal device may be the average value of the number of bytes included in the data packet of the terminal device detected by the core network device within a preset time length; Within the length of time, the detected maximum value of the number of bytes included in the data packet of the terminal device; it may also refer to the number of bytes included in the data packet of the terminal device detected by the core network device within the preset time length. The median of the number of sections (median), etc. The preset time length can be one hour or 10 minutes, which can be determined according to the actual situation.
举例来说,数据统计信息包括终端设备在控制面传输的数据包的数量时,预设条件为该数量大于第二阈值。For example, when the statistical 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 data packets of the terminal device may be the number of data packets of the terminal device detected by the core network device within a preset time period.
再举例来说,数据统计信息包括该终端设备的数据包大小和该终端设备的数据包的数量,预设条件为该终端设备的数据包大小大于第一阈值,且该数量大于第二阈值。For another example, the data statistics information includes the data packet size of the terminal device and the number of data packets of the terminal device. The preset condition is that the data packet size of the terminal device is greater than the first threshold and the number is greater than the second threshold.
需要说明的是,第一阈值和第二阈值的具体取值可以根据实际情况确定,本申请实施例对此并不限定。例如,物联网(internet of things,IoT)设备一般情况下传输的数据大小为20字节,在特殊情况下传输的数据大小为200字节,因此可以将第一阈值设置为大于100。It should be noted that the specific values of the first threshold and the second threshold may be determined according to actual conditions, which are not limited in this embodiment of the present application. For example, the size of data transmitted by an internet of things (IoT) device is generally 20 bytes in general, and the size of data transmitted in special cases is 200 bytes, so the first threshold can be set to be greater than 100.
方式二,核心网设备接收来自第一设备的第二指示信息,并根据该第二指示信息确定将终端设备的数据从控制面切换到用户面传输。In a second manner, the core network device receives the second indication information from the first device, and determines, according to the second indication information, to switch the data of the terminal device from the control plane to the user plane for transmission.
其中,第二指示信息可以用于指示将所述终端设备的数据从控制面切换到用户面传输;或者,所述第二指示信息可以用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值;或者,所述第二指示信息可以用于指示在所述控制面传输的所述终端设备的数据包的数量大于第二阈值;或者,所述第二指示信息可以用于指示在所述控制面传输的所述终端设备的数据包大小大于所述第一阈值,且在所述控制面传输的所述终端设备的数据包的数量大于所述第二阈值。Wherein, the second indication information may be used to instruct to switch the data of the terminal device from the control plane to the user plane for transmission; or, the second indication information may be used to indicate the data of the terminal device transmitted on the control plane. The data packet size is greater than the first threshold; alternatively, the second indication information may be used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than the second threshold; alternatively, the second indication information may be It is used to indicate that the size of the data packets of the terminal equipment transmitted on the control plane is greater than the first threshold, and the number of data packets of the terminal equipment transmitted on the control plane is greater than the second threshold.
示例性地,该第二指示信息可以作为触发消息,核心网设备在接收到第二指示信息后,可以根据该终端设备的能力确定是否将所述终端设备的数据切换到用户面传输。例如,核心网设备确定终端设备的网络能力参数只可以建立3条用户面通道,在将终端设备的数据切换到用户面传输之前,核心网设备确定已经为终端设备建立了3条用户面通道,核心网设备可以终止或者调整切换。Exemplarily, the second indication information may be used as a trigger message, and after receiving the second indication information, the core network device may determine whether to switch the data of the terminal device to user plane transmission according to the capability of the terminal device. For example, the core network device determines that the network capability parameters of the terminal device can only establish three user plane channels. Before switching the data of the terminal device to the user plane for transmission, the core network device determines that three user plane channels have been established for the terminal device. The core network equipment can terminate or adjust the handover.
通过上述方式二提供的方法,核心网设备可以根据第二指示信息,确定将所述终端设备的数据切换到用户面传输,该方式实现简单,在提高终端设备的数据传输效率的同时,降低核心网设备实现的复杂度。With the method provided in the second method, the core network device can determine to switch the data of the terminal device to the user plane transmission according to the second indication information. This method is simple to implement, and while improving the data transmission efficiency of the terminal device, reduces the The complexity of network device implementation.
需要说明的是,本申请实施例中,第一设备可以为服务网关(serving gateway,SGW)、分组数据网网关(packet data network gateway,PGW)、接入网网元、所述终端设备、SMF网元、UPF网元、或AMF网元。It should be noted that, in this embodiment of the present application, the first device may be a serving gateway (serving gateway, SGW), a packet data network gateway (packet data network gateway, PGW), an access network element, the terminal device, an SMF NE, UPF NE, or AMF NE.
步骤202:核心网设备向终端设备发送第一指示信息。Step 202: The core network device sends first indication information to the terminal device.
其中,第一指示信息用于指示终端设备停止通过控制面传输上行数据,或者,第一指示信息用于指示终端设备停止传输上行数据。The first indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to instruct the terminal device to stop transmitting uplink data.
第一指示信息还可以称为演进分组系统会话管理(evolved packet systemsession management,ESM)数据传输消息(data transport message)等,本申请实施例对第一指示信息的名称并不限定。The first indication information may also be referred to as an evolved packet system session management (evolved packet system session management, ESM) data transport message (data transport message), and the embodiment of the present application does not limit the name of the first indication information.
可选的,当数据统计信息满足预设条件时,或者接收到第二指示信息之后,核心网设备根据该核心网设备的负载发送第一指示信息。例如,当核心网设备的负载大于第三阈值时,则发送该第一指示信息;再例如,当所述核心网设备的负载小于或等于第三阈值时,核心网设备不发送该第一指示信息。其中,第三阈值的取值,可以根据实际情况确定,可以通过人机接口配置给核心网设备,本申请实施例对此不作限定。Optionally, when the data statistics information meets a preset condition, or after receiving the second indication information, the core network device sends the first indication information according to the load of the core network device. For example, when the load of the core network device is greater than the third threshold, the first indication information is sent; for another example, when the load of the core network device is less than or equal to the third threshold, the core network device does not send the first indication information. The value of the third threshold may be determined according to the actual situation, and may be configured to the core network device through the man-machine interface, which is not limited in this embodiment of the present application.
需要说明的是,第一指示信息可以是核心网设备发送的消息,也可以是核心网设备发送的消息中携带的信元,本申请实施例对此并不限定。第一指示信息的具体实现方式,本申请实施例对此并不限定,例如第一指示信息可以是核心网设备发送的消息时,该消息可以为核心网设备与终端设备之间约定的消息。再例如,第一指示信息是核心网设备发送的消息中携带的信元时,可以为核心网设备与终端设备之间约定的取值为预设值的比特序列,在此不再逐一举例说明。It should be noted that the first indication information may be a message sent by the core network device, or may be an information element carried in a message sent by the core network device, which is not limited in this embodiment of the present application. The specific implementation of the first indication information is not limited in this embodiment of the present application. For example, when the first indication information may be a message sent by the core network device, the message may be a message agreed between the core network device and the terminal device. For another example, when the first indication information is an information element carried in a message sent by the core network device, it may be a bit sequence with a preset value agreed between the core network device and the terminal device, which will not be described one by one here. .
步骤203:终端设备接收来自核心网设备的第一指示信息。Step 203: The terminal device receives the first indication information from the core network device.
步骤204:终端设备根据第一指示信息,停止通过控制面传输上行数据。Step 204: The terminal device stops transmitting uplink data through the control plane according to the first indication information.
可选地,上述方法还包括:在用户面隧道建立完成之后,终端设备通过用户面隧道传输上行数据。Optionally, the above method further includes: after the establishment of the user plane tunnel is completed, the terminal device transmits uplink data through the user plane tunnel.
上述方法流程中,核心网设备确定将终端设备的数据从控制面切换到用户面传输之后,通过第一指示信息,指示终端设备停止传输上行数据,终端设备不再传输上行数据。因此,可以避免在控制面切换到用户面的过程中,终端设备发送的上行数据传输失败的问题,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。In the above method flow, after the core network device determines to switch data of the terminal device from the control plane to the user plane for transmission, it instructs the terminal device to stop transmitting uplink data through the first indication information, and the terminal device no longer transmits uplink data. Therefore, in the process of switching from the control plane to the user plane, the problem of transmission failure of uplink data sent by the terminal device can be avoided, and at the same time, the problem of waste of transmission resources caused by the need to repeatedly transmit uplink data which fails to be transmitted can be avoided.
在4G系统中,终端设备的数据采用用户面传输方式传输时,在上行方向上,终端设备可以将上行数据发送至接入网网元,再由接入网网元转发至PGW;在下行方向上,PGW将终端设备的下行数据发送至接入网网元,再由接入网网元发送给终端设备。In the 4G system, when the data of the terminal equipment is transmitted in the user plane transmission mode, in the uplink direction, the terminal equipment can send the uplink data to the access network element, and then the access network element forwards it to the PGW; in the downlink direction , the PGW sends the downlink data of the terminal device to the access network element, and then the access network element sends it to the terminal device.
为此,在4G系统中,为终端设备建立用户面隧道的过程可以包括两个方面:1,建立终端设备与接入网网元之间的无线承载,使得终端设备与接入网网元之间能够通过无线承载传输数据;2,确定上行用户面隧道的信息以及下行用户面隧道的信息,使得接入网网元与PGW之间能够传输终端设备的数据。下面结合说明书附图3至图5对本申请实施例做详细描述。To this end, in the 4G system, the process of establishing a user plane tunnel for a terminal device can include two aspects: 1. Establish a wireless bearer between the terminal device and the access network element, so that the terminal device and the access network element can communicate with each other. 2. Determine the information of the uplink user plane tunnel and the information of the downlink user plane tunnel, so that the data of the terminal equipment can be transmitted between the access network element and the PGW. The embodiments of the present application will be described in detail below with reference to FIGS. 3 to 5 of the specification.
需要说明的是,以下所示的所有流程中,网元之间传输的消息或指示信息的名称只是示例,并不代表对消息或指示信息进行任何限定。It should be noted that, in all the processes shown below, the 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.
如图3所示,为本申请实施例提供的一种数据传输流程示意图。图3所示的流程中,以核心网设备为MME为例进行描述。图3的步骤301之前,假设终端设备使用控制面传输数据。需要说明的是,在控制面,终端设备的上行数据和下行数据均封装在非接入层(non-access stratum,NAS)协议数据单元(protocol data unit,PDU)中传输。As shown in FIG. 3 , it is a schematic diagram of a data transmission process according to an embodiment of the present application. In the process shown in FIG. 3 , the description is given by taking the core network device as an MME as an example. Before step 301 in FIG. 3 , it is assumed that the terminal device uses the control plane to transmit data. It should be noted that, on the control plane, both uplink data and downlink data of the terminal device are encapsulated in a non-access stratum (non-access stratum, NAS) protocol data unit (protocol data unit, PDU) for transmission.
步骤301:MME对终端设备在控制面传输的数据进行检测,获取终端设备的数据统计信息。Step 301: The MME detects the data transmitted by the terminal device on the control plane, and obtains the data statistics information of the terminal device.
其中,数据统计信息的内容,可以参考步骤201中的描述,在此不再赘述。For the content of the data statistics information, reference may be made to the description in step 201, and details are not repeated here.
步骤302:当所述数据统计信息满足预设条件时,MME向终端设备发送第一指示信息。Step 302: When the data statistics information satisfies the preset condition, the MME sends first indication information to the terminal device.
其中,第一指示信息可以参见图2所示实施例中的相关描述,不再赘述。第一指示信息还可以为停止在控制面传输上行数据(stop UpLink data on control plane)消息,本申请实施例对第一指示信息的名称不做限定,在此不再逐一举例。For the first indication information, reference may be made to the relevant description in the embodiment shown in FIG. 2 , and details are not repeated here. The first indication information may also be a stop UpLink data on control plane (stop UpLink data on control plane) message, and this embodiment of the present application does not limit the name of the first indication information, which will not be exemplified one by one here.
示例性地,步骤302中MME可以将第一指示信息发送至接入网网元,再由接入网网元将第一指示信息转发至终端设备。Exemplarily, in step 302, the MME may send the first indication information to the access network element, and then the access network element forwards the first indication information to the terminal device.
需要说明的是,MME在发送第一指示信息之后,释放与终端设备的控制面相关的S11-U的上下文,具体可以参考下面的流程。示例性地,在步骤302之后,上述方法还可以包括:It should be noted that, after sending the first indication information, the MME releases the context of S11-U related to the control plane of the terminal device. For details, please refer to the following process. Exemplarily, after step 302, the above method may further include:
步骤303:MME向SGW发送释放接入承载请求(release access bearers request)消息。Step 303: The MME sends a release access bearers request (release access bearers request) message to the SGW.
其中,释放接入承载请求消息用于请求释放与终端设备的控制面相关的所有S11-U的上下文。其中,S11-U是MME和SGW之间在用户面上的接口。The release access bearer request message is used to request to release all S11-U contexts related to the control plane of the terminal device. Among them, S11-U is the interface on the user plane between the MME and the SGW.
示例性地,MME可以将未发送完的终端设备的上行数据均发给SGW之后,再向SGW发送释放接入承载请求消息。Exemplarily, the MME may send the unfinished uplink data of the terminal device to the SGW, and then send the access bearer release request message to the SGW.
步骤304:SGW向MME发送释放接入承载响应(release access bearers response)消息。Step 304: The SGW sends a release access bearers response (release access bearers response) message to the MME.
示例性地,SGW在接收到释放接入承载请求消息之后,删除保存的与终端设备的控制面相关的所有S11-U的上下文。如果此时SGW中还有终端设备的下行数据,SGW可以缓存该下行数据,不再发送给终端设备。Exemplarily, after receiving the release access bearer request message, the SGW deletes all the saved S11-U contexts related to the control plane of the terminal device. If there is still downlink data of the terminal device in the SGW at this time, the SGW may buffer the downlink data and no longer send it to the terminal device.
需要说明的是,MME在接收到释放接入承载响应消息之后,可以指示接入网网元分配下行用户面隧道的上下文,具体参考下面的流程。示例性地,上述方法还可以包括步骤305-309。It should be noted that, after receiving the release access bearer response message, the MME may instruct the access network element to allocate the context of the downlink user plane tunnel. For details, refer to the following process. Exemplarily, the above method may further include steps 305-309.
步骤305:MME向接入网网元发送S1-AP(application protocol,应用协议)初始上下文建立请求(initial context setup request)消息。Step 305: The MME sends an S1-AP (application protocol, application protocol) initial context setup request (initial context setup request) message to the access network element.
其中,S1-AP初始上下文建立请求消息用于请求为终端设备分配下行用户面隧道的上下文。下行用户面隧道的上下文也可以称为下行用户面隧道的信息,以下均称为下行用户面隧道的信息。The S1-AP initial context establishment request message is used to request to allocate the context of the downlink user plane tunnel for the terminal device. The context of the downlink user plane tunnel may also be referred to as downlink user plane tunnel information, and is referred to as the downlink user plane tunnel information hereinafter.
可选地,该S1-AP初始上下文建立请求消息中包括上行用户面的上下文。上行用户面的上下文是由MME为终端设备分配的,上行用户面的上下文也可以称为上行用户面隧道的信息,以下均称为上行用户面隧道信息。上行用户面隧道的信息可以包括SGW的互联网协议(internet protocol,IP)地址、上行隧道端点标识(tunnel endpoint identifier,TEID)等信息,接入网网元可以根据上行用户面隧道的信息向SGW发送该终端设备的上行数据。Optionally, the S1-AP initial context establishment request message includes the context of the uplink user plane. The context of the uplink user plane is allocated by the MME for the terminal device, and the context of the uplink user plane may also be referred to as uplink user plane tunnel information, which is referred to as uplink user plane tunnel information hereinafter. The information of the uplink user plane tunnel may include the Internet Protocol (IP) address of the SGW, the uplink tunnel endpoint identifier (tunnel endpoint identifier, TEID) and other information, and the access network element may send the information to the SGW according to the information of the uplink user plane tunnel Uplink data of the terminal device.
步骤306:接入网网元在接收到S1-AP初始上下文建立请求消息之后,为终端设备建立接入网网元与终端设备之间的无线承载。Step 306: After receiving the S1-AP initial context establishment request message, the access network element establishes a radio bearer between the access network element and the terminal device for the terminal device.
接入网网元建立无线承载的具体过程,在此不再赘述,可以参考现有LTE系统中的规定。The specific process of establishing the radio bearer by the network element of the access network will not be repeated here, and the regulations in the existing LTE system may be referred to.
在步骤306中的无线承载建立完成之后,终端设备可以通过该无线承载向接入网网元发送上行数据,接入网网元也可以根据步骤306中接收到的SGW的IP地址、上行TEID等信息,将终端设备的上行数据转发至SGW。After the establishment of the wireless bearer in step 306 is completed, the terminal device can send uplink data to the access network element through the wireless bearer, and the access network element can also send the uplink data according to the IP address of the SGW, uplink TEID, etc. received in step 306 information, and forward the uplink data of the terminal device to the SGW.
步骤307:接入网网元向MME发送S1-AP初始上下文建立完成(initial contextsetup complete)消息。Step 307: The access network element sends an S1-AP initial context setup complete (initial contextsetup complete) message to the MME.
其中,S1-AP初始上下文建立完成消息中可以包括下行用户面隧道的信息,下行用户面隧道的信息中可以包括接入网网元的IP地址、下行TEID等信息。Wherein, the S1-AP initial context establishment complete message may include downlink user plane tunnel information, and the downlink user plane tunnel information may include the IP address of the access network element, downlink TEID and other information.
步骤308:MME向SGW发送修改承载请求(modify bearer request)消息。Step 308: The MME sends a modify bearer request (modify bearer request) message to the SGW.
其中,修改承载请求消息中可以包括下行用户面隧道的信息等信息。Wherein, the modification bearer request message may include information such as downlink user plane tunnel information.
相应地,SGW接收到修改承载请求消息之后,可以根据下行用户面隧道的信息将终端设备的下行数据发送至所述接入网网元。Correspondingly, after receiving the modify bearer request message, the SGW can send the downlink data of the terminal device to the access network element according to the information of the downlink user plane tunnel.
步骤309:S-GW向MME发送修改承载响应(modify bearer response)消息。Step 309: The S-GW sends a modify bearer response (modify bearer response) message to the MME.
通过上述流程,终端设备的用户面隧道建立完成,终端设备可以通过用户面隧道传输上行数据,并接收下行数据。Through the above process, the user plane tunnel of the terminal device is established, and the terminal device can transmit uplink data and receive downlink data through the user plane tunnel.
图3所示的流程中,MME根据检测到的终端设备的数据统计信息,确定在数据统计信息满足预设条件时,将终端设备的数据从控制面切换到用户面传输,并通过第一指示信息,指示终端设备停止传输上行数据。通过上述流程,可以提高终端设备的数据传输效率,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。In the process shown in FIG. 3 , the MME determines, according to the detected data statistics information of the terminal equipment, that when the data statistics information meets the preset conditions, the data of the terminal equipment is switched from the control plane to the user plane for transmission, and the first instruction is passed. information, instructing the terminal equipment to stop transmitting uplink data. Through the above process, the data transmission efficiency of the terminal device can be improved, and at the same time, the problem of waste of transmission resources due to the need for repeated transmission of uplink data that fails to be transmitted can be avoided.
本申请实施例中,MME还可以接收来自SGW或PGW的第二指示信息,从而根据第二指示信息将终端设备的数据切换到用户面传输。下面结合图4进行描述。In this embodiment of the present application, the MME may also receive the second indication information from the SGW or the PGW, so as to switch the data of the terminal device to the user plane for transmission according to the second indication information. The following description will be made with reference to FIG. 4 .
如图4所示,为本申请实施例提供的一种数据传输流程示意图。图4所示的流程中,以核心网设备为MME为例进行描述。图4的步骤401之前,假设终端设备使用控制面传输数据。As shown in FIG. 4 , it is a schematic diagram of a data transmission process according to an embodiment of the present application. In the flow shown in FIG. 4 , the description is given by taking the core network device as an MME as an example. Before step 401 in FIG. 4 , it is assumed that the terminal device uses the control plane to transmit data.
步骤401:PGW接收到终端设备的下行数据,向SGW发送下行数据通知(downlinkdata notification,DDN)消息。Step 401: The PGW receives the downlink data of the terminal device, and sends a downlink data notification (downlink data notification, DDN) message to the SGW.
其中,DDN消息中包括第二指示信息,该第二指示信息可以参见图2所示实施例中的相关描述,例如,该第二指示信息用于指示将终端设备的数据从控制面切换到用户面传输,。The DDN message includes second indication information, and reference may be made to the relevant description in the embodiment shown in FIG. 2 for the second indication information. For example, the second indication information is used to instruct to switch the data of the terminal device from the control plane to the user surface transmission.
可选的,PGW对终端设备的下行数据进行检测,获得数据统计信息;并根据该数据统计信息发送第二指示信息。Optionally, the PGW detects the downlink data of the terminal device to obtain data statistical information; and sends the second indication information according to the data statistical information.
示例性地,当数据统计信息包括所述终端设备在控制面传输的数据包大小值时,若终端设备的数据包大小大于第一阈值,则PGW在该DDN消息中携带第二指示信息。或者,当数据统计信息包括终端设备在控制面传输的数据包的数量时,若数据包的数量大于第二阈值,则PGW在该DDN消息中携带第二指示信息。或者,当数据统计信息包括终端设备在控制面传输的数据包大小,以及终端设备在控制面传输的数据包的数量时,若终端设备的数据包大小大于第一阈值,且数据包的数量大于第二阈值,则PGW在该DDN消息中携带第二指示信息。Exemplarily, when the data statistics information includes the data packet size value transmitted by the terminal device on the control plane, if the data packet size of the terminal device is greater than the first threshold, the PGW carries the second indication information in the DDN message. Alternatively, when the data statistics information includes the number of data packets transmitted by the terminal device on the control plane, if the number of data packets is greater than the second threshold, the PGW carries the second indication information in the DDN message. Or, when the data statistics information includes the size of the data packets transmitted by the terminal device on the control plane and the number of data packets transmitted by the terminal device on the control plane, if the size of the data packets of the terminal device is greater than the first threshold, and the number of data packets is greater than The second threshold, the PGW carries the second indication information in the DDN message.
需要说明的是,PGW发送的第二指示信息,该第二指示信息用于MME确定将终端设备的数据切换到用户面传输。例如,该第二指示信息用于指示将终端设备的数据切换到用户面传输,MME可以根据该第二指示信息,以及该MME或该终端设备的实际情况确定是否切换。It should be noted that the second indication information sent by the PGW is used by the MME to determine to switch the data of the terminal device to the user plane for transmission. For example, the second indication information is used to instruct to switch data of the terminal device to user plane transmission, and the MME may determine whether to switch according to the second indication information and the actual situation of the MME or the terminal device.
步骤402:SGW将DDN消息转发至MME。Step 402: The SGW forwards the DDN message to the MME.
需要指出的是,SGW可以对终端设备的下行数据进行检测,获得数据统计信息,并根据数据统计信息向MME发送第二指示信息,此时DNN消息中可以不携带第二指示信息,步骤401至步骤402也可以不执行,不予限制。It should be pointed out that the SGW can detect the downlink data of the terminal device, obtain data statistics, and send the second indication information to the MME according to the data statistics. At this time, the DNN message may not carry the second indication information. Steps 401 to Step 402 may not be executed, and is not limited.
步骤403:MME根据DDN消息中的第二指示信息,通过接入网网元向终端设备发送第一指示信息。Step 403: The MME sends the first indication information to the terminal device through the access network element according to the second indication information in the DDN message.
示例性的,MME在接收第二指示信息之后,可以在所述MME的负载大于第三阈值时,再发送第一指示信息。当然,MME也可以在接收到第二指示信息之后,直接发送第一指示信息,无需判断MME的负载是否大于第三阈值,本申请实施例对此并不限定。Exemplarily, after receiving the second indication information, the MME may send the first indication information when the load of the MME is greater than the third threshold. Of course, the MME may also directly send the first indication information after receiving the second indication information, without judging whether the load of the MME is greater than the third threshold, which is not limited in this embodiment of the present application.
可选地,在MME发送第一指示信息之后,执行向SGW发送释放接入承载请求消息等步骤,具体可以参考上述图3中的步骤303至步骤309中的描述,在此不再赘述。Optionally, after the MME sends the first indication information, it performs steps such as sending a release access bearer request message to the SGW. For details, refer to the descriptions in steps 303 to 309 in FIG. 3 , which will not be repeated here.
图4所示的流程中,MME根据SGW或PGW发送的第二指示信息,将终端设备的数据从控制面切换到用户面传输,可以减少MME实现的复杂度。MME通过第一指示信息,指示终端设备停止传输上行数据,可以避免终端设备的上行数据传输失败,进而可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。In the process shown in FIG. 4 , the MME switches the data of the terminal device from the control plane to the user plane for transmission according to the second indication information sent by the SGW or the PGW, which can reduce the complexity of the MME implementation. The MME instructs the terminal device to stop transmitting uplink data through the first indication information, which can avoid uplink data transmission failure of the terminal device, and thus avoid the problem that uplink data that fails to be transmitted needs to be repeatedly sent, resulting in waste of transmission resources.
本申请实施例中,MME还可以接收来自终端设备或接入网网元的第二指示信息,从而根据第二指示信息将终端设备的数据切换到用户面传输。下面结合图5进行描述。In this embodiment of the present application, the MME may also receive second indication information from the terminal device or the access network element, so as to switch the data of the terminal device to user plane transmission according to the second indication information. The following description will be made with reference to FIG. 5 .
如图5所示,为本申请实施例提供的一种数据传输流程示意图。图5所示的流程中,以核心网设备为MME为例进行描述。图5的步骤501之前,假设终端设备使用控制面传输数据。As shown in FIG. 5 , a schematic diagram of a data transmission process provided by an embodiment of the present application is shown. In the flow shown in FIG. 5 , the description is given by taking the core network device as an MME as an example. Before step 501 in FIG. 5 , it is assumed that the terminal device uses the control plane to transmit data.
步骤501:终端设备向接入网网元发送控制面服务请求(control plane servicerequest)消息。Step 501: The terminal device sends a control plane service request (control plane service request) message to an access network element.
其中,控制面服务请求消息中包括第二指示信息。该第二指示信息可以参见图2所示实施例中的相关描述,例如,该第二指示信息用于指示将终端设备的数据切换到用户面传输。Wherein, the control plane service request message includes the second indication information. For the second indication information, reference may be made to the relevant description in the embodiment shown in FIG. 2 , for example, the second indication information is used to instruct to switch the data of the terminal device to user plane transmission.
示例性地,当终端设备中的应用程序需要传输视频数据等数据量较大的数据包时,终端设备发送控制面服务请求消息。Exemplarily, when an application program in a terminal device needs to transmit a data packet with a relatively large amount of data such as video data, the terminal device sends a control plane service request message.
需要说明的是,终端设备发送的第二指示信息,当该第二指示信息用于指示将终端设备的数据切换到用户面传输时,MME根据该第二指示信息,以及网络的实际情况确定是否切换,不予限制。It should be noted that, in the second indication information sent by the terminal device, when the second indication information is used to instruct to switch the data of the terminal device to the user plane for transmission, the MME determines whether or not according to the second indication information and the actual situation of the network Switch without restriction.
步骤502:接入网网元向MME发送控制面服务请求消息。Step 502: The network element of the access network sends a control plane service request message to the MME.
需要指出的是,接入网网元可以对终端设备的下行数据进行检测,获得数据统计信息,并根据数据统计信息确定是否向MME发送第二指示信息。此时,步骤501至步骤502可以不执行,或者,步骤501和502中控制面服务请求消息不携带第二指示信息,不予限制。It should be pointed out that the network element of the access network can detect the downlink data of the terminal device, obtain data statistics information, and determine whether to send the second indication information to the MME according to the data statistics information. At this time, steps 501 to 502 may not be executed, or the control plane service request message in steps 501 and 502 does not carry the second indication information, which is not limited.
步骤503:MME根据第二指示信息,向终端设备发送第一指示信息。Step 503: The MME sends the first indication information to the terminal device according to the second indication information.
示例性的,MME接收到第二指示信息之后,可以根据该指示信息通过接入网网元向终端设备发送该第一指示信息。例如,若MME的负载大于第三阈值,则MME发送第一指示信息。当然,MME还可以根据其他因素判断是否发送第一指示信息,或者MME接收到第二指示信息,直接发送第一指示信息,而不再判断MME的负载是否大于第三阈值,本申请实施例对此并不限定。Exemplarily, after receiving the second indication information, the MME may send the first indication information to the terminal device through the access network element according to the indication information. For example, if the load of the MME is greater than the third threshold, the MME sends the first indication information. Of course, the MME can also judge whether to send the first indication information according to other factors, or the MME directly sends the first indication information after receiving the second indication information, without judging whether the load of the MME is greater than the third threshold. This is not limited.
可选地,在MME发送第一指示信息之后,执行向SGW发送释放接入承载请求消息等步骤,具体可以参考上述图3中的步骤303至步骤309中的描述,在此不再赘述。Optionally, after the MME sends the first indication information, it performs steps such as sending a release access bearer request message to the SGW. For details, refer to the descriptions in steps 303 to 309 in FIG. 3 , which will not be repeated here.
图5所示的流程中,MME根据终端设备或接入网网元发送的第二指示信息,将终端设备的数据从控制面切换到用户面传输,可以减少MME实现的复杂度。MME通过第一指示信息,指示终端设备停止传输上行数据,可以避免终端设备的上行数据传输失败,进而可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。In the process shown in FIG. 5 , the MME switches data of the terminal device from the control plane to the user plane for transmission according to the second indication information sent by the terminal device or the access network element, which can reduce the complexity of MME implementation. The MME instructs the terminal device to stop transmitting uplink data through the first indication information, which can avoid uplink data transmission failure of the terminal device, and thus avoid the problem that uplink data that fails to be transmitted needs to be repeatedly sent, resulting in waste of transmission resources.
在5G系统中,终端设备的数据在用户面传输时,上行方向上,终端设备将上行数据发送至接入网网元,再由接入网网元转发至UPF网元;下行方向上,与上行方向相反,不再赘述。In the 5G system, when the data of the terminal device is transmitted on the user plane, in the uplink direction, the terminal device sends the uplink data to the access network element, and then the access network element forwards it to the UPF network element; in the downlink direction, the same The upward direction is opposite and will not be repeated here.
为此,在5G系统中,为终端设备建立用户面隧道的过程可以包括两个方面:1,建立站点设备与接入网网元之间的无线承载,使得终端设备与接入网网元之间能够通过无线承载传输数据;2,确定核心网隧道信息(core netwok tunnel info)以及接入网隧道信息(access netwok tunnel info),使得接入网网元与UPF网元之间能够传输终端设备的数据。核心网隧道信息,包括协议数据单元(protocol data unit,PDU)会话对应的N3隧道的核心网地址等信息;接入网隧道信息,包括PDU会话对应的N3隧道的接入网地址等信息。To this end, in the 5G system, the process of establishing a user plane tunnel for a terminal device can include two aspects: 1. Establish a wireless bearer between the site device and the access network element, so that the terminal device and the access network element can communicate with each other. 2. Determine the core network tunnel information (core netwok tunnel info) and the access network tunnel information (access netwok tunnel info), so that terminal equipment can be transmitted between the access network element and the UPF network element The data. The core network tunnel information includes information such as the core network address of the N3 tunnel corresponding to the protocol data unit (protocol data unit, PDU) session; the access network tunnel information includes information such as the access network address of the N3 tunnel corresponding to the PDU session.
下面结合说明书附图6至图7,以核心网设备为AMF网元或者SMF网元为例进行描述。The following description will be given by taking the core network device as an AMF network element or an SMF network element as an example with reference to FIGS. 6 to 7 in the specification.
如图6所示,为本申请实施例提供的一种数据传输流程示意图。图6所示的流程中,以核心网设备为AMF网元为例进行描述。图6的步骤601之前,假设终端设备在使用控制面传输数据。As shown in FIG. 6 , it is a schematic diagram of a data transmission process according to an embodiment of the present application. In the process shown in FIG. 6 , the description is given by taking the core network device as an AMF network element as an example. Before step 601 in FIG. 6 , it is assumed that the terminal device is using the control plane to transmit data.
步骤601:AMF网元确定将终端设备的数据从控制面切换到用户面传输,并向终端设备发送第一指示信息。Step 601: The AMF network element determines to switch the data of the terminal device from the control plane to the user plane for transmission, and sends first indication information to the terminal device.
其中,第一指示信息用于指示终端设备停止通过控制面传输上行数据,或者,第一指示信息用于指示终端设备停止传输上行数据。The first indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to instruct the terminal device to stop transmitting uplink data.
可选地,AMF网元检测终端设备的数据,获得数据统计信息,并根据数据统计信息确定将终端设备的数据换到用户面传输;或者,AMF网元接收来自第一设备的第二指示信息,并根据第二指示请求确定将终端设备的数据换到用户面传输,具体可以参考前面的相关描述,在此不再赘述。Optionally, the AMF network element detects the data of the terminal device, obtains data statistical information, and determines to switch the data of the terminal device to the user plane for transmission according to the data statistical information; or, the AMF network element receives the second indication information from the first device. , and according to the second indication request, it is determined to switch the data of the terminal device to the user plane for transmission. For details, please refer to the previous related description, which will not be repeated here.
需要说明的是,AMF网元可以通过接入网网元向终端设备发送的第一指示信息,不再赘述。It should be noted that the AMF network element may send the first indication information to the terminal device through the access network network element, and details are not repeated here.
步骤602:AMF网元向SMF网元发送第一请求消息。Step 602: The AMF network element sends a first request message to the SMF network element.
其中,第一请求消息中包括用户面传输指示信息,该用户面传输指示信息用于指示SMF网元将终端设备的数据切换到用户面传输。Wherein, the first request message includes user plane transmission indication information, and the user plane transmission indication information is used to instruct the SMF network element to switch the data of the terminal device to the user plane transmission.
需要说明的是,若AMF网元还有终端设备的上行数据未传输完毕,可以待AMF网元将该上行数据传输至SMF网元之后,再发送用户面传输指示信息。It should be noted that, if the uplink data of the AMF network element and the terminal equipment has not been transmitted, the user plane transmission indication information may be sent after the AMF network element transmits the uplink data to the SMF network element.
步骤603:SMF网元根据第一请求消息中的用户面传输指示信息,向UPF网元发送切换请求消息。Step 603: The SMF network element sends a handover request message to the UPF network element according to the user plane transmission indication information in the first request message.
其中,切换请求消息可以包括以下至少一项功能:The handover request message may include at least one of the following functions:
用于请求停止发送终端设备的下行数据;用于请求删除终端设备对应的控制面数据传输隧道信息;或用于请求为终端设备分配用户面隧道的核心网隧道信息。It is used to request to stop sending downlink data of the terminal device; it is used to request to delete the control plane data transmission tunnel information corresponding to the terminal device; or the core network tunnel information of the user plane tunnel to be requested to be allocated to the terminal device.
其中,控制面数据传输隧道信息可以为UPF网元与AMF网元之间的控制面数据传输隧道信息,或者,为UPF网元与所述SMF网元之间的控制面数据传输隧道信息。The control plane data transmission tunnel information may be the control plane data transmission tunnel information between the UPF network element and the AMF network element, or the control plane data transmission tunnel information between the UPF network element and the SMF network element.
需要说明的是,若切换请求消息不用于请求删除终端设备对应的控制面数据传输隧道信息,UPF网元可以保留终端设备对应的控制面数据传输隧道信息,从而可以将接收到的终端设备的下行数据,通过SMF网元与UPF网元之间的控制面隧道发送至SMF网元,SMF网元将终端设备的下行数据进行缓存。当终端设备的用户面隧道建立完成后,可以通过用户面隧道向终端设备传输缓存的下行数据。It should be noted that, if the handover request message is not used to request deletion of the control plane data transmission tunnel information corresponding to the terminal equipment, the UPF network element can retain the control plane data transmission tunnel information corresponding to the terminal equipment, so that the received downlink data of the terminal equipment can be transferred. The data is sent to the SMF network element through the control plane tunnel between the SMF network element and the UPF network element, and the SMF network element buffers the downlink data of the terminal device. After the user plane tunnel of the terminal device is established, the buffered downlink data can be transmitted to the terminal device through the user plane tunnel.
相应的,若切换请求消息不用于请求为终端设备分配用户面隧道的核心网隧道信息,则可以由SMF网元为该终端设备分配核心网隧道信息。Correspondingly, if the handover request message is not used for requesting to allocate the core network tunnel information of the user plane tunnel to the terminal device, the SMF network element may allocate the core network tunnel information to the terminal device.
需要说明的是,若SMF网元接收到AMF网元发送的终端设备的上行数据,可以待SMF网元将该上行数据传输至UPF网元之后,再发送切换请求消息。It should be noted that, if the SMF network element receives the uplink data of the terminal device sent by the AMF network element, the handover request message may be sent after the SMF network element transmits the uplink data to the UPF network element.
步骤604:UPF网元向SMF网元发送切换响应消息。Step 604: The UPF network element sends a handover response message to the SMF network element.
示例性地,UPF网元与SMF网元或者AMF网元之间存在控制面隧道,因此,若切换请求消息用于请求删除终端设备对应的控制面数据传输隧道信息,则UPF网元可以删除UPF网元与SMF网元之间的控制面数据传输隧道信息,或者删除UPF网元与AMF网元之间的控制面数据传输隧道信息。Exemplarily, a control plane tunnel exists between the UPF network element and the SMF network element or the AMF network element. Therefore, if the handover request message is used to request to delete the control plane data transmission tunnel information corresponding to the terminal device, the UPF network element can delete the UPF. Information about the data transmission tunnel of the control plane between the network element and the SMF network element, or delete the information of the data transmission tunnel of the control plane between the UPF network element and the AMF network element.
可选的,本申请实施例中,终端设备的核心网隧道信息可以由SMF网元分配,也可以由UPF网元分配。当由UPF网元分配该核心网隧道信息时,切换响应消息中还包括该核心网隧道信息。Optionally, in this embodiment of the present application, the core network tunnel information of the terminal device may be allocated by the SMF network element, or may be allocated by the UPF network element. When the core network tunnel information is allocated by the UPF network element, the handover response message also includes the core network tunnel information.
步骤605:SMF网元向AMF网元发送第一响应消息。Step 605: The SMF network element sends a first response message to the AMF network element.
其中,第一响应消息中包括终端设备的核心网隧道信息。The first response message includes core network tunnel information of the terminal device.
步骤606:AMF网元向接入网网元发送会话请求消息。Step 606: The AMF network element sends a session request message to the access network element.
其中,该会话请求消息中可以包括终端设备的核心网隧道信息。The session request message may include core network tunnel information of the terminal device.
步骤607:接入网网元建立接入网网元与终端设备之间的无线承载。Step 607: The access network element establishes a radio bearer between the access network element and the terminal device.
步骤607中的具体建立过程不再赘述,可以参考现有标准中的描述。The specific establishment process in step 607 will not be repeated, and the description in the existing standard may be referred to.
可选地,上述方法还包括:当接入网网元与终端设备之间的无线承载建立完成之后,终端设备向接入网网元发送上行数据。Optionally, the above method further includes: after the establishment of the radio bearer between the network element of the access network and the terminal device is completed, the terminal device sends uplink data to the network element of the access network.
步骤608:接入网网元向AMF网元发送会话响应消息。Step 608: The access network element sends a session response message to the AMF network element.
其中,会话响应消息中可以包括终端设备的接入网隧道信息。The session response message may include access network tunnel information of the terminal device.
步骤609:AMF网元向SMF网元发送更新请求消息。Step 609: The AMF network element sends an update request message to the SMF network element.
其中,更新请求消息中可以包括终端设备的接入网隧道信息。The update request message may include the access network tunnel information of the terminal device.
步骤610:SMF网元向UPF网元发送修改请求消息。Step 610: The SMF network element sends a modification request message to the UPF network element.
其中,修改请求消息中可以包括终端设备的行用户面隧道的信息。The modification request message may include information about the user plane tunnel of the terminal device.
此时,上述方法还可以包括:UPF网元根据终端设备的接入网隧道信息,向终端设备发送所述终端设备的下行数据。At this time, the above method may further include: the UPF network element sends the downlink data of the terminal device to the terminal device according to the access network tunnel information of the terminal device.
步骤611:UPF网元向SMF网元发送修改响应消息。Step 611: The UPF network element sends a modification response message to the SMF network element.
步骤612:SMF网元向AMF网元发送更新响应消息。Step 612: The SMF network element sends an update response message to the AMF network element.
图6所示的流程中,AMF网元根据检测到的终端设备的数据统计信息,确定在数据统计信息满足预设条件时,将终端设备的数据从控制面切换到用户面传输,可以提高终端设备的数据传输效率。同时,AMF网元通过第一指示信息,指示终端设备停止传输上行数据,可以避免终端设备的上行数据传输失败,进而可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。In the process shown in FIG. 6 , the AMF network element determines, according to the detected data statistics information of the terminal equipment, that when the data statistics information meets the preset conditions, the data of the terminal equipment is switched from the control plane to the user plane transmission, which can improve the performance of the terminal equipment. The data transfer efficiency of the device. At the same time, the AMF network element instructs the terminal device to stop transmitting uplink data through the first indication information, which can avoid the uplink data transmission failure of the terminal device, and thus avoid the problem of repeated transmission of uplink data that fails to be transmitted, resulting in waste of transmission resources.
如图7所示,为本申请实施例提供的一种数据传输流程示意图。图7所示的流程中,以核心网设备为SMF网元为例进行描述。图7的步骤701之前,假设终端设备使用控制面传输数据。As shown in FIG. 7 , a schematic diagram of a data transmission process provided by an embodiment of the present application is shown. In the flow shown in FIG. 7 , description is given by taking the core network device as an SMF network element as an example. Before step 701 in FIG. 7 , it is assumed that the terminal device uses the control plane to transmit data.
步骤701:SMF网元确定将终端设备的数据从控制面切换到用户面传输,并向终端设备发送第一指示信息。Step 701: The SMF network element determines to switch the data of the terminal device from the control plane to the user plane for transmission, and sends the first indication information to the terminal device.
示例性地,SMF网元可以检测终端设备的数据,获得数据统计信息,并根据数据统计信息确定将终端设备的数据换到用户面传输;SMF网元也可以接收来自第一设备的第二指示信息,并根据第二指示信息确定将终端设备的数据换到用户面传输,具体可以参考前面的描述,在此不再赘述。Exemplarily, the SMF network element may detect the data of the terminal device, obtain data statistical information, and determine to switch the data of the terminal device to the user plane for transmission according to the data statistical information; the SMF network element may also receive the second instruction from the first device. information, and according to the second indication information, it is determined to switch the data of the terminal device to the user plane for transmission. For details, refer to the previous description, which will not be repeated here.
需要说明的是,SMF网元向终端设备发送的第一指示信息,经过AMF网元、接入网网元,即SMF网元将第一指示信息发送至AMF网元,AMF网元将第一指示信息转发至接入网网元,再由接入网网元将第一指示信息转发至终端设备。It should be noted that the first indication information sent by the SMF network element to the terminal device passes through the AMF network element and the access network element, that is, the SMF network element sends the first indication information to the AMF network element, and the AMF network element sends the first indication information to the AMF network element. The indication information is forwarded to the access network element, and then the access network element forwards the first indication information to the terminal device.
步骤702:SMF网元向UPF网元发送切换请求消息。Step 702: The SMF network element sends a handover request message to the UPF network element.
步骤703:UPF网元向SMF网元发送切换响应消息。Step 703: The UPF network element sends a handover response message to the SMF network element.
示例性地,UPF网元与SMF网元或者AMF网元之间存在控制面隧道,因此,若切换请求消息用于请求删除终端设备对应的控制面数据传输隧道信息,则UPF网元可以删除UPF网元与SMF网元之间的控制面数据传输隧道信息,或者删除UPF网元与所述AMF网元之间的控制面数据传输隧道信息。Exemplarily, a control plane tunnel exists between the UPF network element and the SMF network element or the AMF network element. Therefore, if the handover request message is used to request to delete the control plane data transmission tunnel information corresponding to the terminal device, the UPF network element can delete the UPF. The control plane data transmission tunnel information between the network element and the SMF network element, or the control plane data transmission tunnel information between the UPF network element and the AMF network element is deleted.
可选的,终端设备的核心网隧道信息可以由SMF网元分配,也可以由UPF网元分配。当由UPF网元分配该核心网隧道信息时,切换响应消息中还包括该核心网隧道信息。Optionally, the core network tunnel information of the terminal device may be allocated by the SMF network element or by the UPF network element. When the core network tunnel information is allocated by the UPF network element, the handover response message also includes the core network tunnel information.
步骤704:SMF网元向AMF网元发送切换指示消息。Step 704: The SMF network element sends a handover instruction message to the AMF network element.
其中,切换指示消息中包括终端设备的核心网隧道信息。The handover instruction message includes core network tunnel information of the terminal device.
步骤705:AMF网元向接入网网元发送会话请求消息。Step 705: The AMF network element sends a session request message to the access network element.
其中,会话请求消息可以包括终端设备的核心网隧道信息。The session request message may include core network tunnel information of the terminal device.
步骤706:接入网网元建立接入网网元与终端设备之间的无线承载。Step 706: The access network element establishes a radio bearer between the access network element and the terminal device.
其中,步骤706中的具体建立过程不再赘述,具体可以参考现有标准中的描述。Wherein, the specific establishment process in step 706 is not repeated here, and for details, reference may be made to the description in the existing standard.
可选地,上述方法还包括:当接入网网元与终端设备之间的无线承载建立完成之后,终端设备向接入网网元发送上行数据。Optionally, the above method further includes: after the establishment of the radio bearer between the network element of the access network and the terminal device is completed, the terminal device sends uplink data to the network element of the access network.
步骤707:接入网网元向AMF网元发送会话响应消息。Step 707: The access network element sends a session response message to the AMF network element.
其中,会话响应消息中可以包括终端设备的接入网隧道信息。The session response message may include access network tunnel information of the terminal device.
步骤708:AMF网元向SMF网元发送更新请求消息。Step 708: The AMF network element sends an update request message to the SMF network element.
其中,更新请求消息中可以包括终端设备的接入网隧道信息。The update request message may include the access network tunnel information of the terminal device.
步骤709:SMF网元向UPF网元发送修改请求消息。Step 709: The SMF network element sends a modification request message to the UPF network element.
其中,修改请求消息中可以包括终端设备的接入网隧道信息。The modification request message may include the access network tunnel information of the terminal device.
此时,上述方法还可以包括:UPF网元根据终端设备的接入网隧道信息,向终端设备发送所述终端设备的下行数据。At this time, the above method may further include: the UPF network element sends the downlink data of the terminal device to the terminal device according to the access network tunnel information of the terminal device.
步骤710:UPF网元向SMF网元发送修改响应消息。Step 710: The UPF network element sends a modification response message to the SMF network element.
步骤711:SMF网元向AMF网元发送更新响应消息。Step 711: The SMF network element sends an update response message to the AMF network element.
图7所示的流程中,SMF网元根据检测到的终端设备的数据统计信息,确定在数据统计信息满足预设条件时,将终端设备的数据从控制面切换到用户面传输,可以提高终端设备的数据传输效率。同时,SMF网元通过第一指示信息,指示终端设备停止传输上行数据,可以避免终端设备的上行数据传输失败,进而可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。In the process shown in FIG. 7 , the SMF network element determines, according to the detected data statistics information of the terminal equipment, that when the data statistics information meets the preset conditions, the data of the terminal equipment is switched from the control plane to the user plane transmission, which can improve the efficiency of the terminal equipment. The data transfer efficiency of the device. At the same time, the SMF network element instructs the terminal device to stop transmitting uplink data through the first indication information, which can avoid the uplink data transmission failure of the terminal device, and thus avoid the problem of repeated transmission of uplink data that fails to be transmitted, resulting in waste of transmission resources.
本申请实施例中,核心网设备也可以在确定触发为终端设备建立用户面承载时,向终端设备发送第一指示信息,其中,用户面承载用于传输终端设备的数据,用户面承载可以是指S1-U承载。下面结合图8进行描述。In this embodiment of the present application, the core network device may also send the first indication information to the terminal device when it is determined to trigger the establishment of a user plane bearer for the terminal device, where the user plane bearer is used to transmit data of the terminal device, and the user plane bearer may be Refers to the S1-U bearer. The following description will be made with reference to FIG. 8 .
如图8所示,为本申请实施例提供的一种数据传输流程示意图。图8所示的流程中,以核心网设备为MME、用户面承载为S1-U承载为例进行描述,其他情况不再赘述。图8的步骤801之前,假设终端设备使用控制面传输数据。As shown in FIG. 8 , a schematic diagram of a data transmission process provided by an embodiment of the present application is shown. In the process shown in FIG. 8 , the core network device is an MME and the user plane bearer is an S1-U bearer as an example for description, and other situations are not repeated. Before step 801 in FIG. 8 , it is assumed that the terminal device uses the control plane to transmit data.
步骤801:MME确定触发为终端设备建立S1-U承载。Step 801: The MME determines to trigger the establishment of an S1-U bearer for the terminal device.
MME可以对终端设备在控制面传输的数据进行检测,获取终端设备的数据统计信息,并数据统计信息满足预设条件时,确定触发为终端设备建立S1-U承载。MME也可以接收来自第一设备的第二指示信息,并根据第二指示信息确定触发为终端设备建立S1-U承载。具体可以参考步骤201中的描述,在此不再赘述。The MME can detect the data transmitted by the terminal device on the control plane, obtain the data statistics of the terminal device, and determine to trigger the establishment of an S1-U bearer for the terminal device when the data statistics meet the preset conditions. The MME may also receive the second indication information from the first device, and determine, according to the second indication information, to trigger the establishment of the S1-U bearer for the terminal device. For details, reference may be made to the description in step 201, which will not be repeated here.
步骤802:MME向终端设备发送第一指示信息。Step 802: The MME sends the first indication information to the terminal device.
其中,第一指示信息还可以称为ESM数据传输消息,第一指示信息的其他内容可以参见图2所示实施例中的相关描述,在此不再赘述。The first indication information may also be called an ESM data transmission message, and other content of the first indication information may refer to the relevant description in the embodiment shown in FIG. 2 , which will not be repeated here.
示例性地,步骤802中MME可以将第一指示信息发送至接入网网元,再由接入网网元将第一指示信息转发至终端设备。Exemplarily, in step 802, the MME may send the first indication information to the access network element, and then the access network element forwards the first indication information to the terminal device.
步骤803:终端设备向MME发送响应消息。Step 803: The terminal device sends a response message to the MME.
该响应消息用于指示终端设备成功接收到所述第一指示信息。The response message is used to indicate that the terminal device has successfully received the first indication information.
需要说明的是,MME在发送第一指示信息之后,释放与终端设备的控制面相关的S11-U的上下文,具体可以参考下面的流程。示例性地,在步骤802之后,上述方法还可以包括:It should be noted that, after sending the first indication information, the MME releases the context of S11-U related to the control plane of the terminal device. For details, please refer to the following process. Exemplarily, after step 802, the above method may further include:
步骤804:MME向SGW发送释放接入承载请求消息。Step 804: The MME sends a release access bearer request message to the SGW.
其中,释放接入承载请求消息用于请求释放与终端设备的控制面相关的所有S11-U的上下文。The release access bearer request message is used to request to release all S11-U contexts related to the control plane of the terminal device.
示例性地,MME可以将未发送完的终端设备的上行数据均发给SGW之后,再向SGW发送释放接入承载请求消息。Exemplarily, the MME may send the unfinished uplink data of the terminal device to the SGW, and then send the access bearer release request message to the SGW.
步骤805:SGW向MME发送释放接入承载响应消息。Step 805: The SGW sends a release access bearer response message to the MME.
示例性地,SGW在接收到释放接入承载请求消息之后,删除保存的与终端设备的控制面相关的所有S11-U的上下文。如果此时SGW中还有终端设备的下行数据,SGW可以缓存该下行数据,不再发送给终端设备。Exemplarily, after receiving the release access bearer request message, the SGW deletes all the saved S11-U contexts related to the control plane of the terminal device. If there is still downlink data of the terminal device in the SGW at this time, the SGW may buffer the downlink data and no longer send it to the terminal device.
需要说明的是,MME在接收到释放接入承载响应消息之后,可以指示接入网网元分配下行用户面隧道的上下文,具体参考下面的流程。示例性地,上述方法还可以包括步骤806-810。It should be noted that, after receiving the release access bearer response message, the MME may instruct the access network element to allocate the context of the downlink user plane tunnel. For details, refer to the following process. Exemplarily, the above method may further include steps 806-810.
步骤806:MME向接入网网元发送S1-AP初始上下文建立请求消息。Step 806: The MME sends an S1-AP initial context establishment request message to the access network element.
其中,S1-AP初始上下文建立请求消息用于请求为终端设备分配下行用户面隧道的信息。Wherein, the S1-AP initial context establishment request message is used to request the information of allocating downlink user plane tunnels for the terminal equipment.
可选地,该S1-AP初始上下文建立请求消息中包括上行用户面的上下文。上行用户面的上下文是由MME为终端设备分配的,接入网网元可以根据上行用户面隧道的信息向SGW发送该终端设备的上行数据。Optionally, the S1-AP initial context establishment request message includes the context of the uplink user plane. The context of the uplink user plane is allocated by the MME for the terminal device, and the access network element can send the uplink data of the terminal device to the SGW according to the information of the uplink user plane tunnel.
步骤807:接入网网元在接收到S1-AP初始上下文建立请求消息之后,为终端设备建立接入网网元与终端设备之间的无线承载。Step 807: After receiving the S1-AP initial context establishment request message, the access network element establishes a radio bearer between the access network element and the terminal device for the terminal device.
接入网网元建立无线承载的具体过程,在此不再赘述,可以参考现有LTE系统中的规定。The specific process of establishing the radio bearer by the network element of the access network will not be repeated here, and the regulations in the existing LTE system may be referred to.
在步骤807中的无线承载建立完成之后,终端设备可以通过该无线承载向接入网网元发送上行数据,接入网网元也可以根据步骤807中接收到的上行用户面隧道的信息,将终端设备的上行数据转发至SGW。After the establishment of the radio bearer in step 807 is completed, the terminal device may send uplink data to the access network element through the radio bearer, and the access network element may also, according to the information of the uplink user plane tunnel received in step 807, The uplink data of the terminal device is forwarded to the SGW.
步骤808:接入网网元向MME发送S1-AP初始上下文建立完成消息。Step 808: The access network element sends an S1-AP initial context establishment complete message to the MME.
其中,S1-AP初始上下文建立完成消息中可以包括下行用户面隧道的信息,下行用户面隧道的信息中可以包括接入网网元的IP地址、下行TEID等信息。Wherein, the S1-AP initial context establishment complete message may include downlink user plane tunnel information, and the downlink user plane tunnel information may include the IP address of the access network element, downlink TEID and other information.
步骤809:MME向SGW发送修改承载请求消息。Step 809: The MME sends a modify bearer request message to the SGW.
其中,修改承载请求消息中可以包括下行用户面隧道的信息等信息。Wherein, the modification bearer request message may include information such as downlink user plane tunnel information.
相应地,SGW接收到修改承载请求消息之后,可以根据下行用户面隧道的信息将终端设备的下行数据发送至所述接入网网元。Correspondingly, after receiving the modify bearer request message, the SGW can send the downlink data of the terminal device to the access network element according to the information of the downlink user plane tunnel.
步骤810:S-GW向MME发送修改承载响应消息。Step 810: The S-GW sends a modify bearer response message to the MME.
通过上述流程,终端设备的用户面隧道建立完成,终端设备可以通过用户面隧道传输上行数据,并接收下行数据。Through the above process, the user plane tunnel of the terminal device is established, and the terminal device can transmit uplink data and receive downlink data through the user plane tunnel.
图8所示的流程中,MME根据检测到的终端设备的数据统计信息或者接收到的第二指示信息,确定触发为终端设备建立S1-U承载时,向终端设备发送第一指示信息,指示终端设备停止传输上行数据,从而避免终端设备的上行数据传输失败,可以提高终端设备的数据传输效率,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。In the process shown in FIG. 8 , when the MME determines to trigger the establishment of an S1-U bearer for the terminal device according to the detected data statistics information of the terminal device or the received second indication information, the MME sends the first indication information to the terminal device, indicating The terminal device stops transmitting uplink data, thereby avoiding the failure of uplink data transmission of the terminal device, which can improve the data transmission efficiency of the terminal device, and at the same time can avoid the problem of waste of transmission resources caused by repeated transmission of uplink data that fails to be transmitted.
如图9所示,为本申请实施例提供一种通信装置的结构示意图,该通信装置可以是核心网设备,例如,在4G通信系统中,核心网设备可以为MME;在5G通信系统中,核心网设备可以为SMF网元或AMF网元。在4G通信系统中,该通信装置可以用于执行上述各方法实施例中MME的动作,在5G通信系统中,该通信装置可以用于执行上述各方法实施例中SMF网元或AMF的动作。该通信装置900包括:处理单元901和收发单元902。As shown in FIG. 9 , a schematic structural diagram of a communication device is provided in an embodiment of the present application. The communication device may be a core network device. For example, in a 4G communication system, the core network device may be an MME; in a 5G communication system, The core network device may be an SMF network element or an AMF network element. In a 4G communication system, the communication apparatus may be used to perform the actions of the MME in the above method embodiments, and in a 5G communication system, the communication apparatus may be used to perform the actions of the SMF network element or the AMF in the above method embodiments. The communication device 900 includes: a processing unit 901 and a transceiver unit 902 .
处理单元901,用于确定将终端设备的数据从控制面切换到用户面传输;a processing unit 901, configured to determine to switch data of the terminal device from the control plane to the user plane for transmission;
收发单元902,用于向所述终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备停止通过控制面传输上行数据,或者,所述第一指示信息用于指示所述终端设备停止传输上行数据。A transceiver unit 902, configured to send first indication information to the terminal device, where the first indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to indicate the The terminal equipment stops transmitting uplink data.
上述通信装置确定将终端设备的数据切换到用户面传输之后,通过第一指示信息,指示终端设备停止传输上行数据,终端设备不再传输上行数据。因此,可以避免在控制面切换到用户面的过程中,终端设备发送的上行数据传输失败的问题,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。After the above-mentioned communication apparatus determines to switch the data of the terminal equipment to the user plane for transmission, the first indication information is used to instruct the terminal equipment to stop transmitting uplink data, and the terminal equipment does not transmit uplink data any more. Therefore, in the process of switching from the control plane to the user plane, the problem of transmission failure of uplink data sent by the terminal device can be avoided, and at the same time, the problem of waste of transmission resources caused by the need to repeatedly transmit uplink data which fails to be transmitted can be avoided.
一种可选地实施方式中,处理单元901具体用于:In an optional implementation manner, the processing unit 901 is specifically configured to:
根据通过所述控制面传输的所述终端设备的数据,获得所述终端设备的数据统计信息;Obtain data statistics information of the terminal device according to the data of the terminal device transmitted through the control plane;
当所述数据统计信息满足预设条件时,确定将所述终端设备的数据从控制面切换到用户面传输。When the data statistical information satisfies the preset condition, it is determined to switch the data of the terminal device from the control plane to the user plane for transmission.
一种可选地实施方式中,所述数据统计信息包括所述终端设备的数据包大小,所述预设条件为所述终端设备的数据包大小大于第一阈值;或者,所述数据统计信息包括所述终端设备的数据包的数量,所述预设条件为所述数量大于第二阈值;或者,所述数据统计信息包括所述终端设备的数据包大小和所述终端设备的数据包的数量,所述预设条件为所述终端设备的数据包大小大于第一阈值,且所述数量大于第二阈值。In an optional implementation manner, the data statistical information includes the data packet size of the terminal device, and the preset condition is that the data packet size of the terminal device is greater than a first threshold; or, the data statistical information Including the number of data packets of the terminal device, and the preset condition is that the number is greater than the second threshold; or, the data statistical information includes the data packet size of the terminal device and the data packet of the terminal device. The preset condition is that the size of the data packet of the terminal device is greater than the first threshold, and the number is greater than the second threshold.
上述方案中,该通信装置可以根据检测到的数据统计信息,例如,终端设备在控制面传输的数据包大小和/或数量,从而可以在数据统计信息满足预设条件时,将所述终端设备的数据切换到用户面传输,提高终端设备的数据传输效率。In the above solution, the communication device may, according to the detected statistical information of the data, for example, the size and/or number of data packets transmitted by the terminal equipment on the control plane, so that when the statistical information of the data meets the preset conditions, the terminal equipment The data is switched to the user plane transmission to improve the data transmission efficiency of the terminal equipment.
一种可选地实施方式中,处理单元901具体用于:In an optional implementation manner, the processing unit 901 is specifically configured to:
当接收来自第一设备的第二指示信息时,确定将所述终端设备的数据从控制面切换到用户面传输;When receiving the second indication information from the first device, determine to switch the data of the terminal device from the control plane to the user plane for transmission;
其中,所述第二指示信息用于指示将所述终端设备的数据从控制面切换到用户面传输;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包的数量大于第二阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值,且在所述控制面传输的所述终端设备的数据包的数量大于第二阈值。Wherein, the second indication information is used to instruct to switch the data of the terminal device from the control plane to the user plane for transmission; or, the second indication information is used to indicate the data of the terminal device transmitted on the control plane. The data packet size is greater than the first threshold; or, the second indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than the second threshold; or, the second indication information is used to Indicates that the size of the data packets of the terminal equipment transmitted on the control plane is greater than a first threshold, and the number of data packets of the terminal equipment transmitted on the control plane is greater than a second threshold.
上述方案中,该通信装置可以根据第二指示信息,确定将所述终端设备的数据切换到用户面传输,该方式实现简单,在提高终端设备的数据传输效率的同时,降低核心网设备实现的复杂度。In the above solution, the communication device can determine to switch the data of the terminal equipment to the user plane transmission according to the second indication information. This method is simple to implement, and while improving the data transmission efficiency of the terminal equipment, it reduces the amount of time required by the core network equipment. the complexity.
一种可选地实施方式中,所述第一设备为以下任一项:In an optional implementation manner, the first device is any of the following:
SGW;SGW;
PGW;PGW;
接入网网元;access network element;
所述终端设备;the terminal device;
SMF网元;SMF network element;
UPF网元;UPF network element;
AMF网元。AMF network element.
一种可选地实施方式中,收发单元902向所述终端设备发送第一指示信息之前,处理单元901还用于:In an optional implementation manner, before the transceiver unit 902 sends the first indication information to the terminal device, the processing unit 901 is further configured to:
确定核心网设备的负载大于第三阈值。It is determined that the load of the core network device is greater than the third threshold.
上述方案中,该通信装置根据自身的负载确定是否发送第一指示信息,可以保证该通信装置的负载均衡。In the above solution, the communication device determines whether to send the first indication information according to its own load, which can ensure the load balance of the communication device.
参见图10,本申请实施例还提供一种通信装置,该通信装置可以是核心网设备或位于核心网设备内的芯片或片上系统,在4G通信系统中,该通信装置可以用于执行上述各方法实施例中MME的动作,在5G通信系统中,该通信装置可以用于执行上述各方法实施例中SMF网元或AMF的动作。该通信装置1000包括:处理器1001、通信接口1002、存储器1003。Referring to FIG. 10 , an embodiment of the present application further provides a communication device. The communication device may be a core network device or a chip or a system-on-chip located in the core network device. In a 4G communication system, the communication device may be used to execute the above For the actions of the MME in the method embodiments, in a 5G communication system, the communication apparatus may be configured to perform the actions of the SMF network element or the AMF in the above method embodiments. The communication apparatus 1000 includes: a processor 1001 , a communication interface 1002 , and a memory 1003 .
存储器1003可以用于存储程序指令,处理器1001调用存储器1003中存储的程序指令,执行:确定将终端设备的数据从控制面切换到用户面传输;The memory 1003 can be used to store program instructions, and the processor 1001 calls the program instructions stored in the memory 1003 to execute: determine to switch the data of the terminal device from the control plane to the user plane for transmission;
通信接口1002,用于向所述终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备停止通过控制面传输上行数据,或者,所述第一指示信息用于指示所述终端设备停止传输上行数据。The communication interface 1002 is configured to send first indication information to the terminal device, where the first indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to indicate that the The terminal equipment stops transmitting uplink data.
上述方案中,该通信装置确定将终端设备的数据切换到用户面传输之后,通过第一指示信息,指示终端设备停止传输上行数据,终端设备不再传输上行数据。因此,可以避免在控制面切换到用户面的过程中,终端设备发送的上行数据传输失败的问题,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。In the above solution, after the communication device determines to switch the data of the terminal equipment to the user plane for transmission, it instructs the terminal equipment to stop transmitting uplink data through the first indication information, and the terminal equipment does not transmit uplink data any more. Therefore, in the process of switching from the control plane to the user plane, the problem of transmission failure of uplink data sent by the terminal device can be avoided, and at the same time, the problem of waste of transmission resources caused by the need to repeatedly transmit uplink data which fails to be transmitted can be avoided.
一种可选地实施方式中,处理器1001具体用于:In an optional implementation manner, the processor 1001 is specifically configured to:
根据通过所述控制面传输的所述终端设备的数据,获得所述终端设备的数据统计信息;Obtain data statistics information of the terminal device according to the data of the terminal device transmitted through the control plane;
当所述数据统计信息满足预设条件时,确定将所述终端设备的数据从控制面切换到用户面传输。When the data statistical information satisfies the preset condition, it is determined to switch the data of the terminal device from the control plane to the user plane for transmission.
一种可选地实施方式中,所述数据统计信息包括所述终端设备的数据包大小,所述预设条件为所述终端设备的数据包大小大于第一阈值;或者,所述数据统计信息包括所述终端设备的数据包的数量,所述预设条件为所述数量大于第二阈值;或者,所述数据统计信息包括所述终端设备的数据包大小和所述终端设备的数据包的数量,所述预设条件为所述终端设备的数据包大小大于第一阈值,且所述数量大于第二阈值。In an optional implementation manner, the data statistical information includes the data packet size of the terminal device, and the preset condition is that the data packet size of the terminal device is greater than a first threshold; or, the data statistical information Including the number of data packets of the terminal device, and the preset condition is that the number is greater than the second threshold; or, the data statistical information includes the data packet size of the terminal device and the data packet of the terminal device. The preset condition is that the size of the data packet of the terminal device is greater than the first threshold, and the number is greater than the second threshold.
上述方案中,该通信装置可以根据检测到的数据统计信息,例如,终端设备在控制面传输的数据包大小和/或数量,从而可以在数据统计信息满足预设条件时,将所述终端设备的数据切换到用户面传输,提高终端设备的数据传输效率。In the above solution, the communication device may, according to the detected statistical information of the data, for example, the size and/or number of data packets transmitted by the terminal equipment on the control plane, so that when the statistical information of the data meets the preset conditions, the terminal equipment The data is switched to the user plane transmission to improve the data transmission efficiency of the terminal equipment.
一种可选地实施方式中,处理器1001具体用于:In an optional implementation manner, the processor 1001 is specifically configured to:
当接收来自第一设备的第二指示信息时,确定将所述终端设备的数据从控制面切换到用户面传输;When receiving the second indication information from the first device, determine to switch the data of the terminal device from the control plane to the user plane for transmission;
其中,所述第二指示信息用于指示将所述终端设备的数据从控制面切换到用户面传输;Wherein, the second indication information is used to instruct to switch the data of the terminal device from the control plane to the user plane transmission;
或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包的数量大于第二阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值,且在所述控制面传输的所述终端设备的数据包的数量大于第二阈值。Alternatively, the second 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 a first threshold; or, the second indication information is used to indicate that all data packets transmitted on the control plane The number of data packets of the terminal device is greater than the second threshold; or, the second indication information is used to indicate that the size of the data packets of the terminal device transmitted on the control plane is greater than the first threshold, and the size of the data packets on the control plane is greater than the first threshold. The number of transmitted data packets of the terminal device is greater than the second threshold.
上述方案中,该通信装置可以根据第二指示信息,确定将所述终端设备的数据切换到用户面传输,该方式实现简单,在提高终端设备的数据传输效率的同时,降低核心网设备实现的复杂度。In the above solution, the communication device can determine to switch the data of the terminal equipment to the user plane transmission according to the second indication information. This method is simple to implement, and while improving the data transmission efficiency of the terminal equipment, it reduces the amount of time required by the core network equipment. the complexity.
一种可选地实施方式中,所述第一设备为以下任一项:In an optional implementation manner, the first device is any of the following:
SGW;SGW;
PGW;PGW;
接入网网元;access network element;
所述终端设备;the terminal device;
SMF网元;SMF network element;
UPF网元;UPF network element;
AMF网元。AMF network element.
一种可选地实施方式中,通信接口1002向所述终端设备发送第一指示信息之前,处理器1001还用于:In an optional implementation manner, before the communication interface 1002 sends the first indication information to the terminal device, the processor 1001 is further configured to:
确定核心网设备的负载大于第三阈值。It is determined that the load of the core network device is greater than the third threshold.
上述方案中,该通信装置根据自身的负载确定是否发送第一指示信息,可以保证该通信装置的负载均衡。In the above solution, the communication device determines whether to send the first indication information according to its own load, which can ensure the load balance of the communication device.
如图11所示,为本申请实施例提供一种通信装置的结构示意图,该通信装置可以是终端设备,也可以是位于终端设备内的一个或多个芯片,或片上系统,该通信装置可以用于执行上述各方法实施例中终端设备的动作,该通信装置1100包括:接收单元1101和发送单元1102。As shown in FIG. 11 , a schematic structural diagram of a communication device is provided in an embodiment of the application. The communication device may be a terminal device, or one or more chips located in the terminal device, or a system-on-chip. The communication device may be For performing the actions of the terminal device in the above method embodiments, the communication apparatus 1100 includes: a receiving unit 1101 and a sending unit 1102 .
接收单元1101,用于接收来自核心网设备的第一指示信息,所述第一指示信息用于指示终端设备停止通过控制面传输上行数据,或者,所述第一指示信息用于指示终端设备停止传输上行数据;The receiving unit 1101 is configured to receive first indication information from a core network device, where the first indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to instruct the terminal device to stop transmit uplink data;
发送单元1102,用于根据所述第一指示信息,停止通过控制面传输上行数据。The sending unit 1102 is configured to stop transmitting uplink data through the control plane according to the first indication information.
上述通信装置接收到核心网设备发送的第一指示信息后,不再传输上行数据。因此,可以避免在控制面切换到用户面的过程中,终端设备发送的上行数据传输失败的问题,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。After receiving the first indication information sent by the core network device, the above communication apparatus does not transmit uplink data. Therefore, in the process of switching from the control plane to the user plane, the problem of transmission failure of uplink data sent by the terminal device can be avoided, and at the same time, the problem of waste of transmission resources caused by the need to repeatedly transmit uplink data which fails to be transmitted can be avoided.
图12是本申请实施例提供的一种通信装置的结构示意图。图12所示的通信装置可以为图11所示的通信装置的一种硬件电路的实现方式。通信装置可以用于执行上述各方法实施例中终端设备的动作。为了便于说明,图12仅示出了通信装置的主要部件。如图12所示,通信装置1210包括处理器1201、存储器1202、收发机1203、天线1204以及输入输出装置1205。处理器1201主要用于对通信协议以及通信数据进行处理,以及对通信装置进行控制,执行软件程序,处理软件程序的数据,例如用于支持通信装置执行上述方法实施例中所描述的动作等。存储器1202主要用于存储软件程序和数据。收发机1203主要用于基带信号与射频信号的转换以及对射频信号的处理。天线1204主要用于收发电磁波形式的射频信号。输入输出装置1205,例如触摸屏、显示屏,键盘等主要用于接收用户输入的数据以及对用户输出数据。FIG. 12 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application. The communication apparatus shown in FIG. 12 may be a hardware circuit implementation of the communication apparatus shown in FIG. 11 . The communication apparatus may be configured to perform the actions of the terminal device in the foregoing method embodiments. For convenience of explanation, FIG. 12 only shows the main components of the communication device. As shown in FIG. 12 , the communication device 1210 includes a processor 1201 , a memory 1202 , a transceiver 1203 , an antenna 1204 and an input/output device 1205 . The processor 1201 is mainly used to process communication protocols and communication data, control the communication device, execute software programs, and process data of the software programs, for example, to support the communication device to perform the actions described in the above method embodiments. The memory 1202 is primarily used to store software programs and data. The transceiver 1203 is mainly used for the conversion of baseband signals and radio frequency signals and the processing of radio frequency signals. The antenna 1204 is mainly used to transmit and receive radio frequency signals in the form of electromagnetic waves. The input and output device 1205, such as a touch screen, a display screen, a keyboard, etc., is mainly used for receiving data input by the user and outputting data to the user.
存储器1202可以用于存储程序指令,处理器1201调用存储器1202中存储的程序指令,执行:The memory 1202 can be used to store program instructions, and the processor 1201 calls the program instructions stored in the memory 1202 to execute:
通过收发机1203,接收来自核心网设备的第一指示信息,所述第一指示信息用于指示所述终端设备停止通过控制面传输上行数据,或者,所述第一指示信息用于指示所述终端设备停止传输上行数据;用于根据所述第一指示信息,停止通过控制面传输上行数据。The transceiver 1203 receives first indication information from a core network device, where the first indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to instruct the The terminal device stops transmitting uplink data; it is used for stopping transmitting uplink data through the control plane according to the first indication information.
上述方案中,该通信装置接收到核心网设备发送的第一指示信息后,不再传输上行数据。因此,可以避免在控制面切换到用户面的过程中,终端设备发送的上行数据传输失败的问题,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。In the above solution, after receiving the first indication information sent by the core network device, the communication apparatus does not transmit uplink data. Therefore, in the process of switching from the control plane to the user plane, the problem of transmission failure of uplink data sent by the terminal device can be avoided, and at the same time, the problem of waste of transmission resources caused by the need to repeatedly transmit uplink data which fails to be transmitted can be avoided.
如图13所示,为本申请实施例提供一种通信装置的结构示意图,该通信装置可以是核心网设备,例如,在4G通信系统中,核心网设备可以为MME;在5G通信系统中,核心网设备可以为SMF网元或AMF网元。在4G通信系统中,该通信装置可以用于执行上述各方法实施例中MME的动作,在5G通信系统中,该通信装置可以用于执行上述各方法实施例中SMF网元或AMF的动作。该通信装置1300包括:处理单元1301和收发单元1302。As shown in FIG. 13 , a schematic structural diagram of a communication device is provided in an embodiment of the present application. The communication device may be a core network device. For example, in a 4G communication system, the core network device may be an MME; in a 5G communication system, The core network device may be an SMF network element or an AMF network element. In a 4G communication system, the communication apparatus may be used to perform the actions of the MME in the above method embodiments, and in a 5G communication system, the communication apparatus may be used to perform the actions of the SMF network element or the AMF in the above method embodiments. The communication device 1300 includes: a processing unit 1301 and a transceiver unit 1302 .
处理单元1301,用于确定触发为终端设备建立用户面承载,所述用户面承载用于传输所述终端设备的数据;A processing unit 1301, configured to determine a trigger to establish a user plane bearer for a terminal device, where the user plane bearer is used to transmit data of the terminal device;
收发单元1302,用于向所述终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备停止通过控制面传输上行数据,或者,所述第一指示信息用于指示所述终端设备停止传输上行数据。The transceiver unit 1302 is configured to send first indication information to the terminal device, where the first indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to indicate that the The terminal equipment stops transmitting uplink data.
上述通信装置确定触发为终端设备建立用户面承载之后,通过第一指示信息,指示终端设备停止传输上行数据,终端设备不再传输上行数据。因此,可以避免在控制面切换到用户面的过程中,终端设备发送的上行数据传输失败的问题,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。After the above-mentioned communication apparatus determines that the establishment of a user plane bearer for the terminal device is triggered, the first indication information is used to instruct the terminal device to stop transmitting uplink data, and the terminal device no longer transmits uplink data. Therefore, in the process of switching from the control plane to the user plane, the problem of transmission failure of uplink data sent by the terminal device can be avoided, and at the same time, the problem of waste of transmission resources caused by the need to repeatedly transmit uplink data which fails to be transmitted can be avoided.
一种可选地实施方式中,处理单元1301具体用于:In an optional implementation manner, the processing unit 1301 is specifically configured to:
根据通过所述控制面传输的所述终端设备的数据,获得所述终端设备的数据统计信息;Obtain data statistics information of the terminal device according to the data of the terminal device transmitted through the control plane;
当所述数据统计信息满足预设条件时,确定将所述终端设备的数据从控制面切换到用户面传输。When the data statistical information satisfies the preset condition, it is determined to switch the data of the terminal device from the control plane to the user plane for transmission.
一种可选地实施方式中,所述数据统计信息包括所述终端设备的数据包大小,所述预设条件为所述终端设备的数据包大小大于第一阈值;或者,所述数据统计信息包括所述终端设备的数据包的数量,所述预设条件为所述数量大于第二阈值;或者,所述数据统计信息包括所述终端设备的数据包大小和所述终端设备的数据包的数量,所述预设条件为所述终端设备的数据包大小大于第一阈值,且所述数量大于第二阈值。In an optional implementation manner, the data statistical information includes the data packet size of the terminal device, and the preset condition is that the data packet size of the terminal device is greater than a first threshold; or, the data statistical information Including the number of data packets of the terminal device, and the preset condition is that the number is greater than the second threshold; or, the data statistical information includes the data packet size of the terminal device and the data packet of the terminal device. The preset condition is that the size of the data packet of the terminal device is greater than the first threshold, and the number is greater than the second threshold.
上述方案中,该通信装置可以根据检测到的数据统计信息,例如,终端设备在控制面传输的数据包大小和/或数量,从而可以在数据统计信息满足预设条件时,触发为终端设备建立用户面承载,提高终端设备的数据传输效率。In the above solution, the communication device can trigger the establishment of the terminal device based on the detected data statistical information, for example, the size and/or number of data packets transmitted by the terminal device on the control plane, when the data statistical information meets a preset condition. User plane bearer, improve the data transmission efficiency of terminal equipment.
一种可选地实施方式中,处理单元1301具体用于:In an optional implementation manner, the processing unit 1301 is specifically configured to:
当接收来自第一设备的第二指示信息时,确定触发为终端设备建立用户面承载;When receiving the second indication information from the first device, determine to trigger the establishment of a user plane bearer for the terminal device;
其中,所述第二指示信息用于指示将所述终端设备的数据从控制面切换到用户面传输;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包的数量大于第二阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值,且在所述控制面传输的所述终端设备的数据包的数量大于第二阈值。Wherein, the second indication information is used to instruct to switch the data of the terminal device from the control plane to the user plane for transmission; or, the second indication information is used to indicate the data of the terminal device transmitted on the control plane. The data packet size is greater than the first threshold; or, the second indication information is used to indicate that the number of data packets of the terminal device transmitted on the control plane is greater than the second threshold; or, the second indication information is used to Indicates that the size of the data packets of the terminal equipment transmitted on the control plane is greater than a first threshold, and the number of data packets of the terminal equipment transmitted on the control plane is greater than a second threshold.
上述方案中,该通信装置可以根据第二指示信息,确定触发为终端设备建立用户面承载,该方式实现简单,在提高终端设备的数据传输效率的同时,降低核心网设备实现的复杂度。In the above solution, the communication device can determine to trigger the establishment of a user plane bearer for the terminal device according to the second indication information, which is simple to implement, and reduces the complexity of core network device implementation while improving the data transmission efficiency of the terminal device.
一种可选地实施方式中,所述第一设备为以下任一项:In an optional implementation manner, the first device is any of the following:
SGW;SGW;
PGW;PGW;
接入网网元;access network element;
所述终端设备;the terminal device;
SMF网元;SMF network element;
UPF网元;UPF network element;
AMF网元。AMF network element.
一种可选地实施方式中,收发单元1302向所述终端设备发送第一指示信息之前,处理单元1301还用于:In an optional implementation manner, before the transceiver unit 1302 sends the first indication information to the terminal device, the processing unit 1301 is further configured to:
确定核心网设备的负载大于第三阈值。It is determined that the load of the core network device is greater than the third threshold.
上述方案中,该通信装置根据自身的负载确定是否发送第一指示信息,可以保证该通信装置的负载均衡。In the above solution, the communication device determines whether to send the first indication information according to its own load, which can ensure the load balance of the communication device.
参见图14,本申请实施例还提供一种通信装置,该通信装置可以是核心网设备或位于核心网设备内的芯片或片上系统,在4G通信系统中,该通信装置可以用于执行上述各方法实施例中MME的动作,在5G通信系统中,该通信装置可以用于执行上述各方法实施例中SMF网元或AMF的动作。该通信装置1400包括:处理器1401、通信接口1402、存储器1403。Referring to FIG. 14 , an embodiment of the present application further provides a communication device. The communication device may be a core network device or a chip or a system-on-a-chip located in the core network device. In a 4G communication system, the communication device may be used to execute each of the above For the actions of the MME in the method embodiments, in a 5G communication system, the communication apparatus may be configured to perform the actions of the SMF network element or the AMF in the above method embodiments. The communication device 1400 includes: a processor 1401 , a communication interface 1402 , and a memory 1403 .
存储器1403可以用于存储程序指令,处理器1401调用存储器1403中存储的程序指令,执行:确定触发为终端设备建立用户面承载,所述用户面承载用于传输所述终端设备的数据;The memory 1403 can be used to store program instructions, and the processor 1401 invokes the program instructions stored in the memory 1403, and executes: determining to trigger the establishment of a user plane bearer for the terminal device, and the user plane bearer is used to transmit the data of the terminal device;
通信接口1402,用于向所述终端设备发送第一指示信息,所述第一指示信息用于指示所述终端设备停止通过控制面传输上行数据,或者,所述第一指示信息用于指示所述终端设备停止传输上行数据。The communication interface 1402 is used to send first indication information to the terminal device, where the first indication information is used to instruct the terminal device to stop transmitting uplink data through the control plane, or the first indication information is used to indicate that the The terminal equipment stops transmitting uplink data.
上述方案中,该通信装置触发为终端设备建立用户面承载之后,通过第一指示信息,指示终端设备停止传输上行数据,终端设备不再传输上行数据。因此,可以避免在控制面切换到用户面的过程中,终端设备发送的上行数据传输失败的问题,同时可以避免传输失败的上行数据需要重复发送,而造成传输资源浪费的问题。In the above solution, after triggering the establishment of a user plane bearer for the terminal device, the communication device instructs the terminal device to stop transmitting uplink data through the first indication information, and the terminal device no longer transmits uplink data. Therefore, in the process of switching from the control plane to the user plane, the problem of transmission failure of uplink data sent by the terminal device can be avoided, and at the same time, the problem of waste of transmission resources caused by the need to repeatedly transmit uplink data which fails to be transmitted can be avoided.
一种可选地实施方式中,处理器1401具体用于:In an optional implementation manner, the processor 1401 is specifically configured to:
根据通过所述控制面传输的所述终端设备的数据,获得所述终端设备的数据统计信息;Obtain data statistics information of the terminal device according to the data of the terminal device transmitted through the control plane;
当所述数据统计信息满足预设条件时,确定触发为终端设备建立用户面承载。When the data statistics information satisfies the preset condition, it is determined to trigger the establishment of a user plane bearer for the terminal device.
一种可选地实施方式中,所述数据统计信息包括所述终端设备的数据包大小,所述预设条件为所述终端设备的数据包大小大于第一阈值;或者,所述数据统计信息包括所述终端设备的数据包的数量,所述预设条件为所述数量大于第二阈值;或者,所述数据统计信息包括所述终端设备的数据包大小和所述终端设备的数据包的数量,所述预设条件为所述终端设备的数据包大小大于第一阈值,且所述数量大于第二阈值。In an optional implementation manner, the data statistical information includes the data packet size of the terminal device, and the preset condition is that the data packet size of the terminal device is greater than a first threshold; or, the data statistical information Including the number of data packets of the terminal device, and the preset condition is that the number is greater than the second threshold; or, the data statistics information includes the data packet size of the terminal device and the data packet of the terminal device. The preset condition is that the data packet size of the terminal device is greater than the first threshold, and the number is greater than the second threshold.
上述方案中,该通信装置可以根据检测到的数据统计信息,例如,终端设备在控制面传输的数据包大小和/或数量,从而可以在数据统计信息满足预设条件时,触发为终端设备建立用户面承载,提高终端设备的数据传输效率。In the above solution, the communication device can trigger the establishment of the terminal device based on the detected data statistical information, for example, the size and/or number of data packets transmitted by the terminal device on the control plane, when the data statistical information meets a preset condition. User plane bearer, improve the data transmission efficiency of terminal equipment.
一种可选地实施方式中,处理器1401具体用于:In an optional implementation manner, the processor 1401 is specifically configured to:
当接收来自第一设备的第二指示信息时,确定触发为终端设备建立用户面承载;When receiving the second indication information from the first device, determine to trigger the establishment of a user plane bearer for the terminal device;
其中,所述第二指示信息用于指示将所述终端设备的数据从控制面切换到用户面传输;Wherein, the second indication information is used to instruct to switch the data of the terminal device from the control plane to the user plane transmission;
或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包的数量大于第二阈值;或者,所述第二指示信息用于指示在所述控制面传输的所述终端设备的数据包大小大于第一阈值,且在所述控制面传输的所述终端设备的数据包的数量大于第二阈值。Alternatively, the second 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 a first threshold; or, the second indication information is used to indicate that all data packets transmitted on the control plane The number of data packets of the terminal device is greater than the second threshold; or, the second indication information is used to indicate that the size of the data packets of the terminal device transmitted on the control plane is greater than the first threshold, and the size of the data packets on the control plane is greater than the first threshold. The number of transmitted data packets of the terminal device is greater than the second threshold.
上述方案中,该通信装置可以根据第二指示信息,确定触发为终端设备建立用户面承载,该方式实现简单,在提高终端设备的数据传输效率的同时,降低核心网设备实现的复杂度。In the above solution, the communication device can determine to trigger the establishment of a user plane bearer for the terminal device according to the second indication information, which is simple to implement, and reduces the complexity of core network device implementation while improving the data transmission efficiency of the terminal device.
一种可选地实施方式中,所述第一设备为以下任一项:In an optional implementation manner, the first device is any of the following:
SGW;SGW;
PGW;PGW;
接入网网元;access network element;
所述终端设备;the terminal device;
SMF网元;SMF network element;
UPF网元;UPF network element;
AMF网元。AMF network element.
一种可选地实施方式中,通信接口1402向所述终端设备发送第一指示信息之前,处理器1401还用于:In an optional implementation manner, before the communication interface 1402 sends the first indication information to the terminal device, the processor 1401 is further configured to:
确定核心网设备的负载大于第三阈值。It is determined that the load of the core network device is greater than the third threshold.
上述方案中,该通信装置根据自身的负载确定是否发送第一指示信息,可以保证该通信装置的负载均衡。In the above solution, the communication device determines whether to send the first indication information according to its own load, which can ensure the load balance of the communication device.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims (19)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810662621.4A CN110636553A (en) | 2018-06-25 | 2018-06-25 | A data transmission method and device |
| PCT/CN2019/090420 WO2020001256A1 (en) | 2018-06-25 | 2019-06-06 | Data transmission method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810662621.4A CN110636553A (en) | 2018-06-25 | 2018-06-25 | A data transmission method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110636553A true CN110636553A (en) | 2019-12-31 |
Family
ID=68968035
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810662621.4A Pending CN110636553A (en) | 2018-06-25 | 2018-06-25 | A data transmission method and device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110636553A (en) |
| WO (1) | WO2020001256A1 (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111970635A (en) * | 2020-08-26 | 2020-11-20 | 展讯通信(上海)有限公司 | Positioning data transmission method and device |
| CN113993169A (en) * | 2020-02-17 | 2022-01-28 | Oppo广东移动通信有限公司 | Method, device, equipment and storage medium for changing data transmission mode |
| CN114051233A (en) * | 2021-11-15 | 2022-02-15 | 中国联合网络通信集团有限公司 | Data transmission method, access network equipment, control plane network element and user plane network element |
| WO2025020028A1 (en) * | 2023-07-24 | 2025-01-30 | Oppo广东移动通信有限公司 | Wireless communication method, terminal device, and network device |
| WO2025054761A1 (en) * | 2023-09-11 | 2025-03-20 | Oppo广东移动通信有限公司 | Method for data transmission, and communication device |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119155735A (en) * | 2023-06-14 | 2024-12-17 | 维沃移动通信有限公司 | Data transmission method and device and communication equipment |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102791008A (en) * | 2011-05-16 | 2012-11-21 | 中兴通讯股份有限公司 | Back transmission method of data in inter-base-station switching process and base station |
| EP2916612A1 (en) * | 2012-11-01 | 2015-09-09 | Ntt Docomo, Inc. | Wireless communication system and control method |
| CN107426771A (en) * | 2016-05-23 | 2017-12-01 | 中国移动通信有限公司研究院 | A kind of data transmission method and device |
| CN107426785A (en) * | 2016-05-23 | 2017-12-01 | 中国移动通信有限公司研究院 | A kind of data transmission method and device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104782173B (en) * | 2013-11-08 | 2018-11-06 | 华为技术有限公司 | Forwarding surface moving method, controller and gateway |
-
2018
- 2018-06-25 CN CN201810662621.4A patent/CN110636553A/en active Pending
-
2019
- 2019-06-06 WO PCT/CN2019/090420 patent/WO2020001256A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102791008A (en) * | 2011-05-16 | 2012-11-21 | 中兴通讯股份有限公司 | Back transmission method of data in inter-base-station switching process and base station |
| EP2916612A1 (en) * | 2012-11-01 | 2015-09-09 | Ntt Docomo, Inc. | Wireless communication system and control method |
| CN107426771A (en) * | 2016-05-23 | 2017-12-01 | 中国移动通信有限公司研究院 | A kind of data transmission method and device |
| CN107426785A (en) * | 2016-05-23 | 2017-12-01 | 中国移动通信有限公司研究院 | A kind of data transmission method and device |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113993169A (en) * | 2020-02-17 | 2022-01-28 | Oppo广东移动通信有限公司 | Method, device, equipment and storage medium for changing data transmission mode |
| CN113993169B (en) * | 2020-02-17 | 2023-10-27 | Oppo广东移动通信有限公司 | Methods, devices, equipment and storage media for changing data transmission methods |
| US12289374B2 (en) | 2020-02-17 | 2025-04-29 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method and apparatus for changing data transmission scheme, device, and storage medium |
| CN111970635A (en) * | 2020-08-26 | 2020-11-20 | 展讯通信(上海)有限公司 | Positioning data transmission method and device |
| CN111970635B (en) * | 2020-08-26 | 2023-07-07 | 展讯通信(上海)有限公司 | Positioning data transmission method and device |
| CN114051233A (en) * | 2021-11-15 | 2022-02-15 | 中国联合网络通信集团有限公司 | Data transmission method, access network equipment, control plane network element and user plane network element |
| CN114051233B (en) * | 2021-11-15 | 2023-04-25 | 中国联合网络通信集团有限公司 | Data transmission method, access network equipment, control plane network element and user plane network element |
| WO2025020028A1 (en) * | 2023-07-24 | 2025-01-30 | Oppo广东移动通信有限公司 | Wireless communication method, terminal device, and network device |
| WO2025054761A1 (en) * | 2023-09-11 | 2025-03-20 | Oppo广东移动通信有限公司 | Method for data transmission, and communication device |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2020001256A1 (en) | 2020-01-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20240276289A1 (en) | Data transmission method and data transmission apparatus | |
| US11464070B2 (en) | Data buffering method and session management function entity | |
| CN110324848B (en) | Information processing method, communication device, and computer storage medium | |
| JP6696580B2 (en) | Control plane and user plane selection for data transmission | |
| US20200187043A1 (en) | Session management method, interworking method, and network apparatus | |
| CN110771242A (en) | Handling QOS flows without mapping data radio bearers | |
| CN110636553A (en) | A data transmission method and device | |
| CN110636535B (en) | A data transmission method and device | |
| CN104813725A (en) | Data transmission device and method | |
| CN107046714B (en) | Data transmission method, device and system | |
| WO2018127018A1 (en) | Multi-link communication method and device, and terminal | |
| CN116017557A (en) | Data transmission method, device and storage medium | |
| CN107079372A (en) | Method and device for network terminal equipment to communicate | |
| US11272399B2 (en) | Data processing method, mobility management device, and terminal device | |
| WO2018023544A1 (en) | Communication method, user equipment, base station, control plane network element, and communication system | |
| CN102802215B (en) | Data transmission method for uplink, access device and system between heterogeneous network | |
| CN110582126A (en) | Communication method and device | |
| CN105519189A (en) | Method for handover, evolved base station and mobility management entity | |
| CN113163514B (en) | Session processing method and communication device | |
| CN111132241B (en) | Communication method, mobility management entity, user equipment and serving gateway | |
| CN103517447B (en) | Transmission data method and apparatus thereof | |
| CN107548166A (en) | Configure method, master base station, user equipment and the communication system of multi-link signaling | |
| TWI836825B (en) | Wireless communication method and user equipment thereof | |
| CN109716822B (en) | Method for controlling terminal equipment to generate uplink signaling, terminal equipment and network equipment | |
| JP2025507409A (en) | COMMUNICATION METHOD AND COMMUNICATION DEVICE |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20191231 |