Movatterモバイル変換


[0]ホーム

URL:


CN112399476B - Data packet transmission method, terminal equipment and network equipment - Google Patents

Data packet transmission method, terminal equipment and network equipment
Download PDF

Info

Publication number
CN112399476B
CN112399476BCN201910755163.3ACN201910755163ACN112399476BCN 112399476 BCN112399476 BCN 112399476BCN 201910755163 ACN201910755163 ACN 201910755163ACN 112399476 BCN112399476 BCN 112399476B
Authority
CN
China
Prior art keywords
base station
data packet
terminal device
information
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910755163.3A
Other languages
Chinese (zh)
Other versions
CN112399476A (en
Inventor
谷柏峰
宗在峰
赵倩倩
姜印清
魏洪康
王键
徐海博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN201910755163.3ApriorityCriticalpatent/CN112399476B/en
Priority to PCT/CN2020/081171prioritypatent/WO2021027288A1/en
Publication of CN112399476ApublicationCriticalpatent/CN112399476A/en
Application grantedgrantedCritical
Publication of CN112399476BpublicationCriticalpatent/CN112399476B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种数据包传输方法、终端设备及网络设备,涉及无线通信技术领域,可以解决在终端设备从源基站切换至目标基站时,由于源基站向目标基站传输用于同步数据包传输状态的信息时时延较大,导致的即使终端设备已由源基站切换至目标基站,目标基站由于还未同步源基站与终端设备的数据包传输状态,造成的数据传输无法接续的问题。本方案通过将用于数据包传输状态同步的信息,由时延较小的用户面承载来传输,以实现第一基站与第二基站的数据包传输状态同步的同时,降低用于数据包传输状态同步的信息的传输时延,保证终端设备从第一基站切换至第二基站后,第二基站与终端设备数据包的接续传输。

Figure 201910755163

The present application discloses a data packet transmission method, terminal equipment and network equipment, which relate to the field of wireless communication technology and can solve the problem of synchronous data packet transmission from the source base station to the target base station when the terminal equipment is switched from the source base station to the target base station. The time delay of status information is relatively large, resulting in the problem that even if the terminal device has been switched from the source base station to the target base station, the target base station has not yet synchronized the data packet transmission status of the source base station and the terminal device, resulting in the problem that the data transmission cannot be continued. In this solution, the information used for data packet transmission state synchronization is carried by the user plane with a small delay for transmission, so as to realize the synchronization of the data packet transmission state between the first base station and the second base station, and reduce the time required for data packet transmission. The transmission delay of the status synchronization information ensures the continuous transmission of data packets between the second base station and the terminal equipment after the terminal equipment is handed over from the first base station to the second base station.

Figure 201910755163

Description

Translated fromChinese
一种数据包传输方法、终端设备及网络设备A data packet transmission method, terminal equipment and network equipment

技术领域technical field

本申请实施例涉及无线通信技术领域,尤其涉及一种数据包传输方法、终端设备及网络设备。The embodiments of the present application relate to the technical field of wireless communication, and in particular, to a data packet transmission method, a terminal device, and a network device.

背景技术Background technique

随着无线通信技术的发展,基于网络功能虚拟化(Network FunctionVirtualization,NFV)的核心网控制面拉远部署成为一种组网趋势。其中,核心网控制面拉远部署是指将核心网的控制面与用户面分开部署。在这种核心网控制面拉远部署的场景中,核心网的控制面与用户面距离通常较远。例如,核心网控制面的网元与用户面网元的距离通常在1500Km以上。With the development of wireless communication technology, remote deployment of the core network control plane based on Network Function Virtualization (Network Function Virtualization, NFV) has become a networking trend. Among them, the remote deployment of the control plane of the core network refers to the separate deployment of the control plane and the user plane of the core network. In the remote deployment scenario of the core network control plane, the distance between the control plane of the core network and the user plane is usually relatively long. For example, the distance between the network elements of the control plane of the core network and the network elements of the user plane is usually more than 1500Km.

其中,终端设备进行跨基站切换时,源基站(即用户面网元)通过控制面网元向目标基站(即用户面网元)转发用于同步数据包传输状态的信息(简称同步信息),以便终端设备由源基站切换至目标基站后,可以接续数据的传输。Wherein, when the terminal device performs cross-base station handover, the source base station (that is, the user plane network element) forwards the information used to synchronize the transmission status of the data packet (referred to as synchronization information) to the target base station (that is, the user plane network element) through the control plane network element, So that after the terminal equipment is handed over from the source base station to the target base station, it can continue the data transmission.

但是,由于核心网的控制面与用户面距离较远;因此,源基站(即用户面网元)通过控制面网元向目标基站(即用户面网元)传输上述同步信息需要较长时间。在这期间,即使终端设备已由源基站切换至目标基站,但是,目标基站可能还未收到来自源基站的上述同步信息。即目标基站还不能同步源基站与终端设备的数据包传输状态。因此,目标基站还不能与终端设备传输数据包,影响用户体验。However, since the control plane of the core network is far away from the user plane; therefore, it takes a long time for the source base station (that is, the user plane network element) to transmit the above synchronization information to the target base station (that is, the user plane network element) through the control plane network element. During this period, even though the terminal equipment has been handed over from the source base station to the target base station, the target base station may not have received the aforementioned synchronization information from the source base station. That is, the target base station cannot yet synchronize the data packet transmission status of the source base station and the terminal device. Therefore, the target base station cannot yet transmit data packets with the terminal device, which affects user experience.

发明内容Contents of the invention

本申请实施例提供一种数据包传输方法,可以解决在终端设备从源基站切换至目标基站时,由于源基站向目标基站传输用于同步数据包传输状态的信息时时延较大,导致的即使终端设备已由源基站切换至目标基站,目标基站由于还未同步源基站与终端设备的数据包传输状态,造成的数据传输无法接续的问题。The embodiment of the present application provides a data packet transmission method, which can solve the problem that the source base station transmits the information used to synchronize the data packet transmission state The terminal device has been handed over from the source base station to the target base station, and the target base station has not yet synchronized the data packet transmission status of the source base station and the terminal device, resulting in the problem that the data transmission cannot be continued.

为达到上述目的,本申请实施例采用如下技术方案:In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:

第一方面,提供一种数据包传输方法,该方法应用于终端设备从第一基站切换至第二基站的过程中,该方法包括:终端设备确定第一上行数据包的第一计数值;该第一上行数据包为第一承载上丢失的第一个上行数据包;其中,第一承载为终端设备从第一基站切换至第二基站前与上述第一基站之间的无线承载,或者终端设备从第一基站切换至第二基站后与上述第二基站之间的无线承载;终端设备向第二基站发送第一信息,该第一信息包括上述第一计数值。In the first aspect, a data packet transmission method is provided, the method is applied in the process of handing over a terminal device from a first base station to a second base station, and the method includes: the terminal device determines a first count value of a first uplink data packet; the The first uplink data packet is the first uplink data packet lost on the first bearer; wherein, the first bearer is the radio bearer between the terminal device and the first base station before switching from the first base station to the second base station, or the terminal After the device switches from the first base station to the second base station, the radio bearer between the second base station and the second base station; the terminal device sends first information to the second base station, where the first information includes the first count value.

其中,上述第一承载为终端设备与第一基站或者第二基站之间的用户面承载。上述计数值用于数据包的完整性保护和加密,该计数值可由高位的超帧号和低位的PDCP序列号两部分组成。Wherein, the above-mentioned first bearer is a user plane bearer between the terminal device and the first base station or the second base station. The above-mentioned count value is used for integrity protection and encryption of the data packet, and the count value may be composed of two parts: a high-order hyperframe number and a low-order PDCP sequence number.

上述第一方面提供的技术方案,由终端设备确定同步数据包传输状态的信息,并将其确定的用于同步数据包传输状态的信息,通过用户面承载(终端设备与第二基站之间的无线承载)发送给第二基站,以实现第一基站与第二基站的数据包传输状态同步的同时,降低用于数据包传输状态同步的信息的传输时延,保证终端设备从第一基站切换至第二基站后,第二基站与终端设备数据包的接续传输。In the technical solution provided by the first aspect above, the terminal device determines the information on the transmission state of the synchronization data packet, and carries the determined information for the transmission state of the synchronization data packet through the user plane (the communication between the terminal device and the second base station) radio bearer) to the second base station, so as to realize the synchronization of the data packet transmission status of the first base station and the second base station, and at the same time reduce the transmission delay of the information used for the synchronization of the data packet transmission status, and ensure that the terminal equipment is switched from the first base station After reaching the second base station, the data packets of the second base station and the terminal equipment are continuously transmitted.

在一种可能的实现方式中,终端设备确定第一上行数据包的第一计数值,包括:该终端设备接收来自第一基站的第二信息,该第二信息用于指示第三信息,该第三信息包括:第一上行数据包的第一序列号或者第一上行数据包的第二计数值;该终端设备根据第二信息确定第一计数值。终端设备可以根据来自第一基站的,第一基站在第一承载上丢失的第一个上行数据包的第一序列号或者第二计数值确定第一上行数据包的第一计数值。通过终端设备与第一基站之间的用户面承载传输用于确定第一上行数据包的第一计数值,以及通过终端设备与第二基站之间的用户面承载传输用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device determining the first count value of the first uplink data packet includes: the terminal device receiving second information from the first base station, where the second information is used to indicate third information, the The third information includes: a first sequence number of the first uplink data packet or a second count value of the first uplink data packet; the terminal device determines the first count value according to the second information. The terminal device may determine the first count value of the first uplink data packet according to the first sequence number or the second count value of the first uplink data packet lost by the first base station on the first bearer from the first base station. The user plane bearer transmission between the terminal device and the first base station is used to determine the first count value of the first uplink data packet, and the user plane bearer transmission between the terminal device and the second base station is used for data packet transmission status synchronization The information can guarantee the low-latency transmission of the information used for the synchronization of the data packet transmission state.

在一种可能的实现方式中,上述第三信息包括第一上行数据包的第一序列号;终端设备根据第二信息确定第一计数值,包括:该终端设备根据第一序列号以及与第一序列号对应的超帧号确定第一计数值。终端设备可以根据来自第一基站的,第一基站在第一承载上丢失的第一个上行数据包的第一序列号以及与第一序列号对应的超帧号确定第一上行数据包的第一计数值。In a possible implementation manner, the third information above includes a first sequence number of the first uplink data packet; determining the first count value by the terminal device according to the second information includes: the terminal device determines the first count value according to the first sequence number and the A superframe number corresponding to a sequence number determines the first count value. The terminal device may determine the first sequence number of the first uplink data packet lost on the first bearer by the first base station and the superframe number corresponding to the first sequence number from the first base station. A count value.

在一种可能的实现方式中,上述第三信息包括第一上行数据包的第二计数值;终端设备根据第二信息确定第一计数值,包括:该终端设备确定第二计数值为第一计数值。终端设备可以根据来自第一基站的,第一基站在第一承载上丢失的第一个上行数据包的第二计数值确定第一上行数据包的第一计数值。In a possible implementation manner, the third information above includes a second count value of the first uplink data packet; the terminal device determining the first count value according to the second information includes: the terminal device determining that the second count value is the first count value. The terminal device may determine the first count value of the first uplink data packet according to the second count value of the first uplink data packet lost by the first base station on the first bearer from the first base station.

在一种可能的实现方式中,终端设备确定第一上行数据包的第一计数值,包括:终端设备将该终端设备未通过第一承载接收到来自第一基站确认消息的上行数据包的计数值作为第一计数值;或者,该终端设备将该终端设备即将通过第一承载发送的下一个上行数据包的计数值作为第一计数值。终端设备可以根据其是否接收到来自第一基站的,对于上行数据包的确认消息,确定第一上行数据包以及该第一上行数据包的第一计数值。以便终端设备可以通过终端设备与第二基站之间的用户面承载传输用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device determining the first count value of the first uplink data packet includes: the terminal device counts the uplink data packets that the terminal device has not received from the first base station through the first bearer value as the first count value; or, the terminal device uses the count value of the next uplink data packet to be sent by the terminal device through the first bearer as the first count value. The terminal device may determine the first uplink data packet and the first count value of the first uplink data packet according to whether it receives an acknowledgment message for the uplink data packet from the first base station. So that the terminal device can transmit the information used for data packet transmission state synchronization through the user plane bearer between the terminal device and the second base station, and the low-latency transmission of the information used for data packet transmission state synchronization can be guaranteed.

在一种可能的实现方式中,上述方法还包括:终端设备向第二基站发送第四信息,该第四信息包括第一承载上丢失的第一个下行数据包的序列号和超帧号。该方案中,终端设备还可以通过终端设备与第二基站之间的用户面承载传输终端设备在第一承载上丢失的第一个下行数据包的计数值,用于数据包传输状态的同步,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the above method further includes: the terminal device sends fourth information to the second base station, where the fourth information includes a sequence number and a superframe number of the first downlink data packet lost on the first bearer. In this solution, the terminal device may also transmit the count value of the first downlink data packet lost by the terminal device on the first bearer through the user plane bearer between the terminal device and the second base station, for the synchronization of the data packet transmission state, Low-latency transmission of information for packet transmission state synchronization can be guaranteed.

在一种可能的实现方式中,终端设备向第二基站发送第一信息,包括:该终端设备向第二基站发送切换确认消息,该切换确认消息携带有第一信息。该方案中,终端设备可以通过用户面承载的切换确认消息携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device sending the first information to the second base station includes: the terminal device sending a handover confirmation message to the second base station, where the handover confirmation message carries the first information. In this solution, the terminal device can carry the first information for the synchronization of the data packet transmission state through the handover confirmation message carried by the user plane, so as to ensure low-latency transmission of the information of the data packet transmission state synchronization.

在一种可能的实现方式中,上述切换确认消息中还携带有第一承载的标识。用于当通过多个无线承载向第二基站发送PDCP数据包时,第二基站可以根据第一承载的标识与PDCP数据包的对应关系确定传输每个PDCP数据包所使用的无线承载。In a possible implementation manner, the handover confirmation message further carries the identifier of the first bearer. When sending the PDCP data packet to the second base station through multiple radio bearers, the second base station can determine the radio bearer used to transmit each PDCP data packet according to the correspondence between the identifier of the first bearer and the PDCP data packet.

在一种可能的实现方式中,上述方法还包括:终端设备向第二基站发送切换确认消息,该切换确认消息中还携带有第四信息。该方案中,终端设备可以通过用户面承载的切换确认消息携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the above method further includes: the terminal device sends a handover confirmation message to the second base station, where the handover confirmation message further carries fourth information. In this solution, the terminal device can carry the first information for the synchronization of the data packet transmission state through the handover confirmation message carried by the user plane, so as to ensure low-latency transmission of the information of the data packet transmission state synchronization.

在一种可能的实现方式中,终端设备向第二基站发送第一信息,包括:该终端设备向第二基站发送包数据汇聚协议PDCP数据包,该PDCP数据包携带有第一信息。该方案中,终端设备可以通过用户面承载的PDCP数据包携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device sending the first information to the second base station includes: the terminal device sending a PDCP data packet to the second base station, where the PDCP data packet carries the first information. In this solution, the terminal device can carry the first information used for data packet transmission state synchronization through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the data packet transmission state synchronization information.

在一种可能的实现方式中,上述PDCP数据包还携带有所述第四信息。该方案中,终端设备可以通过用户面承载的PDCP数据包携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the foregoing PDCP data packet further carries the fourth information. In this solution, the terminal device can carry the first information used for data packet transmission state synchronization through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the data packet transmission state synchronization information.

在一种可能的实现方式中,上述PDCP数据包携带有类型指示信息,该类型指示信息用于指示该PDCP数据包中携带有第一信息。通过对现有的PDCP数据包传输协议进行扩展,使得该PDCP数据包可以携带用于指示该PDCP数据包中携带有第一信息的类型指示信息,以便第二基站可以根据该类型指示信息从PDCP数据包中读取第一信息,提高第二基站获取第一信息的效率。其中,PDCP数据包传输协议用于规定PDCP数据包的格式。In a possible implementation manner, the foregoing PDCP data packet carries type indication information, and the type indication information is used to indicate that the PDCP data packet carries the first information. By extending the existing PDCP data packet transmission protocol, the PDCP data packet can carry type indication information used to indicate that the PDCP data packet carries the first information, so that the second base station can obtain the PDCP data packet according to the type indication information. The first information is read from the data packet to improve the efficiency of the second base station in obtaining the first information. Wherein, the PDCP data packet transmission protocol is used to specify the format of the PDCP data packet.

在一种可能的实现方式中,上述PDCP数据包携带有类型指示信息,该类型指示信息用于指示该PDCP数据包中携带有第四信息。通过对现有的PDCP数据包传输协议进行扩展,使得该PDCP数据包可以携带用于指示该PDCP数据包中携带有第四信息的类型指示信息,以便第二基站可以根据该类型指示信息从PDCP数据包中读取第四信息,提高第二基站获取第四信息的效率。In a possible implementation manner, the foregoing PDCP data packet carries type indication information, and the type indication information is used to indicate that the PDCP data packet carries fourth information. By extending the existing PDCP data packet transmission protocol, the PDCP data packet can carry the type indication information used to indicate that the PDCP data packet carries the fourth information, so that the second base station can obtain the PDCP data according to the type indication information. The fourth information is read from the data packet to improve the efficiency of the second base station in obtaining the fourth information.

第二方面,提供一种数据包传输方法,该方法应用于终端设备从第一基站切换至第二基站的过程中,该方法包括:第二基站接收来自终端设备的第一信息,该第一信息包括第一上行数据包的第一计数值;该第一上行数据包为第一承载上丢失的第一个上行数据包;其中,上述第一承载为终端设备从第一基站切换至第二基站前与第一基站之间的无线承载,或者终端设备从第一基站切换至第二基站后与第二基站之间的无线承载;上述第二基站根据第一信息确定该第二基站期望在第一承载上接收的下一个上行数据包的序列号和超帧号。In a second aspect, a data packet transmission method is provided, the method is applied in the process of handing over a terminal device from a first base station to a second base station, the method includes: the second base station receives first information from the terminal device, the first The information includes a first count value of the first uplink data packet; the first uplink data packet is the first uplink data packet lost on the first bearer; wherein, the above-mentioned first bearer is the handover of the terminal equipment from the first base station to the second The radio bearer between the base station and the first base station, or the radio bearer between the terminal equipment and the second base station after switching from the first base station to the second base station; the second base station determines that the second base station expects to The sequence number and superframe number of the next uplink data packet received on the first bearer.

上述第二方面提供的技术方案,第二基站可以通过终端设备与第二基站之间的用户面承载接收来自终端设备的第一信息,以便根据该第一信息进行数据包传输状态的同步,保证用于数据包传输状态同步的信息的低时延传输,保证终端设备从第一基站切换至第二基站后,第二基站与终端设备数据包的接续传输。In the technical solution provided by the second aspect above, the second base station can receive the first information from the terminal device through the user plane bearer between the terminal device and the second base station, so as to synchronize the data packet transmission status according to the first information, ensuring The low-latency transmission of information used for data packet transmission state synchronization ensures the continuous transmission of data packets between the second base station and the terminal equipment after the terminal equipment is handed over from the first base station to the second base station.

在一种可能的实现方式中,上述方法还包括:第二基站接收来自终端设备的第二序列号和第二序列号对应的超帧号,上述第二序列号是终端设备丢失的第一个下行数据包的序列号;上述第二基站根据第二序列号和第二序列号对应的超帧号确定第二基站向所述终端设备发送的下一个下行数据包的序列号和超帧号。第二基站可以通过终端设备与第二基站之间的用户面承载接收来自终端设备的第一信息,以便根据该第一信息进行数据包传输状态的同步,保证用于数据包传输状态同步的信息的低时延传输,保证终端设备从第一基站切换至第二基站与终端设备数据包的接续传输。In a possible implementation, the above method further includes: the second base station receiving a second sequence number from the terminal device and a superframe number corresponding to the second sequence number, where the second sequence number is the first one lost by the terminal device The sequence number of the downlink data packet: the second base station determines the sequence number and the superframe number of the next downlink data packet sent by the second base station to the terminal device according to the second sequence number and the superframe number corresponding to the second sequence number. The second base station may receive the first information from the terminal device through the user plane bearer between the terminal device and the second base station, so as to synchronize the data packet transmission state according to the first information, and ensure the information used for the synchronization of the data packet transmission state The low-latency transmission ensures that the terminal equipment switches from the first base station to the second base station and the continuous transmission of terminal equipment data packets.

在一种可能的实现方式中,上述方法还包括:第二基站接收来自第一基站的第一消息,该第一消息包括缓存在第一基站中的至少一个第二数据包;其中,第二数据包包括所述第一基站已发送给终端设备,但是未接收到该终端设备的确认消息的数据包,该第一消息还包括上述至少一个第二数据包的序列号;第二基站根据上述至少一个第二数据包的序列号确定第二基站向终端设备发送的下一个下行数据包的序列号。第二基站可以通过第二基站与第一基站之间的用户面承载接收来自第一基站的用于进行数据包传输状态同步的信息,保证用于数据包传输状态同步的信息的低时延传输,保证终端设备从第一基站切换至第二基站与终端设备数据包的接续传输。In a possible implementation manner, the above method further includes: the second base station receiving a first message from the first base station, where the first message includes at least one second data packet buffered in the first base station; wherein, the second The data packet includes the data packet that the first base station has sent to the terminal device, but has not received the confirmation message of the terminal device, and the first message also includes the sequence number of the at least one second data packet; the second base station according to the above-mentioned The sequence number of the at least one second data packet determines the sequence number of the next downlink data packet sent by the second base station to the terminal device. The second base station can receive the information for data packet transmission state synchronization from the first base station through the user plane bearer between the second base station and the first base station, ensuring low-latency transmission of the information for data packet transmission state synchronization , to ensure the handover of the terminal equipment from the first base station to the second base station and the continuous transmission of data packets of the terminal equipment.

第三方面,提供一种数据包传输方法,该方法应用于第一系统中终端设备从第一基站切换至第二基站的过程中,该第一系统包括上述终端设备、第一基站和第二基站,该方法包括:上述终端设备确定第一上行数据包的第一计数值;该第一上行数据包为第一承载上丢失的第一个上行数据包;其中,上述第一承载为上述终端设备从第一基站切换至第二基站前与第一基站之间的无线承载,或者上述终端设备从第一基站切换至第二基站后与第二基站之间的无线承载;该终端设备向第二基站发送第一信息,该第一信息包括第一计数值;上述第二基站接收来自终端设备的第一信息;该第二基站根据上述第一信息确定第二基站期望在第一承载上接收的下一个上行数据包的序列号序列号和超帧号。In the third aspect, a data packet transmission method is provided, the method is applied in the process of handover of terminal equipment from the first base station to the second base station in the first system, the first system includes the above-mentioned terminal equipment, the first base station and the second base station The base station, the method includes: the terminal device determines a first count value of the first uplink data packet; the first uplink data packet is the first uplink data packet lost on the first bearer; wherein the first bearer is the terminal The radio bearer between the first base station and the first base station before the equipment switches from the first base station to the second base station, or the radio bearer between the above-mentioned terminal equipment and the second base station after switching from the first base station to the second base station; The second base station sends the first information, and the first information includes the first count value; the second base station receives the first information from the terminal equipment; the second base station determines according to the first information that the second base station expects to receive on the first bearer The sequence number sequence number and superframe number of the next uplink data packet.

上述第三方面提供的技术方案,由终端设备确定同步数据包传输状态的信息,并将其确定的用于同步数据包传输状态的信息,通过用户面承载(终端设备与第二基站之间的无线承载)发送给第二基站,以实现第一基站与第二基站的数据包传输状态同步的同时,降低用于数据包传输状态同步的信息的传输时延,保证终端设备从第一基站切换至第二基站后,第二基站与终端设备数据包的接续传输。In the technical solution provided by the above third aspect, the terminal device determines the information on the transmission state of the synchronization data packet, and carries the determined information for the transmission state of the synchronization data packet through the user plane (the transmission between the terminal device and the second base station) radio bearer) to the second base station, so as to realize the synchronization of the data packet transmission status of the first base station and the second base station, and at the same time reduce the transmission delay of the information used for the synchronization of the data packet transmission status, and ensure that the terminal equipment is switched from the first base station After reaching the second base station, the data packets of the second base station and the terminal equipment are continuously transmitted.

在一种可能的实现方式中,上述方法还包括:第一基站向终端设备发送第二信息,该第二信息用于指示第三信息,该第三信息包括:第一上行数据包的第一序列号或者第一上行数据包的第二计数值;该终端设备确定第一上行数据包的第一计数值,包括:该终端设备根据所述第二信息确定第一计数值。终端设备可以根据来自第一基站的,第一基站在第一承载上丢失的第一个上行数据包的第一序列号或者第二计数值确定第一上行数据包的第一计数值。通过终端设备与第一基站之间的用户面承载传输用于确定第一上行数据包的第一计数值,以及通过终端设备与第二基站之间的用户面承载传输用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the above method further includes: the first base station sends second information to the terminal device, where the second information is used to indicate third information, and the third information includes: the first The sequence number or the second count value of the first uplink data packet; the terminal device determining the first count value of the first uplink data packet includes: the terminal device determining the first count value according to the second information. The terminal device may determine the first count value of the first uplink data packet according to the first sequence number or the second count value of the first uplink data packet lost by the first base station on the first bearer from the first base station. The user plane bearer transmission between the terminal device and the first base station is used to determine the first count value of the first uplink data packet, and the user plane bearer transmission between the terminal device and the second base station is used for data packet transmission status synchronization The information can guarantee the low-latency transmission of the information used for the synchronization of the data packet transmission state.

在一种可能的实现方式中,上述第三信息包括第一上行数据包的第一序列号,该终端设备根据第二信息确定第一计数值,包括:该终端设备根据第一序列号以及和该第一序列号对应的超帧号确定第一计数值;或者,上述第三信息包括第一上行数据包的第二计数值,该终端设备根据第二信息确定第一计数值,包括:该终端设备确定上述第二计数值为第一计数值。终端设备可以根据来自第一基站的,第一基站在第一承载上丢失的第一个上行数据包的第一序列号以及与第一序列号对应的超帧号,或者第一基站在第一承载上丢失的第一个上行数据包的第二计数值确定第一上行数据包的第一计数值。In a possible implementation manner, the above third information includes the first sequence number of the first uplink data packet, and the terminal device determines the first count value according to the second information, including: the terminal device determines the first count value according to the first sequence number and and The superframe number corresponding to the first sequence number determines the first count value; or, the third information includes the second count value of the first uplink data packet, and the terminal device determines the first count value according to the second information, including: the The terminal device determines that the second count value is the first count value. The terminal device may, according to the first sequence number of the first uplink data packet lost by the first base station on the first bearer and the superframe number corresponding to the first sequence number from the first base station, or the first The second count value of the first uplink data packet lost on the bearer determines the first count value of the first uplink data packet.

在一种可能的实现方式中,终端设备确定第一上行数据包的第一计数值,包括:该终端设备将该终端设备未通过第一承载接收到来自第一基站确认消息的上行数据包的计数值作为第一计数值;或者,该终端设备将该终端设备即将通过第一承载待发送的下一个上行数据包的计数值作为第一计数值。终端设备可以根据其是否接收到来自第一基站的,对于上行数据包的确认消息,确定第一上行数据包以及该第一上行数据包的第一计数值。以便终端设备可以通过终端设备与第二基站之间的用户面承载传输用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, determining the first count value of the first uplink data packet by the terminal device includes: the terminal device does not receive an acknowledgment message from the first base station through the first bearer. The count value is used as the first count value; or, the terminal device uses the count value of the next uplink data packet to be sent by the terminal device to be sent through the first bearer as the first count value. The terminal device may determine the first uplink data packet and the first count value of the first uplink data packet according to whether it receives an acknowledgment message for the uplink data packet from the first base station. So that the terminal device can transmit the information used for data packet transmission state synchronization through the user plane bearer between the terminal device and the second base station, and the low-latency transmission of the information used for data packet transmission state synchronization can be guaranteed.

在一种可能的实现方式中,上述方法还包括:终端设备向第二基站发送第四信息,该第四信息包括第二序列号和该第二序列号对应的超帧号,该第二序列号是终端设备丢失的第一个下行数据包的序列号;第二基站根据上述第二序列号和该第二序列号对应的超帧号确定第二基站向终端设备发送的下一个下行数据包的序列号和超帧号。该方案中,终端设备还可以通过终端设备与第二基站之间的用户面承载传输终端设备在第一承载上丢失的第一个下行数据包的计数值,用于数据包传输状态的同步,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the above method further includes: the terminal device sends fourth information to the second base station, where the fourth information includes a second sequence number and a superframe number corresponding to the second sequence number, and the second sequence number The number is the sequence number of the first downlink data packet lost by the terminal device; the second base station determines the next downlink data packet sent by the second base station to the terminal device according to the above-mentioned second sequence number and the superframe number corresponding to the second sequence number serial number and hyperframe number. In this solution, the terminal device may also transmit the count value of the first downlink data packet lost by the terminal device on the first bearer through the user plane bearer between the terminal device and the second base station, for the synchronization of the data packet transmission state, Low-latency transmission of information for packet transmission state synchronization can be guaranteed.

在一种可能的实现方式中,终端设备向第二基站发送第一信息,包括:该终端设备向第二基站发送切换确认消息,该切换确认消息携带有第一信息。该方案中,终端设备可以通过用户面承载的切换确认消息携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device sending the first information to the second base station includes: the terminal device sending a handover confirmation message to the second base station, where the handover confirmation message carries the first information. In this solution, the terminal device can carry the first information for the synchronization of the data packet transmission state through the handover confirmation message carried by the user plane, so as to ensure low-latency transmission of the information of the data packet transmission state synchronization.

在一种可能的实现方式中,终端设备向第二基站发送第一信息,包括:该终端设备向第二基站发送包数据汇聚协议PDCP数据包,该PDCP数据包携带有上述第一信息。该方案中,终端设备可以通过用户面承载的PDCP数据包携带用于数据包传输状态同步的第一信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device sending the first information to the second base station includes: the terminal device sending a Packet Data Convergence Protocol PDCP packet to the second base station, where the PDCP packet carries the first information. In this solution, the terminal device can carry the first information used for data packet transmission state synchronization through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the data packet transmission state synchronization information.

在一种可能的实现方式中,终端设备向第二基站发送第四信息,包括:该终端设备向第二基站发送包数据汇聚协议PDCP数据包,该PDCP数据包携带有第四信息;或者,该终端设备向第二基站发送切换确认消息,该切换确认消息携带有上述第四信息。该方案中,终端设备可以通过用户面承载的PDCP数据包携带用于数据包传输状态同步的第四信息,保证数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the terminal device sending the fourth information to the second base station includes: the terminal device sending a Packet Data Convergence Protocol PDCP data packet to the second base station, where the PDCP data packet carries the fourth information; or, The terminal device sends a handover confirmation message to the second base station, where the handover confirmation message carries the fourth information. In this solution, the terminal device can carry the fourth information used for data packet transmission state synchronization through the PDCP data packet carried by the user plane, so as to ensure the low-latency transmission of the data packet transmission state synchronization information.

在一种可能的实现方式中,上述方法还包括:第一基站向第二基站发送第一消息,该第一消息包括缓存在所述第一基站中的至少一个第二数据包;该第二数据包括第一基站已发送给终端设备,但是未接收到终端设备的确认消息的数据包,该第一消息还包括上述至少一个第二数据包的序列号;第二基站根据上述至少一个第二数据包的序列号确定第二基站向终端设备发送的下一个下行数据包的序列号。第二基站可以通过第二基站与第一基站之间的用户面承载接收来自第一基站的用于进行数据包传输状态同步的信息,保证用于数据包传输状态同步的信息的低时延传输,保证终端设备从第一基站切换至第二基站与终端设备数据包的接续传输。In a possible implementation manner, the above method further includes: the first base station sends a first message to the second base station, where the first message includes at least one second data packet buffered in the first base station; the second The data includes a data packet that the first base station has sent to the terminal device but has not received an acknowledgment message from the terminal device, and the first message also includes the sequence number of the at least one second data packet; the second base station according to the at least one second data packet The sequence number of the data packet determines the sequence number of the next downlink data packet sent by the second base station to the terminal device. The second base station can receive the information for data packet transmission state synchronization from the first base station through the user plane bearer between the second base station and the first base station, ensuring low-latency transmission of the information for data packet transmission state synchronization , to ensure the handover of the terminal equipment from the first base station to the second base station and the continuous transmission of data packets of the terminal equipment.

第四方面,提供一种终端设备,该终端设备包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线信号的发送和接收;处理器,用于执行上述指令,使得终端设备执行第一方面任一种可能的实现方式中的数据包传输方法。In a fourth aspect, a terminal device is provided, and the terminal device includes: a memory for storing computer program codes, the computer program codes including instructions; a radio frequency circuit for sending and receiving wireless signals; a processor for executing The above instructions enable the terminal device to execute the data packet transmission method in any possible implementation manner of the first aspect.

第五方面,提供一种第二基站,该第二基站包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线信号的发送和接收;处理器,用于执行上述指令,使得第二基站执行第二方面任一种可能的实现方式中的数据包传输方法。In a fifth aspect, a second base station is provided, and the second base station includes: a memory for storing computer program codes, the computer program codes including instructions; a radio frequency circuit for sending and receiving wireless signals; a processor for To execute the above instructions, the second base station executes the data packet transmission method in any possible implementation manner of the second aspect.

第六方面,提供一种第一系统,该第一系统包括终端设备、第一基站和第二基站,该第一系统用于执行第三方面任一种可能的实现方式中的数据包传输方法。In a sixth aspect, a first system is provided, the first system includes a terminal device, a first base station, and a second base station, and the first system is used to implement the data packet transmission method in any possible implementation manner of the third aspect .

第七方面,提供一种数据包传输方法,该方法应用于终端设备从第一基站切换至第二基站的过程中,该方法包括:第一基站确定第三信息,该第三信息包括第一数据包的计数值,以及第二数据包的计数值,该第一数据包是上述第一基站期望通过第一承载从终端设备接收的下一个上行数据包,该第二数据包是该第一基站即将通过第一承载向终端设备发送的下一个下行数据包,上述第一承载是终端设备与该第一基站之间的无线承载;所述第一基站通过用户面通用分组无线业务隧道协议GTP-U隧道向第二基站发送第一消息,该第一消息携带有上述第三信息。其中,上述GTP-U隧道为第一基站与第二基站之间的用户面业务隧道。In a seventh aspect, there is provided a data packet transmission method, the method is applied in the process of handover of a terminal device from a first base station to a second base station, the method includes: the first base station determines third information, and the third information includes the first A count value of a data packet, and a count value of a second data packet, the first data packet is the next uplink data packet that the first base station expects to receive from the terminal device through the first bearer, the second data packet is the first The base station is about to send the next downlink data packet to the terminal device through the first bearer, the above-mentioned first bearer is a radio bearer between the terminal device and the first base station; the first base station passes the user plane general packet radio service tunneling protocol GTP - sending the first message to the second base station through the U tunnel, where the first message carries the above third information. Wherein, the aforementioned GTP-U tunnel is a user plane traffic tunnel between the first base station and the second base station.

上述第七方面提供的技术方案,第二基站可以通过第二基站与第一基站之间的用户面GTP隧道接收来自第一基站的,用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In the technical solution provided by the seventh aspect above, the second base station can receive information from the first base station through the user plane GTP tunnel between the second base station and the first base station, which is used for data packet transmission state synchronization, and can ensure that the information used for data packet transmission Low-latency transmission of information that is synchronized with the packet transmission state.

在一种可能的实现方式中,第一基站通过用户面通用分组无线业务隧道协议GTP-U隧道向第二基站发送第一消息,包括:该第一基站通过该第一基站与第二基站之间的GTP-U隧道向第二基站发送第一消息;或者,该第一基站通过该第一基站与数据网关之间的GTP-U隧道向数据网关发送上述第一消息,使得该数据网关通过该数据网关与第二基站之间的GTP-U隧道,向第二基站发送上述第一消息。第二基站可以通过第二基站与第一基站之间的用户面GTP隧道接收来自第一基站的,用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, the first base station sends the first message to the second base station through a user plane General Packet Radio Service Tunneling Protocol GTP-U tunnel, including: the first base station transmits the first message between the first base station and the second base station The first message is sent to the second base station through the GTP-U tunnel between the first base station; or, the first base station sends the above-mentioned first message to the data gateway through the GTP-U tunnel between the first base station and the data gateway, so that the data gateway passes The GTP-U tunnel between the data gateway and the second base station sends the first message to the second base station. The second base station can receive the information used for data packet transmission state synchronization from the first base station through the user plane GTP tunnel between the second base station and the first base station, which can ensure the low time of the information used for data packet transmission state synchronization delayed transmission.

在一种可能的实现方式中,上述第三信息封装在第一消息的GTP-U协议的无线扩展头中。通过对现有的GTP-U协议进行扩展,使得该第一消息可以携带第三信息。In a possible implementation manner, the foregoing third information is encapsulated in a wireless extension header of the GTP-U protocol of the first message. By extending the existing GTP-U protocol, the first message can carry the third information.

在一种可能的实现方式中,上述无线扩展头中还包括第一指示信息,该第一指示信息用于指示该无线扩展头中包括上述第三信息。通过对现有的GTP-U协议进行扩展,使得该第一消息可以携带用于指示该第一消息携带有第三信息的指示信息,以便第二基站可以根据该指示信息从第一消息中读取第三信息,提高第二基站获取第三信息的效率。In a possible implementation manner, the foregoing wireless extension header further includes first indication information, where the first indication information is used to indicate that the wireless extension header includes the foregoing third information. By extending the existing GTP-U protocol, the first message can carry indication information indicating that the first message carries third information, so that the second base station can read from the first message according to the indication information. The third information is obtained, and the efficiency of obtaining the third information by the second base station is improved.

在一种可能的实现方式中,上述第一基站通过GTP-U隧道向第二基站发送多个上述第一消息。为了提高用于数据包传输状态同步的信息的传输成功,可以采用同样的用户面承载多次传输上述第一消息。In a possible implementation manner, the first base station sends multiple first messages to the second base station through a GTP-U tunnel. In order to improve the success of the transmission of the information used for the synchronization of the data packet transmission state, the same user plane bearer may be used to transmit the above-mentioned first message multiple times.

在一种可能的实现方式中,上述方法还包括:上述第一基站通过移动性管理网元向第二基站发送第一消息,该移动性管理网元是终端设备服务的移动性管理网元。该方案支持通过多条承载传输第一消息,以便第二基站可以根据最先接收到的第一消息进行数据包传输状态的同步,提高数据包传输状态同步的效率。In a possible implementation manner, the method further includes: the first base station sending the first message to the second base station through a mobility management network element, where the mobility management network element is a mobility management network element serving the terminal device. The solution supports the transmission of the first message through multiple bearers, so that the second base station can synchronize the data packet transmission state according to the first received first message, and improve the efficiency of data packet transmission state synchronization.

第八方面,提供一种数据包传输方法,该方法应用于终端设备从第一基站切换至第二基站的过程中,该方法包括:该第二基站通过用户面通用分组无线业务隧道协议GTP-U隧道接收来自第一基站的第一消息,该第一消息包括第三信息,该第三信息包括第一数据包的计数值,以及第二数据包的计数值,该第一数据包是第一基站期望通过第一承载从终端设备接收的下一个上行数据包,该第二数据包是第一基站即将通过上述第一承载向终端设备发送的下一个下行数据包,该第一承载是终端设备与第一基站之间的无线承载;该第二基站根据上述第三信息确定该第二基站期望通过第二承载上从终端设备接收的下一个上行数据包的计数值,以及所述第二基站即将通过所述第二承载向所述终端设备发送的下一个下行数据包的计数值;上述第二承载是在终端设备从所述第一基站切换到第二基站后,终端设备与第二基站之间建立的与第一承载对应的无线承载。In an eighth aspect, there is provided a data packet transmission method, which is applied in the process of handing over a terminal device from a first base station to a second base station, and the method includes: the second base station uses the user plane General Packet Radio Service Tunneling Protocol GTP- The U tunnel receives a first message from the first base station, the first message includes third information, the third information includes a count value of the first data packet, and a count value of the second data packet, the first data packet is the first data packet A base station expects to receive the next uplink data packet from the terminal device through the first bearer, the second data packet is the next downlink data packet to be sent by the first base station to the terminal device through the first bearer, and the first bearer is the terminal A wireless bearer between the device and the first base station; the second base station determines the count value of the next uplink data packet that the second base station expects to receive from the terminal device on the second bearer according to the above third information, and the second The count value of the next downlink data packet that the base station is about to send to the terminal device through the second bearer; the second bearer is after the terminal device switches from the first base station to the second base station, the A radio bearer corresponding to the first bearer established between the base stations.

上述第八方面提供的技术方案,第二基站可以通过第二基站与第一基站之间的用户面GTP隧道接收来自第一基站的,用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In the technical solution provided in the eighth aspect above, the second base station can receive the information used for data packet transmission state synchronization from the first base station through the user plane GTP tunnel between the second base station and the first base station, which can ensure that the information used for data packet transmission Low-latency transmission of information that is synchronized with the packet transmission state.

在一种可能的实现方式中,上述第二基站从用户面通用分组无线业务隧道协议GTP-U隧道上接收来自第一基站的第一消息,包括:该第二基站通过第一基站与该第二基站之间的直接GTP-U隧道接收来自第一基站的第一消息;或者,该第二基站通过第二基站与网关设备之间的GTP-U隧道接收上述第一消息;该第一消息通过第一基站与网关设备之间的GTP-U隧道,从第一基站传输至网关设备。第二基站可以通过第二基站与第一基站之间的用户面GTP隧道接收来自第一基站的,用于数据包传输状态同步的信息,可以保证用于数据包传输状态同步的信息的低时延传输。In a possible implementation manner, receiving the first message from the first base station by the second base station from the user plane General Packet Radio Service Tunneling Protocol GTP-U tunnel includes: the second base station communicates with the first base station through the first base station The direct GTP-U tunnel between the two base stations receives the first message from the first base station; or, the second base station receives the above-mentioned first message through the GTP-U tunnel between the second base station and the gateway device; the first message Transmission from the first base station to the gateway device through the GTP-U tunnel between the first base station and the gateway device. The second base station can receive the information used for data packet transmission state synchronization from the first base station through the user plane GTP tunnel between the second base station and the first base station, which can ensure the low time of the information used for data packet transmission state synchronization delayed transmission.

在一种可能的实现方式中,上述第三信息封装在第一消息的GTP-U协议的无线扩展头中。通过对现有的GTP-U协议进行扩展,使得该第一消息可以携带第三信息。In a possible implementation manner, the foregoing third information is encapsulated in a wireless extension header of the GTP-U protocol of the first message. By extending the existing GTP-U protocol, the first message can carry the third information.

在一种可能的实现方式中,上述无线扩展头中还包括第一指示信息,该第一指示信息用于指示上述无线扩展头中包括第三信息。通过对现有的GTP-U协议进行扩展,使得该第一消息可以携带用于指示该第一消息携带有第三信息的指示信息,以便第二基站可以根据该指示信息从第一消息中读取第三信息,提高第二基站获取第三信息的效率。In a possible implementation manner, the wireless extension header further includes first indication information, where the first indication information is used to indicate that the wireless extension header includes third information. By extending the existing GTP-U protocol, the first message can carry indication information indicating that the first message carries third information, so that the second base station can read from the first message according to the indication information. The third information is obtained, and the efficiency of obtaining the third information by the second base station is improved.

在一种可能的实现方式中,上述第二基站通过GTP-U隧道接收来自第一基站的多个第一消息。为了提高用于数据包传输状态同步的信息的传输成功率,可以采用同样的用户面承载多次传输上述第一消息。In a possible implementation manner, the second base station receives multiple first messages from the first base station through a GTP-U tunnel. In order to improve the transmission success rate of the information used for data packet transmission state synchronization, the same user plane bearer may be used to transmit the above-mentioned first message multiple times.

在一种可能的实现方式中,上述方法还包括:上述第二基站从移动性管理网元接收上述第一消息,该移动性管理网元是终端设备服务的移动性管理网元。该方案支持通过多条承载传输第一消息,以便第二基站可以根据最先接收到的第一消息进行数据包传输状态的同步,提高数据包传输状态同步的效率。其中,移动性管理网元主要用于终端设备的接入控制和移动性管理。常规的切换过程中,第二基站可以通过移动性管理网元从第一基站接收用于据包传输状态同步的信息,该传输通道为用户面网元与控制面网元之间的传输通道。In a possible implementation manner, the foregoing method further includes: the foregoing second base station receiving the foregoing first message from a mobility management network element, where the mobility management network element is a mobility management network element serving the terminal device. The solution supports the transmission of the first message through multiple bearers, so that the second base station can synchronize the data packet transmission state according to the first received first message, and improve the efficiency of data packet transmission state synchronization. Among them, the mobility management network element is mainly used for access control and mobility management of terminal equipment. In a conventional handover process, the second base station may receive information for packet transmission state synchronization from the first base station through the mobility management network element, and the transmission channel is a transmission channel between the user plane network element and the control plane network element.

在一种可能的实现方式中,上述方法还包括:上述第二基站从第一基站接收到第一个第一消息后,该第二基站丢弃在第一个所述第一消息之后,该第二基站接收到的第一消息。该方案支持通过多条承载传输第一消息,以便第二基站可以根据最先接收到的第一消息进行数据包传输状态的同步,提高数据包传输状态同步的效率。In a possible implementation manner, the above method further includes: after the second base station receives the first first message from the first base station, the second base station discards the first message after the first message, and the first The first message received by the second base station. The solution supports the transmission of the first message through multiple bearers, so that the second base station can synchronize the data packet transmission state according to the first received first message, and improve the efficiency of data packet transmission state synchronization.

第九方面,提供一种终端设备,该终端设备包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线信号的发送和接收;处理器,用于执行上述指令,使得终端设备执行第七方面任一种可能的实现方式中的数据包传输方法。In a ninth aspect, a terminal device is provided, and the terminal device includes: a memory for storing computer program codes, the computer program codes including instructions; a radio frequency circuit for sending and receiving wireless signals; a processor for executing The above instructions enable the terminal device to execute the data packet transmission method in any possible implementation manner of the seventh aspect.

第十方面,提供一种第二基站,该第二基站包括:存储器,用于存储计算机程序代码,该计算机程序代码包括指令;射频电路,用于进行无线信号的发送和接收;处理器,用于执行上述指令,使得第二基站执行第八方面任一种可能的实现方式中的数据包传输方法。In a tenth aspect, a second base station is provided, and the second base station includes: a memory for storing computer program codes, the computer program codes including instructions; a radio frequency circuit for sending and receiving wireless signals; a processor for To execute the above instructions, the second base station executes the data packet transmission method in any possible implementation manner of the eighth aspect.

第十一方面,提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机执行指令,该计算机执行指令被处理器执行时实现如第一方面、第二方面、第三方面、第七方面或第八方面任一种可能的实现方式中的数据包传输方法。In an eleventh aspect, a computer-readable storage medium is provided, and the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are executed by a processor, the first aspect, the second aspect, the third aspect, and The data packet transmission method in any possible implementation manner of the seventh aspect or the eighth aspect.

第十二方面,提供一种芯片系统,该芯片系统包括处理器、存储器,存储器中存储有指令;所述指令被所述处理器执行时,实现如第一方面、第二方面、第三方面、第七方面或第八方面任一种可能的实现方式中的数据包传输方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。In a twelfth aspect, a chip system is provided, the chip system includes a processor, a memory, and instructions are stored in the memory; when the instructions are executed by the processor, the first aspect, the second aspect, and the third aspect are implemented. 1. The data packet transmission method in any possible implementation manner of the seventh aspect or the eighth aspect. The system-on-a-chip may consist of chips, or may include chips and other discrete devices.

第十三方面,提供一种计算机程序产品,提供一种计算机程序产品,当其在计算机上运行时,使得第一方面、第二方面、第三方面、第七方面或第八方面任一种可能的实现方式中的数据包传输方法。例如,该计算机可以是至少一个存储节点。In a thirteenth aspect, a computer program product is provided. A computer program product is provided. When it is run on a computer, any one of the first aspect, the second aspect, the third aspect, the seventh aspect or the eighth aspect Packet transfer method in a possible implementation. For example, the computer can be at least one storage node.

附图说明Description of drawings

图1为本申请实施例提供的一种数据包传输方法的应用网络服务架构示意图;FIG. 1 is a schematic diagram of an application network service architecture of a data packet transmission method provided by an embodiment of the present application;

图2为本申请实施例提供的一种终端设备的硬件结构示意图;FIG. 2 is a schematic diagram of a hardware structure of a terminal device provided in an embodiment of the present application;

图3为本申请实施例提供的一种常规的S1切换流程图;FIG. 3 is a conventional S1 handover flowchart provided by the embodiment of the present application;

图4为本申请实施例提供的一种COUNT结构示意图;FIG. 4 is a schematic diagram of a COUNT structure provided by the embodiment of the present application;

图5A为本申请实施例提供的游戏场景下终端设备进行跨基站切换时的数据包传输时延示意图;FIG. 5A is a schematic diagram of data packet transmission delay when a terminal device performs cross-base station switching in a game scenario provided by an embodiment of the present application;

图5B为本申请实施例提供的数据下载场景下终端设备进行跨基站切换时的数据包传输时延示意图;FIG. 5B is a schematic diagram of the data packet transmission delay when the terminal device performs cross-base station handover in the data download scenario provided by the embodiment of the present application;

图6为本申请实施例提供的一种数据包传输方法流程图一;FIG. 6 is aflow chart 1 of a data packet transmission method provided by an embodiment of the present application;

图7为本申请实施例提供的一种S1切换流程图一;FIG. 7 is a first S1 handover flowchart provided by the embodiment of the present application;

图8为本申请实施例提供的一种S1切换流程图二;FIG. 8 is a second flow chart of S1 handover provided by the embodiment of the present application;

图9为本申请实施例提供的一种PDCP数据包格式示意图;FIG. 9 is a schematic diagram of a PDCP data packet format provided by an embodiment of the present application;

图10A为本申请实施例提供的数据包传输方法流程图二;FIG. 10A is the second flow chart of the data packet transmission method provided by the embodiment of the present application;

图10B为本申请实施例提供的一种S1切换流程图三;FIG. 10B is a third S1 handover flowchart provided by the embodiment of the present application;

图11为本申请实施例提供的数据包传输方法流程图三;FIG. 11 is the third flowchart of the data packet transmission method provided by the embodiment of the present application;

图12为本申请实施例提供的数据包传输方法流程图四;FIG. 12 is aflowchart 4 of the data packet transmission method provided by the embodiment of the present application;

图13A为本申请实施例提供的一种S1切换流程图四;FIG. 13A is a fourth flowchart of S1 handover provided by the embodiment of the present application;

图13B为本申请实施例提供的数据包传输方法流程图五;FIG. 13B is the fifth flowchart of the data packet transmission method provided by the embodiment of the present application;

图14为本申请实施例提供的一种第一消息的GTP-U协议的无线扩展头编码格式示例图;FIG. 14 is an example diagram of the encoding format of the wireless extension header of the GTP-U protocol of the first message provided by the embodiment of the present application;

图15为本申请实施例提供的一种S1切换流程图五;Fig. 15 is aflow chart 5 of an S1 handover provided by the embodiment of the present application;

图16为本申请实施例提供的一种S1切换流程图六;FIG. 16 is a sixth flow chart of S1 handover provided by the embodiment of the present application;

图17为本申请实施例提供的一种终端设备的结构示意图。FIG. 17 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.

具体实施方式Detailed ways

本申请实施例提供一种数据包传输方法,该方法应用于终端设备从源基站切换至目标基站的过程中。其中,本申请实施例以第一基站为源基站,第二基站为目标基站为例。An embodiment of the present application provides a data packet transmission method, which is applied in the process of handover of a terminal device from a source base station to a target base station. Wherein, the embodiment of the present application takes the first base station as a source base station and the second base station as a target base station as an example.

请参考图1,如图1所示,为本申请实施例提供的一种数据包传输方法的应用网络服务架构示意图。其中,图1以第五代(5th generation,5G)移动通信系统的网络服务架构为例展示了网络功能和实体之间的交互关系以及对应的接口。其中,5G系统的第三代合作伙伴项目(the 3rd Generation Partnership Project,3GPP)基于服务的网络架构(service-based architecture,SBA)包含的网络功能和实体主要包括:终端设备(Terminal Equipment,TE)、接入网(Access Network,AN)或无线接入网(Radio AccessNetwork,RAN)、用户面功能(User Plane Function,UPF)、数据网络(Data Network,DN)、接入管理功能(Access Management Function,AMF)、会话管理功能SMF、认证服务功能(Authentication Server Function,AUSF)、策略控制功能(Policy Control Function,PCF)、应用功能(Application Function,AF)、网络切片选择功能(Network SliceSelection Function,NSSF)、统一数据管理(Unified Data Management,UDM)、网络开放功能(Network Exposure Function,NEF)和网络存储功能(NF Repository Function,NRF)。Please refer to FIG. 1 . As shown in FIG. 1 , it is a schematic diagram of an application network service architecture of a data packet transmission method provided by an embodiment of the present application. Among them, Figure 1 shows the interaction relationship between network functions and entities and the corresponding interfaces by taking the network service architecture of the fifth generation (5th generation, 5G) mobile communication system as an example. Among them, the network functions and entities included in the service-based network architecture (service-based architecture, SBA) of the 3rd Generation Partnership Project (the 3rd Generation Partnership Project, 3GPP) of the 5G system mainly include: terminal equipment (Terminal Equipment, TE) , access network (Access Network, AN) or wireless access network (Radio AccessNetwork, RAN), user plane function (User Plane Function, UPF), data network (Data Network, DN), access management function (Access Management Function , AMF), session management function SMF, authentication server function (Authentication Server Function, AUSF), policy control function (Policy Control Function, PCF), application function (Application Function, AF), network slice selection function (Network SliceSelection Function, NSSF ), Unified Data Management (UDM), Network Exposure Function (NEF) and Network Storage Function (NF Repository Function, NRF).

其中,TE、(R)AN、UPF和DN一般被称为用户面网络功能和实体(或者用户面网元),其他的部分则一般被称为控制面网络功能和实体(或者控制面网元)。控制面网元由3GPP定义了在一个网络里的处理功能,控制面网元具有3GPP定义的功能行为和3GPP定义的接口,网络功能能够作为一个运行在专有硬件上的网络元素,或者运行在专有硬件上的软件实例,或者在一个合适平台上进行实例化的虚拟功能,比如在一个云基础设备被实施。Among them, TE, (R)AN, UPF and DN are generally referred to as user plane network functions and entities (or user plane network elements), and other parts are generally referred to as control plane network functions and entities (or control plane network elements). ). The processing function of the control plane network element in a network is defined by 3GPP. The control plane network element has the functional behavior defined by 3GPP and the interface defined by 3GPP. The network function can be used as a network element running on dedicated hardware, or running on the A software instance on dedicated hardware, or a virtual function instantiated on a suitable platform, such as a cloud infrastructure, is implemented.

下面对各个网元的主要功能做具体介绍。The main functions of each network element are described in detail below.

(R)AN:(R)AN可以是AN,也可以是RAN。具体的,(R)AN可以是各种形式的基站,例如:宏基站,微基站,分散单元-控制单元(distribute unit-control unit,DU-CU)等,其中,DU-CU是一种部署在无线接入网中能够和TE进行无线通信的设备。另外,上述基站还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者中继站、接入点、车载设备、可穿戴设备或者未来演进的公共陆地移动网络(public landmobile network,PLMN)网络中的网络设备等。(R)AN主要负责空口侧的无线资源管理、服务质量管理、数据压缩和加密等。需要说明的是,在采用不同的无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同。例如,基站可以是长期演进技术(Long TermEvolution,LTE)中的演进型基站(evolutional NodeB,eNB或e-NodeB),也可以是5G系统中的gNB等。(R)AN: (R)AN can be either AN or RAN. Specifically, (R)AN can be various forms of base stations, such as: macro base stations, micro base stations, distributed unit-control units (distribute unit-control unit, DU-CU), etc., where DU-CU is a deployment A device capable of wireless communication with a TE in a radio access network. In addition, the above-mentioned base station can also be a wireless controller in a cloud radio access network (CRAN) scenario, or a relay station, an access point, a vehicle device, a wearable device, or a future evolved public land mobile network (public landmobile network, PLMN) network equipment in the network, etc. (R)AN is mainly responsible for radio resource management, service quality management, data compression and encryption on the air interface side. It should be noted that, in systems using different radio access technologies, the names of the equipment with the base station function may be different. For example, the base station may be an evolved base station (evolutional NodeB, eNB or e-NodeB) in Long Term Evolution (Long Term Evolution, LTE), or a gNB in a 5G system, etc.

UPF:主要负责用户数据的转发和接收。UPF可以接收来自DN的下行数据,然后通过(R)AN将该下行数据传输给TE。UPF还可以通过(R)AN接收来自TE的收上行数据,然后将该上行数据转发到DN。UPF: It is mainly responsible for the forwarding and receiving of user data. UPF can receive downlink data from DN, and then transmit the downlink data to TE through (R)AN. The UPF can also receive uplink data from the TE through the (R)AN, and then forward the uplink data to the DN.

DN:例如:DN可以是运营商服务网络、互联网接入或第三方服务网络等。DN可以通过PDU会话与TE进行信息交互。其中,PDU会话可以分为多种类型,如互联网协议版本4(Internet Protocol Version 4,IPv4)、IPv6等。DN: For example: DN can be operator service network, Internet access or third-party service network, etc. DN can exchange information with TE through PDU session. Among them, the PDU session can be divided into multiple types, such as Internet Protocol Version 4 (Internet Protocol Version 4, IPv4), IPv6 and so on.

AMF:主要负责控制面消息的处理,例如:接入控制、移动性管理、附着与去附着以及网关选择等。AMF: It is mainly responsible for the processing of control plane messages, such as: access control, mobility management, attachment and detachment, and gateway selection.

SMF:主要用于会话管理,会话建立,TE的IP地址分配和管理等。SMF: mainly used for session management, session establishment, TE IP address allocation and management, etc.

AUSF:主要负责网络安全,用于产生密钥,实现对于TE的双向鉴权等。AUSF: It is mainly responsible for network security, used to generate keys, and realize two-way authentication for TE, etc.

PCF:主要用于管理策略规则,管理用户订阅信息等。PCF: Mainly used to manage policy rules, manage user subscription information, etc.

UDM:主要用于鉴权信用处理,用户标识处理,访问授权,注册/移动性管理,订阅管理和短消息管理等。UDM: mainly used for authentication credit processing, user identification processing, access authorization, registration/mobility management, subscription management and short message management, etc.

NEF:主要用于监控、计费等。NEF: Mainly used for monitoring, billing, etc.

NRF:主要用于提供内部/外部寻址功能等。其中,图1中的NSSF和AF等其他网元的功能,可以参考常规技术中的相关描述,这里不再赘述。NRF: Mainly used to provide internal/external addressing functions, etc. For functions of other network elements such as NSSF and AF in FIG. 1 , reference may be made to related descriptions in conventional technologies, and details are not repeated here.

其中,图1所示的TE和(R)AN之间可以采用空口技术相互通信。如图1所示,N1为TE和AMF之间的参考点,N2为(R)AN和AMF之间的参考点,N3为(R)AN和UPF之间的参考点,N4为SMF和UPF之间的参考点,N6为UPF为DN之间的参考点。图1所示的Namf为AMF提供的基于服务的接口,Nsmf为SMF提供的基于服务的接口,Nausf为AUSF提供的基于服务的接口,Nnssf为NSSF提供的基于服务的接口,Nnef为NEF提供的基于服务的接口,Nnrf为NRF提供的基于服务的接口,Npcf为PCF提供的基于服务的接口,Nudm为UDM提供的基于服务的接口,Naf为AF提供的基于服务的接口。Wherein, the TE and (R)AN shown in FIG. 1 may communicate with each other by using an air interface technology. As shown in Figure 1, N1 is the reference point between TE and AMF, N2 is the reference point between (R)AN and AMF, N3 is the reference point between (R)AN and UPF, and N4 is the reference point between SMF and UPF The reference point between, N6 is the reference point between UPF and DN. Namf shown in Figure 1 is the service-based interface provided by AMF, Nsmf is the service-based interface provided by SMF, Nausf is the service-based interface provided by AUSF, Nnssf is the service-based interface provided by NSSF, Nnef is the service-based interface provided by NEF Service-based interface, Nnrf is the service-based interface provided by NRF, Npcf is the service-based interface provided by PCF, Nudm is the service-based interface provided by UDM, and Naf is the service-based interface provided by AF.

需要说明的是,上述图1仅作为一种网络服务架构示例。本申请实施例中的终端设备可以为图1所示的TE,源基站(即第一基站)和目标基站(即第二基站)可以为图1所示的R(AN)。本申请实施例提供的数据包传输方法还可以应用于其他网络架构。例如,第四代(4th-Generation,4G)移动通信系统的网络架构。或者,申请实施例的数据包传输方法还可以应用于第五代之后发展的其他移动通信系统,本申请实施例对此不作限定。It should be noted that the above FIG. 1 is only used as an example of network service architecture. The terminal device in this embodiment of the present application may be the TE shown in FIG. 1 , and the source base station (ie, the first base station) and the target base station (ie, the second base station) may be the R(AN) shown in FIG. 1 . The data packet transmission method provided in the embodiment of the present application may also be applied to other network architectures. For example, the network architecture of the fourth generation (4th-Generation, 4G) mobile communication system. Alternatively, the data packet transmission method in the embodiment of the application may also be applied to other mobile communication systems developed after the fifth generation, which is not limited in the embodiment of the application.

在本申请实施例中,终端设备可以是上网本、平板电脑、智能手表等。或者,终端设备还可以是其他具有无线电通信功能的桌面型设备、膝上型设备、手持型设备、可穿戴设备、智能家居设备和车载型设备等,例如超级移动个人计算机(Ultra-mobile PersonalComputer,UMPC)、智能相机、上网本、个人数字助理(Personal Digital Assistant,PDA)、便携式多媒体播放器(Portable Multimedia Player,PMP)、AR(增强现实)/VR(虚拟现实)设备、飞行器、机器人等。本申请实施例对终端设备的具体类型和结构等不作限定。In this embodiment of the application, the terminal device may be a netbook, a tablet computer, a smart watch, and the like. Alternatively, the terminal device can also be other desktop devices, laptop devices, handheld devices, wearable devices, smart home devices, and vehicle-mounted devices with radio communication functions, such as Ultra-mobile Personal Computer (Ultra-mobile Personal Computer, UMPC), smart camera, netbook, personal digital assistant (Personal Digital Assistant, PDA), portable multimedia player (Portable Multimedia Player, PMP), AR (augmented reality)/VR (virtual reality) equipment, aircraft, robots, etc. The embodiment of the present application does not limit the specific type and structure of the terminal device.

请参考图2,如图2所示,为本申请实施例提供的一种终端设备的硬件结构示意图。如图2所示,终端设备100可以包括处理器210,存储器(包括外部存储器接口220和内部存储器221),通用串行总线(universal serial bus,USB)接口230,充电管理模块240,电源管理模块241,电池242,天线1,天线2,移动通信模块250,无线通信模块260,音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,传感器模块280,按键290,马达291,指示器292,摄像头293,显示屏294,以及用户标识模块(subscriber identification module,SIM)卡接口295等。其中,传感器模块280可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。Please refer to FIG. 2 . As shown in FIG. 2 , it is a schematic diagram of a hardware structure of a terminal device provided in an embodiment of the present application. As shown in Figure 2, theterminal device 100 may include aprocessor 210, a memory (comprising anexternal memory interface 220 and an internal memory 221), a universal serial bus (universal serial bus, USB) interface 230, acharging management module 240, and apower management module 241, battery 242,antenna 1,antenna 2,mobile communication module 250,wireless communication module 260,audio module 270, speaker 270A, receiver 270B,microphone 270C, earphone jack 270D, sensor module 280, button 290, motor 291, indicator 292, a camera 293, a display screen 294, and a subscriber identification module (subscriber identification module, SIM)card interface 295, etc. Wherein, the sensor module 280 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

可以理解的是,本发明实施例示意的结构并不构成对终端设备100的具体限定。在本申请另一些实施例中,手机200可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that, the structure shown in the embodiment of the present invention does not constitute a specific limitation on theterminal device 100 . In other embodiments of the present application, themobile phone 200 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.

处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。Theprocessor 210 may include one or more processing units, for example: theprocessor 210 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor ( image signal processor (ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.

控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.

处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器210中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。A memory may also be provided in theprocessor 210 for storing instructions and data. In some embodiments, the memory inprocessor 210 is a cache memory. The memory may hold instructions or data that theprocessor 210 has just used or recycled. If theprocessor 210 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of theprocessor 210 is reduced, thereby improving the efficiency of the system.

在一些实施例中,处理器210可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments,processor 210 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or Universal serial bus (universal serial bus, USB) interface, etc.

可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端设备100的结构限定。在本申请另一些实施例中,终端设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of theterminal device 100 . In other embodiments of the present application, theterminal device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.

充电管理模块240用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。电源管理模块241用于连接电池242,充电管理模块240与处理器210。电源管理模块241接收电池242和/或充电管理模块240的输入,为处理器210,内部存储器221,显示屏294,摄像头293,和无线通信模块260等供电。Thecharging management module 240 is configured to receive charging input from the charger. Wherein, the charger may be a wireless charger or a wired charger. Thepower management module 241 is used for connecting the battery 242 , thecharging management module 240 and theprocessor 210 . Thepower management module 241 receives the input from the battery 242 and/or thecharging management module 240 to provide power for theprocessor 210 , the internal memory 221 , the display screen 294 , the camera 293 , and thewireless communication module 260 .

终端设备100的无线通信功能可以通过天线1,天线2,移动通信模块250,无线通信模块260,调制解调处理器以及基带处理器等实现。The wireless communication function of theterminal device 100 may be implemented by theantenna 1, theantenna 2, themobile communication module 250, thewireless communication module 260, a modem processor, a baseband processor, and the like.

天线1和天线2用于发射和接收电磁波信号。终端设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。Antenna 1 andAntenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in theterminal device 100 can be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example:Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.

移动通信模块250可以提供应用在终端设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块250可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(lownoise amplifier,LNA)等。移动通信模块250可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块250还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块250的至少部分功能模块可以被设置于处理器210中。在一些实施例中,移动通信模块250的至少部分功能模块可以与处理器210的至少部分模块被设置在同一个器件中。在本申请实施例中,终端设备100可以通过移动通信模块250与第一基站200和/或第二基站300通信。Themobile communication module 250 can provide wireless communication solutions including 2G/3G/4G/5G applied on theterminal device 100 . Themobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. Themobile communication module 250 can receive electromagnetic waves through theantenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. Themobile communication module 250 can also amplify the signal modulated by the modem processor, convert it into electromagnetic wave and radiate it through theantenna 1 . In some embodiments, at least part of the functional modules of themobile communication module 250 may be set in theprocessor 210 . In some embodiments, at least part of the functional modules of themobile communication module 250 and at least part of the modules of theprocessor 210 may be set in the same device. In this embodiment of the present application, theterminal device 100 may communicate with thefirst base station 200 and/or thesecond base station 300 through themobile communication module 250 .

调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器270A,受话器270B等)输出声音信号,或通过显示屏294显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器210,与移动通信模块250或其他功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. Wherein, the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is passed to the application processor after being processed by the baseband processor. The application processor outputs sound signals through audio equipment (not limited to speaker 270A, receiver 270B, etc.), or displays images or videos through display screen 294 . In some embodiments, the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent of theprocessor 210, and be set in the same device as themobile communication module 250 or other functional modules.

无线通信模块260可以提供应用在终端设备100上的包括无线局域网(wirelesslocal area networks,WLAN)(如Wi-Fi网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块260可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块260经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器210。无线通信模块260还可以从处理器210接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。Thewireless communication module 260 can provide wireless local area network (wireless local area networks, WLAN) (such as Wi-Fi network), Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS) applied on theterminal device 100. , frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. Thewireless communication module 260 may be one or more devices integrating at least one communication processing module. Thewireless communication module 260 receives electromagnetic waves via theantenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to theprocessor 210 . Thewireless communication module 260 can also receive the signal to be sent from theprocessor 210 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through theantenna 2 to radiate out.

在一些实施例中,终端设备100的天线1和移动通信模块250耦合,天线2和无线通信模块260耦合,使得终端设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括长期演进(long term evolution,LTE),新无线(New Radio,NR),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。In some embodiments, theantenna 1 of theterminal device 100 is coupled to themobile communication module 250, and theantenna 2 is coupled to thewireless communication module 260, so that theterminal device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include long term evolution (long term evolution, LTE), new radio (New Radio, NR), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc.

终端设备100通过GPU,显示屏294,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏294和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。Theterminal device 100 implements a display function through a GPU, a display screen 294, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.Processor 210 may include one or more GPUs that execute program instructions to generate or change display information.

显示屏294用于显示图像,视频等。显示屏294包括显示面板。在一些实施例中,终端设备100可以包括1个或N个显示屏294,N为大于1的正整数。The display screen 294 is used to display images, videos and the like. Display 294 includes a display panel. In some embodiments, theterminal device 100 may include 1 or N display screens 294, where N is a positive integer greater than 1.

终端设备100可以通过ISP,摄像头293,视频编解码器,GPU,显示屏294以及应用处理器等实现拍摄功能。ISP用于处理摄像头293反馈的数据。摄像头293用于捕获静态图像或视频。在一些实施例中,终端设备100可以包括1个或N个摄像头293,N为大于1的正整数。数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当终端设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Theterminal device 100 can realize the shooting function through the ISP, the camera 293 , the video codec, the GPU, the display screen 294 and the application processor. The ISP is used for processing the data fed back by the camera 293 . Camera 293 is used to capture still images or video. In some embodiments, theterminal device 100 may include 1 or N cameras 293, where N is a positive integer greater than 1. Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when theterminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.

外部存储器接口220可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端设备100的存储能力。外部存储卡通过外部存储器接口220与处理器210通信,实现数据存储功能。Theexternal memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of theterminal device 100. The external memory card communicates with theprocessor 210 through theexternal memory interface 220 to implement a data storage function.

内部存储器221可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器221可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器221可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器210通过运行存储在内部存储器221的指令,和/或存储在设置于处理器中的存储器的指令,执行终端设备100的各种功能应用以及数据处理。The internal memory 221 may be used to store computer-executable program codes including instructions. The internal memory 221 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data created during the use of the terminal device 100 (such as audio data, phonebook, etc.) and the like. In addition, the internal memory 221 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like. Theprocessor 210 executes various functional applications and data processing of theterminal device 100 by executing instructions stored in the internal memory 221 and/or instructions stored in a memory provided in the processor.

终端设备100可以通过音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,以及应用处理器等实现音频功能。例如,音乐播放,录音等。Theterminal device 100 may implement an audio function through anaudio module 270, a speaker 270A, a receiver 270B, amicrophone 270C, an earphone interface 270D, and an application processor. For example, music playback, recording, etc.

按键290包括开机键,音量键等。按键290可以是机械按键。也可以是触摸式按键。马达291可以产生振动提示。指示器292可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口295用于连接SIM卡。SIM卡可以通过插入SIM卡接口295,或从SIM卡接口295拔出,实现和终端设备100的接触和分离。The keys 290 include a power key, a volume key and the like. The key 290 may be a mechanical key. It can also be a touch button. The motor 291 can generate a vibrating prompt. The indicator 292 can be an indicator light, which can be used to indicate the charging status, the change of the battery capacity, and also can be used to indicate messages, missed calls, notifications and so on. TheSIM card interface 295 is used for connecting a SIM card. The SIM card can be connected and separated from theterminal device 100 by inserting it into theSIM card interface 295 or pulling it out from theSIM card interface 295 .

本申请实施例提供的数据包传输方法均可以在具有如图2所述的硬件结构的终端设备或者具有类似结构的终端设备中实现。All the data packet transmission methods provided in the embodiments of the present application may be implemented in a terminal device having the hardware structure as shown in FIG. 2 or a terminal device having a similar structure.

需要说明的是,本申请实施例可以应用于核心网控制面拉远部署场景下的跨基站切换过程中,或者应用于其他用户面与数据面数据交互耗时较长的场景下,本申请实施例具体的网络部署场景不作限定。It should be noted that the embodiments of this application can be applied to the inter-base station handover process in the remote deployment scenario of the core network control plane, or in other scenarios where the data interaction between the user plane and the data plane takes a long time. The specific network deployment scenarios are not limited.

其中,本申请实施例中的跨基站切换可以是异系统间的跨基站切换。例如,终端设备100由4G LTE系统的第一基站(即源基站)切换至第五代移动通信系统新无线(5th-Generation New Radio,5G NR)系统的第二基站(即目标基站)。Wherein, the cross-base station handover in the embodiment of the present application may be a cross-base station handover between different systems. For example, theterminal device 100 is handed over from the first base station (ie, the source base station) of the 4G LTE system to the second base station (ie, the target base station) of the fifth-generation mobile communication system New Radio (5th-Generation New Radio, 5G NR) system.

或者,跨基站切换还可以是系统内的跨基站切换。例如,终端设备100由4G LTE系统的第一基站(即源基站)到4G LTE系统的第二基站(即目标基站)的切换。其中,S1是基站和服务网关(service gateway,SGW)之间的参考点。终端设备100在4G LTE系统内的跨基站切换可以称为S1切换。又例如,终端设备100由5G NR系统的第一基站(即源基站)到5G NR系统的(即目标基站)第二基站的切换。其中,N2是基站和AMF之间的参考点。终端设备100在5GNR系统内的跨基站切换可以称为N2切换。当然,跨基站切换还可以是其他类型的跨基站切换,本申请实施例对此不作限定。Alternatively, the inter-base station handover may also be an intra-system inter-base station handover. For example, the handover of theterminal device 100 from the first base station (ie, the source base station) of the 4G LTE system to the second base station (ie, the target base station) of the 4G LTE system. Wherein, S1 is a reference point between a base station and a service gateway (service gateway, SGW). The inter-base station handover of theterminal device 100 in the 4G LTE system may be referred to as S1 handover. For another example, the handover of theterminal device 100 from the first base station of the 5G NR system (ie, the source base station) to the second base station of the 5G NR system (ie, the target base station). Among them, N2 is the reference point between the base station and the AMF. The inter-base station handover of theterminal device 100 in the 5G NR system may be referred to as N2 handover. Of course, the inter-base station handover may also be other types of inter-base station handover, which is not limited in this embodiment of the present application.

示例性的,终端设备100跨基站切换可以是由于过大(如服务小区的定时提前(timing advance,TA)大于预设的TA门限、服务小区的上行链路质量在一定时间内的平均值小于预设的上行链路质量门限、服务小区的下行链路质量在一定时间内的平均值小于预设的下行链路质量门限、终端设备100呼叫过程中电平突然下降至预设电平门限以下、终端设备的接收电平大于或等于预设电平门限,但是传输质量低于预设质量门限或者服务小区的系统信令流量大于预设负荷门限等条件触发的。其中,终端设备100跨基站切换的触发条件包括但不限于上述条件,本申请实施例对此不作限定。Exemplarily, the cross-base station handover of theterminal device 100 may be due to too large (for example, the timing advance (timing advance, TA) of the serving cell is greater than the preset TA threshold, the average value of the uplink quality of the serving cell within a certain period of time is less than The preset uplink quality threshold, the average value of the downlink quality of the serving cell within a certain period of time is less than the preset downlink quality threshold, and the level of theterminal device 100 suddenly drops below the preset level threshold during thecall process 1. The receiving level of the terminal device is greater than or equal to the preset level threshold, but the transmission quality is lower than the preset quality threshold or the system signaling traffic of the serving cell is greater than the preset load threshold. Among them, theterminal device 100 cross-base station The trigger conditions for switching include but are not limited to the above conditions, which are not limited in this embodiment of the present application.

为了方便本领域技术人员理解本申请实施例的方法的原理及效果,本申请实施例这里以S1切换为例,对常规技术中终端设备100跨基站切换的流程进行简单介绍。In order to make it easier for those skilled in the art to understand the principle and effect of the method in the embodiment of the present application, the embodiment of the present application takes S1 handover as an example to briefly introduce the process of handover of theterminal device 100 across base stations in the conventional technology.

假设终端设备100驻留在第一基站200管理的小区。终端设备100可接收来自分组数据网络网关(Packet Data Network Gateway,PDN GW)的下行用户面数据。如图3所示,终端设备100从第一基站200切换至第二基站300的切换流程可以包括:(1)切换判决阶段、(2)切换请求阶段、(3)数据包传输状态同步阶段和(4)S1切换后的通信阶段。It is assumed that theterminal device 100 resides in a cell managed by thefirst base station 200 . Theterminal device 100 can receive downlink user plane data from a packet data network gateway (Packet Data Network Gateway, PDN GW). As shown in FIG. 3 , the handover process of theterminal device 100 from thefirst base station 200 to thesecond base station 300 may include: (1) a handover decision stage, (2) a handover request stage, (3) a data packet transmission state synchronization stage, and (4) Communication stage after S1 handover.

其中,(1)切换判决阶段可以包括S301;(2)切换请求阶段可以包括S302-S309a;(3)数据包传输状态同步阶段可以包括S310-S311a/S311b。(4)S1切换后的通信阶段的详细描述可以参考常规技术中,终端设备完成S1切换后的通信流程。Wherein, (1) the handover decision stage may include S301; (2) the handover request stage may include S302-S309a; (3) the data packet transmission state synchronization stage may include S310-S311a/S311b. (4) For the detailed description of the communication stage after the S1 handover, reference may be made to the communication process after the terminal device completes the S1 handover in the conventional technology.

S301、第一基站200决定进行终端设备100基于S1的切换。S301. Thefirst base station 200 decides to perform handover of theterminal device 100 based on S1.

S302、第一基站200向第一移动性管理网元(Mobility management entity,MME)210发送切换请求。S302. Thefirst base station 200 sends a handover request to a first mobility management network element (Mobility management entity, MME) 210.

S303、第一MME 210选定合适的目标MME,向该MME(如第二MME 310)发送前向迁移请求。S303. Thefirst MME 210 selects a suitable target MME, and sends a forward migration request to the MME (such as the second MME 310).

S304a、第二MME 310向第二服务网关(service gateway,SGW)320发送建立会话请求。用于请求第二SGW 320分配用户面通用分组无线业务隧道协议(GPRS TunnelingProtocol User Plane,GTP-U)的地址和隧道端点标识符(Tunnel Endpoint Identifier,TEID)。S304a. Thesecond MME 310 sends a session establishment request to a second service gateway (service gateway, SGW) 320. It is used to request thesecond SGW 320 to allocate an address and a Tunnel Endpoint Identifier (Tunnel Endpoint Identifier, TEID) of a user plane General Packet Radio Service Tunneling Protocol (GPRS Tunneling Protocol User Plane, GTP-U).

S304b、第二SGW 320向第二MME 310发送建立会话响应。其中,该建立会话响应包括第二SGW 320为第二SGW 320分配的GTP-U和对应的TEID。S304b. Thesecond SGW 320 sends a session establishment response to thesecond MME 310. Wherein, the session establishment response includes the GTP-U allocated by thesecond SGW 320 for thesecond SGW 320 and the corresponding TEID.

S305a、第二MME 310向第二基站300发送切换命令。S305a, thesecond MME 310 sends a handover command to thesecond base station 300.

S305b、第二基站300向第二MME 310发送切换命令确认给第二MME 310。S305b. Thesecond base station 300 sends a handover command confirmation to thesecond MME 310 to thesecond MME 310.

S306a、第二MME 310向第二SGW 320发送建立独立数据转发通道请求。S306a. Thesecond MME 310 sends a request to thesecond SGW 320 to establish an independent data forwarding channel.

S306b、第二SGW 320向第二MME 310发送建立独立数据转发通道请求响应。S306b. Thesecond SGW 320 sends a request response to thesecond MME 310 to establish an independent data forwarding channel.

S307、第二MME 310向第一MME 210发送前向迁移请求响应。S307. Thesecond MME 310 sends a forward migration request response to thefirst MME 210.

S308a、第一MME 210向第一SGW 220发送建立独立数据转发通道请求。S308a. Thefirst MME 210 sends a request to thefirst SGW 220 to establish an independent data forwarding channel.

S308b、第一SGW 220向第一MME 210发送建立独立数据转发通道请求响应。S308b. Thefirst SGW 220 sends a request response to thefirst MME 210 to establish an independent data forwarding channel.

S309、第一MME 210向第一基站200发送切换命令(Handover Command)。用于指示建立第一基站200与第二基站300之间的独立数据转发通道。S309. Thefirst MME 210 sends a handover command (Handover Command) to thefirst base station 200. It is used to indicate the establishment of an independent data forwarding channel between thefirst base station 200 and thesecond base station 300 .

S309a、第一基站200向终端设备100发送切换命令。S309a. Thefirst base station 200 sends a switching command to theterminal device 100 .

S310-S310c、第一基站200分别经由第一MME 210和第二MME 310向第二基站300发送演进分组系统承载(Evolved Packet System Bear,EPS bear)的包数据汇聚协议(Packet Data Convergence Protocol,PDCP)数据包传输状态。S310-S310c, thefirst base station 200 sends the packet data convergence protocol (Packet Data Convergence Protocol, PDCP) of the evolved packet system bearer (Evolved Packet System Bear, EPS bear) to thesecond base station 300 via thefirst MME 210 and thesecond MME 310 respectively ) packet transmission status.

S311a/S311b、第一基站200向第二基站200发送直接转发数据。该直接转发数据包括第一基站200缓存的下行数据。S311a/S311b, thefirst base station 200 sends the directly forwarded data to thesecond base station 200 . The directly forwarded data includes downlink data buffered by thefirst base station 200 .

S312、在终端设备100同步至第二基站300后,终端设备100向第二基站发送切换确认(Handover Confirm)消息。S312. After theterminal device 100 is synchronized to thesecond base station 300, theterminal device 100 sends a handover confirmation (Handover Confirm) message to the second base station.

其中,在图3所示的S310-S310c步骤,第一基站200向第二基站300发送的PDCP数据包传输状态用于指示但不限于以下中的至少一种:第一基站200已经向终端设备100发送的最后一个下行数据包的计数值COUNT和第一基站200已经从终端设备100接收的最后一个上行数据包的COUNT。Wherein, in steps S310-S310c shown in FIG. 3 , the PDCP packet transmission status sent by thefirst base station 200 to thesecond base station 300 is used to indicate but not limited to at least one of the following: thefirst base station 200 has sent the terminal device The count value COUNT of the last downlink data packet sent by 100 and the COUNT of the last uplink data packet received by thefirst base station 200 from theterminal device 100 .

其中,COUNT用于数据包的完整性保护和加密。示例性的,在LTE系统中,PDCP层为每一个数据包分配一个长度为32位的数字编号,即COUNT。Among them, COUNT is used for integrity protection and encryption of data packets. Exemplarily, in the LTE system, the PDCP layer assigns each data packet a number with a length of 32 bits, that is, COUNT.

如图4所示,COUNT可以由高位的超帧号(Hyper Frame Number,HFN)和低位的PDCP序列号(Serial Number,SN)两部分组成。其中,PDCP SN的长度由上层配置,例如,PDCPSN的长度可以为5bit、7bit或者12bit。As shown in Figure 4, COUNT can be composed of two parts: a high-order Hyper Frame Number (Hyper Frame Number, HFN) and a low-order PDCP Serial Number (Serial Number, SN). Wherein, the length of the PDCP SN is configured by the upper layer, for example, the length of the PDCP SN can be 5 bits, 7 bits or 12 bits.

通信双方(例如,终端设备100和第二基站300)在数据传输之前可以预先保存相同的HFN,发送端使用COUNT对数据包进行加密后,将该加密后的数据包和该数据包的SN发送给接收端。接收端在解析出数据包的SN之后,可以将该SN与接收端保存的HFN组成COUNT,然后使用该COUNT对数据包进行解密。The communication parties (for example, theterminal device 100 and the second base station 300) can pre-store the same HFN before data transmission, and the sending end uses COUNT to encrypt the data packet, and then sends the encrypted data packet and the SN of the data packet to the receiving end. After the receiving end parses out the SN of the data packet, it can form COUNT with the SN and the HFN saved by the receiving end, and then use the COUNT to decrypt the data packet.

其中,COUNT的长度可以由第二基站300从第一基站200处获取。例如,第二基站300通过如图3所示的S310或者S311a/S311b获取COUNT的长度。或者,第二基站300还可以预先配置上述COUNT的长度,本实施例对此不作限定。Wherein, the length of COUNT may be acquired by thesecond base station 300 from thefirst base station 200 . For example, thesecond base station 300 obtains the length of COUNT through S310 or S311a/S311b as shown in FIG. 3 . Alternatively, thesecond base station 300 may also pre-configure the length of the COUNT, which is not limited in this embodiment.

因此,在终端设备100从第一基站200切换至第二基站300之后,需要确定终端设备100与第二基站300之间待传输的上行数据包的COUNT,用于根据上述COUNT设置接收端的状态机。示例性的,可以将第二基站300接收端状态机的Rx_Deliv和Rx_Next设置为上述COUNT:[HFN,SN]。而要知道终端设备100与第二基站300之间待传输的上行数据包的COUNT,就要确定终端设备100与第一基站200之间的PDCP数据包传输状态。Therefore, after theterminal device 100 is handed over from thefirst base station 200 to thesecond base station 300, it is necessary to determine the COUNT of the uplink data packets to be transmitted between theterminal device 100 and thesecond base station 300, which is used to set the state machine of the receiving end according to the above COUNT . Exemplarily, Rx_Deliv and Rx_Next of the receiving end state machine of thesecond base station 300 may be set to the above-mentioned COUNT: [HFN, SN]. To know the COUNT of uplink data packets to be transmitted between theterminal device 100 and thesecond base station 300 , it is necessary to determine the transmission status of the PDCP data packets between theterminal device 100 and thefirst base station 200 .

但是,可以理解的是,在核心网控制面拉远部署等场景下,由于核心网的控制面网元与用户面网元的距离过远,第一基站200经由第一MME 210和第二MME 310向第二基站300发送PDCP数据包传输状态(如图3所示的S310-S310c)的过程会耗费较长的时间。因此,会造成即使终端设备100成功从第一基站200切换至第二基站300,第二基站300也无法与终端设备100进行数据包传输。或者,会造成第二基站300无法成功接续第一基站200与终端设备100的数据包传输状态,与终端设备100进行数据传输。However, it is understandable that, in scenarios such as remote deployment of the control plane of the core network, because the distance between the network elements of the control plane of the core network and the network elements of the user plane is too far, thefirst base station 200 passes through thefirst MME 210 and the second MME The process of 310 sending the PDCP data packet transmission status (S310-S310c shown in FIG. 3 ) to thesecond base station 300 will take a long time. Therefore, even if theterminal device 100 is handed over from thefirst base station 200 to thesecond base station 300 successfully, thesecond base station 300 cannot perform data packet transmission with theterminal device 100 . Or, it may cause that thesecond base station 300 cannot successfully continue the data packet transmission state between thefirst base station 200 and theterminal device 100 , and perform data transmission with theterminal device 100 .

对于一些场景,例如,数据下载场景或者游戏场景。在终端设备100从第一基站200切换至第二基站300过程中,可能会由于数据包传输状态时延过大,导致第二基站300无法同步第一基站200与终端设备100的数据包的传输状态。从而,可能会导致第二基站300无法成功接续第一基站200与终端设备100的数据包传输状态,与终端设备100进行数据传输。进而,在上述数据下载场景中会出现数据下载中断或者游戏场景中会出现卡顿的问题,影响用户体验。For some scenarios, for example, a data download scenario or a game scenario. During the handover process of theterminal device 100 from thefirst base station 200 to thesecond base station 300, thesecond base station 300 may not be able to synchronize the transmission of the data packets of thefirst base station 200 and theterminal device 100 due to the excessive delay of the data packet transmission state state. Therefore, thesecond base station 300 may not be able to successfully continue the data packet transmission state between thefirst base station 200 and theterminal device 100 and perform data transmission with theterminal device 100 . Furthermore, in the above-mentioned data downloading scenario, there may be a problem of data download interruption or freezing in the game scenario, which affects user experience.

示例性的,如图5A所示,为本申请实施例提供的游戏场景下终端设备100进行跨基站切换时的数据包传输时延示意图。在游戏场景下,由于终端设备100在从第一基站200切换至第二基站300时的PDCP数据包传输状态同步过程的时延较长,导致终端设备100在较长时间内(如图5A中的Δt1和Δt2),数据包的传输时延太大。游戏场景下,终端设备100进行跨基站切换时的PDCP数据包传输状态同步过程的时延示意图。Exemplarily, as shown in FIG. 5A , it is a schematic diagram of a data packet transmission delay when theterminal device 100 performs cross-base station handover in a game scenario provided by the embodiment of the present application. In the game scenario, due to the long time delay of the PDCP packet transmission state synchronization process of theterminal device 100 when switching from thefirst base station 200 to thesecond base station 300, theterminal device 100 will be in a relatively long period of time (as shown in FIG. 5A ). Δt1 and Δt2 ), the transmission delay of the data packet is too large. In a game scenario, a schematic diagram of a time delay of a PDCP data packet transmission state synchronization process when theterminal device 100 performs cross-base station handover.

又如,图5B所示,为本申请实施例提供的数据下载场景下终端设备100进行跨基站切换时的数据包传输时延示意图。如图5B所示,由于终端设备100在从第一基站200切换至第二基站300时的PDCP数据包传输状态同步过程的时延较长,导致终端设备100在较长时间内(如图5B中的Δt3),数据包的传输时延太大。As another example, FIG. 5B is a schematic diagram of a data packet transmission delay when theterminal device 100 performs cross-base station handover in the data download scenario provided by the embodiment of the present application. As shown in FIG. 5B, due to the long time delay of the PDCP packet transmission state synchronization process when theterminal device 100 is handed over from thefirst base station 200 to thesecond base station 300, theterminal device 100 will be in a relatively long period of time (as shown in FIG. 5B ). Δt3 in ), the transmission delay of the data packet is too large.

为了解决上述数据包传输状态传输时延过大的问题,本申请实施例中,可以将用于同步数据包传输状态的信息承载在时延较短的路径上进行传输。这样,可以降低数据包传输状态传输时的时延,保证终端设备切换成功后数据包的接续传输。In order to solve the above-mentioned problem of excessive transmission delay in the transmission state of the data packet, in the embodiment of the present application, the information for synchronizing the transmission state of the data packet may be carried on a path with a short delay for transmission. In this way, the time delay during the transmission of the data packet transmission state can be reduced, and the continuous transmission of the data packet can be ensured after the handover of the terminal device is successful.

实施例1:Example 1:

在该实施例中,第一基站200可以向终端设备100发送用于同步数据包传输状态的信息,由终端设备100向第二基站指示即将接收到的上行数据包的SN,以实现第一基站200与第二基站300的数据包传输状态同步。换言之,上述用于同步数据包传输状态的信息可以通过用户面网元(第一基站200和终端设备100)进行传输,这样可以降低数据包传输状态传输的时延。In this embodiment, thefirst base station 200 may send information for synchronizing data packet transmission status to theterminal device 100, and theterminal device 100 indicates to the second base station the SN of the uplink data packet to be received, so as to realize thefirst base station 200 is synchronized with the data packet transmission state of thesecond base station 300 . In other words, the above information for synchronizing data packet transmission status can be transmitted through user plane network elements (first base station 200 and terminal device 100), which can reduce the delay of data packet transmission status transmission.

以下结合附图,对本申请实施例提供的一种数据包传输方法进行具体阐述。如图6所示,本申请实施例提供的一种数据包传输方法可以包括:A method for transmitting a data packet provided by an embodiment of the present application is described in detail below with reference to the accompanying drawings. As shown in Figure 6, a data packet transmission method provided by the embodiment of the present application may include:

S601、终端设备100确定第一上行数据包的第一COUNT。S601. Theterminal device 100 determines a first COUNT of a first uplink data packet.

在一些实施例中,终端设备100可以通过接收到的来自第一基站200的第二信息确定第一上行数据包的第一COUNT。In some embodiments, theterminal device 100 may determine the first COUNT of the first uplink data packet according to the second information received from thefirst base station 200 .

其中,该第二信息用于指示第三信息,该第三信息包括:第一上行数据包的第一SN或者该第一上行数据包的第二COUNT。第一上行数据包为第一承载上丢失的第一个上行数据包。第一承载为终端设备100从第一基站200切换至第二基站300前与第一基站200间用于数据包传输的无线承载。或者终端设备100从第一基站200切换至第二基站300后与第二基站300间用于数据包传输的无线承载。Wherein, the second information is used to indicate third information, and the third information includes: the first SN of the first uplink data packet or the second COUNT of the first uplink data packet. The first uplink data packet is the first uplink data packet lost on the first bearer. The first bearer is a radio bearer used for data packet transmission between theterminal device 100 and thefirst base station 200 before handover from thefirst base station 200 to thesecond base station 300 . Or, after theterminal device 100 is handed over from thefirst base station 200 to thesecond base station 300 , the radio bearer used for data packet transmission between theterminal device 100 and thesecond base station 300 .

在本申请实施例中,第一上行数据包为第一承载上丢失的第一个上行数据包。可以理解的是,第一承载上丢失的上行数据包是终端设备100将在第一承载上重新发送的下一个上行数据包。In this embodiment of the present application, the first uplink data packet is the first uplink data packet lost on the first bearer. It can be understood that the lost uplink data packet on the first bearer is the next uplink data packet to be resent by theterminal device 100 on the first bearer.

在本申请实施例中,第二信息可以包括:第一基站200从终端设备100已成功接收的所有上行数据包的SN和HFN。例如,第二信息包括:第一基站200从终端设备100已成功接收的数据包的COUNT[1,31]和[1,33]。则说明第一基站200从终端设备100成功接收了的SN分别为31和33的上行数据包,则该第二信息可以指示:第一上行数据包的第一SN为32,或者该第一上行数据包的第二COUNT值为[1,32]。In this embodiment of the present application, the second information may include: SNs and HFNs of all uplink data packets that thefirst base station 200 has successfully received from theterminal device 100 . For example, the second information includes: COUNT [1, 31] and [1, 33] of data packets that thefirst base station 200 has successfully received from theterminal device 100 . It means that thefirst base station 200 has successfully received the uplink data packets whose SNs are 31 and 33 respectively from theterminal device 100, and the second information may indicate: the first SN of the first uplink data packet is 32, or the first uplink data packet The second COUNT value of the data packet is [1, 32].

或者,第二信息可以包括:第一基站200从终端设备100已成功接收的最后一个数据包的COUNT[1,32]。则说明第一基站200从终端设备100成功接收了的SN在32之前的所有上行数据包,则该第二信息可以指示:第一上行数据包的第一SN为32,或者该第一上行数据包的第二COUNT为[1,32]。Alternatively, the second information may include: COUNT [1, 32] of the last data packet that thefirst base station 200 has successfully received from theterminal device 100 . It means that thefirst base station 200 has successfully received from theterminal device 100 all uplink data packets whose SN is before 32, and the second information may indicate: the first SN of the first uplink data packet is 32, or the first uplink data packet The second COUNT of the package is [1, 32].

在一些实施例中,终端设备100可以通过切换命令(Handover Command)从第一基站200接收第二信息。如图7中的S709a所示,该消息为切换命令,其中,该切换命令中携带有第二信息。In some embodiments, theterminal device 100 may receive the second information from thefirst base station 200 through a handover command (Handover Command). As shown in S709a in FIG. 7 , the message is a switching command, where the switching command carries the second information.

进一步的,该切换命令中还可以携带有第二基站300的地址,用于终端设备100根据该第一基站200的地址建立终端设备100与第一基站200之间的无线承载。Further, the handover command may also carry the address of thesecond base station 300 for theterminal device 100 to establish a radio bearer between theterminal device 100 and thefirst base station 200 according to the address of thefirst base station 200 .

在另一些实施例中,如图8中的S810所示,终端设备100还可以单独接收来自第一基站200的PDCP数据包。其中,该PDCP数据包携带有该第二信息。In some other embodiments, as shown in S810 in FIG. 8 , theterminal device 100 may also separately receive the PDCP data packet from thefirst base station 200 . Wherein, the PDCP data packet carries the second information.

如图7中的S710和图8中的S811所示,终端设备100根据第二信息确定第一上行数据包的第一COUNT。示例性的,若第二信息包括:第一基站200从终端设备100已成功接收的数据包的COUNT[1,31]和[1,32],那么终端设备100可以根据该第二信息确定第一承载上丢失的第一个上行数据包为SN为33,HFN为1的上行数据包。As shown in S710 in FIG. 7 and S811 in FIG. 8 , theterminal device 100 determines the first COUNT of the first uplink data packet according to the second information. Exemplarily, if the second information includes: COUNT [1, 31] and [1, 32] of the data packets that thefirst base station 200 has successfully received from theterminal device 100, then theterminal device 100 may determine thefirst base station 200 according to the second information. The first uplink data packet lost on a bearer is an uplink data packet with SN 33 andHFN 1.

其中,在确定数据包的HFN时,需要考虑SN越界的问题。以SN的长度8位为例,若终端设备100发送的第一基站200从终端设备100已成功接收的数据包的COUNT为[2,255],那么第二基站300可以确定第一承载上丢失的第一个上行数据包为SN为0,HFN为3的上行数据包。Wherein, when determining the HFN of the data packet, the problem of SN out of bounds needs to be considered. Taking the 8-bit length of the SN as an example, if the COUNT of the data packets successfully received by thefirst base station 200 from theterminal device 100 sent by theterminal device 100 is [2, 255], then thesecond base station 300 can determine that the first bearer is lost The first uplink data packet is the uplink data packet with SN being 0 and HFN being 3.

在一些实施例中,若第二信息指示第一上行数据包的第一SN。终端设备100可以根据第一SN以及第一SN对应的HFN确定第一COUNT。即第一COUNT为:[第一SN对应的HFN,第一SN]。In some embodiments, if the second information indicates the first SN of the first uplink data packet. Theterminal device 100 may determine the first COUNT according to the first SN and the HFN corresponding to the first SN. That is, the first COUNT is: [HFN corresponding to the first SN, the first SN].

在另一些实施例中,若第二信息指示第一上行数据包的第二COUNT。终端设备100可以确定第二COUNT为第一COUNT。In some other embodiments, if the second information indicates the second COUNT of the first uplink data packet. Theterminal device 100 may determine that the second COUNT is the first COUNT.

需要说明的是,终端设备100还可以根据其是否接收到基站对上行数据包的确认消息,确定第一承载上丢失的第一个上行数据包的第一COUNT。具体的,终端设备100可以将终端设备100未通过第一承载接收到来自第一基站200确认消息的上行数据包的COUNT作为所述第一COUNT。或者,终端设备100可以将终端设备100即将通过第一承载发送的下一个上行数据包的COUNT作为第一COUNT。可以理解的是,终端设备100确定出的第一COUNT用于标识该终端设备100即将在第一承载上向第二基站300发送的上行数据包的SN和HFN。It should be noted that theterminal device 100 may also determine the first COUNT of the first uplink data packet lost on the first bearer according to whether it receives an acknowledgment message for the uplink data packet from the base station. Specifically, theterminal device 100 may use the COUNT of uplink data packets for which theterminal device 100 has not received an acknowledgment message from thefirst base station 200 through the first bearer as the first COUNT. Alternatively, theterminal device 100 may use the COUNT of the next uplink data packet to be sent by theterminal device 100 through the first bearer as the first COUNT. It can be understood that the first COUNT determined by theterminal device 100 is used to identify the SN and HFN of the uplink data packet that theterminal device 100 will send to thesecond base station 300 on the first bearer.

S602、终端设备100向第二基站300发送第一信息。S602. Theterminal device 100 sends the first information to thesecond base station 300.

其中,该第一信息包括第一COUNT,即第一信息包括终端设备100即将在第一承载上向第二基站300发送的上行数据包的SN和HFN。Wherein, the first information includes the first COUNT, that is, the first information includes the SN and HFN of the uplink data packet to be sent by theterminal device 100 to thesecond base station 300 on the first bearer.

在一些实施例中,终端设备100可以将第一信息封装在一个PDCP数据包中发送给第二基站300。In some embodiments, theterminal device 100 may encapsulate the first information in a PDCP data packet and send it to thesecond base station 300 .

示例性的,如图9所示,为本申请实施例提供的一种PDCP数据包格式示意图。如图9所示,D/C用于标识该PDCP数据包类型,若D/C设置为0,则指示该PDCP数据包用于传输控制信息。其中,R为保留位。另外,图9中是以COUNT长度为32为为例的,因此,该PDCP数据包携带有4个长度分别为8位的COUNT。Exemplarily, as shown in FIG. 9 , it is a schematic diagram of a format of a PDCP data packet provided by the embodiment of the present application. As shown in FIG. 9 , D/C is used to identify the type of the PDCP data packet, and if D/C is set to 0, it indicates that the PDCP data packet is used to transmit control information. Among them, R is a reserved bit. In addition, in FIG. 9 , the length of COUNT is 32 as an example. Therefore, the PDCP data packet carries 4 COUNTs each with a length of 8 bits.

在一些实施例中,如图7中的S711所示,终端设备100可以通过切换确认消息向第二基站300发送第一信息。其中,该切换确认消息用于指示终端设备100从第一基站200向第二基站300切换成功,该切换确认消息中携带有PDCP数据包,该PDCP数据包中携带有第一信息。In some embodiments, as shown in S711 in FIG. 7 , theterminal device 100 may send the first information to thesecond base station 300 through a handover confirmation message. Wherein, the handover confirmation message is used to indicate that theterminal device 100 is successfully handed over from thefirst base station 200 to thesecond base station 300, and the handover confirmation message carries a PDCP data packet, and the PDCP data packet carries the first information.

进一步的,该切换确认消息中还可以携带有第一承载的标识。其中,第一承载的标识与PDCP数据包具有对应关系:(第一承载的标识,PDCP数据包)。该第一承载的标识与PDCP数据包的对应关系用于当终端设备100通过多个无线承载向第二基站300发送PDCP数据包时,第二基站300可以根据该对应关系确定传输每个PDCP数据包所使用的无线承载。Further, the handover confirmation message may also carry the identifier of the first bearer. Wherein, the identifier of the first bearer has a corresponding relationship with the PDCP data packet: (identifier of the first bearer, PDCP data packet). The correspondence between the identifier of the first bearer and the PDCP data packet is used for when theterminal device 100 sends a PDCP data packet to thesecond base station 300 through multiple radio bearers, thesecond base station 300 can determine to transmit each PDCP data according to the correspondence The radio bearer used by the packet.

在另一些实施例中,在终端设备100通过切换确认消息向第二基站300发送第一信息时,终端100可以通过切换确认消息中扩展的一个字段携带该第一信息。In some other embodiments, when theterminal device 100 sends the first information to thesecond base station 300 through the handover confirmation message, the terminal 100 may carry the first information through an extended field in the handover confirmation message.

在另一些实施例中,如图8中的S812所示,终端设备100还可以直接向第二基站300发送携带有第一信息PDCP数据包。In some other embodiments, as shown in S812 in FIG. 8 , theterminal device 100 may also directly send the PDCP data packet carrying the first information to thesecond base station 300 .

若终端设备100直接向第二基站300发送携带有第一信息PDCP数据包,在一些实施例中,该PDCP数据包还可以包括类型指示信息。如图9中的PDU类型,该类型指示信息用于指示第二基站300该PDCP数据包中携带有第一信息。If theterminal device 100 directly sends a PDCP data packet carrying the first information to thesecond base station 300, in some embodiments, the PDCP data packet may further include type indication information. As shown in the PDU type in FIG. 9 , the type indication information is used to indicate to thesecond base station 300 that the PDCP data packet carries the first information.

S603、第二基站300根据第一信息确定该第二基站300期望在第一承载上接收的下一个上行数据包的SN和HFN。S603. Thesecond base station 300 determines the SN and HFN of the next uplink data packet that thesecond base station 300 expects to receive on the first bearer according to the first information.

其中,第二基站300期望在第一承载上接收的下一个上行数据包的SN为第一COUNT的SN,第二基站300期望在第一承载上接收的下一个上行数据包的HFN为第一COUNT的HFN。Wherein, thesecond base station 300 expects the SN of the next uplink data packet received on the first bearer to be the SN of the first COUNT, and thesecond base station 300 expects the HFN of the next uplink data packet received on the first bearer to be the first HFN for COUNT.

示例性的,若第一COUNT为[2,33],那么第二基站300期望在第一承载上接收的下一个上行数据包的SN为33,HFN为2。Exemplarily, if the first COUNT is [2, 33], then the SN of the next uplink data packet that thesecond base station 300 expects to receive on the first bearer is 33, and the HFN is 2.

在一些实施例中,如图10A所示,本申请实施例1的数据包传输方法还可以包括:In some embodiments, as shown in FIG. 10A, the data packet transmission method inEmbodiment 1 of the present application may further include:

S604-1、终端设备100确定第四信息。S604-1. Theterminal device 100 determines fourth information.

其中,该第四信息包括第一承载上丢失的第一个下行数据包的SN和HFN。Wherein, the fourth information includes the SN and HFN of the first downlink data packet lost on the first bearer.

在本申请实施例中,终端设备100可以根据其接收到的来自第一基站200的下行数据包以及每个下行数据包的SN和HFN,确定第四信息。In this embodiment of the present application, theterminal device 100 may determine the fourth information according to the downlink data packets it receives from thefirst base station 200 and the SN and HFN of each downlink data packet.

示例性的,终端设备100已成功接收到COUNT为[0,3]、[0,4]、[0,5]和[0,6]的下行数据包。那么,终端设备100可以根据上述信息确定第四信息为[0,7],即第一承载上丢失的第一个下行数据包的COUNT为[0,7]。Exemplarily, theterminal device 100 has successfully received downlink data packets whose COUNTs are [0, 3], [0, 4], [0, 5] and [0, 6]. Then, theterminal device 100 may determine that the fourth information is [0, 7] according to the above information, that is, the COUNT of the first downlink data packet lost on the first bearer is [0, 7].

其中,终端设备100可以同时确定第二信息和第四信息,也可以在确定第二信息之前确定第四信息,还可以在确定第二信息之后确定第四信息(如图10B中的S1012),本申请实施例对此不作限定。Wherein, theterminal device 100 may determine the second information and the fourth information at the same time, or determine the fourth information before determining the second information, or determine the fourth information after determining the second information (as in S1012 in FIG. 10B ), This embodiment of the present application does not limit it.

S605-1、终端设备100向第二基站300发送第四信息。S605-1. Theterminal device 100 sends fourth information to thesecond base station 300.

需要说明的是,第四信息可以与第一信息一起,由终端设备100发送给第二基站300。也可以单独由终端设备100发送给第二基站300。终端设备100也可以在S602之后执行S605-1。或者,终端设备100也可以在S602之前执行S605-1,本申请实施例对此不作限定。It should be noted that, the fourth information may be sent by theterminal device 100 to thesecond base station 300 together with the first information. It may also be sent to thesecond base station 300 by theterminal device 100 alone. Theterminal device 100 may also execute S605-1 after S602. Alternatively, theterminal device 100 may also execute S605-1 before S602, which is not limited in this embodiment of the present application.

在一些实施例中,第四信息可以由终端设备100通过切换确认消息发送给第二基站300。In some embodiments, the fourth information may be sent by theterminal device 100 to thesecond base station 300 through a handover confirmation message.

在另一些实施例中,如图10B中的S1012,第四信息也可以由终端设备100通过直接发送PDCP数据包发送给第二基站300。In some other embodiments, as shown in S1012 in FIG. 10B , the fourth information may also be sent by theterminal device 100 to thesecond base station 300 by directly sending a PDCP data packet.

若第四信息由终端设备100通过直接发送PDCP数据包发送给第二基站300,在一些实施例中,该PDCP数据包还可以携带有类型指示信息。该类型指示信息用于指示第二基站300PDCP数据包中携带有该第四信息。关于该PDCP数据包的结构,可以参考图9所示的PDCP数据包格式示意图,在此不作赘述。If the fourth information is sent by theterminal device 100 to thesecond base station 300 by directly sending a PDCP data packet, in some embodiments, the PDCP data packet may also carry type indication information. The type indication information is used to indicate to thesecond base station 300 that the fourth information is carried in the PDCP data packet. Regarding the structure of the PDCP data packet, reference may be made to the schematic diagram of the format of the PDCP data packet shown in FIG. 9 , which will not be repeated here.

S606-1、第二基站300根据第四信息确定第二基站300向终端设备100发送的下一个下行数据包的SN。S606-1. Thesecond base station 300 determines the SN of the next downlink data packet sent by thesecond base station 300 to theterminal device 100 according to the fourth information.

示例性的,第四信息包括COUNT为[4,7],即第一承载上丢失的第一个下行数据包的COUNT为[4,7]。那么第二基站300可以确定第二基站300向终端设备100发送的下一个下行数据包的SN为7。Exemplarily, the fourth information includes that the COUNT is [4, 7], that is, the COUNT of the first downlink data packet lost on the first bearer is [4, 7]. Then thesecond base station 300 may determine that the SN of the next downlink data packet sent by thesecond base station 300 to theterminal device 100 is 7.

或者,在另一些实施例中,如图11所示,本申请实施例1的数据包传输方法还可以包括:Alternatively, in some other embodiments, as shown in FIG. 11, the data packet transmission method inEmbodiment 1 of the present application may further include:

S604-2、第二基站300接收来自第一基站200的第一消息。S604-2. Thesecond base station 300 receives the first message from thefirst base station 200 .

其中,该第一消息包括缓存在第一基站200中的至少一个第二数据包,以及上述至少一个第二数据包的SN。该第二数据包包括第一基站200已发送给终端设备100,但是未接收到终端设备100的确认消息的数据包。Wherein, the first message includes at least one second data packet buffered in thefirst base station 200, and the SN of the at least one second data packet. The second data packet includes a data packet that has been sent to theterminal device 100 by thefirst base station 200 but has not received an acknowledgment message from theterminal device 100 .

在一些实施例中,该第一消息还包括缓存在第一基站200中的,第一基站200未发送给终端设备100的至少一个下行数据包,和该至少一个下行数据包的SN。In some embodiments, the first message further includes at least one downlink data packet buffered in thefirst base station 200 and not sent to theterminal device 100 by thefirst base station 200, and the SN of the at least one downlink data packet.

S605-2、第二基站300根据第一消息确定第二基站300向终端设备100发送的下一个下行数据包的SN。S605-2. Thesecond base station 300 determines the SN of the next downlink data packet sent by thesecond base station 300 to theterminal device 100 according to the first message.

示例性的,第一消息包括第一基站200已发送给终端设备100,但是未接收到终端设备100的确认消息的数据包的SN 7,以及该SN 7对应的下行数据包。那么第二基站300可以确定第二基站300向终端设备100发送的下一个下行数据包的SN为7。Exemplarily, the first message includes theSN 7 of the data packet that thefirst base station 200 has sent to theterminal device 100 but has not received an acknowledgment message from theterminal device 100, and the downlink data packet corresponding to theSN 7. Then thesecond base station 300 may determine that the SN of the next downlink data packet sent by thesecond base station 300 to theterminal device 100 is 7.

在一些实施例中,若第一基站200发送给终端设备100的每一个下行数据包,均收到了来自终端设备100的确认消息,第二基站300可以确定第二基站300向终端设备100发送的下一个下行数据包为第一基站200未发送给终端设备100的至少一个下行数据包中的第一个数据包。In some embodiments, if every downlink data packet sent by thefirst base station 200 to theterminal device 100 has received an acknowledgment message from theterminal device 100, thesecond base station 300 can determine that thesecond base station 300 sent to theterminal device 100 The next downlink data packet is the first data packet in at least one downlink data packet that is not sent to theterminal device 100 by thefirst base station 200 .

实施例2:Example 2:

在该实施例中,第一基站200可以通过GTP-U隧道将用于同步数据包传输状态的信息发送给第二基站300,用于第二基站300根据该信息实现与终端设备100的数据包传输状态同步。换言之,上述用于同步数据包传输状态的信息可以通过时延小的GTP-U隧道由第一基站200传输给第二基站300,降低了数据包传输状态传输的时延。In this embodiment, thefirst base station 200 can send the information for synchronizing the transmission state of the data packet to thesecond base station 300 through the GTP-U tunnel, so that thesecond base station 300 can communicate with theterminal device 100 according to the information. The transmission status is synchronized. In other words, the above information for synchronizing the transmission state of the data packet can be transmitted from thefirst base station 200 to thesecond base station 300 through the GTP-U tunnel with a small delay, which reduces the time delay of the transmission state of the data packet.

以下结合附图,对本申请实施例提供的一种数据包传输方法进行具体阐述。如图12所示,本申请实施例的数据包传输方法可以包括:A method for transmitting a data packet provided by an embodiment of the present application is described in detail below with reference to the accompanying drawings. As shown in Figure 12, the data packet transmission method of the embodiment of the present application may include:

S1201、第一基站200确定第三信息。S1201. Thefirst base station 200 determines third information.

其中,该第三信息包括第一数据包的COUNT,以及第二数据包的COUNT。该第一数据包是第一基站200在第一承载上还未从终端设备100接收到的第一个数据包。第二数据包是第一基站200在第一承载上将向终端设备100发送的下一数据包.该第一承载是终端设备100与第一基站200间的无线承载。Wherein, the third information includes the COUNT of the first data packet and the COUNT of the second data packet. The first data packet is the first data packet that thefirst base station 200 has not yet received from theterminal device 100 on the first bearer. The second data packet is the next data packet that thefirst base station 200 will send to theterminal device 100 on the first bearer. The first bearer is a radio bearer between theterminal device 100 and thefirst base station 200 .

S1202、第一基站200通过GTP-U隧道向第二基站300发送携带有第三信息的第一消息。S1202. Thefirst base station 200 sends the first message carrying the third information to thesecond base station 300 through the GTP-U tunnel.

在一些实施例中,如图13A中的S1311a所示,第一基站200可以通过第一基站200与第二基站300间的GTP-U隧道向第二基站300发送携带有第三信息的第一消息。In some embodiments, as shown in S1311a in FIG. 13A , thefirst base station 200 may send thefirst base station 200 carrying the third information to thesecond base station 300 through the GTP-U tunnel between thefirst base station 200 and thesecond base station 300. information.

在另一些实施例中,第一基站200还可以依次通过第一基站200与数据网关间的GTP-U隧道,以及数据网关与第二基站300间的GTP-U隧道,向第二基站300发送携带有第三信息的第一消息。In some other embodiments, thefirst base station 200 may also send to thesecond base station 300 sequentially through the GTP-U tunnel between thefirst base station 200 and the data gateway, and the GTP-U tunnel between the data gateway and thesecond base station 300. The first message carrying the third information.

其中,第一基站200与第二基站300可以为同一个数据网关(如数据网关A)服务。在这种情况下,第一基站200可以依次通过第一基站200与该数据网关A之间的GTP-U隧道,以及该数据网关A与第二基站300间的GTP-U隧道,向第二基站300发送携带有第三信息的第一消息。Wherein, thefirst base station 200 and thesecond base station 300 may serve the same data gateway (such as data gateway A). In this case, thefirst base station 200 can pass through the GTP-U tunnel between thefirst base station 200 and the data gateway A, and the GTP-U tunnel between the data gateway A and thesecond base station 300 in sequence, to the second Thebase station 300 sends the first message carrying the third information.

或者,第一基站200与第二基站300可以为不同数据网关服务。例如,第一基站200为第一SGW 220服务,第二基站300为第二SGW 320服务。在这种情况下,如图13B中的S1311b所示,第一基站200可以通过第一基站200与第一SGW 220之间的GTP-U隧道向第一SGW 220发送第一消息,使第一SGW 220通过,第一SGW 220与第二SGW 320之间的GTP-U隧道向第二SGW 320发送第一消息,以及使得第二SGW 320通过第二SGW 320与第二基站300间的GTP-U隧道,向第二基站300发送携带有第三信息的第一消息。Alternatively, thefirst base station 200 and thesecond base station 300 may serve different data gateways. For example, thefirst base station 200 serves thefirst SGW 220, and thesecond base station 300 serves thesecond SGW 320. In this case, as shown in S1311b in Figure 13B, thefirst base station 200 may send a first message to thefirst SGW 220 through the GTP-U tunnel between thefirst base station 200 and thefirst SGW 220, so that thefirst SGW 220 passes, the GTP-U tunnel between thefirst SGW 220 and thesecond SGW 320 sends the first message to thesecond SGW 320, and makes thesecond SGW 320 pass the GTP-U tunnel between thesecond SGW 320 and the second base station 300 U tunnel, sending the first message carrying the third information to thesecond base station 300 .

在一些实施例中,第一基站200可以将第三信息封装在第一消息的GTP-U协议的无线扩展头中发送给第二基站300。示例性的,如图14所示,为本申请实施例提供的一种第一消息的GTP-U协议的无线扩展头编码格式示例图。In some embodiments, thefirst base station 200 may encapsulate the third information in the wireless extension header of the GTP-U protocol of the first message and send it to thesecond base station 300 . Exemplarily, as shown in FIG. 14 , it is an example diagram of the encoding format of the wireless extension header of the GTP-U protocol of the first message provided by the embodiment of the present application.

在一些实施例中,该无线扩展头包括第一指示信息。该第一指示信息用于指示该无线扩展头中包括该第三信息。示例性的,第一指示信息可以根据如图14中所示的PDU类型的值(如图14所示的x)来标识。例如,当该PDU类型的值为10,则指示该无线扩展头中包括该第三信息。其中,图14中的A为为保留位。In some embodiments, the wireless extension header includes first indication information. The first indication information is used to indicate that the wireless extension header includes the third information. Exemplarily, the first indication information may be identified according to the value of the PDU type (x shown in FIG. 14 ) as shown in FIG. 14 . For example, when the value of the PDU type is 10, it indicates that the wireless extension header includes the third information. Wherein, A in FIG. 14 is a reserved bit.

需要说明的是,图14所示的第一消息的GTP-U协议的无线扩展头编码格式只是示例性的,还可以采用其他的编码格式,本实施例对此不作限定。It should be noted that the encoding format of the wireless extension header of the GTP-U protocol of the first message shown in FIG. 14 is only exemplary, and other encoding formats may also be used, which is not limited in this embodiment.

在一些实施例中,第一基站200可以采用S1202的方法向第二基站300发送多个携带有第三信息的第一消息。例如:第一基站200可以采用S1202的方法向第二基站300发送预设数量的携带有第三信息的第一消息。又例如,第一基站200可以采用S1202的方法在预设时间内向第二基站300发送携带有第三信息的第一消息。In some embodiments, thefirst base station 200 may send multiple first messages carrying the third information to thesecond base station 300 by using the method of S1202. For example: thefirst base station 200 may send a preset number of first messages carrying the third information to thesecond base station 300 by using the method of S1202. For another example, thefirst base station 200 may send the first message carrying the third information to thesecond base station 300 within a preset time by using the method of S1202.

S1203、第二基站300根据第三信息确定第二基站300期望在第二承载上从终端设备100接收的下一个上行数据包的COUNT,以及第二基站300在第二承载上将向终端设备100发送的下一个下行数据包的COUNT。S1203. Thesecond base station 300 determines the COUNT of the next uplink data packet that thesecond base station 300 expects to receive from theterminal device 100 on the second bearer according to the third information, and thesecond base station 300 will send the COUNT to theterminal device 100 on the second bearer COUNT of the next downstream packets sent.

其中,第二承载是在终端设备100从第一基站200切换到第二基站300后,终端设备100与第二基站300间建立的无线承载。Wherein, the second bearer is a radio bearer established between theterminal device 100 and thesecond base station 300 after theterminal device 100 is handed over from thefirst base station 200 to thesecond base station 300 .

在一些实施例中,本申请实施例2的数据包传输方法还可以包括:第一基站200通过移动性管理网元向第二基站300发送携带有第三信息的第一消息。其中,该移动性管理网元是终端设备100服务的移动性管理网元。In some embodiments, the data packet transmission method inEmbodiment 2 of the present application may further include: thefirst base station 200 sends the first message carrying the third information to thesecond base station 300 through a mobility management network element. Wherein, the mobility management network element is a mobility management network element served by theterminal device 100 .

在一些实施例中,第一基站200与第二基站300可以为同一个移动性管理网元(如MME 1)服务。在这种情况下,第一基站200可以通过该MME 1向第二基站300发送携带有第三信息的第一消息。In some embodiments, thefirst base station 200 and thesecond base station 300 may serve the same mobility management network element (such as MME 1). In this case, thefirst base station 200 may send the first message carrying the third information to thesecond base station 300 through theMME 1.

在另一些实施例中,第一基站200与第二基站300可以为不同移动性管理网元服务。例如,如图15所示,第一基站200为第一MME 210服务,第二基站300为第二MME 310服务。在这种情况下,如图15中的S1510所示,第一基站200可以依次通过第一MME 210与第二MME310向第二基站300发送携带有第三信息的第一消息。In other embodiments, thefirst base station 200 and thesecond base station 300 may serve different mobility management network elements. For example, as shown in Figure 15, thefirst base station 200 serves thefirst MME 210, and thesecond base station 300 serves thesecond MME 310. In this case, as shown in S1510 in FIG. 15 , thefirst base station 200 may send the first message carrying the third information to thesecond base station 300 through thefirst MME 210 and thesecond MME 310 in sequence.

需要说明的是,图15是以4G LTE网络为例,说明本申请实施例的数据包传输方法。若本申请实施例的数据包传输方法应用于其他网络结构,图15所示的各个网元还可以由其他网元代替。例如,在5G NR网络结构中,第一基站200通过接入管理功能AMF向第二基站300发送携带有第三信息的第一消息。It should be noted that, FIG. 15 takes a 4G LTE network as an example to illustrate the data packet transmission method in the embodiment of the present application. If the data packet transmission method in the embodiment of the present application is applied to other network structures, each network element shown in FIG. 15 may also be replaced by other network elements. For example, in the 5G NR network structure, thefirst base station 200 sends the first message carrying the third information to thesecond base station 300 through the access management function AMF.

在如图15所示的实施例中,若第二基站300先接收到第一基站200在S1510,通过移动性管理网元发送的携带有第三信息的第一消息。第二基站300根据通过移动性管理网元接收到的来自第一基站200的第三信息确定第二基站300期望在第二承载上从终端设备100接收的下一个上行数据包的COUNT,以及第二基站300将通过第二承载向终端设备100发送的下一个下行数据包的COUNT。In the embodiment shown in FIG. 15, if thesecond base station 300 first receives the first message carrying the third information sent by thefirst base station 200 through the mobility management network element at S1510. Thesecond base station 300 determines the COUNT of the next uplink data packet that thesecond base station 300 expects to receive from theterminal device 100 on the second bearer according to the third information received from thefirst base station 200 through the mobility management network element, and the second Thesecond base station 300 sends the COUNT of the next downlink data packet to theterminal device 100 through the second bearer.

若第二基站300先接收到第一基站200通过GTP-U隧道发送的携带有第三信息的第一消息。第二基站300根据通过GTP-U隧道接收到的来自第一基站200的第一信息确定第二基站300期望在第二承载上从终端设备100接收的下一个上行数据包的COUNT,以及第二基站300将通过第二承载向终端设备100发送的下一个下行数据包的COUNT。If thesecond base station 300 first receives the first message carrying the third information sent by thefirst base station 200 through the GTP-U tunnel. Thesecond base station 300 determines the COUNT of the next uplink data packet that thesecond base station 300 expects to receive from theterminal device 100 on the second bearer according to the first information received from thefirst base station 200 through the GTP-U tunnel, and the second Thebase station 300 sends the COUNT of the next downlink data packet to theterminal device 100 through the second bearer.

实施例3:Example 3:

在该实施例中,终端设备100还可以根据其保存的已有信息确定第一承载上丢失的第一个上行数据包的COUNT,并在S1切换完成后,将该上行数据包和该上行数据包的COUNT发送给第二基站300,用于第二基站300根据该COUNT设置接收机的状态机,从而正确接收该上行数据包。In this embodiment, theterminal device 100 can also determine the COUNT of the first uplink data packet lost on the first bearer according to the existing information it has saved, and after the S1 handover is completed, the uplink data packet and the uplink data packet The COUNT of the packet is sent to thesecond base station 300 for thesecond base station 300 to set the state machine of the receiver according to the COUNT, so as to correctly receive the uplink data packet.

相比于如图3所示的现有技术,本申请实施例3无需对现有的协议、消息等作修改。同时可以降低了数据包传输状态同步的时延。Compared with the prior art shown in FIG. 3 ,Embodiment 3 of the present application does not need to modify existing protocols, messages, and the like. At the same time, the time delay of data packet transmission state synchronization can be reduced.

如图16所示,本申请实施例的数据包传输方法可以包括:As shown in Figure 16, the data packet transmission method of the embodiment of the present application may include:

S1601、终端设备100确定第一上行数据包的COUNT。S1601. Theterminal device 100 determines the COUNT of the first uplink data packet.

其中,第一上行数据包为第一承载上丢失的第一个上行数据包。终端设备100可以根据其是否接收到第一基站200对该上行数据包的确认消息,确定第一承载上丢失的第一个上行数据包。Wherein, the first uplink data packet is the first uplink data packet lost on the first bearer. Theterminal device 100 may determine the first uplink data packet lost on the first bearer according to whether it has received an acknowledgment message for the uplink data packet from thefirst base station 200 .

S1602、终端设备100通过PDCP数据包向第二基站300发送第五信息。S1602. Theterminal device 100 sends fifth information to thesecond base station 300 by using a PDCP data packet.

其中,该第五信息包括第一承载上丢失的第一个上行数据包,以及该上行数据包的COUNT。Wherein, the fifth information includes the first uplink data packet lost on the first bearer, and the COUNT of the uplink data packet.

需要说明的是,第一承载上丢失的第一个上行数据包可以与该上行数据包的COUNT分开发送给第二基站300,也可以一起发送给第二基站300。本申请实施例对此不作限定。It should be noted that the first uplink data packet lost on the first bearer may be sent to thesecond base station 300 separately from the COUNT of the uplink data packet, or may be sent to thesecond base station 300 together. This embodiment of the present application does not limit it.

S1603、第二基站300根据第五信息解析第一上行数据包。S1603. Thesecond base station 300 parses the first uplink data packet according to the fifth information.

其中,第二基站300根据第五信息解析第一上行数据包,可以包括:Wherein, thesecond base station 300 parses the first uplink data packet according to the fifth information, which may include:

第二基站300将接收机的状态机设置为第一上行数据包的COUNT。然后,第二基站300根据该COUNT解析接收到的该第一上行数据包。Thesecond base station 300 sets the state machine of the receiver to the COUNT of the first uplink data packet. Then, thesecond base station 300 parses the received first uplink data packet according to the COUNT.

可以理解的是,终端设备为了实现上述任一个实施例的功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the functions of any one of the foregoing embodiments, the terminal device includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

本申请实施例可以对终端设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiment of the present application, the terminal device may be divided into functional modules. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.

比如,以采用集成的方式划分各个功能模块的情况下,如图17所示,为本申请实施例提供的一种终端设备的结构示意图。该终端设备100可以包括分析单元1710、发送单元1720和接收单元1730。For example, in the case of dividing each functional module in an integrated manner, as shown in FIG. 17 , it is a schematic structural diagram of a terminal device provided in an embodiment of the present application. Theterminal device 100 may include an analyzing unit 1710 , a sending unit 1720 and a receiving unit 1730 .

其中,分析单元1710用于支持终端设备执行上述步骤S601、S710、S811、S604-1、S1011、S1201和S1601,和/或用于本文所描述的技术的其他过程。发送单元1720用于支持终端设备执行上述步骤S602、S711、S812、S605-1、S1012和,S1602和/或用于本文所描述的技术的其他过程。接收单元1730用于支持终端设备执行上述步骤S709a和S810,和/或用于本文所描述的技术的其他过程。Wherein, the analysis unit 1710 is used to support the terminal device to execute the above steps S601, S710, S811, S604-1, S1011, S1201 and S1601, and/or other processes for the technologies described herein. The sending unit 1720 is configured to support the terminal device to execute the above steps S602, S711, S812, S605-1, S1012, and S1602 and/or other processes for the technologies described herein. The receiving unit 1730 is configured to support the terminal device to perform the above steps S709a and S810, and/or other processes for the technologies described herein.

需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。It should be noted that all relevant content of the steps involved in the above method embodiments can be referred to the function description of the corresponding function module, and will not be repeated here.

需要说明的是,上述发送单元1720和接收单元1730可以包括射频电路。具体的,终端设备可以通过射频电路进行无线信号的接收和发送。通常,射频电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频电路还可以通过无线通信和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。It should be noted that, the above-mentioned sending unit 1720 and receiving unit 1730 may include radio frequency circuits. Specifically, the terminal device can receive and send wireless signals through a radio frequency circuit. Typically, radio frequency circuitry includes, but is not limited to, an antenna, at least one amplifier, transceiver, coupler, low noise amplifier, duplexer, and the like. In addition, radio frequency circuits can also communicate with other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile Communications, General Packet Radio Service, Code Division Multiple Access, Wideband Code Division Multiple Access, Long Term Evolution, Email, Short Message Service, etc.

在一种可选的方式中,当使用软件实现数据传输时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地实现本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In an optional manner, when software is used to implement data transmission, it may be implemented in whole or in part in the form of computer program products. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are realized in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)).

结合本申请实施例所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于探测装置中。当然,处理器和存储介质也可以作为分立组件存在于探测装置中。The steps of the methods or algorithms described in conjunction with the embodiments of the present application may be implemented in hardware, or may be implemented in a manner in which a processor executes software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage known in the art medium. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and storage medium can be located in the ASIC. Alternatively, the ASIC may be located in the detection device. Of course, the processor and the storage medium can also exist in the detection device as discrete components.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的用户设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed user equipment and method may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the protection scope of the application is not limited thereto, and any changes or replacements within the technical scope disclosed in the application should be covered within the protection scope of the application . Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (34)

Translated fromChinese
1.一种数据包传输方法,其特征在于,应用于终端设备从第一基站切换至第二基站的过程中,所述方法包括:1. A data packet transmission method, characterized in that it is applied in the process of handing over a terminal device from a first base station to a second base station, the method comprising:所述终端设备确定第一上行数据包的第一计数值;所述第一上行数据包为第一承载上丢失的第一个上行数据包;其中,所述第一承载为所述终端设备从所述第一基站切换至所述第二基站前与所述第一基站之间的无线承载,或者所述终端设备从所述第一基站切换至所述第二基站后与所述第二基站之间的无线承载;The terminal device determines a first count value of the first uplink data packet; the first uplink data packet is the first uplink data packet lost on the first bearer; wherein, the first bearer is the The radio bearer between the first base station and the first base station before the handover from the first base station to the second base station, or the communication between the terminal device and the second base station after handover from the first base station to the second base station radio bearer between所述终端设备向所述第二基站发送第一信息,所述第一信息包括所述第一计数值,所述第一信息用于所述第二基站确定所述第二基站期望在所述第一承载上接收的下一个上行数据包的序列号和超帧号。The terminal device sends first information to the second base station, where the first information includes the first count value, and the first information is used by the second base station to determine that the second base station expects to be in the The sequence number and superframe number of the next uplink data packet received on the first bearer.2.根据权利要求1所述的方法,其特征在于,所述终端设备确定第一上行数据包的第一计数值,包括:2. The method according to claim 1, wherein the terminal device determines the first count value of the first uplink data packet, comprising:所述终端设备接收来自所述第一基站的第二信息,所述第二信息用于指示第三信息,所述第三信息包括:所述第一上行数据包的第一序列号或者所述第一上行数据包的第二计数值;The terminal device receives second information from the first base station, the second information is used to indicate third information, and the third information includes: the first sequence number of the first uplink data packet or the the second count value of the first uplink data packet;所述终端设备根据所述第二信息确定所述第一计数值。The terminal device determines the first count value according to the second information.3.根据权利要求1或2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 1 or 2, characterized in that the method further comprises:所述终端设备向所述第二基站发送第四信息,所述第四信息包括所述第一承载上丢失的第一个下行数据包的序列号和超帧号。The terminal device sends fourth information to the second base station, where the fourth information includes a sequence number and a superframe number of the first downlink data packet lost on the first bearer.4.根据权利要求1或2所述的方法,其特征在于,所述终端设备向所述第二基站发送第一信息,包括:4. The method according to claim 1 or 2, wherein the terminal device sends the first information to the second base station, comprising:所述终端设备向所述第二基站发送切换确认消息,所述切换确认消息携带有所述第一信息。The terminal device sends a handover confirmation message to the second base station, where the handover confirmation message carries the first information.5.根据权利要求1或2所述的方法,其特征在于,所述终端设备向所述第二基站发送第一信息,包括:5. The method according to claim 1 or 2, wherein the terminal device sends the first information to the second base station, comprising:所述终端设备向所述第二基站发送包数据汇聚协议PDCP数据包,所述PDCP数据包携带有所述第一信息。The terminal device sends a Packet Data Convergence Protocol PDCP data packet to the second base station, where the PDCP data packet carries the first information.6.根据权利要求5所述的方法,其特征在于,所述PDCP数据包携带有类型指示信息,所述类型指示信息用于指示所述PDCP数据包中携带有所述第一信息。6. The method according to claim 5, wherein the PDCP data packet carries type indication information, and the type indication information is used to indicate that the PDCP data packet carries the first information.7.一种数据包传输方法,其特征在于,应用于终端设备从第一基站切换至第二基站的过程中,所述方法包括:7. A data packet transmission method, characterized in that it is applied in the process of handing over a terminal device from a first base station to a second base station, the method comprising:所述第二基站接收来自所述终端设备的第一信息,所述第一信息包括第一上行数据包的第一计数值;所述第一上行数据包为第一承载上丢失的第一个上行数据包;其中,所述第一承载为所述终端设备从所述第一基站切换至所述第二基站前与所述第一基站之间的无线承载,或者所述终端设备从所述第一基站切换至所述第二基站后与所述第二基站之间的无线承载;The second base station receives first information from the terminal device, where the first information includes a first count value of a first uplink data packet; the first uplink data packet is the first one lost on the first bearer An uplink data packet; wherein, the first bearer is a radio bearer between the terminal device and the first base station before switching from the first base station to the second base station, or the terminal device transfers from the a radio bearer between the first base station and the second base station after switching to the second base station;所述第二基站根据所述第一信息确定所述第二基站期望在所述第一承载上接收的下一个上行数据包的序列号和超帧号。The second base station determines, according to the first information, the sequence number and the superframe number of the next uplink data packet that the second base station expects to receive on the first bearer.8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, further comprising:所述第二基站接收来自所述终端设备的第二序列号和所述第二序列号对应的超帧号,所述第二序列号是所述终端设备丢失的第一个下行数据包的序列号;The second base station receives a second sequence number from the terminal device and a superframe number corresponding to the second sequence number, and the second sequence number is a sequence of the first downlink data packet lost by the terminal device Number;所述第二基站根据所述第二序列号和所述第二序列号对应的超帧号确定所述第二基站向所述终端设备发送的下一个下行数据包的序列号和超帧号。The second base station determines the sequence number and superframe number of the next downlink data packet sent by the second base station to the terminal device according to the second sequence number and the superframe number corresponding to the second sequence number.9.根据权利要求8所述的方法,其特征在于,所述方法还包括:9. The method of claim 8, further comprising:所述第二基站接收来自所述第一基站的第一消息,所述第一消息包括缓存在所述第一基站中的至少一个第二数据包;receiving a first message from the first base station by the second base station, the first message including at least one second data packet buffered in the first base station;其中,所述第二数据包包括所述第一基站已发送给所述终端设备,但是未接收到所述终端设备的确认消息的数据包,所述第一消息还包括所述至少一个第二数据包的序列号;Wherein, the second data packet includes a data packet that the first base station has sent to the terminal device but has not received an acknowledgment message from the terminal device, and the first message also includes the at least one second the sequence number of the packet;所述第二基站根据所述至少一个第二数据包的序列号确定所述第二基站向所述终端设备发送的下一个下行数据包的序列号。The second base station determines the sequence number of the next downlink data packet sent by the second base station to the terminal device according to the sequence number of the at least one second data packet.10.一种数据包传输方法,其特征在于,应用于第一系统中终端设备从第一基站切换至第二基站的过程中,所述第一系统包括所述终端设备、所述第一基站和所述第二基站,所述方法包括:10. A data packet transmission method, characterized in that it is applied in the process of switching a terminal device from a first base station to a second base station in a first system, the first system comprising the terminal device, the first base station With the second base station, the method includes:所述终端设备确定第一上行数据包的第一计数值;所述第一上行数据包为第一承载上丢失的第一个上行数据包;其中,所述第一承载为所述终端设备从所述第一基站切换至所述第二基站前与所述第一基站之间的无线承载,或者所述终端设备从所述第一基站切换至所述第二基站后与所述第二基站之间的无线承载;The terminal device determines a first count value of the first uplink data packet; the first uplink data packet is the first uplink data packet lost on the first bearer; wherein, the first bearer is the The radio bearer between the first base station and the first base station before the handover from the first base station to the second base station, or the communication between the terminal device and the second base station after handover from the first base station to the second base station radio bearer between所述终端设备向所述第二基站发送第一信息,所述第一信息包括所述第一计数值;sending, by the terminal device, first information to the second base station, where the first information includes the first count value;所述第二基站接收来自所述终端设备的第一信息;The second base station receives first information from the terminal device;所述第二基站根据所述第一信息确定所述第二基站期望在所述第一承载上接收的下一个上行数据包的序列号序列号和超帧号。The second base station determines, according to the first information, the sequence number and the superframe number of the next uplink data packet that the second base station expects to receive on the first bearer.11.根据权利要求10所述的方法,其特征在于,所述方法还包括:11. The method of claim 10, further comprising:所述第一基站向所述终端设备发送第二信息,所述第二信息用于指示第三信息,所述第三信息包括:所述第一上行数据包的第一序列号或者所述第一上行数据包的第二计数值;The first base station sends second information to the terminal device, where the second information is used to indicate third information, and the third information includes: the first sequence number of the first uplink data packet or the first sequence number of the first uplink data packet A second count value of an uplink data packet;所述终端设备确定第一上行数据包的第一计数值,包括:The terminal device determines the first count value of the first uplink data packet, including:所述终端设备根据所述第二信息确定所述第一计数值。The terminal device determines the first count value according to the second information.12.根据权利要求11所述的方法,其特征在于,所述第三信息包括所述第一上行数据包的第一序列号,所述终端设备根据所述第二信息确定所述第一计数值,包括:所述终端设备根据所述第一序列号以及和所述第一序列号对应的超帧号确定所述第一计数值;或者,12. The method according to claim 11, wherein the third information includes a first sequence number of the first uplink data packet, and the terminal device determines the first count according to the second information The value includes: the terminal device determines the first count value according to the first sequence number and the superframe number corresponding to the first sequence number; or,所述第三信息包括所述第一上行数据包的第二计数值,所述终端设备根据所述第二信息确定所述第一计数值,包括:所述终端设备确定所述第二计数值为所述第一计数值。The third information includes a second count value of the first uplink data packet, and the terminal device determining the first count value according to the second information includes: the terminal device determining the second count value is the first count value.13.根据权利要求10所述的方法,其特征在于,所述终端设备确定第一上行数据包的第一计数值,包括:13. The method according to claim 10, wherein the terminal device determines the first count value of the first uplink data packet, comprising:所述终端设备将所述终端设备未通过所述第一承载接收到来自所述第一基站确认消息的上行数据包的计数值作为所述第一计数值;The terminal device uses the count value of the uplink data packet that the terminal device has not received from the first base station acknowledgment message through the first bearer as the first count value;或者,所述终端设备将所述终端设备即将通过所述第一承载待发送的下一个上行数据包的计数值作为所述第一计数值。Or, the terminal device uses the count value of the next uplink data packet to be sent by the terminal device through the first bearer as the first count value.14.根据权利要求10-13任一项所述的方法,其特征在于,所述方法还包括:14. The method according to any one of claims 10-13, further comprising:所述终端设备向所述第二基站发送第四信息,所述第四信息包括第二序列号和所述第二序列号对应的超帧号,所述第二序列号是所述终端设备丢失的第一个下行数据包的序列号;The terminal device sends fourth information to the second base station, where the fourth information includes a second sequence number and a superframe number corresponding to the second sequence number, and the second sequence number is the terminal device lost The sequence number of the first downlink data packet of ;所述第二基站根据所述第二序列号和所述第二序列号对应的超帧号确定所述第二基站向所述终端设备发送的下一个下行数据包的序列号和超帧号。The second base station determines the sequence number and superframe number of the next downlink data packet sent by the second base station to the terminal device according to the second sequence number and the superframe number corresponding to the second sequence number.15.根据权利要求10-13任一项所述的方法,其特征在于,所述终端设备向所述第二基站发送第一信息,包括:15. The method according to any one of claims 10-13, wherein the terminal device sends the first information to the second base station, comprising:所述终端设备向所述第二基站发送切换确认消息,所述切换确认消息携带有所述第一信息。The terminal device sends a handover confirmation message to the second base station, where the handover confirmation message carries the first information.16.根据权利要求10-13任一项所述的方法,其特征在于,所述终端设备向所述第二基站发送第一信息,包括:16. The method according to any one of claims 10-13, wherein the terminal device sends the first information to the second base station, comprising:所述终端设备向所述第二基站发送包数据汇聚协议PDCP数据包,所述PDCP数据包携带有所述第一信息。The terminal device sends a Packet Data Convergence Protocol PDCP data packet to the second base station, where the PDCP data packet carries the first information.17.根据权利要求14所述的方法,其特征在于,所述方法还包括:17. The method of claim 14, further comprising:所述第一基站向所述第二基站发送第一消息,所述第一消息包括缓存在所述第一基站中的至少一个第二数据包;所述第二数据包括所述第一基站已发送给所述终端设备,但是未接收到所述终端设备的确认消息的数据包,所述第一消息还包括所述至少一个第二数据包的序列号;The first base station sends a first message to the second base station, where the first message includes at least one second data packet buffered in the first base station; the second data includes A data packet that is sent to the terminal device but does not receive an acknowledgment message from the terminal device, the first message further includes the sequence number of the at least one second data packet;所述第二基站根据所述至少一个第二数据包的序列号确定所述第二基站向所述终端设备发送的下一个下行数据包的序列号。The second base station determines the sequence number of the next downlink data packet sent by the second base station to the terminal device according to the sequence number of the at least one second data packet.18.一种终端设备,其特征在于,所述终端设备包括:18. A terminal device, characterized in that the terminal device comprises:存储器,用于存储计算机程序代码,所述计算机程序代码包括指令;memory for storing computer program code, said computer program code including instructions;射频电路,用于进行无线信号的发送和接收;A radio frequency circuit for transmitting and receiving wireless signals;处理器,用于执行所述指令,使得所述终端设备执行如权利要求1-6任一项所述的数据包传输方法。A processor, configured to execute the instructions, so that the terminal device executes the data packet transmission method according to any one of claims 1-6.19.一种基站,其特征在于,所述基站包括:19. A base station, characterized in that the base station comprises:存储器,用于存储计算机程序代码,所述计算机程序代码包括指令;memory for storing computer program code, said computer program code including instructions;射频电路,用于进行无线信号的发送和接收;A radio frequency circuit for transmitting and receiving wireless signals;处理器,用于执行所述指令,使得所述基站执行如权利要求7-9任一项所述的数据包传输方法。A processor, configured to execute the instructions, so that the base station executes the data packet transmission method according to any one of claims 7-9.20.一种通信系统,其特征在于,所述通信系统包括:终端设备、第一基站和第二基站;所述终端设备、所述第一基站和所述第二基站用于执行如权利要求10-17任一项所述的数据包传输方法。20. A communication system, characterized in that, the communication system comprises: a terminal device, a first base station, and a second base station; the terminal device, the first base station, and the second base station are used to perform the The data packet transmission method described in any one of 10-17.21.一种数据包传输的方法,其特征在于,应用于终端设备从第一基站切换至第二基站的过程中,所述方法包括:21. A method for data packet transmission, characterized in that it is applied in the process of switching terminal equipment from a first base station to a second base station, the method comprising:所述第一基站确定第三信息,所述第三信息包括第一数据包的计数值,以及第二数据包的计数值,所述第一数据包是所述第一基站期望通过第一承载从所述终端设备接收的下一个上行数据包,所述第二数据包是所述第一基站即将通过所述第一承载向所述终端设备发送的下一个下行数据包,所述第一承载是所述终端设备与所述第一基站之间的无线承载;The first base station determines third information, the third information includes a count value of a first data packet, and a count value of a second data packet, and the first data packet is the The next uplink data packet received from the terminal device, the second data packet is the next downlink data packet to be sent by the first base station to the terminal device through the first bearer, and the first bearer is a radio bearer between the terminal device and the first base station;所述第一基站通过用户面通用分组无线业务隧道协议GTP-U隧道向所述第二基站发送第一消息,所述第一消息携带有所述第三信息。The first base station sends a first message to the second base station through a user plane General Packet Radio Service Tunneling Protocol GTP-U tunnel, where the first message carries the third information.22.根据权利要求21所述的方法,其特征在于,所述第一基站通过用户面通用分组无线业务隧道协议GTP-U隧道向所述第二基站发送第一消息,包括:22. The method according to claim 21, wherein the first base station sends the first message to the second base station through a user plane General Packet Radio Service Tunneling Protocol GTP-U tunnel, comprising:所述第一基站通过所述第一基站与所述第二基站之间的GTP-U隧道向所述第二基站发送所述第一消息;sending the first message to the second base station by the first base station through a GTP-U tunnel between the first base station and the second base station;或者,所述第一基站通过所述第一基站与数据网关之间的GTP-U隧道向所述数据网关发送所述第一消息,使得所述数据网关通过所述数据网关与所述第二基站之间的GTP-U隧道,向所述第二基站发送所述第一消息。Or, the first base station sends the first message to the data gateway through the GTP-U tunnel between the first base station and the data gateway, so that the data gateway communicates with the second A GTP-U tunnel between base stations, sending the first message to the second base station.23.根据权利要求21或22所述的方法,其特征在于,所述第一基站通过所述GTP-U隧道向所述第二基站发送多个所述第一消息。23. The method according to claim 21 or 22, wherein the first base station sends multiple first messages to the second base station through the GTP-U tunnel.24.根据权利要求21或22所述的方法,其特征在于,所述方法还包括:24. The method according to claim 21 or 22, further comprising:所述第一基站通过移动性管理网元向所述第二基站发送所述第一消息,所述移动性管理网元是所述终端设备服务的移动性管理网元。The first base station sends the first message to the second base station through a mobility management network element, where the mobility management network element is a mobility management network element serving the terminal device.25.一种数据包传输的方法,其特征在于,应用于终端设备从第一基站切换至第二基站的过程中,所述方法包括:25. A method for data packet transmission, characterized in that it is applied in the process of switching terminal equipment from a first base station to a second base station, the method comprising:所述第二基站通过用户面通用分组无线业务隧道协议GTP-U隧道接收来自所述第一基站的第一消息,所述第一消息包括第三信息,所述第三信息包括第一数据包的计数值,以及第二数据包的计数值,所述第一数据包是所述第一基站期望通过第一承载从终端设备接收的下一个上行数据包,所述第二数据包是所述第一基站即将通过所述第一承载向所述终端设备发送的下一个下行数据包,所述第一承载是所述终端设备与所述第一基站之间的无线承载;The second base station receives a first message from the first base station through a user plane General Packet Radio Service Tunneling Protocol GTP-U tunnel, the first message includes third information, and the third information includes a first data packet and the count value of the second data packet, the first data packet is the next uplink data packet that the first base station expects to receive from the terminal device through the first bearer, and the second data packet is the The first base station is about to send the next downlink data packet to the terminal device through the first bearer, where the first bearer is a radio bearer between the terminal device and the first base station;所述第二基站根据所述第三信息确定所述第二基站期望通过第二承载上从所述终端设备接收的下一个上行数据包的计数值,以及所述第二基站即将通过所述第二承载向所述终端设备发送的下一个下行数据包的计数值;所述第二承载是在所述终端设备从所述第一基站切换到所述第二基站后,所述终端设备与所述第二基站之间建立的与所述第一承载对应的无线承载。The second base station determines, according to the third information, the count value of the next uplink data packet that the second base station expects to receive from the terminal device on the second bearer, and the second base station is about to pass through the first The second bearer is the count value of the next downlink data packet sent to the terminal device; the second bearer is after the terminal device switches from the first base station to the second base station, the terminal device and the A radio bearer corresponding to the first bearer established between the second base stations.26.根据权利要求25所述的方法,其特征在于,所述第二基站从用户面通用分组无线业务隧道协议GTP-U隧道上接收来自所述第一基站的第一消息,包括:26. The method according to claim 25, wherein the second base station receives the first message from the first base station from a user plane General Packet Radio Service Tunneling Protocol GTP-U tunnel, comprising:所述第二基站通过所述第一基站与所述第二基站之间的直接GTP-U隧道接收来自所述第一基站的所述第一消息;或者,the second base station receives the first message from the first base station through a direct GTP-U tunnel between the first base station and the second base station; or,所述第二基站通过所述第二基站与网关设备之间的GTP-U隧道接收所述第一消息;所述第一消息通过所述第一基站与所述网关设备之间的GTP-U隧道,从所述第一基站传输至所述网关设备。The second base station receives the first message through the GTP-U tunnel between the second base station and the gateway device; the first message passes through the GTP-U tunnel between the first base station and the gateway device A tunnel, for transmitting from the first base station to the gateway device.27.根据权利要求25或26所述的方法,其特征在于,所述第三信息封装在所述第一消息的GTP-U协议的无线扩展头中。27. The method according to claim 25 or 26, wherein the third information is encapsulated in a wireless extension header of the GTP-U protocol of the first message.28.根据权利要求27所述的方法,其特征在于,所述无线扩展头中还包括第一指示信息,所述第一指示信息用于指示所述无线扩展头中包括所述第三信息。28. The method according to claim 27, wherein the wireless extension header further includes first indication information, and the first indication information is used to indicate that the wireless extension header includes the third information.29.根据权利要求25或26所述的方法,其特征在于,所述方法还包括:29. The method according to claim 25 or 26, further comprising:所述第二基站从移动性管理网元接收所述第一消息,所述移动性管理网元是所述终端设备服务的移动性管理网元。The second base station receives the first message from a mobility management network element, where the mobility management network element is a mobility management network element served by the terminal device.30.根据权利要求25或26或28所述的方法,其特征在于,所述方法还包括:30. The method according to claim 25 or 26 or 28, further comprising:所述第二基站从所述第一基站接收到第一个所述第一消息后,所述第二基站丢弃在第一个所述第一消息之后,所述第二基站接收到的第一消息。After the second base station receives the first first message from the first base station, the second base station discards the first message received by the second base station after the first first message. information.31.根据权利要求25或26或28所述的方法,其特征在于,所述方法还包括:31. The method according to claim 25 or 26 or 28, further comprising:所述第二基站从所述第一基站接收到第一个所述第一消息后,所述第二基站丢弃在第一个所述第一消息之后,所述第二基站接收到的第一消息。After the second base station receives the first first message from the first base station, the second base station discards the first message received by the second base station after the first first message. information.32.一种基站,其特征在于,所述基站包括:32. A base station, characterized in that the base station comprises:存储器,用于存储计算机程序代码,所述计算机程序代码包括指令;memory for storing computer program code, said computer program code including instructions;射频电路,用于进行无线信号的发送和接收;A radio frequency circuit for transmitting and receiving wireless signals;处理器,用于执行所述指令,使得所述基站执行如权利要求25-30任一项所述的数据包传输方法。A processor, configured to execute the instructions, so that the base station executes the data packet transmission method according to any one of claims 25-30.33.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机执行指令,所述计算机执行指令被处理电路执行时实现如权利要求1-6、7-9、10-17、21-24或25-30任一项所述的数据包传输方法。33. A computer-readable storage medium, characterized in that computer-executable instructions are stored on the computer-readable storage medium, and when the computer-executable instructions are executed by a processing circuit, the claims 1-6, 7-9, The data packet transmission method described in any one of 10-17, 21-24 or 25-30.34.一种芯片系统,其特征在于,包括:所述芯片系统包括处理电路、存储介质,所述存储介质中存储有指令;所述指令被所述处理电路执行时,实现如权利要求1-6、7-9、10-17、21-24或25-30任一项所述的数据包传输方法。34. A chip system, characterized by comprising: the chip system includes a processing circuit and a storage medium, and instructions are stored in the storage medium; when the instructions are executed by the processing circuit, the implementation of claim 1- 6. The data packet transmission method described in any one of 7-9, 10-17, 21-24 or 25-30.
CN201910755163.3A2019-08-152019-08-15Data packet transmission method, terminal equipment and network equipmentActiveCN112399476B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201910755163.3ACN112399476B (en)2019-08-152019-08-15Data packet transmission method, terminal equipment and network equipment
PCT/CN2020/081171WO2021027288A1 (en)2019-08-152020-03-25Data packet transmission method, terminal device, and network device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910755163.3ACN112399476B (en)2019-08-152019-08-15Data packet transmission method, terminal equipment and network equipment

Publications (2)

Publication NumberPublication Date
CN112399476A CN112399476A (en)2021-02-23
CN112399476Btrue CN112399476B (en)2023-04-18

Family

ID=74569751

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910755163.3AActiveCN112399476B (en)2019-08-152019-08-15Data packet transmission method, terminal equipment and network equipment

Country Status (2)

CountryLink
CN (1)CN112399476B (en)
WO (1)WO2021027288A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN115150910B (en)*2021-03-312024-06-25华为技术有限公司 Communication method and communication device
CN115243337B (en)*2021-04-232024-09-24华为技术有限公司Data transmission method and device
CN115694599B (en)*2021-07-312024-06-18华为技术有限公司 A transmission method, system and related device
CN114666114B (en)*2022-03-152024-02-02成都安恒信息技术有限公司Mobile cloud data security authentication method based on biological characteristics
CN119628796A (en)*2024-12-092025-03-14中国联合网络通信集团有限公司 Retransmission control method, device, equipment, storage medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101843139A (en)*2007-10-302010-09-22高通股份有限公司Method and system for HFN processing during inter-base station handover in mobile communication network
CN101938794A (en)*2009-07-022011-01-05华为技术有限公司 Handover processing method and device for wireless self-backhaul transmission
CN102186217A (en)*2011-06-022011-09-14新邮通信设备有限公司Data forwarding method during X2 shifting process of LTE system
AU2012216414A1 (en)*2007-10-302012-09-13Qualcomm IncorporatedMethods and systems for HFN handling at inter-base station handover in mobile communication networks
WO2018228342A1 (en)*2017-06-132018-12-20华为技术有限公司Handover control method and apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090168723A1 (en)*2007-11-272009-07-02Qualcomm IncorporatedMethod and apparatus for handling out-of-order packets during handover in a wireless communication system
EP3522601B1 (en)*2012-08-072021-12-01Huawei Technologies Co., Ltd.Handover processing method and base station
CN108966282B (en)*2017-03-242019-11-19华为技术有限公司 Data transmission method and device
WO2018231006A1 (en)*2017-06-162018-12-20Samsung Electronics Co., Ltd.Method and apparatus for rapidly reporting frequency measurement results in next generation mobile communication system
US11102686B2 (en)*2017-08-112021-08-24Htc CorporationDevice and method of handling a handover
CN109982360B (en)*2017-12-272021-12-10华为技术有限公司Communication method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101843139A (en)*2007-10-302010-09-22高通股份有限公司Method and system for HFN processing during inter-base station handover in mobile communication network
AU2012216414A1 (en)*2007-10-302012-09-13Qualcomm IncorporatedMethods and systems for HFN handling at inter-base station handover in mobile communication networks
CN101938794A (en)*2009-07-022011-01-05华为技术有限公司 Handover processing method and device for wireless self-backhaul transmission
CN102186217A (en)*2011-06-022011-09-14新邮通信设备有限公司Data forwarding method during X2 shifting process of LTE system
WO2018228342A1 (en)*2017-06-132018-12-20华为技术有限公司Handover control method and apparatus

Also Published As

Publication numberPublication date
WO2021027288A1 (en)2021-02-18
CN112399476A (en)2021-02-23

Similar Documents

PublicationPublication DateTitle
CN112399476B (en)Data packet transmission method, terminal equipment and network equipment
US11463937B2 (en)Data transmission method and apparatus
EP4401384A1 (en)Data transmission method and communication apparatus
CN110505714B (en)Multi-link communication method, equipment and terminal
CN108684218A (en)Switching method and apparatus
CN112262594B (en)Method for processing PDN connection and user equipment
WO2019206314A1 (en)Communication method and apparatus
KR20200106702A (en)Method for transmitting capability information of user equipment and electronic device thereof
US20180343558A1 (en)Data transmission method and apparatus, and related device
JP2021510254A (en) Relay transmission method and relay node
CN110636553A (en) A data transmission method and device
CN115150910B (en) Communication method and communication device
CN113938840A (en)Communication method and communication device
RU2690756C1 (en)Method of transmitting data and associated device and system
CN112019489A (en) Verification method and device
JP5898121B2 (en) Wireless communication apparatus, processor, and communication control method
WO2023134410A1 (en)Communication method, apparatus, and system
WO2017121224A1 (en)Data transmission method, device and system
CN112153647A (en) Communication method and related equipment
WO2021190277A1 (en)Uplink data split method and terminal
JP2019092055A (en)Terminal device and method
WO2022141025A1 (en)Method and apparatus for transmitting data
CN117202373B (en) Communication method, communication device and communication system
WO2025138744A1 (en)Data synchronization method and device
WO2025066583A1 (en)Information processing method, terminal device, and chip system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp