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
CN112399476B CN201910755163.3A CN201910755163A CN112399476B CN 112399476 B CN112399476 B CN 112399476B CN 201910755163 A CN201910755163 A CN 201910755163A CN 112399476 B CN112399476 B CN 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 Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910755163.3A priority Critical patent/CN112399476B/en
Priority to PCT/CN2020/081171 priority patent/WO2021027288A1/en
Publication of CN112399476A publication Critical patent/CN112399476A/en
Application granted granted Critical
Publication of CN112399476B publication Critical patent/CN112399476B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • H04W36/0064Transmission or use of information for re-establishing the radio link of control information between different access points

Landscapes

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

Abstract

The application discloses a data packet transmission method, terminal equipment and network equipment, relates to the technical field of wireless communication, and can solve the problem that when the terminal equipment is switched from a source base station to a target base station, due to the fact that delay is large when the source base station transmits information for synchronizing the transmission state of a data packet to the target base station, even if the terminal equipment is switched from the source base station to the target base station, the target base station cannot continue data transmission due to the fact that the transmission state of the data packet between the source base station and the terminal equipment is not synchronized. According to the scheme, the information for synchronizing the transmission states of the data packets is transmitted by being borne by the user plane with smaller time delay, so that the synchronization of the transmission states of the data packets of the first base station and the second base station is realized, the transmission time delay of the information for synchronizing the transmission states of the data packets is reduced, and the continuous transmission of the data packets of the second base station and the terminal equipment is ensured after the terminal equipment is switched from the first base station to the second base station.

Description

Data packet transmission method, terminal equipment and network equipment
Technical Field
The embodiment of the application relates to the technical field of wireless communication, in particular to a data packet transmission method, terminal equipment and network equipment.
Background
With the development of wireless communication technology, the core Network control plane based on Network Function Virtualization (NFV) is becoming a networking trend. 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 such a scenario of a remote deployment of the core network control plane, the control plane of the core network is usually far away from the user plane. For example, the distance between the network elements of the core network control plane and the user plane network elements is typically above 1500 Km.
When the terminal device performs the cross-base station handover, the source base station (i.e., the user plane network element) forwards information (synchronization information for short) for synchronizing the transmission state of the data packet to the target base station (i.e., the user plane network element) through the control plane network element, so that the terminal device can continue the transmission of data after being handed over from the source base station to the target base station.
However, since the control plane of the core network is far from the user plane; therefore, it takes a long time for the source base station (i.e., user plane network element) to transmit the synchronization information to the target base station (i.e., user plane network element) through the control plane network element. During this time, even if the terminal device has been handed over from the source base station to the target base station, the target base station may not have received the above-mentioned synchronization information from the source base station. That is, the target base station cannot synchronize the packet transmission status of the source base station with the terminal device. Therefore, the target base station cannot transmit the data packet with the terminal device, which affects the user experience.
Disclosure of Invention
The embodiment of the application provides a data packet transmission method, which can solve the problem that when a terminal device is switched from a source base station to a target base station, due to the fact that time delay is large when the source base station transmits information for synchronizing a data packet transmission state to the target base station, even if the terminal device is switched from the source base station to the target base station, the target base station cannot continue data transmission due to the fact that the data packet transmission state of the source base station and the data packet transmission state of the terminal device are not synchronized.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, a data packet transmission method is provided, where the method is applied in a process of a terminal device switching from a first base station to a second base station, and the method includes: the terminal equipment determines a first count value of a first uplink data packet; the first uplink data packet is a lost first uplink data packet on a first bearer; the first bearer is a radio bearer between the terminal equipment and the first base station before the terminal equipment is switched from the first base station to the second base station, or the radio bearer between the terminal equipment and the second base station after the terminal equipment is switched from the first base station to the second base station; and the terminal equipment sends first information to the second base station, wherein the first information comprises the first counting value.
The first bearer is a user plane bearer between the terminal device and the first base station or the second base station. The above count value is used for integrity protection and ciphering of the data packet, and the count value may be composed of two parts, i.e., a high order hyper frame number and a low order PDCP sequence number.
In the technical solution provided in the first aspect, the terminal device determines information of a transmission state of a synchronous data packet, and sends the determined information of the transmission state of the synchronous data packet to the second base station through a user plane bearer (a radio bearer between the terminal device and the second base station), so as to reduce a transmission delay of the information of the transmission state synchronization of the data packet while synchronizing the transmission states of the data packet between the first base station and the second base station, and ensure that the data packet is continuously transmitted by the second base station and the terminal device after the terminal device is switched from the first base station to the second base station.
In a possible implementation manner, the determining, by the terminal device, a first count value of the first uplink data packet includes: the terminal equipment receives second information from the first base station, wherein the second information is used for indicating third information, and the third information comprises: 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 a 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 first count value used for determining the first uplink data packet is transmitted through the user plane bearer between the terminal equipment and the first base station, and the information used for synchronizing the transmission state of the data packet is transmitted through the user plane bearer between the terminal equipment and the second base station, so that the low-delay transmission of the information used for synchronizing the transmission state of the data packet can be ensured.
In a possible implementation manner, the third information includes a first sequence number of the first uplink data packet; the terminal equipment determines a first count value according to the second information, and the method comprises the following steps: the terminal equipment determines a first counting value according to the first serial number and the hyper-frame number corresponding to the first serial number. The terminal device may determine a first count value of the first uplink data packet according to a first sequence number of a first uplink data packet lost by the first base station on the first bearer from the first base station and a hyper frame number corresponding to the first sequence number.
In a possible implementation manner, the third information includes a second count value of the first uplink data packet; the terminal equipment determines a first count value according to the second information, and the method comprises the following steps: the terminal device determines the second count value as the first count value. The terminal device may determine a first count value of a first uplink data packet according to a second count value of the first uplink data packet, which is received from the first base station and lost by the first base station on the first bearer.
In a possible implementation manner, the determining, by the terminal device, a first count value of the first uplink data packet includes: the terminal equipment takes the count value of the uplink data packet which is not received by the terminal equipment from the first base station confirmation message through the first bearer as a first count value; or, the terminal device takes 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 a first count value of the first uplink data packet according to whether it receives an acknowledgement message for the uplink data packet from the first base station. Therefore, the terminal equipment can carry and transmit the information for synchronizing the transmission state of the data packet through the user plane between the terminal equipment and the second base station, and the low-delay transmission of the information for synchronizing the transmission state of the data packet can be ensured.
In a possible implementation manner, the method further includes: and the terminal equipment sends fourth information to the second base station, wherein the fourth information comprises the sequence number and the hyper frame number of the first downlink data packet lost on the first bearer. In this scheme, the terminal device may further bear and transmit a count value of a first downlink data packet lost by the terminal device on the first bearer through the user plane between the terminal device and the second base station, so as to synchronize the transmission state of the data packet, and ensure low-delay transmission of information used for synchronizing the transmission state of the data packet.
In a possible implementation manner, the sending, by the terminal device, the first information to the second base station includes: and the terminal equipment sends a switching confirmation message to the second base station, wherein the switching confirmation message carries the first information. In the scheme, the terminal equipment can carry the first information for synchronizing the transmission state of the data packet through the switching confirmation message carried by the user plane, and the low-delay transmission of the information for synchronizing the transmission state of the data packet is ensured.
In a possible implementation manner, the handover confirmation message further carries an identifier of the first bearer. When sending PDCP data packets to the second base station via multiple radio bearers, the second base station may determine the radio bearer used for transmitting 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 method further includes: and the terminal equipment sends a switching confirmation message to the second base station, wherein the switching confirmation message also carries fourth information. In the scheme, the terminal equipment can carry the first information for synchronizing the transmission state of the data packet through the switching confirmation message carried by the user plane, and the low-delay transmission of the information for synchronizing the transmission state of the data packet is ensured.
In a possible implementation manner, the sending, by the terminal device, the first information to the second base station includes: the terminal equipment sends a Packet Data Convergence Protocol (PDCP) data packet to the second base station, wherein the PDCP data packet carries the first information. In the scheme, the terminal device can carry the first information for synchronizing the transmission state of the data packet through the PDCP data packet carried by the user plane, thereby ensuring the low-delay transmission of the information for synchronizing the transmission state of the data packet.
In a possible implementation manner, the PDCP data packet further carries the fourth information. In the scheme, the terminal equipment can carry the first information for synchronizing the transmission state of the data packet through the PDCP data packet carried by the user plane, thereby ensuring the low-delay transmission of the information for synchronizing the transmission state of the data packet.
In a possible implementation manner, the PDCP data packet carries type indication information, where the type indication information is used to indicate that the PDCP data packet carries the first information. By expanding the existing PDCP data packet transmission protocol, the PDCP data packet can carry type indication information for indicating that the PDCP data packet carries the first information, so that the second base station can read the first information from the PDCP data packet according to the type indication information, and the efficiency of the second base station for acquiring the first information is improved. Wherein, the PDCP data packet transmission protocol is used for stipulating the format of the PDCP data packet.
In a possible implementation manner, the PDCP data packet carries type indication information, where the type indication information is used to indicate that the PDCP data packet carries fourth information. By expanding the existing PDCP data packet transmission protocol, the PDCP data packet can carry type indication information for indicating that the PDCP data packet carries the fourth information, so that the second base station can read the fourth information from the PDCP data packet according to the type indication information, and the efficiency of the second base station for acquiring the fourth information is improved.
In a second aspect, a data packet transmission method is provided, and the method is applied to a process of switching a terminal device from a first base station to a second base station, and the method includes: the second base station receives first information from the terminal equipment, wherein the first information comprises a first counting value of a first uplink data packet; the first uplink data packet is a lost first uplink data packet on a first bearer; the first bearer is a radio bearer between the terminal equipment and the first base station before the terminal equipment is switched from the first base station to the second base station, or the terminal equipment is switched from the first base station to the second base station and then is connected with the second base station; and the second base station determines the sequence number and the hyper frame number of the next uplink data packet which the second base station expects to receive on the first bearer according to the first information.
In the technical solution provided in the second aspect, the second base station may receive the first information from the terminal device through a user plane bearer between the terminal device and the second base station, so as to synchronize the transmission state of the data packet according to the first information, ensure low-delay transmission of the information used for synchronizing the transmission state of the data packet, and ensure continuous transmission of the data packet between the second base station and the terminal device after the terminal device is switched from the first base station to the second base station.
In a possible implementation manner, the method further includes: the second base station receives a second serial number from the terminal equipment and a hyper-frame number corresponding to the second serial number, wherein the second serial number is the serial number of a first downlink data packet lost by the terminal equipment; and the second base station determines the sequence number and the hyper frame number of the next downlink data packet sent to the terminal equipment by the second base station according to the second sequence number and the hyper frame number corresponding to the second sequence number. The second base station can receive the first information from the terminal equipment through the user plane bearing between the terminal equipment and the second base station, so that the synchronization of the data packet transmission state is carried out according to the first information, the low-delay transmission of the information for the synchronization of the data packet transmission state is ensured, and the terminal equipment is switched from the first base station to the second base station to be continuously transmitted with the data packet of the terminal equipment.
In a possible implementation manner, the method further includes: the second base station receives a first message from the first base station, wherein the first message comprises at least one second data packet buffered in the first base station; wherein, the second data packet includes the data packet which has been sent to the terminal device by the first base station but has not received the acknowledgement message of the terminal device, and the first message also includes the sequence number of the at least one second data packet; and the second base station determines the sequence number of the next downlink data packet sent to the terminal equipment by the second base station according to the sequence number of the at least one second data packet. The second base station can receive the information for synchronizing the data packet transmission state from the first base station through the user plane bearing between the second base station and the first base station, so that the low-delay transmission of the information for synchronizing the data packet transmission state is ensured, and the terminal equipment is switched from the first base station to the second base station to be continuously transmitted with the data packet of the terminal equipment.
In a third aspect, a method for transmitting a data packet is provided, where the method is applied to a process in which a terminal device in a first system is handed over from a first base station to a second base station, the first system includes the terminal device, the first base station, and the second base station, and the method includes: the terminal equipment determines a first count value of a first uplink data packet; the first uplink data packet is a lost first uplink data packet on a first bearer; the first bearer is a radio bearer between the terminal device and the first base station before the terminal device is switched from the first base station to the second base station, or the radio bearer between the terminal device and the second base station after the terminal device is switched from the first base station to the second base station; the terminal equipment sends first information to a second base station, wherein the first information comprises a first counting value; the second base station receives first information from terminal equipment; and the second base station determines the sequence number and the hyper frame number of the next uplink data packet which is expected to be received by the second base station on the first bearer according to the first information.
In the technical solution provided by the third aspect, the terminal device determines information of a transmission state of a synchronous data packet, and sends the determined information of the transmission state of the synchronous data packet to the second base station through a user plane bearer (a radio bearer between the terminal device and the second base station), so as to reduce transmission delay of the information of the transmission state synchronization of the data packet while synchronizing the transmission states of the data packet between the first base station and the second base station, and ensure that the data packet is continuously transmitted by the second base station and the terminal device after the terminal device is switched from the first base station to the second base station.
In a possible implementation manner, the method further includes: the first base station sends second information to the terminal equipment, wherein the second information is used for indicating third information, and the third information comprises: 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 a first count value of a first uplink data packet, and the determining includes: and the terminal equipment determines a first counting 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 first count value used for determining the first uplink data packet is transmitted through the user plane bearer between the terminal equipment and the first base station, and the information used for synchronizing the transmission state of the data packet is transmitted through the user plane bearer between the terminal equipment and the second base station, so that the low-delay transmission of the information used for synchronizing the transmission state of the data packet can be ensured.
In a possible implementation manner, the determining, by the terminal device, a first count value according to the second information includes: the terminal equipment determines a first count value according to the first serial number and the hyper-frame number corresponding to the first serial number; or, the third information includes a 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 terminal device determines the second count value as the first count value. The terminal device may determine the first count value of the first uplink data packet according to a first sequence number of the first uplink data packet lost by the first base station on the first bearer and a hyper frame number corresponding to the first sequence number from the first base station, or according to a second count value of the first uplink data packet lost by the first base station on the first bearer.
In a possible implementation manner, the determining, by the terminal device, a first count value of the first uplink data packet includes: the terminal device takes the count value of the uplink data packet which is not received by the terminal device from the first base station confirmation message through the first bearer as a first count value; or, the terminal device takes a count value of a next uplink data packet to be sent by the terminal device through the first bearer as a 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 acknowledgement message for the uplink data packet from the first base station. Therefore, the terminal equipment can carry and transmit the information for synchronizing the transmission state of the data packet through the user plane between the terminal equipment and the second base station, and the low-delay transmission of the information for synchronizing the transmission state of the data packet can be ensured.
In a possible implementation manner, the method further includes: the terminal equipment sends fourth information to the second base station, wherein the fourth information comprises a second serial number and a hyper frame number corresponding to the second serial number, and the second serial number is the serial number of a first downlink data packet lost by the terminal equipment; and the second base station determines the serial number and the hyper-frame number of the next downlink data packet sent to the terminal equipment by the second base station according to the second serial number and the hyper-frame number corresponding to the second serial number. In this scheme, the terminal device may further bear and transmit a count value of a first downlink data packet lost by the terminal device on the first bearer through the user plane between the terminal device and the second base station, so as to synchronize the transmission state of the data packet, and ensure low-delay transmission of information used for synchronizing the transmission state of the data packet.
In a possible implementation manner, the sending, by the terminal device, the first information to the second base station includes: the terminal equipment sends a switching confirmation message to the second base station, wherein the switching confirmation message carries the first information. In the scheme, the terminal equipment can carry the first information for synchronizing the transmission state of the data packet through the switching confirmation message carried by the user plane, and the low-delay transmission of the information for synchronizing the transmission state of the data packet is ensured.
In a possible implementation manner, the sending, by the terminal device, the first information to the second base station includes: the terminal equipment sends a packet data convergence protocol PDCP data packet to the second base station, wherein the PDCP data packet carries the first information. In the scheme, the terminal device can carry the first information for synchronizing the transmission state of the data packet through the PDCP data packet carried by the user plane, thereby ensuring the low-delay transmission of the information for synchronizing the transmission state of the data packet.
In a possible implementation manner, the sending, by the terminal device, the fourth information to the second base station includes: the terminal equipment sends a Packet Data Convergence Protocol (PDCP) data packet to a second base station, wherein the PDCP data packet carries 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 the scheme, the terminal device can carry the fourth information for synchronizing the transmission state of the data packet through the PDCP data packet carried by the user plane, thereby ensuring the low-delay transmission of the information for synchronizing the transmission state of the data packet.
In a possible implementation manner, the method further includes: a first base station sends a first message to a second base station, wherein the first message comprises at least one second data packet buffered in the first base station; the second data includes data packets which have been sent to the terminal device by the first base station but have not received the acknowledgement message of the terminal device, and the first message also includes the sequence number of the at least one second data packet; and the second base station determines the sequence number of the next downlink data packet sent to the terminal equipment by the second base station according to the sequence number of the at least one second data packet. The second base station can receive the information for synchronizing the data packet transmission state from the first base station through the user plane bearing between the second base station and the first base station, so that the low-delay transmission of the information for synchronizing the data packet transmission state is ensured, and the terminal equipment is switched from the first base station to the second base station to be continuously transmitted with the data packet of the terminal equipment.
In a fourth aspect, a terminal device is provided, which includes: a memory for storing computer program code, the computer program code comprising instructions; the radio frequency circuit is used for transmitting and receiving wireless signals; a processor, configured to execute the above instructions, so that the terminal device executes the data packet transmission method in any possible implementation manner of the first aspect.
In a fifth aspect, a second base station is provided, which includes: a memory for storing computer program code, the computer program code comprising instructions; a radio frequency circuit for transmitting and receiving a radio signal; a processor, configured to execute the above instructions, so that the second base station performs the data packet transmission method in any possible implementation manner of the second aspect.
A sixth aspect provides a first system, where the first system includes a terminal device, a first base station, and a second base station, and the first system is configured to execute the method for transmitting a data packet in any one of the possible implementation manners of the third aspect.
In a seventh aspect, a data packet transmission method is provided, where the method is applied to a process in which a terminal device is handed over from a first base station to a second base station, and the method includes: the first base station determines third information, where the third information includes a count value of a first data packet and a count value of a second data packet, where the first data packet is a next uplink data packet that the first base station expects to receive from a terminal device through a first bearer, the second data packet is a next downlink data packet that the first base station is about to send 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; and the first base station sends a first message to the second base station through a GTP-U tunnel of a GPRS tunneling protocol (GTP-U) of the user plane, wherein the first message carries the third information. The GTP-U tunnel is a user plane service tunnel between the first base station and the second base station.
In the technical solution provided in the seventh aspect, the second base station may receive the information for synchronizing the transmission state of the data packet from the first base station through a user plane GTP tunnel between the second base station and the first base station, so as to ensure low-delay transmission of the information for synchronizing the transmission state of the data packet.
In one possible implementation manner, the sending, by the first base station, the first message to the second base station through a GTP-U tunnel, includes: the first base station sends a first message to a second base station through a GTP-U tunnel between the first base station and the second base station; or, the first base station sends the first message to a data gateway through a GTP-U tunnel between the first base station and the data gateway, so that the data gateway sends the first message to a second base station through the GTP-U tunnel between the data gateway and the second base station. The second base station can receive the information for synchronizing the transmission state of the data packet from the first base station through a user plane GTP tunnel between the second base station and the first base station, and can ensure the low-delay transmission of the information for synchronizing the transmission state of the data packet.
In a possible implementation manner, the third information is encapsulated in a wireless extension header of a GTP-U protocol of the first message. The first message can carry the third information by extending the existing GTP-U protocol.
In a possible implementation manner, the radio extension header further includes first indication information, where the first indication information is used to indicate that the radio extension header includes the third information. By expanding the existing GTP-U protocol, the first message can carry indication information for indicating that the first message carries third information, so that the second base station can read the third information from the first message according to the indication information, and the efficiency of the second base station for acquiring the third information is improved.
In a possible implementation manner, the first base station sends a plurality of the first messages to the second base station through a GTP-U tunnel. In order to improve the transmission success of the information for synchronizing the data packet transmission status, the same user plane may be used to carry the first message for multiple transmissions.
In a possible implementation manner, the method further includes: the first base station sends the first message to the second base station through a mobility management network element, wherein the mobility management network element is a mobility management network element served by the terminal equipment. The scheme supports the transmission of the first message through a plurality of bearers, so that the second base station can synchronize the transmission state of the data packet according to the first message received first, and the efficiency of synchronizing the transmission state of the data packet is improved.
In an eighth aspect, a data packet transmission method is provided, where the method is applied to a process of a terminal device switching from a first base station to a second base station, and the method includes: 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, wherein the first message comprises third information, the third information comprises a count value of a first data packet and a count value of a second data packet, the first data packet is a next uplink data packet which the first base station expects to receive from the terminal equipment through a first bearer, the second data packet is a next downlink data packet which the first base station is to send to the terminal equipment through the first bearer, and the first bearer is a radio bearer between the terminal equipment and the first base station; the second base station determines, according to the third information, a count value of a next uplink data packet that the second base station expects to receive from the terminal device through a second bearer, and a count value of a next downlink data packet that the second base station is to send to the terminal device through the second bearer; the second bearer is a radio bearer corresponding to the first bearer, which is established between the terminal device and the second base station after the terminal device is handed over from the first base station to the second base station.
In the technical solution provided in the above eighth aspect, the second base station may receive the information for synchronizing the transmission state of the data packet from the first base station through a user plane GTP tunnel between the second base station and the first base station, so as to ensure low-delay transmission of the information for synchronizing the transmission state of the data packet.
In a possible implementation manner, the receiving, by the second base station, the first message from the first base station over the GTP-U tunnel includes: the second base station receives a first message from the first base station through a direct GTP-U tunnel between the first base station and the second base station; or, the second base station receives the first message through a GTP-U tunnel between the second base station and the gateway device; the first message is transmitted from the first base station to the gateway device through a GTP-U tunnel between the first base station and the gateway device. The second base station can receive the information for synchronizing the transmission state of the data packet from the first base station through a user plane GTP tunnel between the second base station and the first base station, and can ensure the low-delay transmission of the information for synchronizing the transmission state of the data packet.
In a possible implementation manner, the third information is encapsulated in a wireless extension header of a GTP-U protocol of the first message. The first message can carry the third information by extending the existing GTP-U protocol.
In a possible implementation manner, the radio extension header further includes first indication information, where the first indication information is used to indicate that the radio extension header includes third information. By expanding the existing GTP-U protocol, the first message can carry indication information for indicating that the first message carries third information, so that the second base station can read the third information from the first message according to the indication information, and the efficiency of the second base station for acquiring the third information is improved.
In a possible implementation manner, the second base station receives a plurality of first messages from the first base station through a GTP-U tunnel. In order to improve the transmission success rate of the information for synchronizing the transmission state of the data packet, the same user plane may be used to carry the first message for multiple transmissions.
In a possible implementation manner, the method further includes: the second base station receives the first message from a mobility management network element, which is a mobility management network element served by the terminal equipment. The scheme supports the transmission of the first message through a plurality of bearers, so that the second base station can synchronize the transmission state of the data packet according to the first message received firstly, and the efficiency of synchronizing the transmission state of the data packet is improved. The mobility management network element is mainly used for access control and mobility management of the terminal equipment. In a conventional handover process, the second base station may receive information for synchronizing transmission states of the data packets from the first base station through the mobility management network element, where 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 method further includes: after the second base station receives the first message from the first base station, the second base station discards the first message received by the second base station after the first message. The scheme supports the transmission of the first message through a plurality of bearers, so that the second base station can synchronize the transmission state of the data packet according to the first message received firstly, and the efficiency of synchronizing the transmission state of the data packet is improved.
In a ninth aspect, a terminal device is provided, which includes: a memory for storing computer program code, the computer program code comprising instructions; the radio frequency circuit is used for transmitting and receiving wireless signals; a processor, configured to execute the above instructions, so that the terminal device performs the data packet transmission method in any possible implementation manner of the seventh aspect.
In a tenth aspect, there is provided a second base station comprising: a memory for storing computer program code, the computer program code comprising instructions; a radio frequency circuit for transmitting and receiving a radio signal; a processor, configured to execute the above instructions, so that the second base station performs the data packet transmission method in any one of the possible implementation manners of the eighth aspect.
In an eleventh aspect, a computer-readable storage medium is provided, where the computer-readable storage medium has stored thereon computer-executable instructions, and when executed by a processor, the computer-executable instructions implement the data packet transmission method in any one of the possible implementation manners of the first aspect, the second aspect, the third aspect, the seventh aspect, or the eighth aspect.
In a twelfth aspect, a chip system is provided, where the chip system includes a processor and a memory, and the memory stores instructions; when executed by the processor, the instructions implement the data packet transmission method in any one of the possible implementation manners of the first aspect, the second aspect, the third aspect, the seventh aspect, or the eighth aspect. The chip system may be formed by a chip, and may also include a chip and other discrete devices.
A thirteenth aspect provides a computer program product, which, when run on a computer, causes the data packet transmission method in any one of the possible implementations of the first, second, third, seventh or eighth aspect. For example, the computer may be at least one storage node.
Drawings
Fig. 1 is a schematic diagram of an application network service architecture of a data packet transmission method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application;
fig. 3 is a flowchart of a conventional S1 handover provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a COUNT structure provided in an embodiment of the present application;
fig. 5A is a schematic diagram of data packet transmission delay when a terminal device performs cross-base station handover in a game scene provided in the embodiment of the present application;
fig. 5B is a schematic diagram of data packet transmission delay when a terminal device performs cross-base station handover in a data download scenario according to an embodiment of the present application;
fig. 6 is a first flowchart of a data packet transmission method according to an embodiment of the present application;
fig. 7 is a first S1 handover flowchart provided in the embodiment of the present application;
fig. 8 is a second S1 handover flowchart provided in the embodiment of the present application;
fig. 9 is a schematic diagram of a PDCP data packet format according to an embodiment of the present application;
fig. 10A is a flowchart of a data packet transmission method according to an embodiment of the present application;
fig. 10B is a third S1 handover flow chart provided in the embodiment of the present application;
fig. 11 is a flow chart of a packet transmission method provided in the embodiment of the present application;
fig. 12 is a fourth flowchart of a data packet transmission method according to an embodiment of the present application;
fig. 13A is a fourth flowchart of S1 handover provided in the embodiment of the present application;
fig. 13B is a flowchart of a data packet transmission method according to a fifth embodiment of the present disclosure;
fig. 14 is a diagram of an example of a format of a wireless extension header of a GTP-U protocol of a first message according to an embodiment of the present application;
fig. 15 is a fifth flowchart of S1 handover provided in the embodiment of the present application;
fig. 16 is a sixth flowchart of S1 handover provided in the embodiment of the present application;
fig. 17 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data packet transmission method, which is applied to the process of switching a terminal device from a source base station to a target base station. In the embodiment of the present application, a first base station is taken as a source base station, and a second base station is taken as a target base station.
Referring to fig. 1, as shown in fig. 1, a schematic diagram of an application network service architecture of a data packet transmission method according to an embodiment of the present application is shown. Fig. 1 shows an interaction relationship between a network function and an entity and a corresponding interface by taking a network service architecture of a fifth generation (5g) mobile communication system as an example. Among them, the third Generation Partnership project (3 gpp) service-based network architecture (SBA) of the 5G system mainly includes network functions and entities including: terminal Equipment (TE), access Network (AN) or Radio Access Network (RAN), user Plane Function (UPF), data Network (Data Network, DN), access Management Function (AMF), session Management Function (SMF), authentication service Function (AUSF), policy Control Function (Policy Control Function, PCF), application Function (Application Function, AF), network Slice Selection Function (Network Slice Selection Function, NSSF), unified Data Management (Unified Data Management, UDM), network open Function (NEF), and Network storage Function (NF) are included in the Network.
The TE, (R) AN, UPF and DN are generally referred to as user plane network functions and entities (or user plane network elements), and the other parts are generally referred to as control plane network functions and entities (or control plane network elements). The control plane network element is defined by 3GPP as a processing function in a network, the control plane network element has 3GPP defined functional behavior and 3GPP defined interfaces, and the network function can be implemented as a network element running on proprietary hardware, or as a software instance running on proprietary hardware, or as a virtual function instantiated on a suitable platform, such as a cloud infrastructure.
The main functions of each network element will be described in detail below.
(R) AN: the (R) AN may be AN AN or a RAN. Specifically, the (R) AN may be various forms of base stations, such as: a macro base station, a micro base station, a distributed unit-control unit (DU-CU), and the like, where the DU-CU is a device capable of wireless communication with a TE deployed in a radio access network. In addition, the base station may also be a wireless controller in a Cloud Radio Access Network (CRAN) scenario, or a network device in a relay station, an access point, an in-vehicle device, a wearable device, or a Public Land Mobile Network (PLMN) network for future evolution, or the like. The (R) AN is mainly responsible for radio resource management, quality of service management, data compression and encryption, etc. on the air interface side. In systems using different radio access technologies, the names of devices having a base station function may be different. For example, the base station may be an evolved node b (eNB or e-NodeB) in Long Term Evolution (LTE) or may be a gNB in a 5G system.
UPF: the method is mainly responsible for forwarding and receiving user data. The UPF may receive downstream data from the DN and then transmit the downstream data to the TE through the (R) AN. The UPF may also receive uplink data from the TE through the (R) AN and then forward the uplink data to the DN.
DN: for example: the DN may be an operator service network, an internet access or third party service network, etc. The DN may exchange information with the TE through a PDU session. The PDU session can be divided into multiple types, such as Internet Protocol Version 4 (Internet Protocol Version 4, IPv 4), IPv6, and so on.
AMF: is mainly responsible for the processing of control plane messages, such as: access control, mobility management, attach and detach, and gateway selection, etc.
And (4) SMF: the method is mainly used for session management, session establishment, IP address allocation and management of TE and the like.
AUSF: the method is mainly responsible for network security, is used for generating a secret key, and realizes bidirectional authentication of TE and the like.
PCF: the method is mainly used for managing the policy rules, the subscription information of the user and the like.
UDM: the method is mainly used for authentication credit processing, user identification processing, access authorization, registration/mobility management, subscription management, short message management and the like.
NEF: the method is mainly used for monitoring, charging and the like.
NRF: mainly for providing internal/external addressing functions etc. The functions of the NSSF and AF and other network elements in fig. 1 may refer to related descriptions in the conventional technology, and are not described herein again.
The TE and the (R) AN shown in fig. 1 may communicate with each other by using AN air interface technology. As shown in FIG. 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, N4 is the reference point between SMF and UPF, and N6 is the reference point between DN. Shown in fig. 1, namf is a service-based interface provided by AMF, nsmf is a service-based interface provided by SMF, nausf is a service-based interface provided by AUSF, NSSF is a service-based interface provided by NSSF, nnef is a service-based interface provided by NEF, nnrf is a service-based interface provided by NRF, npcf is a service-based interface provided by PCF, numm is a service-based interface provided by UDM, and Naf is a service-based interface provided by AF.
It should be noted that fig. 1 is only an example of a network service architecture. The terminal device in the embodiment of the present application may be a TE shown in fig. 1, and the source base station (i.e., the first base station) and the target base station (i.e., the second base station) may be AN R (AN) shown in fig. 1. The data packet transmission method provided by the embodiment of the application can also be applied to other network architectures. Such as the network architecture of the fourth Generation (4 th-Generation, 4G) mobile communication system. Alternatively, the data packet transmission method according to the embodiment of the present application may also be applied to other mobile communication systems developed after the fifth generation, and the embodiment of the present application is not limited thereto.
In this embodiment, the terminal device may be a netbook, a tablet computer, an intelligent watch, or the like. Alternatively, the terminal device may be other desktop devices, laptop devices, handheld devices, wearable devices, smart home devices, vehicle-mounted devices, and the like having a radio communication function, such as Ultra-mobile Personal computers (UMPCs), smart cameras, netbooks, personal Digital Assistants (PDAs), portable Multimedia Players (PMPs), AR (augmented reality)/VR (virtual reality) devices, aircrafts, robots, and the like. The embodiment of the present application does not limit the specific type, structure, and the like of the terminal device.
Referring to fig. 2, as shown in fig. 2, a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present application is shown. As shown in fig. 2, the terminal device 100 may include a processor 210, a memory (including an external memory interface 220 and an internal memory 221), a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, keys 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a Subscriber Identity Module (SIM) card interface 295, and the like. Among them, 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, etc.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the terminal device 100. In other embodiments of the present application, handset 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units, such as: the processor 210 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that have just been used or recycled by processor 210. If the processor 210 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 210, thereby increasing the efficiency of the system.
In some embodiments, processor 210 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
It should be understood that the interface connection relationship between the modules according to the embodiment of the present invention is only an exemplary illustration, and does not limit the structure of the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charging management module 240, and provides power to the processor 210, the internal memory 221, the display 294, the camera 293, and the wireless communication module 260.
The wireless communication function of the terminal device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in terminal device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may 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.
The mobile communication module 250 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied on the terminal device 100. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 250 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 250 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be disposed in the processor 210. In some embodiments, at least some of the functional blocks of the mobile communication module 250 may be provided in the same device as at least some of the blocks of the processor 210. In the embodiment of the present application, the terminal device 100 may communicate with the first base station 200 and/or the second base station 300 through the mobile communication module 250.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then passed to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 270A, the receiver 270B, etc.) or displays images or video through the display screen 294. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 210, and may be disposed in the same device as the mobile communication module 250 or other functional modules.
The wireless communication module 260 may provide a solution for wireless communication applied to the terminal device 100, including Wireless Local Area Networks (WLANs), such as Wi-Fi networks, bluetooth (BT), global Navigation Satellite Systems (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 260 may be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 210. The wireless communication module 260 may also receive a signal to be transmitted from the processor 210, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, the antenna 1 of the terminal device 100 is coupled to the mobile communication module 250 and the antenna 2 is coupled to the wireless communication module 260, so that the terminal device 100 can communicate with a network and other devices through a wireless communication technology. The wireless communication technologies may include Long Term Evolution (LTE), new Radio (NR), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, among others.
The terminal device 100 implements a display function through the GPU, the display screen 294, and the application processor. The GPU is a microprocessor for image processing, coupled to a display screen 294 and an application processor. The GPU is 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 alter display information.
The display screen 294 is used to display images, video, and the like. The display screen 294 includes a display panel. In some embodiments, the terminal device 100 may include 1 or N display screens 294, N being a positive integer greater than 1.
The terminal device 100 may implement a shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 294, the application processor, and the like. The ISP is used to process the data fed back by the camera 293. The camera 293 is used to capture still images or video. In some embodiments, the terminal device 100 may include 1 or N cameras 293, N being a positive integer greater than 1. The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform fourier transform or the like on the frequency point energy.
The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the terminal device 100. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function.
Internal memory 221 may be used to store computer-executable program code, including instructions. The internal memory 221 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, a phonebook, etc.) created during use of the terminal device 100, and the like. In addition, the internal memory 221 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. The processor 210 executes various functional applications of the terminal device 100 and data processing by executing instructions stored in the internal memory 221 and/or instructions stored in a memory provided in the processor.
The terminal device 100 may implement an audio function through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the headphone interface 270D, and the application processor. Such as music playing, recording, etc.
The keys 290 include a power-on key, a volume key, etc. The keys 290 may be mechanical keys. Or may be touch keys. The motor 291 may generate a vibration cue. Indicator 292 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, missed call, notification, etc. The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to or disconnected from the terminal device 100 by being inserted into the SIM card interface 295 or being pulled out of the SIM card interface 295.
The data packet transmission method provided by the embodiment of the present application can be implemented in the terminal device having the hardware structure as shown in fig. 2 or the terminal device having a similar structure.
It should be noted that the embodiments of the present application may be applied to a cross-base station handover process in a scenario where a core network control plane is deployed far away, or applied to a scenario where time consumption for data interaction between another user plane and a data plane is long, and a specific network deployment scenario of the embodiments of the present application is not limited.
The inter-base station handover in the embodiment of the present application may be inter-system inter-base station handover. For example, the terminal device 100 is handed over from a first base station (i.e., a source base station) of the 4G LTE system to a second base station (i.e., a target base station) of a New Radio (5 th-Generation New Radio,5G NR) system of a fifth Generation mobile communication system.
Alternatively, the cross base station handover may also be a cross base station handover within the system. For example, the terminal device 100 is handed over from a first base station (i.e., a source base station) of the 4G LTE system to a second base station (i.e., a target base station) of the 4G LTE system. Where S1 is a reference point between a base station and a Serving Gateway (SGW). The cross base station handover of the terminal device 100 within the 4G LTE system may be referred to as S1 handover. Also for example, the terminal apparatus 100 is a handover from a first base station of a 5G NR system (i.e., a source base station) to a second base station of the 5G NR system (i.e., a target base station). Where N2 is the reference point between the base station and the AMF. The handover of the terminal device 100 across base stations within the 5G NR system may be referred to as N2 handover. Of course, the handover between base stations may also be another type of handover between base stations, which is not limited in this embodiment of the present application.
For example, the handover of the terminal device 100 across base stations may be triggered by conditions that are too large (e.g., a Timing Advance (TA) of the serving cell is greater than a preset TA threshold, an average value of an uplink quality of the serving cell in a certain time is less than a preset uplink quality threshold, an average value of a downlink quality of the serving cell in a certain time is less than a preset downlink quality threshold, a level suddenly drops below a preset level threshold during a call of the terminal device 100, a reception level of the terminal device is greater than or equal to the preset level threshold, but a transmission quality is lower than the preset quality threshold, or a system signaling traffic of the serving cell is greater than a preset load threshold).
In order to facilitate those skilled in the art to understand the principle and effect of the method in the embodiment of the present application, S1 handover is taken as an example in the embodiment of the present application, and a procedure of handover between base stations of the terminal device 100 in the conventional technology is briefly described.
It is assumed that the terminal device 100 resides in a cell managed by the first base station 200. The terminal device 100 can receive downlink user plane Data from a Packet Data Network Gateway (PDN GW). As shown in fig. 3, the handover procedure of the terminal device 100 from the first base station 200 to the second base station 300 may include: the method comprises the following steps of (1) switching judgment stage, (2) switching request stage, (3) data packet transmission state synchronization stage and (4) communication stage after S1 switching.
Wherein, (1) the handover decision stage may include S301; (2) the handover request phase may include S302-S309a; (3) The packet transmission state synchronization phase may include S310-S311a/S311b. (4) For detailed description of the communication stage after S1 handover, reference may be made to a communication flow after S1 handover, where the communication flow is completed by the terminal device in the conventional technology.
S301, the first base station 200 determines to perform handover of the terminal device 100 based on S1.
S302, the first base station 200 sends a handover request to a first Mobility Management Element (MME) 210.
S303, the first MME 210 selects a suitable target MME, and sends a forward migration request to the MME (e.g., the second MME 310).
S304a, the second MME 310 sends a request to establish a session to a second Serving Gateway (SGW) 320. For requesting the second SGW 320 to allocate an address of a GPRS Tunneling Protocol User Plane (GTP-U) and a Tunnel Endpoint Identifier (TEID).
S304b, the second SGW 320 sends a session establishment response to the second MME 310. Wherein the establish session response includes GTP-U and the corresponding TEID allocated by the second SGW 320 for the second SGW 320.
S305a, the second MME 310 sends a handover command to the second base station 300.
S305b, the second base station 300 sends a handover command acknowledgement to the second MME 310.
S306a, the second MME 310 sends a request for establishing an independent data forwarding channel to the second SGW 320.
S306b, the second SGW 320 sends a request response for establishing the independent data forwarding channel to the second MME 310.
S307, the second MME 310 sends a forward migration request response to the first MME 210.
S308a, the first MME 210 sends a request for establishing an independent data forwarding channel to the first SGW 220.
S308b, the first SGW 220 sends a request response for establishing the independent data forwarding channel to the first MME 210.
S309, the first MME 210 sends a Handover Command (Handover Command) to the first base station 200. For instructing the establishment of an independent data forwarding path between the first base station 200 and the second base station 300.
S309a, the first base station 200 sends a handover command to the terminal device 100.
S310 to S310c, the first base station 200 respectively send a Packet Data Convergence Protocol (PDCP) Data Packet transmission state of an Evolved Packet System bearer (EPS bearer) to the second base station 300 through the first MME 210 and the second MME 310.
S311a/S311b, the first base station 200 sends direct forwarding data to the second base station 200. The direct forwarding data includes downlink data buffered by the first base station 200.
S312, after the terminal device 100 synchronizes to the second base station 300, the terminal device 100 sends a Handover Confirm (Handover Confirm) message to the second base station.
In steps S310-S310c shown in fig. 3, the PDCP packet transmission status sent by the first base station 200 to the second base station 300 is used to indicate but not limited to at least one of the following: the COUNT value COUNT of the last downlink packet that the first base station 200 has transmitted to the terminal apparatus 100 and the COUNT of the last uplink packet that the first base station 200 has received from the terminal apparatus 100.
Among them, COUNT is used for integrity protection and encryption of data packets. Illustratively, in the LTE system, the PDCP layer assigns a number, i.e., COUNT, with a length of 32 bits to each packet.
As shown in fig. 4, the COUNT may be composed of two parts, i.e., a Hyper Frame Number (HFN) of a higher bit and a PDCP Sequence Number (SN) of a lower bit. The length of the PDCP SN is configured by an upper layer, for example, the length of the PDCP SN can be 5 bits, 7 bits or 12 bits.
Both communication parties (for example, the terminal device 100 and the second base station 300) may store the same HFN in advance before data transmission, and after encrypting a data packet using COUNT, the transmitting end transmits the encrypted data packet and the SN of the data packet to the receiving end. After parsing out the SN of the data packet, the receiving end may combine the SN with the HFN stored by the receiving end to form a COUNT, and then decrypt the data packet using the COUNT.
Wherein the length of COUNT may be obtained by the second base station 300 from the first base station 200. For example, the second base station 300 acquires the length of COUNT through S310 or S311a/S311b as shown in fig. 3. Alternatively, the second base station 300 may also configure the length of the COUNT in advance, which is not limited in this embodiment.
Therefore, after the terminal device 100 is handed over from the first base station 200 to the second base station 300, it is necessary to determine the COUNT of the uplink data packet to be transmitted between the terminal device 100 and the second base station 300, so as to set the state machine of the receiving end according to the COUNT. For example, rx _ Deliv and Rx _ Next of the state machine at the receiving end of the second base station 300 may be set to COUNT as described above: [ HFN, SN ]. Knowing the COUNT of the uplink data packet to be transmitted between the terminal device 100 and the second base station 300, the transmission status of the PDCP data packet between the terminal device 100 and the first base station 200 is determined.
However, it can be understood that in a scenario of core network control plane remote deployment, etc., since the distance between the control plane network element and the user plane network element of the core network is too far, the process of the first base station 200 sending the PDCP packet transmission status (S310-S310 c shown in fig. 3) to the second base station 300 via the first MME 210 and the second MME 310 takes a long time. Therefore, even if the terminal apparatus 100 is successfully handed over from the first base station 200 to the second base station 300, the second base station 300 cannot perform packet transmission with the terminal apparatus 100. Alternatively, the second base station 300 may not successfully connect the data packet transmission status between the first base station 200 and the terminal device 100, and perform data transmission with the terminal device 100.
For some scenarios, for example, data download scenarios or game scenarios. During the handover of the terminal device 100 from the first base station 200 to the second base station 300, the second base station 300 may not synchronize the transmission states of the data packets of the first base station 200 and the terminal device 100 due to the excessive delay of the transmission states of the data packets. Therefore, the second base station 300 may not successfully connect the packet transmission status of the first base station 200 and the terminal device 100 to perform data transmission with the terminal device 100. Furthermore, in the data downloading scene, a data downloading interruption may occur or a game scene may be jammed, which affects user experience.
Exemplarily, as shown in fig. 5A, a schematic diagram of data packet transmission delay when the terminal device 100 performs cross-base station handover in a game scenario provided by the embodiment of the present application is shown. In the game scenario, the time delay of the PDCP packet transmission status synchronization procedure of the terminal device 100 when switching from the first base station 200 to the second base station 300 is long, which results in the terminal device 100 being in a long time (e.g. Δ t in fig. 5A) 1 And Δ t 2 ) The transmission delay of the data packet is too large. Under the game scene, the terminalThe device 100 is a time delay diagram of the PDCP packet transmission status synchronization process when performing handover between base stations.
As another example, fig. 5B is a schematic diagram illustrating a data packet transmission delay when the terminal device 100 performs cross-base station handover in a data downloading scenario provided in this embodiment. As shown in fig. 5B, since the time delay of the PDCP packet transmission status synchronization procedure of the terminal device 100 when switching from the first base station 200 to the second base station 300 is long, the terminal device 100 is caused to operate for a long time (e.g., Δ t in fig. 5B) 3 ) The transmission delay of the data packet is too large.
In order to solve the problem of too long transmission delay of the data packet transmission state, in the embodiment of the present application, information for synchronizing the data packet transmission state may be carried on a path with a short delay for transmission. Therefore, the time delay of the transmission state of the data packet can be reduced, and the continuous transmission of the data packet after the terminal equipment is successfully switched can be ensured.
Example 1:
in this embodiment, the first base station 200 may send information for synchronizing the transmission status of the data packet to the terminal device 100, and the terminal device 100 may indicate the SN of the uplink data packet to be received to the second base station, so as to synchronize the transmission status of the data packet between the first base station 200 and the second base station 300. In other words, the information for synchronizing the transmission status of the data packet can be transmitted through the user plane network element (the first base station 200 and the terminal device 100), so that the delay of the transmission status of the data packet can be reduced.
A data packet transmission method provided in the embodiments of the present application is specifically described below with reference to the accompanying drawings. As shown in fig. 6, a method for transmitting a data packet according to an embodiment of the present application may include:
s601, the terminal device 100 determines a first COUNT of the first uplink packet.
In some embodiments, the terminal device 100 may determine the first COUNT of the first uplink packet by receiving the second information from the first base station 200.
Wherein the second information is used for indicating third information, and the third information comprises: a first SN of the first uplink packet or a second COUNT of the first uplink packet. The first uplink data packet is a first uplink data packet lost on the first bearer. The first bearer is a radio bearer used for data packet transmission between the terminal device 100 and the first base station 200 before the terminal device 100 is handed over from the first base station 200 to the second base station 300. Or the terminal device 100 switches from the first base station 200 to the second base station 300, and then performs a radio bearer for data packet transmission with the second base station 300.
In this embodiment, the first uplink data packet is a first uplink data packet lost on the first bearer. It is understood that the uplink data packet lost on the first bearer is the next uplink data packet to be retransmitted by the terminal device 100 on the first bearer.
In an embodiment of the present application, the second information may include: the SN and HFN of all uplink packets that the first base station 200 has successfully received from the terminal device 100. For example, the second information includes: the first base station 200 COUNTs [1, 31] and [1, 33] of the data packet that has been successfully received from the terminal device 100. The second information may indicate that the first base station 200 successfully receives the uplink data packets with SNs 31 and 33, respectively, from the terminal device 100: the first SN of the first uplink packet is 32 or the second COUNT value of the first uplink packet is [1, 32].
Alternatively, the second information may include: the first base station 200 COUNTs [1, 32] from the last packet that the terminal device 100 has successfully received. Then, the second information may indicate that the first base station 200 successfully receives all uplink data packets with SN 32 before from the terminal device 100, and then: the first SN of the first uplink packet is 32, or the second COUNT of the first uplink packet is [1, 32].
In some embodiments, the terminal device 100 may receive the second information from the first base station 200 through a Handover Command (Handover Command). As shown in S709a in fig. 7, the message is a handover command, where the handover command carries the second information.
Further, the handover command may also carry an address of the second base station 300, which is used for the terminal device 100 to establish a radio bearer between the terminal device 100 and the first base station 200 according to the address of the first base station 200.
In other embodiments, as shown in S810 in fig. 8, the terminal device 100 may also receive the PDCP data packet from the first base station 200 separately. Wherein the PDCP data packet carries the second information.
As shown in S710 in fig. 7 and S811 in fig. 8, the terminal apparatus 100 determines the first COUNT of the first uplink packet according to the second information. Illustratively, if the second information includes: the first base station 200 receives COUNT [1, 31] and [1, 32] of the data packets that have been successfully received from the terminal device 100, and then the terminal device 100 can determine that the first uplink data packet lost on the first bearer is an uplink data packet with SN 33 and hfn 1 according to the second information.
When determining the HFN of a packet, the SN out-of-range problem needs to be considered. Taking the length of SN of 8 bits as an example, if the COUNT of the data packets sent by the terminal device 100 and successfully received by the first base station 200 from the terminal device 100 is [2, 255], the second base station 300 may determine that the first uplink data packet lost on the first bearer is an uplink data packet with SN of 0 and hfn of 3.
In some embodiments, if the second information indicates the first SN of the first uplink data packet. The terminal 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, first SN ].
In other embodiments, if the second information indicates a second COUNT of the first uplink packet. The terminal apparatus 100 may determine the second COUNT as the first COUNT.
It should be noted that, the terminal device 100 may further determine the first COUNT of the first uplink data packet lost on the first bearer according to whether it receives the acknowledgement message of the uplink data packet from the base station. Specifically, the terminal device 100 may use, as the first COUNT, a COUNT of an uplink packet that the terminal device 100 has not received the acknowledgement message from the first base station 200 through the first bearer. Alternatively, the terminal device 100 may use the COUNT of the next uplink packet sent by the terminal device 100 through the first bearer as the first COUNT. It can be understood that the first COUNT determined by the terminal device 100 is used to identify the SN and HFN of the uplink data packet that the terminal device 100 is about to transmit to the second base station 300 on the first bearer.
S602, the terminal device 100 sends the first information to the second base station 300.
Wherein the first information includes the first COUNT, that is, the first information includes SN and HFN of the uplink data packet to be transmitted by the terminal device 100 to the second base station 300 on the first bearer.
In some embodiments, the terminal device 100 may transmit the first information to the second base station 300 encapsulated in a PDCP data packet.
Exemplarily, as shown in fig. 9, a schematic diagram of a PDCP data packet format provided in the embodiment of the present application is shown. As shown in fig. 9, the D/C is used to identify the PDCP packet type, and if the D/C is set to 0, the D/C indicates that the PDCP packet is used for transmitting control information. Wherein R is a reserved bit. In addition, fig. 9 illustrates a COUNT length of 32, so that the PDCP packet carries 4 COUNTs each having a length of 8 bits.
In some embodiments, as shown in S711 in fig. 7, the terminal device 100 may transmit the first information to the second base station 300 through a handover confirm message. The handover confirmation message is used to indicate that the terminal device 100 is successfully handed over from the first base station 200 to the second base station 300, and the handover confirmation message carries a PDCP data packet, which carries the first information.
Further, the handover confirmation message may also carry an identifier of the first bearer. Wherein, the identifier of the first bearer and the PDCP data packet have a corresponding relationship: (identification of the first bearer, PDCP packet). The correspondence between the identifier of the first bearer and the PDCP data packet is used for determining, when the terminal device 100 sends the PDCP data packet to the second base station 300 through a plurality of radio bearers, the radio bearer used for transmitting each PDCP data packet according to the correspondence by the second base station 300.
In other embodiments, when the terminal device 100 sends the first information to the second base station 300 through the handover confirm message, the terminal device 100 may carry the first information through a field extended in the handover confirm message.
In other embodiments, as shown in S812 in fig. 8, the terminal device 100 may further directly send the PDCP data packet carrying the first information to the second base station 300.
If the terminal device 100 directly sends the PDCP data packet carrying the first information to the second 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 that the PDCP data packet carries the first information in the second base station 300.
S603, the second base station 300 determines, according to the first information, an SN and an HFN of a next uplink data packet that the second base station 300 expects to receive on the first bearer.
The SN of the next uplink data packet that the second base station 300 expects to receive on the first bearer is the SN of the first COUNT, and the HFN of the next uplink data packet that the second base station 300 expects to receive on the first bearer is the HFN of the first COUNT.
Illustratively, if the first COUNT is [2, 33], the second base station 300 expects the SN of the next uplink data packet received on the first bearer to be 33 and the hfn to be 2.
In some embodiments, as shown in fig. 10A, the data packet transmission method in embodiment 1 of the present application may further include:
s604-1, the terminal device 100 determines the fourth information.
Wherein the fourth information includes SN and HFN of the first downlink packet lost on the first bearer.
In the embodiment of the present application, the terminal device 100 may determine the fourth information according to the downlink data packet received from the first base station 200 and the SN and the HFN of each downlink data packet.
Illustratively, the terminal device 100 has successfully received downstream packets with COUNT of [0,3], [0,4], [0,5] and [0,6 ]. Then, the terminal device 100 may determine that the fourth information is [0,7], i.e. the COUNT of the first downlink packet lost on the first bearer is [0,7], according to the above information.
The terminal device 100 may determine the second information and the fourth information at the same time, may determine the fourth information before determining the second information, and may determine the fourth information after determining the second information (as in S1012 in fig. 10B), which is not limited in this embodiment of the present application.
S605-1, the terminal device 100 transmits the fourth information to the second base station 300.
It should be noted that the fourth information may be transmitted to the second base station 300 by the terminal device 100 together with the first information. Or may be transmitted by the terminal device 100 alone to the second base station 300. The terminal device 100 may also perform S605-1 after S602. Alternatively, the terminal device 100 may execute S605-1 before S602, which is not limited in this embodiment.
In some embodiments, the fourth information may be transmitted to the second base station 300 by the terminal device 100 through a handover confirm message.
In other embodiments, as S1012 in fig. 10B, the fourth information may also be sent by the terminal device 100 to the second base station 300 by directly sending a PDCP data packet.
If the fourth information is sent to the second base station 300 by the terminal device 100 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 that the second base station 300PDCP data packet carries the fourth information. As for the structure of the PDCP packet, reference may be made to the schematic format of the PDCP packet shown in fig. 9, which is not described herein again.
S606-1, the second base station 300 determines, according to the fourth information, an SN of a next downlink data packet sent by the second base station 300 to the terminal device 100.
Illustratively, the fourth information includes a COUNT of [4,7], that is, the COUNT of the first downlink packet lost on the first bearer is [4,7]. The second base station 300 may determine that the SN of the next downlink data packet transmitted by the second base station 300 to the terminal device 100 is 7.
Alternatively, in other embodiments, as shown in fig. 11, the data packet transmission method in embodiment 1 of the present application may further include:
s604-2, the second base station 300 receives the first message from the first base station 200.
Wherein the first message includes at least one second data packet buffered in the first base station 200 and the SN of the at least one second data packet. The second packet includes a packet which the first base station 200 has transmitted to the terminal apparatus 100 but has not received the acknowledgement message of the terminal apparatus 100.
In some embodiments, the first message further includes at least one downlink data packet buffered in the first base station 200, which is not sent by the first base station 200 to the terminal device 100, and an SN of the at least one downlink data packet.
S605-2, the second base station 300 determines, according to the first message, an SN of a next downlink data packet sent by the second base station 300 to the terminal device 100.
Illustratively, the first message includes SN 7 of a data packet that the first base station 200 has sent to the terminal device 100 but has not received the acknowledgement message of the terminal device 100, and a downlink data packet corresponding to the SN 7. The second base station 300 may determine that the SN of the next downlink data packet transmitted by the second base station 300 to the terminal device 100 is 7.
In some embodiments, if each downlink data packet sent by the first base station 200 to the terminal device 100 receives the acknowledgement message from the terminal device 100, the second base station 300 may determine that the next downlink data packet sent by the second base station 300 to the terminal device 100 is the first data packet in the at least one downlink data packet that is not sent by the first base station 200 to the terminal device 100.
Example 2:
in this embodiment, the first base station 200 may send information for synchronizing the transmission state of the data packet to the second base station 300 through the GTP-U tunnel, so that the second base station 300 may synchronize the transmission state of the data packet with the terminal device 100 according to the information. In other words, the information for synchronizing the transmission state of the data packet may be transmitted from the first base station 200 to the second base station 300 through the GTP-U tunnel with a small delay, which reduces the delay of the transmission state of the data packet.
A data packet transmission method provided in the embodiments of the present application is specifically described below with reference to the accompanying drawings. As shown in fig. 12, a data packet transmission method according to an embodiment of the present application may include:
s1201, the first base station 200 determines the third information.
Wherein the third information includes the COUNT of the first packet and the COUNT of the second packet. The first data packet is the first data packet that has not been received by the first base station 200 from the terminal device 100 on the first bearer. The second data packet is the next data packet to be sent by the first base station 200 to the terminal device 100 on the first bearer, which is the radio bearer between the terminal device 100 and the first base station 200.
S1202, the first base station 200 sends the first message carrying the third information to the second base station 300 through the GTP-U tunnel.
In some embodiments, as shown in S1311a in fig. 13A, the first base station 200 may send the first message carrying the third information to the second base station 300 through a GTP-U tunnel between the first base station 200 and the second base station 300.
In other embodiments, the first base station 200 may further send the first message carrying the third information to the second base station 300 sequentially through a GTP-U tunnel between the first base station 200 and the data gateway and a GTP-U tunnel between the data gateway and the second base station 300.
The first base station 200 and the second base station 300 may serve the same data gateway (e.g., data gateway a). In this case, the first base station 200 may send the first message carrying the third information to the second base station 300 sequentially through the GTP-U tunnel between the first base station 200 and the data gateway a and the GTP-U tunnel between the data gateway a and the second base station 300.
Alternatively, the first base station 200 and the second base station 300 may serve different data gateways. For example, the first base station 200 serves the first SGW 220 and the second base station 300 serves the second SGW 320. In this case, as shown in S1311B in fig. 13B, the first base station 200 may send the first message to the first SGW 220 through the GTP-U tunnel between the first base station 200 and the first SGW 220, enable the first SGW 220 to pass, enable the GTP-U tunnel between the first SGW 220 and the second SGW 320 to send the first message to the second SGW 320, and enable the second SGW 320 to send the first message carrying the third information to the second base station 300 through the GTP-U tunnel between the second SGW 320 and the second base station 300.
In some embodiments, the first base station 200 may send the third information to the second base station 300 encapsulated in a wireless extension header of a GTP-U protocol of the first message. Illustratively, as shown in fig. 14, a diagram of an example format of a wireless extension header of a GTP-U protocol of a first message provided in an embodiment of the present application.
In some embodiments, the wireless extension header includes first indication information. The first indication information is used for indicating that the third information is included in the wireless extension head. Illustratively, the first indication information may be identified according to a value of a PDU type as shown in fig. 14 (x as shown in fig. 14). For example, when the PDU type has a value of 10, it indicates that the third information is included in the radio extension header. In fig. 14, a is a reserved bit.
It should be noted that the coding format of the wireless extension header of the GTP-U protocol of the first message shown in fig. 14 is only an example, and other coding formats may also be used, which is not limited in this embodiment.
In some embodiments, the first base station 200 may send a plurality of first messages carrying the third information to the second base station 300 by using the method of S1202. For example: the first base station 200 may send a preset number of first messages carrying the third information to the second base station 300 by using the method of S1202. For another example, the first base station 200 may send the first message carrying the third information to the second base station 300 within the preset time by using the method of S1202.
S1203, the second base station 300 determines, according to the third information, the COUNT of the next uplink packet that the second base station 300 desires to receive from the terminal device 100 on the second bearer, and the COUNT of the next downlink packet that the second base station 300 will send to the terminal device 100 on the second bearer.
The second bearer is a radio bearer established between the terminal device 100 and the second base station 300 after the terminal device 100 is handed over from the first base station 200 to the second base station 300.
In some embodiments, the data packet transmission method according to embodiment 2 of the present application may further include: the first base station 200 sends the first message carrying the third information to the second base station 300 through the mobility management network element. Wherein the mobility management network element is a mobility management network element served by the terminal device 100.
In some embodiments, the first base station 200 and the second base station 300 may serve the same mobility management network element (e.g., MME 1). In this case, the first base station 200 may send the first message carrying the third information to the second base station 300 through the MME 1.
In further embodiments, the first base station 200 and the second base station 300 may serve different mobility management network elements. For example, as shown in fig. 15, the first base station 200 serves the first MME 210 and the second base station 300 serves the second MME 310. In this case, as shown in S1510 in fig. 15, the first base station 200 may sequentially transmit the first message carrying the third information to the second base station 300 through the first MME 210 and the second MME 310.
Fig. 15 is an example of a 4G LTE network, and illustrates a packet transmission method according to an embodiment of the present application. If the data packet transmission method according to the embodiment of the present application is applied to other network structures, each network element shown in fig. 15 may also be replaced by another network element. For example, in the 5G NR network structure, the first base station 200 sends a first message carrying the third information to the second base station 300 through the access management function AMF.
In the embodiment shown in fig. 15, if the second base station 300 first receives the first base station 200, at S1510, the first message carrying the third information is sent by the mobility management network element. The second base station 300 determines, according to the third information from the first base station 200 received through the mobility management network element, the COUNT of the next uplink packet that the second base station 300 desires to receive from the terminal device 100 on the second bearer, and the COUNT of the next downlink packet that the second base station 300 will send to the terminal device 100 through the second bearer.
If the second base station 300 first receives the first message carrying the third information sent by the first base station 200 through the GTP-U tunnel. The second base station 300 determines, according to the first information from the first base station 200 received through the GTP-U tunnel, the COUNT of the next uplink packet that the second base station 300 desires to receive from the terminal apparatus 100 on the second bearer, and the COUNT of the next downlink packet that the second base station 300 will send to the terminal apparatus 100 through the second bearer.
Example 3:
in this embodiment, the terminal device 100 may further determine the COUNT of the first uplink packet lost on the first bearer according to the existing information stored therein, and after the S1 handover is completed, send the uplink packet and the COUNT of the uplink packet to the second base station 300, so that the second base station 300 sets a state machine of a receiver according to the COUNT, thereby correctly receiving the uplink packet.
Compared with the prior art as shown in fig. 3, the embodiment 3 of the present application does not need to modify the existing protocols, messages, and the like. Meanwhile, the time delay of data packet transmission state synchronization can be reduced.
As shown in fig. 16, the data packet transmission method according to the embodiment of the present application may include:
s1601, the terminal device 100 determines the COUNT of the first uplink packet.
The first uplink data packet is a first uplink data packet lost on the first bearer. The terminal device 100 may determine the first uplink data packet lost on the first bearer according to whether it receives the acknowledgement message of the uplink data packet from the first base station 200.
S1602, the terminal device 100 sends the fifth information to the second base station 300 through the PDCP data packet.
Wherein the fifth information includes a first uplink packet lost on the first bearer and a COUNT of the uplink packet.
It should be noted that the first uplink data packet lost on the first bearer may be developed with the COUNT of the uplink data packet and sent to the second base station 300, or sent to the second base station 300 together. The embodiments of the present application do not limit this.
S1603, the second base station 300 parses the first uplink packet according to the fifth information.
The parsing, by the second base station 300, the first uplink data packet according to the fifth information may include:
the second base station 300 sets the state machine of the receiver to COUNT of the first uplink packet. Then, the second base station 300 parses the received first uplink packet according to the COUNT.
It is understood that, in order to implement the functions of any of the above embodiments, the terminal device includes a hardware structure and/or a software module for executing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the terminal device, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and another division manner may be available in actual implementation.
For example, in a case that each functional module is divided in an integrated manner, as shown in fig. 17, a schematic structural diagram of a terminal device provided in the embodiment of the present application is shown. The terminal device 100 may include an analyzing unit 1710, a transmitting unit 1720, and a receiving unit 1730.
Among other things, the analysis unit 1710 is configured to enable the terminal device to perform the above-described steps S601, S710, S811, S604-1, S1011, S1201, and S1601, and/or other processes for the techniques described herein. The transmitting unit 1720 is used to support the terminal device to perform the above-described steps S602, S711, S812, S605-1, S1012, and, S1602 and/or other processes for the techniques described herein. The receiving unit 1730 is used to support the terminal device to perform the above steps S709a and S810, and/or other processes for the techniques described herein.
It should be noted that all relevant contents of each step related to the method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
It is to be noted that the transmitting unit 1720 and the receiving unit 1730 may include a radio frequency circuit. Specifically, the terminal device may receive and transmit a wireless signal through the radio frequency circuit. Typically, the radio frequency circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency circuitry may also communicate with other devices via 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, and the like.
In an alternative approach, when data transfer is implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are wholly or partially implemented. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware or may be embodied in software instructions executed by a processor. The software instructions may consist of corresponding software modules that may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. 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 integral to the processor. The processor and the storage medium may reside in an ASIC. In addition, the ASIC may reside in a probing apparatus. Of course, the processor and the storage medium may reside as discrete components in the probe device.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed user equipment and method may be implemented in other manners. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (34)

1. A data packet transmission method is applied to a process that a terminal device is switched from a first base station to a second base station, and comprises the following steps:
the terminal equipment determines a first count value of a first uplink data packet; the first uplink data packet is a lost first uplink data packet on a first bearer; the first bearer is a radio bearer between the terminal device and the first base station before the terminal device is switched from the first base station to the second base station, or a radio bearer between the terminal device and the second base station after the terminal device is switched from the first base station to the second base station;
and the terminal equipment sends first information to the second base station, wherein the first information comprises the first counting value, and the first information is used for the second base station to determine the sequence number and the hyper frame number of the next uplink data packet which is expected to be received by the second base station on the first bearer.
2. The method of claim 1, wherein the determining, by the terminal device, the first count value for the first upstream packet comprises:
the terminal device receives second information from the first base station, wherein the second information is used for indicating third information, and the third information comprises: a first sequence number of the first uplink data packet or a second count value of the first uplink data packet;
and the terminal equipment determines the first counting value according to the second information.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and the terminal equipment sends fourth information to the second base station, wherein the fourth information comprises the sequence number and the hyper frame number of the first downlink data packet lost on the first bearer.
4. The method according to claim 1 or 2, wherein the terminal device sends first information to the second base station, comprising:
and the terminal equipment sends a switching confirmation message to the second base station, wherein the switching confirmation message carries the first information.
5. The method according to claim 1 or 2, wherein the terminal device sends first information to the second base station, comprising:
and the terminal equipment sends a Packet Data Convergence Protocol (PDCP) data packet to the second base station, wherein the PDCP data packet carries the first information.
6. The method of claim 5, wherein the PDCP data packet carries type indication information, and wherein the type indication information is used to indicate that the PDCP data packet carries the first information.
7. A data packet transmission method is applied to a process that a terminal device is switched from a first base station to a second base station, and comprises the following steps:
the second base station receives first information from the terminal equipment, wherein the first information comprises a first counting value of a first uplink data packet; the first uplink data packet is a lost first uplink data packet on a first bearer; the first bearer is a radio bearer between the terminal device and the first base station before the terminal device is switched from the first base station to the second base station, or a radio bearer between the terminal device and the second base station after the terminal device is switched from the first base station to the second base station;
and the second base station determines the sequence number and the hyper frame number of the next uplink data packet which is expected to be received by the second base station on the first bearer according to the first information.
8. The method of claim 7, further comprising:
the second base station receives a second serial number from the terminal equipment and a hyper-frame number corresponding to the second serial number, wherein the second serial number is the serial number of a first downlink data packet lost by the terminal equipment;
and the second base station determines the serial number and the hyper frame number of the next downlink data packet sent to the terminal equipment by the second base station according to the second serial number and the hyper frame number corresponding to the second serial number.
9. The method of claim 8, further comprising:
the second base station receiving a first message from the first base station, the first message comprising at least one second data packet buffered in the first base station;
wherein the second data packet comprises a data packet which has been sent to the terminal device by the first base station but has not received an acknowledgement message of the terminal device, and the first message further comprises a sequence number of the at least one second data packet;
and the second base station determines the sequence number of the next downlink data packet sent to the terminal equipment by the second base station according to the sequence number of the at least one second data packet.
10. A method for transmitting data packets, which is applied to a process of a terminal device in a first system switching from a first base station to a second base station, where the first system includes the terminal device, the first base station, and the second base station, the method includes:
the terminal equipment determines a first count value of a first uplink data packet; the first uplink data packet is a lost first uplink data packet on a first bearer; the first bearer is a radio bearer between the terminal device and the first base station before the terminal device is switched from the first base station to the second base station, or a radio bearer between the terminal device and the second base station after the terminal device is switched from the first base station to the second base station;
the terminal equipment sends first information to the second base station, wherein the first information comprises the first counting value;
the second base station receives first information from the terminal equipment;
and the second base station determines the sequence number and the hyper frame number of the next uplink data packet which is expected to be received by the second base station on the first bearer according to the first information.
11. The method of claim 10, further comprising:
the first base station sends second information to the terminal device, wherein the second information is used for indicating third information, and the third information comprises: a first sequence number of the first uplink data packet or a second count value of the first uplink data packet;
the determining, by the terminal device, a first count value of the first uplink data packet includes:
and the terminal equipment determines the first counting value according to the second information.
12. The method of claim 11, wherein the third information includes a first sequence number of the first uplink data packet, and wherein the determining, by the terminal device, the first count value according to the second information includes: the terminal equipment determines the first counting value according to the first serial number and the hyper-frame number corresponding to the first serial number; alternatively, the first and second electrodes may be,
the third information includes a second count value of the first uplink data packet, and the terminal device determines the first count value according to the second information, including: and the terminal equipment determines the second counting value as the first counting value.
13. The method of claim 10, wherein the determining, by the terminal device, the first count value of the first uplink packet comprises:
the terminal device takes the count value of the uplink data packet which is not received by the terminal device from the first base station acknowledgement message through the first bearer as the first count value;
or, the terminal device takes a count value of a next uplink data packet to be sent by the terminal device through the first bearer as the first count value.
14. The method according to any one of claims 10-13, further comprising:
the terminal equipment sends fourth information to the second base station, wherein the fourth information comprises a second serial number and a hyper frame number corresponding to the second serial number, and the second serial number is the serial number of a first downlink data packet lost by the terminal equipment;
and the second base station determines the serial number and the hyper frame number of the next downlink data packet sent to the terminal equipment by the second base station according to the second serial number and the hyper frame number corresponding to the second serial number.
15. The method according to any of claims 10-13, wherein the terminal device sends first information to the second base station, comprising:
and the terminal equipment sends a switching confirmation message to the second base station, wherein the switching confirmation message carries the first information.
16. The method according to any of claims 10-13, wherein the terminal device sends first information to the second base station, comprising:
and the terminal equipment sends a Packet Data Convergence Protocol (PDCP) data packet to the second base station, wherein the PDCP data packet carries the first information.
17. The method of claim 14, further comprising:
the first base station sends a first message to the second base station, wherein the first message comprises at least one second data packet buffered in the first base station; the second data includes data packets which have been sent to the terminal device by the first base station but have not received an acknowledgement message of the terminal device, and the first message further includes a sequence number of the at least one second data packet;
and the second base station determines the sequence number of the next downlink data packet sent to the terminal equipment by the second base station according to the sequence number of the at least one second data packet.
18. A terminal device, characterized in that the terminal device comprises:
a memory for storing computer program code, the computer program code comprising instructions;
the radio frequency circuit is used for transmitting and receiving wireless signals;
a processor configured to execute the instructions to cause the terminal device to perform the data packet transmission method according to any one of claims 1 to 6.
19. A base station, characterized in that the base station comprises:
a memory for storing computer program code, the computer program code comprising instructions;
the radio frequency circuit is used for transmitting and receiving wireless signals;
a processor configured to execute the instructions to cause the base station to perform the data packet transmission method according to any one of claims 7 to 9.
20. A communication system, the communication system comprising: the base station comprises terminal equipment, a first base station and a second base station; the terminal device, the first base station and the second base station are configured to perform the method for transmitting data packets according to any of claims 10-17.
21. A method for transmitting data packets, which is applied to a process of switching a terminal device from a first base station to a second base station, the method comprising:
the first base station determines third information, where the third information includes a count value of a first data packet and a count value of a second data packet, the first data packet is a next uplink data packet that the first base station expects to receive from the terminal device through a first bearer, the second data packet is a next downlink data packet that the first base station is about to send 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;
and the first base station sends a first message to the second base station through a GTP-U tunnel of a General Packet Radio Service (GPRS) tunnel of a user plane, wherein the first message carries the third information.
22. The method of 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:
the first base station sends the first message to the second base station through a GTP-U tunnel between the first base station and the second base station;
or, the first base station sends the first message to the data gateway through a GTP-U tunnel between the first base station and the data gateway, so that the data gateway sends the first message to the second base station through the GTP-U tunnel between the data gateway and the second base station.
23. The method of claim 21 or 22, wherein the first base station sends a plurality of the first messages to the second base station through the GTP-U tunnel.
24. The method according to claim 21 or 22, further comprising:
and the first base station sends the first message to the second base station through a mobility management network element, wherein the mobility management network element is a mobility management network element served by the terminal equipment.
25. A method for transmitting data packets, which is applied to a process of switching a terminal device from a first base station to a second base station, the method comprising:
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, wherein the first message comprises third information, the third information comprises a count value of a first data packet and a count value of a second data packet, the first data packet is a next uplink data packet which the first base station expects to receive from a terminal device through a first bearer, the second data packet is a next downlink data packet which the first base station is to send 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;
the second base station determines, according to the third information, a count value of a next uplink data packet that the second base station expects to receive from the terminal device through a second bearer, and a count value of a next downlink data packet that the second base station is about to send to the terminal device through the second bearer; the second bearer is a radio bearer corresponding to the first bearer, which is established between the terminal device and the second base station after the terminal device is handed over from the first base station to the second base station.
26. The method of claim 25, wherein the second base station receives the first message from the first base station over a user plane general packet radio service tunneling protocol, GTP-U, tunnel, comprising:
the second base station receiving the first message from the first base station through a direct GTP-U tunnel between the first base station and the second base station; alternatively, the first and second electrodes may be,
the second base station receives the first message through a GTP-U tunnel between the second base station and gateway equipment; and the first message is transmitted from the first base station to the gateway equipment through a GTP-U tunnel between the first base station and the gateway equipment.
27. The method according to claim 25 or 26, wherein the third information is encapsulated in a wireless extension header of a GTP-U protocol of the first message.
28. The method of claim 27, wherein the radio extension header further comprises first indication information, and wherein the first indication information is used to indicate that the third information is included in the radio extension header.
29. The method of 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. The method of claim 25 or 26 or 28, further comprising:
and after the second base station receives the first message from the first base station, the second base station discards the first message received by the second base station after the first message.
31. The method of claim 25 or 26 or 28, further comprising:
after the second base station receives the first message from the first base station, the second base station discards the first message received by the second base station after the first message.
32. A base station, characterized in that the base station comprises:
a memory for storing computer program code, the computer program code comprising instructions;
the radio frequency circuit is used for transmitting and receiving wireless signals;
a processor configured to execute the instructions to cause the base station to perform the data packet transmission method according to any one of claims 25 to 30.
33. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processing circuit, implement a data packet transmission method as claimed in any one of claims 1-6, 7-9, 10-17, 21-24 or 25-30.
34. A chip system, comprising: the chip system comprises a processing circuit and a storage medium, wherein instructions are stored in the storage medium; the instructions, when executed by the processing circuitry, implement a method of data packet transmission as claimed in any of claims 1-6, 7-9, 10-17, 21-24 or 25-30.
CN201910755163.3A 2019-08-15 2019-08-15 Data packet transmission method, terminal equipment and network equipment Active CN112399476B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910755163.3A CN112399476B (en) 2019-08-15 2019-08-15 Data packet transmission method, terminal equipment and network equipment
PCT/CN2020/081171 WO2021027288A1 (en) 2019-08-15 2020-03-25 Data packet transmission method, terminal device, and network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910755163.3A CN112399476B (en) 2019-08-15 2019-08-15 Data packet transmission method, terminal equipment and network equipment

Publications (2)

Publication Number Publication Date
CN112399476A CN112399476A (en) 2021-02-23
CN112399476B true CN112399476B (en) 2023-04-18

Family

ID=74569751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910755163.3A Active CN112399476B (en) 2019-08-15 2019-08-15 Data packet transmission method, terminal equipment and network equipment

Country Status (2)

Country Link
CN (1) CN112399476B (en)
WO (1) WO2021027288A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150910A (en) * 2021-03-31 2022-10-04 华为技术有限公司 Communication method and communication device
CN115243337A (en) * 2021-04-23 2022-10-25 华为技术有限公司 Data transmission method and device
CN115694599A (en) * 2021-07-31 2023-02-03 华为技术有限公司 Transmission method, system and related device
CN114666114B (en) * 2022-03-15 2024-02-02 成都安恒信息技术有限公司 Mobile cloud data security authentication method based on biological characteristics

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101843139A (en) * 2007-10-30 2010-09-22 高通股份有限公司 Methods and systems for HFN handling at inter-base station handover in mobile communication networks
CN101938794A (en) * 2009-07-02 2011-01-05 华为技术有限公司 Handover processing method and device for wireless self backhaul transmission
CN102186217A (en) * 2011-06-02 2011-09-14 新邮通信设备有限公司 Data forwarding method during X2 shifting process of LTE system
AU2012216414A1 (en) * 2007-10-30 2012-09-13 Qualcomm Incorporated Methods and systems for HFN handling at inter-base station handover in mobile communication networks
WO2018228342A1 (en) * 2017-06-13 2018-12-20 华为技术有限公司 Handover control method and apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090168723A1 (en) * 2007-11-27 2009-07-02 Qualcomm Incorporated Method and apparatus for handling out-of-order packets during handover in a wireless communication system
WO2014022970A1 (en) * 2012-08-07 2014-02-13 华为技术有限公司 Handover processing method and enb
CN108966282B (en) * 2017-03-24 2019-11-19 华为技术有限公司 Data transmission method and device
WO2018231006A1 (en) * 2017-06-16 2018-12-20 Samsung Electronics Co., Ltd. Method and apparatus for rapidly reporting frequency measurement results in next generation mobile communication system
US11102686B2 (en) * 2017-08-11 2021-08-24 Htc Corporation Device and method of handling a handover
CN109982360B (en) * 2017-12-27 2021-12-10 华为技术有限公司 Communication method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101843139A (en) * 2007-10-30 2010-09-22 高通股份有限公司 Methods and systems for HFN handling at inter-base station handover in mobile communication networks
AU2012216414A1 (en) * 2007-10-30 2012-09-13 Qualcomm Incorporated Methods and systems for HFN handling at inter-base station handover in mobile communication networks
CN101938794A (en) * 2009-07-02 2011-01-05 华为技术有限公司 Handover processing method and device for wireless self backhaul transmission
CN102186217A (en) * 2011-06-02 2011-09-14 新邮通信设备有限公司 Data forwarding method during X2 shifting process of LTE system
WO2018228342A1 (en) * 2017-06-13 2018-12-20 华为技术有限公司 Handover control method and apparatus

Also Published As

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

Similar Documents

Publication Publication Date Title
CN112399476B (en) Data packet transmission method, terminal equipment and network equipment
CN110035042B (en) Data transmission method and device
CN108366401B (en) Base station and communication device capable of switching between two base stations
EP3641482B1 (en) Terminal devices, base station devices and communication methods
EP4149161A1 (en) Electronic apparatus, radio communication method, and computer-readable storage medium
CN113301446A (en) Method and device for transmitting multicast service
WO2018127219A1 (en) Method and apparatus for reducing interruption delay, and user device
US11528773B2 (en) Terminal apparatus, base station apparatus, communication method, and integrated circuits for configuring a service data adaptation protocol function
JP2020515086A (en) Electronic device and wireless communication method
CN113938840A (en) Communication method and communication device
CN112019489B (en) Verification method and device
JP5898121B2 (en) Wireless communication apparatus, processor, and communication control method
JP2022133821A (en) Relay node and base station
CN113395787A (en) Method and device for recovering double connections
WO2023226662A1 (en) Communication method, communication apparatus and communication system
WO2022141025A1 (en) Method and apparatus for transmitting data
WO2023202164A1 (en) Communication method, communication apparatus and communication system
WO2022226749A1 (en) Communication method and apparatus, storage medium, and chip system
US20240155310A1 (en) Broadcast information processing method and apparatus
CN116761222B (en) Method for switching base station, terminal equipment and readable storage medium
CN113453274B (en) Uplink data distribution method and terminal
WO2023098209A1 (en) Data transmission protection method, device and system
CN111866906B (en) Data transmission method and device
JP6563454B2 (en) Base station, processor, and communication control method
CN116560824A (en) Data receiving method and device applied to Internet of things

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant